Secret Manager V1 Client - Class UserManagedStatus (1.13.0)

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ replicas array<Google\Cloud\SecretManager\V1\ReplicationStatus\UserManagedStatus\ReplicaStatus>

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

getReplicas

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setReplicas

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

Parameter
NameDescription
var array<Google\Cloud\SecretManager\V1\ReplicationStatus\UserManagedStatus\ReplicaStatus>
Returns
TypeDescription
$this