Google-Cloud-Iam-Admin-V1

 view release on metacpan or  search on metacpan

lib/Google/Iam/Admin/V1/Iam.pm  view on Meta::CPAN

    # Field: name Type: 9 ()
    # Field: page_size Type: 5 ()
    # Field: page_token Type: 9 ()

# === Message: Google::Iam::Admin::V1::Iam::ListServiceAccountsResponse ===
    # Fields for ListServiceAccountsResponse
    # Field: accounts Type: 11 (.google.iam.admin.v1.ServiceAccount)
    # Field: next_page_token Type: 9 ()

# === Message: Google::Iam::Admin::V1::Iam::GetServiceAccountRequest ===
    # Fields for GetServiceAccountRequest
    # Field: name Type: 9 ()

# === Message: Google::Iam::Admin::V1::Iam::DeleteServiceAccountRequest ===
    # Fields for DeleteServiceAccountRequest
    # Field: name Type: 9 ()

# === Message: Google::Iam::Admin::V1::Iam::PatchServiceAccountRequest ===
    # Fields for PatchServiceAccountRequest
    # Field: service_account Type: 11 (.google.iam.admin.v1.ServiceAccount)
    # Field: update_mask Type: 11 (.google.protobuf.FieldMask)

# === Message: Google::Iam::Admin::V1::Iam::UndeleteServiceAccountRequest ===
    # Fields for UndeleteServiceAccountRequest
    # Field: name Type: 9 ()

# === Message: Google::Iam::Admin::V1::Iam::UndeleteServiceAccountResponse ===
    # Fields for UndeleteServiceAccountResponse
    # Field: restored_account Type: 11 (.google.iam.admin.v1.ServiceAccount)

# === Message: Google::Iam::Admin::V1::Iam::EnableServiceAccountRequest ===
    # Fields for EnableServiceAccountRequest
    # Field: name Type: 9 ()

# === Message: Google::Iam::Admin::V1::Iam::DisableServiceAccountRequest ===
    # Fields for DisableServiceAccountRequest
    # Field: name Type: 9 ()

# === Message: Google::Iam::Admin::V1::Iam::ListServiceAccountKeysRequest ===
    # Fields for ListServiceAccountKeysRequest
    # Field: name Type: 9 ()
    # Field: key_types Type: 14 (.google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType)

# Enum: ListServiceAccountKeysRequest::KeyType
our $ListServiceAccountKeysRequest_KEY_TYPE_UNSPECIFIED = 0;
our $ListServiceAccountKeysRequest_USER_MANAGED = 1;
our $ListServiceAccountKeysRequest_SYSTEM_MANAGED = 2;

# === Message: Google::Iam::Admin::V1::Iam::ListServiceAccountKeysResponse ===
    # Fields for ListServiceAccountKeysResponse
    # Field: keys Type: 11 (.google.iam.admin.v1.ServiceAccountKey)

# === Message: Google::Iam::Admin::V1::Iam::GetServiceAccountKeyRequest ===
    # Fields for GetServiceAccountKeyRequest
    # Field: name Type: 9 ()
    # Field: public_key_type Type: 14 (.google.iam.admin.v1.ServiceAccountPublicKeyType)

# === Message: Google::Iam::Admin::V1::Iam::ServiceAccountKey ===
    # Fields for ServiceAccountKey
    # Field: name Type: 9 ()
    # Field: private_key_type Type: 14 (.google.iam.admin.v1.ServiceAccountPrivateKeyType)
    # Field: key_algorithm Type: 14 (.google.iam.admin.v1.ServiceAccountKeyAlgorithm)
    # Field: private_key_data Type: 12 ()
    # Field: public_key_data Type: 12 ()
    # Field: valid_after_time Type: 11 (.google.protobuf.Timestamp)
    # Field: valid_before_time Type: 11 (.google.protobuf.Timestamp)
    # Field: key_origin Type: 14 (.google.iam.admin.v1.ServiceAccountKeyOrigin)
    # Field: key_type Type: 14 (.google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType)
    # Field: disabled Type: 8 ()

# === Message: Google::Iam::Admin::V1::Iam::CreateServiceAccountKeyRequest ===
    # Fields for CreateServiceAccountKeyRequest
    # Field: name Type: 9 ()
    # Field: private_key_type Type: 14 (.google.iam.admin.v1.ServiceAccountPrivateKeyType)
    # Field: key_algorithm Type: 14 (.google.iam.admin.v1.ServiceAccountKeyAlgorithm)

