Secret Manager V1beta2 Client - Class ReplicationStatus (1.15.4)

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

The replication status of a SecretVersion.

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

Namespace

Google \ Cloud \ SecretManager \ V1beta2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ automatic 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 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.

Returns
Type Description
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.

Parameter
Name Description
var ReplicationStatus\AutomaticStatus
Returns
Type Description
$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.

Returns
Type Description
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.

Parameter
Name Description
var ReplicationStatus\UserManagedStatus
Returns
Type Description
$this

getReplicationStatus

Returns
Type Description
string