Reference documentation and code samples for the Cloud Spanner V1 Client class ExcludeReplicas.
An ExcludeReplicas contains a repeated set of ReplicaSelection that should be excluded from serving requests.
Generated from protobuf message google.spanner.v1.DirectedReadOptions.ExcludeReplicas
Namespace
Google \ Cloud \ Spanner \ V1 \ DirectedReadOptionsMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ replica_selections |
array<ReplicaSelection>
The directed read replica selector. |
getReplicaSelections
The directed read replica selector.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<ReplicaSelection> |
|
setReplicaSelections
The directed read replica selector.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ReplicaSelection>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|