Secret Manager V1 Client - Class UserManagedStatus (1.15.4)

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

The replication status of a SecretVersion using user-managed replication.

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

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

Namespace

Google \ Cloud \ SecretManager \ V1 \ ReplicationStatus

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ replicas array<UserManagedStatus\ReplicaStatus>

Output only. The list of replica statuses for the SecretVersion.

getReplicas

Output only. The list of replica statuses for the SecretVersion.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setReplicas

Output only. The list of replica statuses for the SecretVersion.

Parameter
Name Description
var array<UserManagedStatus\ReplicaStatus>
Returns
Type Description
$this