Cloud Spanner V1 Client - Class ListInstancesResponse (1.62.1)

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
NameDescription
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.

getInstances

The list of requested instances.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInstances

The list of requested instances.

Parameter
NameDescription
var array<Google\Cloud\Spanner\Admin\Instance\V1\Instance>
Returns
TypeDescription
$this

getNextPageToken

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

Returns
TypeDescription
string

setNextPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this