Secret Manager V1beta1 Client - Class UserManaged (1.15.3)

Reference documentation and code samples for the Secret Manager V1beta1 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.secrets.v1beta1.Replication.UserManaged

Namespace

Google \ Cloud \ SecretManager \ V1beta1 \ Replication

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ replicas array<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.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setReplicas

Required. The list of Replicas for this Secret.

Cannot be empty.

Parameter
Name Description
var array<UserManaged\Replica>
Returns
Type Description
$this