Google Cloud Memorystore V1beta Client - Class ListInstancesResponse (0.1.0)

Reference documentation and code samples for the Google Cloud Memorystore V1beta Client class ListInstancesResponse.

Response message for ListInstances.

Generated from protobuf message google.cloud.memorystore.v1beta.ListInstancesResponse

Namespace

Google \ Cloud \ Memorystore \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ instances array<Instance>

If the {location} requested was "-" the response contains a list of instances from all locations. Instances in unreachable locations will be omitted.

↳ next_page_token string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

↳ unreachable array

Locations that could not be reached.

getInstances

If the {location} requested was "-" the response contains a list of instances from all locations. Instances in unreachable locations will be omitted.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setInstances

If the {location} requested was "-" the response contains a list of instances from all locations. Instances in unreachable locations will be omitted.

Parameter
Name Description
var array<Instance>
Returns
Type Description
$this

getNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Returns
Type Description
string

setNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Parameter
Name Description
var string
Returns
Type Description
$this

getUnreachable

Locations that could not be reached.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setUnreachable

Locations that could not be reached.

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