Cloud Spanner V1 Client - Class ListInstancesResponse (1.54.2)

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

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.

Generated from protobuf field repeated .google.spanner.admin.instance.v1.Instance instances = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInstances

The list of requested instances.

Generated from protobuf field repeated .google.spanner.admin.instance.v1.Instance instances = 1;

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.

Generated from protobuf field string next_page_token = 2;

Returns
TypeDescription
string

setNextPageToken

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

Generated from protobuf field string next_page_token = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this