Secret Manager V1 Client - Class AutomaticStatus (1.12.3)

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

The replication status of a SecretVersion using automatic replication.

Only populated if the parent Secret has an automatic replication policy.

Generated from protobuf message google.cloud.secretmanager.v1.ReplicationStatus.AutomaticStatus

Namespace

Google \ Cloud \ SecretManager \ V1 \ ReplicationStatus

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ customer_managed_encryption Google\Cloud\SecretManager\V1\CustomerManagedEncryptionStatus

Output only. The customer-managed encryption status of the SecretVersion. Only populated if customer-managed encryption is used.

getCustomerManagedEncryption

Output only. The customer-managed encryption status of the SecretVersion. Only populated if customer-managed encryption is used.

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

hasCustomerManagedEncryption

clearCustomerManagedEncryption

setCustomerManagedEncryption

Output only. The customer-managed encryption status of the SecretVersion. Only populated if customer-managed encryption is used.

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