Cloud Spanner V1 Client - Class ListInstancesResponse (1.82.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ instances array<Google\Cloud\Spanner\Admin\Instance\V1\Instance>

The list of requested instances.

↳ next_page_token string

next_page_token can be sent in a subsequent ListInstances call to fetch more of the matching instances.

↳ unreachable array

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\Internal\RepeatedField

setInstances

The list of requested instances.

Parameter
Name Description
var array<Google\Cloud\Spanner\Admin\Instance\V1\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\Internal\RepeatedField

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