Secret Manager V1 Client - Class Automatic (1.9.7)

Reference documentation and code samples for the Secret Manager V1 Client class Automatic.

A replication policy that replicates the Secret payload without any restrictions.

Generated from protobuf message google.cloud.secretmanager.v1.Replication.Automatic

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ customer_managed_encryption Google\Cloud\SecretManager\V1\CustomerManagedEncryption

Optional. The customer-managed encryption configuration of the Secret. If no configuration is provided, Google-managed default encryption is used. Updates to the Secret encryption configuration only apply to SecretVersions added afterwards. They do not apply retroactively to existing SecretVersions.

getCustomerManagedEncryption

Optional. The customer-managed encryption configuration of the Secret. If no configuration is provided, Google-managed default encryption is used.

Updates to the Secret encryption configuration only apply to SecretVersions added afterwards. They do not apply retroactively to existing SecretVersions.

Generated from protobuf field .google.cloud.secretmanager.v1.CustomerManagedEncryption customer_managed_encryption = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Google\Cloud\SecretManager\V1\CustomerManagedEncryption|null

hasCustomerManagedEncryption

clearCustomerManagedEncryption

setCustomerManagedEncryption

Optional. The customer-managed encryption configuration of the Secret. If no configuration is provided, Google-managed default encryption is used.

Updates to the Secret encryption configuration only apply to SecretVersions added afterwards. They do not apply retroactively to existing SecretVersions.

Generated from protobuf field .google.cloud.secretmanager.v1.CustomerManagedEncryption customer_managed_encryption = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var Google\Cloud\SecretManager\V1\CustomerManagedEncryption
Returns
TypeDescription
$this