Package com.google.cloud.secretmanager.v1beta2 (2.49.0)

GitHub Repository

This package is not the recommended entry point to using this client library!

For this library, we recommend using com.google.cloud.secretmanager.v1 for new applications.

Prerelease Implications

This package is a prerelease version! Use with caution.

Prerelease versions are considered unstable as they may be shut down and/or subject to breaking changes when upgrading. Use them only for testing or if you specifically need their experimental features.

Client Classes

Client classes are the main entry point to using a package. They contain several variations of Java methods for each of the API's methods.

Client Description
com.google.cloud.secretmanager.v1beta2.SecretManagerServiceClient Service Description: Secret Manager Service

Manages secrets and operations using those secrets. Implements a REST model with the following objects:

Settings Classes

Settings classes can be used to configure credentials, endpoints, and retry settings for a Client.

Settings Description
com.google.cloud.secretmanager.v1beta2.SecretManagerServiceSettings Settings class to configure an instance of SecretManagerServiceClient.

The default instance has everything set to sensible defaults:

Classes

Class Description
com.google.cloud.secretmanager.v1beta2.AccessSecretVersionRequest Request message for SecretManagerService.AccessSecretVersion.
com.google.cloud.secretmanager.v1beta2.AccessSecretVersionRequest.Builder Request message for SecretManagerService.AccessSecretVersion.
com.google.cloud.secretmanager.v1beta2.AccessSecretVersionResponse Response message for SecretManagerService.AccessSecretVersion.
com.google.cloud.secretmanager.v1beta2.AccessSecretVersionResponse.Builder Response message for SecretManagerService.AccessSecretVersion.
com.google.cloud.secretmanager.v1beta2.AddSecretVersionRequest Request message for SecretManagerService.AddSecretVersion.
com.google.cloud.secretmanager.v1beta2.AddSecretVersionRequest.Builder Request message for SecretManagerService.AddSecretVersion.
com.google.cloud.secretmanager.v1beta2.CreateSecretRequest Request message for SecretManagerService.CreateSecret.
com.google.cloud.secretmanager.v1beta2.CreateSecretRequest.Builder Request message for SecretManagerService.CreateSecret.
com.google.cloud.secretmanager.v1beta2.CustomerManagedEncryption Configuration for encrypting secret payloads using customer-managed encryption keys (CMEK).
com.google.cloud.secretmanager.v1beta2.CustomerManagedEncryption.Builder Configuration for encrypting secret payloads using customer-managed encryption keys (CMEK).
com.google.cloud.secretmanager.v1beta2.CustomerManagedEncryptionStatus Describes the status of customer-managed encryption.
com.google.cloud.secretmanager.v1beta2.CustomerManagedEncryptionStatus.Builder Describes the status of customer-managed encryption.
com.google.cloud.secretmanager.v1beta2.DeleteSecretRequest Request message for SecretManagerService.DeleteSecret.
com.google.cloud.secretmanager.v1beta2.DeleteSecretRequest.Builder Request message for SecretManagerService.DeleteSecret.
com.google.cloud.secretmanager.v1beta2.DestroySecretVersionRequest Request message for SecretManagerService.DestroySecretVersion.
com.google.cloud.secretmanager.v1beta2.DestroySecretVersionRequest.Builder Request message for SecretManagerService.DestroySecretVersion.
com.google.cloud.secretmanager.v1beta2.DisableSecretVersionRequest Request message for SecretManagerService.DisableSecretVersion.
com.google.cloud.secretmanager.v1beta2.DisableSecretVersionRequest.Builder Request message for SecretManagerService.DisableSecretVersion.
com.google.cloud.secretmanager.v1beta2.EnableSecretVersionRequest Request message for SecretManagerService.EnableSecretVersion.
com.google.cloud.secretmanager.v1beta2.EnableSecretVersionRequest.Builder Request message for SecretManagerService.EnableSecretVersion.
com.google.cloud.secretmanager.v1beta2.GetSecretRequest Request message for SecretManagerService.GetSecret.
com.google.cloud.secretmanager.v1beta2.GetSecretRequest.Builder Request message for SecretManagerService.GetSecret.
com.google.cloud.secretmanager.v1beta2.GetSecretVersionRequest Request message for SecretManagerService.GetSecretVersion.
com.google.cloud.secretmanager.v1beta2.GetSecretVersionRequest.Builder Request message for SecretManagerService.GetSecretVersion.
com.google.cloud.secretmanager.v1beta2.ListSecretVersionsRequest Request message for SecretManagerService.ListSecretVersions.
com.google.cloud.secretmanager.v1beta2.ListSecretVersionsRequest.Builder Request message for SecretManagerService.ListSecretVersions.
com.google.cloud.secretmanager.v1beta2.ListSecretVersionsResponse Response message for SecretManagerService.ListSecretVersions.
com.google.cloud.secretmanager.v1beta2.ListSecretVersionsResponse.Builder Response message for SecretManagerService.ListSecretVersions.
com.google.cloud.secretmanager.v1beta2.ListSecretsRequest Request message for SecretManagerService.ListSecrets.
com.google.cloud.secretmanager.v1beta2.ListSecretsRequest.Builder Request message for SecretManagerService.ListSecrets.
com.google.cloud.secretmanager.v1beta2.ListSecretsResponse Response message for SecretManagerService.ListSecrets.
com.google.cloud.secretmanager.v1beta2.ListSecretsResponse.Builder Response message for SecretManagerService.ListSecrets.
com.google.cloud.secretmanager.v1beta2.LocationName
com.google.cloud.secretmanager.v1beta2.LocationName.Builder Builder for projects/{project}/locations/{location}.
com.google.cloud.secretmanager.v1beta2.ProjectName
com.google.cloud.secretmanager.v1beta2.ProjectName.Builder Builder for projects/{project}.
com.google.cloud.secretmanager.v1beta2.Replication A policy that defines the replication and encryption configuration of data.
com.google.cloud.secretmanager.v1beta2.Replication.Automatic A replication policy that replicates the Secret payload without any restrictions.
com.google.cloud.secretmanager.v1beta2.Replication.Automatic.Builder A replication policy that replicates the Secret payload without any restrictions.
com.google.cloud.secretmanager.v1beta2.Replication.Builder A policy that defines the replication and encryption configuration of data.
com.google.cloud.secretmanager.v1beta2.Replication.UserManaged A replication policy that replicates the Secret payload into the locations specified in [Secret.replication.user_managed.replicas][]
com.google.cloud.secretmanager.v1beta2.Replication.UserManaged.Builder A replication policy that replicates the Secret payload into the locations specified in [Secret.replication.user_managed.replicas][]
com.google.cloud.secretmanager.v1beta2.Replication.UserManaged.Replica Represents a Replica for this Secret.
com.google.cloud.secretmanager.v1beta2.Replication.UserManaged.Replica.Builder Represents a Replica for this Secret.
com.google.cloud.secretmanager.v1beta2.ReplicationStatus The replication status of a SecretVersion.
com.google.cloud.secretmanager.v1beta2.ReplicationStatus.AutomaticStatus The replication status of a SecretVersion using automatic replication.
com.google.cloud.secretmanager.v1beta2.ReplicationStatus.AutomaticStatus.Builder The replication status of a SecretVersion using automatic replication.
com.google.cloud.secretmanager.v1beta2.ReplicationStatus.Builder The replication status of a SecretVersion.
com.google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus The replication status of a SecretVersion using user-managed replication.
com.google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.Builder The replication status of a SecretVersion using user-managed replication.
com.google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus Describes the status of a user-managed replica for the SecretVersion.
com.google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder Describes the status of a user-managed replica for the SecretVersion.
com.google.cloud.secretmanager.v1beta2.ResourcesProto
com.google.cloud.secretmanager.v1beta2.Rotation The rotation time and period for a Secret. At next_rotation_time, Secret Manager will send a Pub/Sub notification to the topics configured on
com.google.cloud.secretmanager.v1beta2.Rotation.Builder The rotation time and period for a Secret. At next_rotation_time, Secret Manager will send a Pub/Sub notification to the topics configured on
com.google.cloud.secretmanager.v1beta2.Secret A Secret is a logical secret whose value and versions can be accessed.
com.google.cloud.secretmanager.v1beta2.Secret.Builder A Secret is a logical secret whose value and versions can be accessed.
com.google.cloud.secretmanager.v1beta2.SecretManagerServiceClient.ListLocationsFixedSizeCollection
com.google.cloud.secretmanager.v1beta2.SecretManagerServiceClient.ListLocationsPage
com.google.cloud.secretmanager.v1beta2.SecretManagerServiceClient.ListLocationsPagedResponse
com.google.cloud.secretmanager.v1beta2.SecretManagerServiceClient.ListSecretVersionsFixedSizeCollection
com.google.cloud.secretmanager.v1beta2.SecretManagerServiceClient.ListSecretVersionsPage
com.google.cloud.secretmanager.v1beta2.SecretManagerServiceClient.ListSecretVersionsPagedResponse
com.google.cloud.secretmanager.v1beta2.SecretManagerServiceClient.ListSecretsFixedSizeCollection
com.google.cloud.secretmanager.v1beta2.SecretManagerServiceClient.ListSecretsPage
com.google.cloud.secretmanager.v1beta2.SecretManagerServiceClient.ListSecretsPagedResponse
com.google.cloud.secretmanager.v1beta2.SecretManagerServiceGrpc Secret Manager Service Manages secrets and operations using those secrets. Implements a REST model with the following objects:
com.google.cloud.secretmanager.v1beta2.SecretManagerServiceGrpc.SecretManagerServiceImplBase Base class for the server implementation of the service SecretManagerService. Secret Manager Service
com.google.cloud.secretmanager.v1beta2.SecretManagerServiceSettings.Builder Builder for SecretManagerServiceSettings.
com.google.cloud.secretmanager.v1beta2.SecretName
com.google.cloud.secretmanager.v1beta2.SecretName.Builder Builder for projects/{project}/secrets/{secret}.
com.google.cloud.secretmanager.v1beta2.SecretName.ProjectLocationSecretBuilder Builder for projects/{project}/locations/{location}/secrets/{secret}.
com.google.cloud.secretmanager.v1beta2.SecretPayload A secret payload resource in the Secret Manager API. This contains the sensitive secret payload that is associated with a SecretVersion.
com.google.cloud.secretmanager.v1beta2.SecretPayload.Builder A secret payload resource in the Secret Manager API. This contains the sensitive secret payload that is associated with a SecretVersion.
com.google.cloud.secretmanager.v1beta2.SecretVersion A secret version resource in the Secret Manager API.
com.google.cloud.secretmanager.v1beta2.SecretVersion.Builder A secret version resource in the Secret Manager API.
com.google.cloud.secretmanager.v1beta2.SecretVersionName
com.google.cloud.secretmanager.v1beta2.SecretVersionName.Builder Builder for projects/{project}/secrets/{secret}/versions/{secret_version}.
com.google.cloud.secretmanager.v1beta2.SecretVersionName.ProjectLocationSecretSecretVersionBuilder Builder for projects/{project}/locations/{location}/secrets/{secret}/versions/{secret_version}.
com.google.cloud.secretmanager.v1beta2.ServiceProto
com.google.cloud.secretmanager.v1beta2.Topic A Pub/Sub topic which Secret Manager will publish to when control plane events occur on this secret.
com.google.cloud.secretmanager.v1beta2.Topic.Builder A Pub/Sub topic which Secret Manager will publish to when control plane events occur on this secret.
com.google.cloud.secretmanager.v1beta2.UpdateSecretRequest Request message for SecretManagerService.UpdateSecret.
com.google.cloud.secretmanager.v1beta2.UpdateSecretRequest.Builder Request message for SecretManagerService.UpdateSecret.

