Cloud Spanner V1 Client - Class ReplicaSelection (1.86.0)

Reference documentation and code samples for the Cloud Spanner V1 Client class ReplicaSelection.

ReplicaSelection identifies replicas with common properties.

Generated from protobuf message google.spanner.admin.instance.v1.ReplicaSelection

Namespace

Google \ Cloud \ Spanner \ Admin \ Instance \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ location string

Required. Name of the location of the replicas (e.g., "us-central1").

getLocation

Required. Name of the location of the replicas (e.g., "us-central1").

Returns
Type Description
string

setLocation

Required. Name of the location of the replicas (e.g., "us-central1").

Parameter
Name Description
var string
Returns
Type Description
$this