Secret Manager V1beta2 Client - Class UserManaged (2.2.1)

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

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

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

Namespace

Google \ Cloud \ SecretManager \ V1beta2 \ 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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.