Interfaces

Interface Description
com.google.cloud.secretmanager.v1beta2.AccessSecretVersionRequestOrBuilder
com.google.cloud.secretmanager.v1beta2.AccessSecretVersionResponseOrBuilder
com.google.cloud.secretmanager.v1beta2.AddSecretVersionRequestOrBuilder
com.google.cloud.secretmanager.v1beta2.CreateSecretRequestOrBuilder
com.google.cloud.secretmanager.v1beta2.CustomerManagedEncryptionOrBuilder
com.google.cloud.secretmanager.v1beta2.CustomerManagedEncryptionStatusOrBuilder
com.google.cloud.secretmanager.v1beta2.DeleteSecretRequestOrBuilder
com.google.cloud.secretmanager.v1beta2.DestroySecretVersionRequestOrBuilder
com.google.cloud.secretmanager.v1beta2.DisableSecretVersionRequestOrBuilder
com.google.cloud.secretmanager.v1beta2.EnableSecretVersionRequestOrBuilder
com.google.cloud.secretmanager.v1beta2.GetSecretRequestOrBuilder
com.google.cloud.secretmanager.v1beta2.GetSecretVersionRequestOrBuilder
com.google.cloud.secretmanager.v1beta2.ListSecretVersionsRequestOrBuilder
com.google.cloud.secretmanager.v1beta2.ListSecretVersionsResponseOrBuilder
com.google.cloud.secretmanager.v1beta2.ListSecretsRequestOrBuilder
com.google.cloud.secretmanager.v1beta2.ListSecretsResponseOrBuilder
com.google.cloud.secretmanager.v1beta2.Replication.AutomaticOrBuilder
com.google.cloud.secretmanager.v1beta2.Replication.UserManaged.ReplicaOrBuilder
com.google.cloud.secretmanager.v1beta2.Replication.UserManagedOrBuilder
com.google.cloud.secretmanager.v1beta2.ReplicationOrBuilder
com.google.cloud.secretmanager.v1beta2.ReplicationStatus.AutomaticStatusOrBuilder
com.google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatusOrBuilder
com.google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatusOrBuilder
com.google.cloud.secretmanager.v1beta2.ReplicationStatusOrBuilder
com.google.cloud.secretmanager.v1beta2.RotationOrBuilder
com.google.cloud.secretmanager.v1beta2.SecretManagerServiceGrpc.AsyncService Secret Manager Service Manages secrets and operations using those secrets. Implements a REST model with the following objects:
com.google.cloud.secretmanager.v1beta2.SecretOrBuilder
com.google.cloud.secretmanager.v1beta2.SecretPayloadOrBuilder
com.google.cloud.secretmanager.v1beta2.SecretVersionOrBuilder
com.google.cloud.secretmanager.v1beta2.TopicOrBuilder
com.google.cloud.secretmanager.v1beta2.UpdateSecretRequestOrBuilder

Enums

Enum Description
com.google.cloud.secretmanager.v1beta2.Replication.ReplicationCase
com.google.cloud.secretmanager.v1beta2.ReplicationStatus.ReplicationStatusCase
com.google.cloud.secretmanager.v1beta2.Secret.ExpirationCase
com.google.cloud.secretmanager.v1beta2.SecretVersion.State The state of a SecretVersion, indicating if it can be accessed.