Secret Manager V1beta1 Client - Class Replica (1.15.2)

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
Name Description
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
Type Description
string

setLocation

The canonical IDs of the location to replicate data.

For example: "us-east1".

Parameter
Name Description
var string
Returns
Type Description
$this