secretmanager.v1 library Null safety

Secret Manager API - v1

Stores sensitive data such as API keys, passwords, and certificates. Provides convenience while improving security.

For more information, see cloud.google.com/secret-manager/

Create an instance of SecretManagerApi to access these resources:

Classes

AccessSecretVersionResponse
Response message for SecretManagerService.AccessSecretVersion.
AddSecretVersionRequest
Request message for SecretManagerService.AddSecretVersion.
AuditConfig
Specifies the audit configuration for a service. [...]
AuditLogConfig
Provides the configuration for logging a type of permissions. [...]
Automatic
A replication policy that replicates the Secret payload without any restrictions.
AutomaticStatus
The replication status of a SecretVersion using automatic replication. [...]
Binding
Associates members with a role.
CustomerManagedEncryption
Configuration for encrypting secret payloads using customer-managed encryption keys (CMEK).
CustomerManagedEncryptionStatus
Describes the status of customer-managed encryption.
DestroySecretVersionRequest
Request message for SecretManagerService.DestroySecretVersion.
DisableSecretVersionRequest
Request message for SecretManagerService.DisableSecretVersion.
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. [...]
EnableSecretVersionRequest
Request message for SecretManagerService.EnableSecretVersion.
Expr
Represents a textual expression in the Common Expression Language (CEL) syntax. [...]
ListLocationsResponse
The response message for Locations.ListLocations.
ListSecretsResponse
Response message for SecretManagerService.ListSecrets.
ListSecretVersionsResponse
Response message for SecretManagerService.ListSecretVersions.
Location
A resource that represents Google Cloud Platform location.
Policy
An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. [...]
ProjectsLocationsResource
ProjectsResource
ProjectsSecretsResource
ProjectsSecretsVersionsResource
Replica
Represents a Replica for this Secret.
ReplicaStatus
Describes the status of a user-managed replica for the SecretVersion.
Replication
A policy that defines the replication and encryption configuration of data.
ReplicationStatus
The replication status of a SecretVersion.
Rotation
The rotation time and period for a Secret. [...]
Secret
A Secret is a logical secret whose value and versions can be accessed. [...]
SecretManagerApi
Stores sensitive data such as API keys, passwords, and certificates. [...]
SecretPayload
A secret payload resource in the Secret Manager API. [...]
SecretVersion
A secret version resource in the Secret Manager API.
SetIamPolicyRequest
Request message for SetIamPolicy method.
TestIamPermissionsRequest
Request message for TestIamPermissions method.
TestIamPermissionsResponse
Response message for TestIamPermissions method.
Topic
A Pub/Sub topic which Secret Manager will publish to when control plane events occur on this secret.
UserManaged
A replication policy that replicates the Secret payload into the locations specified in Secret.replication.user_managed.replicas
UserManagedStatus
The replication status of a SecretVersion using user-managed replication. [...]

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.