Secret Manager V1 Client - Class UserManagedStatus (1.9.7)

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

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.

Generated from protobuf field repeated .google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setReplicas

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

Generated from protobuf field repeated .google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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