# === Message: Google::Iam::Admin::V1::Iam::UploadServiceAccountKeyRequest ===
    # Fields for UploadServiceAccountKeyRequest
    # Field: name Type: 9 ()
    # Field: public_key_data Type: 12 ()

# === Message: Google::Iam::Admin::V1::Iam::DeleteServiceAccountKeyRequest ===
    # Fields for DeleteServiceAccountKeyRequest
    # Field: name Type: 9 ()

# === Message: Google::Iam::Admin::V1::Iam::DisableServiceAccountKeyRequest ===
    # Fields for DisableServiceAccountKeyRequest
    # Field: name Type: 9 ()

# === Message: Google::Iam::Admin::V1::Iam::EnableServiceAccountKeyRequest ===
    # Fields for EnableServiceAccountKeyRequest
    # Field: name Type: 9 ()

# === Message: Google::Iam::Admin::V1::Iam::SignBlobRequest ===
    # Fields for SignBlobRequest
    # Field: name Type: 9 ()
    # Field: bytes_to_sign Type: 12 ()

# === Message: Google::Iam::Admin::V1::Iam::SignBlobResponse ===
    # Fields for SignBlobResponse
    # Field: key_id Type: 9 ()
    # Field: signature Type: 12 ()

# === Message: Google::Iam::Admin::V1::Iam::SignJwtRequest ===
    # Fields for SignJwtRequest
    # Field: name Type: 9 ()
    # Field: payload Type: 9 ()

# === Message: Google::Iam::Admin::V1::Iam::SignJwtResponse ===
    # Fields for SignJwtResponse
    # Field: key_id Type: 9 ()
    # Field: signed_jwt Type: 9 ()

# === Message: Google::Iam::Admin::V1::Iam::Role ===
    # Fields for Role
    # Field: name Type: 9 ()
    # Field: title Type: 9 ()
    # Field: description Type: 9 ()
    # Field: included_permissions Type: 9 ()
    # Field: stage Type: 14 (.google.iam.admin.v1.Role.RoleLaunchStage)
    # Field: etag Type: 12 ()
    # Field: deleted Type: 8 ()

# Enum: Role::RoleLaunchStage
our $Role_ALPHA = 0;
our $Role_BETA = 1;
our $Role_GA = 2;
our $Role_DEPRECATED = 4;
our $Role_DISABLED = 5;
our $Role_EAP = 6;

# === Message: Google::Iam::Admin::V1::Iam::QueryGrantableRolesRequest ===
    # Fields for QueryGrantableRolesRequest
    # Field: full_resource_name Type: 9 ()

lib/Google/Iam/Admin/V1/Iam.pm  view on Meta::CPAN

=item * C<< $msg->name() >> / C<< $msg->name($value) >>

Type: C<String>

Required. The resource name of the service account key in the following format:
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.

Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
the account. The `ACCOUNT` value can be the `email` address or the
`unique_id` of the service account.

=item * C<< $msg->public_key_type() >> / C<< $msg->public_key_type($value) >>

Type: C<Enum> (L<Google::Iam::Admin::V1::ServiceAccountPublicKeyType>)

Optional. The output format of the public key. The default is `TYPE_NONE`, which
means that the public key is not returned.

=back

=head2 Google::Iam::Admin::V1::Iam::ServiceAccountKey

Represents a service account key.

A service account has two sets of key-pairs: user-managed, and
system-managed.

User-managed key-pairs can be created and deleted by users.  Users are
responsible for rotating these keys periodically to ensure security of
their service accounts.  Users retain the private key of these key-pairs,
and Google retains ONLY the public key.

System-managed keys are automatically rotated by Google, and are used for
signing for a maximum of two weeks. The rotation process is probabilistic,
and usage of the new key will gradually ramp up and down over the key's
lifetime.

If you cache the public key set for a service account, we recommend that you
update the cache every 15 minutes. User-managed keys can be added and removed
at any time, so it is important to update the cache frequently. For
Google-managed keys, Google will publish a key at least 6 hours before it is
first used for signing and will keep publishing it for at least 6 hours after
it was last used for signing.

Public keys for all service accounts are also published at the OAuth2
Service Account API.

Inherits from L<Protobuf::Message>.

=head3 Accessors

=over 4

=item * C<< $msg->name() >> / C<< $msg->name($value) >>

Type: C<String>

The resource name of the service account key in the following format
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.

=item * C<< $msg->private_key_type() >> / C<< $msg->private_key_type($value) >>

Type: C<Enum> (L<Google::Iam::Admin::V1::ServiceAccountPrivateKeyType>)

