Reference documentation and code samples for the Cloud Spanner V1 Client class ListInstancesResponse.
The response for ListInstances.
Generated from protobuf message google.spanner.admin.instance.v1.ListInstancesResponse
Namespace
Google \ Cloud \ Spanner \ Admin \ Instance \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ instances |
array<Instance>
The list of requested instances. |
↳ next_page_token |
string
|
↳ unreachable |
string[]
The list of unreachable instances. It includes the names of instances whose metadata could not be retrieved within instance_deadline. |
getInstances
The list of requested instances.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<Instance> |
|
setInstances
The list of requested instances.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Instance>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNextPageToken
next_page_token can be sent in a subsequent
ListInstances
call to fetch more of the matching instances.
| Returns | |
|---|---|
| Type | Description |
string |
|
setNextPageToken
next_page_token can be sent in a subsequent
ListInstances
call to fetch more of the matching instances.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUnreachable
The list of unreachable instances.
It includes the names of instances whose metadata could not be retrieved within instance_deadline.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setUnreachable
The list of unreachable instances.
It includes the names of instances whose metadata could not be retrieved within instance_deadline.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|