Secret Manager V1beta1 Client - Class Replica (1.13.0)

Reference documentation and code samples for the Secret Manager V1beta1 Client class Replica.

Represents a Replica for this Secret.

Generated from protobuf message google.cloud.secrets.v1beta1.Replication.UserManaged.Replica

Namespace

Google \ Cloud \ SecretManager \ V1beta1 \ Replication \ UserManaged

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ location string

The canonical IDs of the location to replicate data. For example: "us-east1".

getLocation

The canonical IDs of the location to replicate data.

For example: "us-east1".

Returns
TypeDescription
string

setLocation

The canonical IDs of the location to replicate data.

For example: "us-east1".

Parameter
NameDescription
var string
Returns
TypeDescription
$this