Cloud Spanner V1 Client - Class ListInstancePartitionsResponse (1.76.1)

Reference documentation and code samples for the Cloud Spanner V1 Client class ListInstancePartitionsResponse.

The response for ListInstancePartitions.

Generated from protobuf message google.spanner.admin.instance.v1.ListInstancePartitionsResponse

Namespace

Google \ Cloud \ Spanner \ Admin \ Instance \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ instance_partitions array<Google\Cloud\Spanner\Admin\Instance\V1\InstancePartition>

The list of requested instancePartitions.

↳ next_page_token string

next_page_token can be sent in a subsequent ListInstancePartitions call to fetch more of the matching instance partitions.

↳ unreachable array

The list of unreachable instance partitions. It includes the names of instance partitions whose metadata could not be retrieved within instance_partition_deadline.

getInstancePartitions

The list of requested instancePartitions.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setInstancePartitions

The list of requested instancePartitions.

Parameter
Name Description
var array<Google\Cloud\Spanner\Admin\Instance\V1\InstancePartition>
Returns
Type Description
$this

getNextPageToken

next_page_token can be sent in a subsequent ListInstancePartitions call to fetch more of the matching instance partitions.

Returns
Type Description
string

setNextPageToken

next_page_token can be sent in a subsequent ListInstancePartitions call to fetch more of the matching instance partitions.

Parameter
Name Description
var string
Returns
Type Description
$this

getUnreachable

The list of unreachable instance partitions.

It includes the names of instance partitions whose metadata could not be retrieved within instance_partition_deadline.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setUnreachable

The list of unreachable instance partitions.

It includes the names of instance partitions whose metadata could not be retrieved within instance_partition_deadline.

Parameter
Name Description
var string[]
Returns
Type Description
$this