Secret Manager V1 Client - Class ReplicationStatus (1.9.7)

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

The replication status of a SecretVersion.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ automatic Google\Cloud\SecretManager\V1\ReplicationStatus\AutomaticStatus

Describes the replication status of a SecretVersion with automatic replication. Only populated if the parent Secret has an automatic replication policy.

↳ user_managed Google\Cloud\SecretManager\V1\ReplicationStatus\UserManagedStatus

Describes the replication status of a SecretVersion with user-managed replication. Only populated if the parent Secret has a user-managed replication policy.

getAutomatic

Describes the replication status of a SecretVersion with automatic replication.

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

Generated from protobuf field .google.cloud.secretmanager.v1.ReplicationStatus.AutomaticStatus automatic = 1;

Returns
TypeDescription
Google\Cloud\SecretManager\V1\ReplicationStatus\AutomaticStatus|null

hasAutomatic

setAutomatic

Describes the replication status of a SecretVersion with automatic replication.

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

Generated from protobuf field .google.cloud.secretmanager.v1.ReplicationStatus.AutomaticStatus automatic = 1;

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

getUserManaged

Describes the replication status of a SecretVersion with user-managed replication.

Only populated if the parent Secret has a user-managed replication policy.

Generated from protobuf field .google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus user_managed = 2;

Returns
TypeDescription
Google\Cloud\SecretManager\V1\ReplicationStatus\UserManagedStatus|null

hasUserManaged

setUserManaged

Describes the replication status of a SecretVersion with user-managed replication.

Only populated if the parent Secret has a user-managed replication policy.

Generated from protobuf field .google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus user_managed = 2;

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

getReplicationStatus

Returns
TypeDescription
string