The output format for the private key.
Only provided in `CreateServiceAccountKey` responses, not
in `GetServiceAccountKey` or `ListServiceAccountKey` responses.

Google never exposes system-managed private keys, and never retains
user-managed private keys.

=item * C<< $msg->key_algorithm() >> / C<< $msg->key_algorithm($value) >>

Type: C<Enum> (L<Google::Iam::Admin::V1::ServiceAccountKeyAlgorithm>)

Specifies the algorithm (and possibly key size) for the key.

=item * C<< $msg->private_key_data() >> / C<< $msg->private_key_data($value) >>

Type: C<Bytes>

The private key data. Only provided in `CreateServiceAccountKey`
responses. Make sure to keep the private key data secure because it
allows for the assertion of the service account identity.
When base64 decoded, the private key data can be used to authenticate with
Google API client libraries and with
<a href="/sdk/gcloud/reference/auth/activate-service-account">gcloud
auth activate-service-account</a>.

=item * C<< $msg->public_key_data() >> / C<< $msg->public_key_data($value) >>

Type: C<Bytes>

The public key data. Only provided in `GetServiceAccountKey` responses.

=item * C<< $msg->valid_after_time() >> / C<< $msg->valid_after_time($value) >>

Type: C<Message> (L<Google::Protobuf::Timestamp::Timestamp>)

The key can be used after this timestamp.

=item * C<< $msg->valid_before_time() >> / C<< $msg->valid_before_time($value) >>

Type: C<Message> (L<Google::Protobuf::Timestamp::Timestamp>)

The key can be used before this timestamp.
For system-managed key pairs, this timestamp is the end time for the
private key signing operation. The public key could still be used
for verification for a few hours after this time.

=item * C<< $msg->key_origin() >> / C<< $msg->key_origin($value) >>

Type: C<Enum> (L<Google::Iam::Admin::V1::ServiceAccountKeyOrigin>)

The key origin.

=item * C<< $msg->key_type() >> / C<< $msg->key_type($value) >>

Type: C<Enum> (L<Google::Iam::Admin::V1::ListServiceAccountKeysRequest::KeyType>)

The key type.

=item * C<< $msg->disabled() >> / C<< $msg->disabled($value) >>

Type: C<Bool>

The key status.

=back

=head2 Google::Iam::Admin::V1::Iam::CreateServiceAccountKeyRequest

The service account key create request.

Inherits from L<Protobuf::Message>.

=head3 Accessors

=over 4

=item * C<< $msg->name() >> / C<< $msg->name($value) >>

Type: C<String>

Required. The resource name of the service account in the following format:
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
the account. The `ACCOUNT` value can be the `email` address or the
`unique_id` of the service account.

=item * C<< $msg->private_key_type() >> / C<< $msg->private_key_type($value) >>

Type: C<Enum> (L<Google::Iam::Admin::V1::ServiceAccountPrivateKeyType>)

The output format of the private key. The default value is
`TYPE_GOOGLE_CREDENTIALS_FILE`, which is the Google Credentials File
format.

=item * C<< $msg->key_algorithm() >> / C<< $msg->key_algorithm($value) >>

Type: C<Enum> (L<Google::Iam::Admin::V1::ServiceAccountKeyAlgorithm>)

Which type of key and algorithm to use for the key.
The default is currently a 2K RSA key.  However this may change in the
future.

=back

=head2 Google::Iam::Admin::V1::Iam::UploadServiceAccountKeyRequest

The service account key upload request.

Inherits from L<Protobuf::Message>.

=head3 Accessors

=over 4

=item * C<< $msg->name() >> / C<< $msg->name($value) >>

Type: C<String>

The resource name of the service account in the following format:
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
the account. The `ACCOUNT` value can be the `email` address or the
`unique_id` of the service account.

=item * C<< $msg->public_key_data() >> / C<< $msg->public_key_data($value) >>

Type: C<Bytes>

The public key to associate with the service account. Must be an RSA public
key that is wrapped in an X.509 v3 certificate. Include the first line,
`-----BEGIN CERTIFICATE-----`, and the last line,
`-----END CERTIFICATE-----`.

=back

=head2 Google::Iam::Admin::V1::Iam::DeleteServiceAccountKeyRequest

The service account key delete request.

Inherits from L<Protobuf::Message>.

=head3 Accessors

=over 4

=item * C<< $msg->name() >> / C<< $msg->name($value) >>



( run in 1.143 second using v1.01-cache-2.11-cpan-8379b9b8ec2 )