Reference documentation and code samples for the Secret Manager V1beta2 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.v1beta2.ReplicationStatus.UserManagedStatus
Namespace
Google \ Cloud \ SecretManager \ V1beta2 \ ReplicationStatusMethods
__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 |
|