Secret Manager V1 Client - Class UserManaged (1.9.7)

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

A replication policy that replicates the Secret payload into the locations specified in Secret.replication.user_managed.replicas

Generated from protobuf message google.cloud.secretmanager.v1.Replication.UserManaged

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ replicas array<Google\Cloud\SecretManager\V1\Replication\UserManaged\Replica>

Required. The list of Replicas for this Secret. Cannot be empty.

getReplicas

Required. The list of Replicas for this Secret.

Cannot be empty.

Generated from protobuf field repeated .google.cloud.secretmanager.v1.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setReplicas

Required. The list of Replicas for this Secret.

Cannot be empty.

Generated from protobuf field repeated .google.cloud.secretmanager.v1.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var array<Google\Cloud\SecretManager\V1\Replication\UserManaged\Replica>
Returns
TypeDescription
$this