Module types (0.2.0)

API documentation for secretmanager_v1.types module.

Classes

AccessSecretVersionRequest

Request message for SecretManagerService.AccessSecretVersion.

AccessSecretVersionResponse

Response message for SecretManagerService.AccessSecretVersion.

Secret payload

AddSecretVersionRequest

Request message for SecretManagerService.AddSecretVersion.

Required. The secret payload of the SecretVersion.

AuditConfig

API documentation for secretmanager_v1.types.AuditConfig class.

AuditConfigDelta

API documentation for secretmanager_v1.types.AuditConfigDelta class.

AuditLogConfig

API documentation for secretmanager_v1.types.AuditLogConfig class.

Binding

API documentation for secretmanager_v1.types.Binding class.

BindingDelta

API documentation for secretmanager_v1.types.BindingDelta class.

CreateSecretRequest

Request message for SecretManagerService.CreateSecret.

Required. This must be unique within the project.

DeleteSecretRequest

Request message for SecretManagerService.DeleteSecret.

DestroySecretVersionRequest

Request message for SecretManagerService.DestroySecretVersion.

DisableSecretVersionRequest

Request message for SecretManagerService.DisableSecretVersion.

Empty

API documentation for secretmanager_v1.types.Empty class.

EnableSecretVersionRequest

Request message for SecretManagerService.EnableSecretVersion.

Expr

API documentation for secretmanager_v1.types.Expr class.

FieldMask

API documentation for secretmanager_v1.types.FieldMask class.

GetIamPolicyRequest

API documentation for secretmanager_v1.types.GetIamPolicyRequest class.

GetPolicyOptions

API documentation for secretmanager_v1.types.GetPolicyOptions class.

GetSecretRequest

Request message for SecretManagerService.GetSecret.

GetSecretVersionRequest

Request message for SecretManagerService.GetSecretVersion.

ListSecretVersionsRequest

Request message for SecretManagerService.ListSecretVersions.

Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000.

ListSecretVersionsResponse

Response message for SecretManagerService.ListSecretVersions.

A token to retrieve the next page of results. Pass this value in [ListSecretVersionsRequest.page_token][google.cloud.secretm anager.v1.ListSecretVersionsRequest.page_token] to retrieve the next page.

ListSecretsRequest

Request message for SecretManagerService.ListSecrets.

Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000.

ListSecretsResponse

Response message for SecretManagerService.ListSecrets.

A token to retrieve the next page of results. Pass this value in [ListSecretsRequest.page_token][google.cloud.secretmanager. v1.ListSecretsRequest.page_token] to retrieve the next page.

Policy

API documentation for secretmanager_v1.types.Policy class.

PolicyDelta

API documentation for secretmanager_v1.types.PolicyDelta class.

Replication

A policy that defines the replication configuration of data.

The Secret will automatically be replicated without any restrictions.

Secret

A Secret is a logical secret whose value and versions can be accessed.

A Secret is made up of zero or more SecretVersions that represent the secret data.

Required. Immutable. The replication policy of the secret data attached to the Secret. The replication policy cannot be changed after the Secret has been created.

The labels assigned to this Secret. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62} Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 64 labels can be assigned to a given resource.

SecretPayload

A secret payload resource in the Secret Manager API. This contains the sensitive secret data that is associated with a SecretVersion.

SecretVersion

A secret version resource in the Secret Manager API.

Output only. The time at which the SecretVersion was created.

Output only. The current state of the SecretVersion.

SetIamPolicyRequest

API documentation for secretmanager_v1.types.SetIamPolicyRequest class.

TestIamPermissionsRequest

API documentation for secretmanager_v1.types.TestIamPermissionsRequest class.

TestIamPermissionsResponse

API documentation for secretmanager_v1.types.TestIamPermissionsResponse class.

Timestamp

API documentation for secretmanager_v1.types.Timestamp class.

UpdateSecretRequest

Request message for SecretManagerService.UpdateSecret.

Required. Specifies the fields to be updated.