Google Cloud AlloyDB for PostgreSQL V1 Client - Class ListInstancesResponse (0.9.0)

Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class ListInstancesResponse.

Message for response to listing Instances

Generated from protobuf message google.cloud.alloydb.v1.ListInstancesResponse

Namespace

Google \ Cloud \ AlloyDb \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ instances array<Google\Cloud\AlloyDb\V1\Instance>

The list of Instance

↳ next_page_token string

A token identifying a page of results the server should return.

↳ unreachable array

Locations that could not be reached.

getInstances

The list of Instance

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInstances

The list of Instance

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

getNextPageToken

A token identifying a page of results the server should return.

Returns
TypeDescription
string

setNextPageToken

A token identifying a page of results the server should return.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUnreachable

Locations that could not be reached.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUnreachable

Locations that could not be reached.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this