Memorystore for Memcached V1beta2 Client - Class ListInstancesResponse (1.2.2)

Reference documentation and code samples for the Memorystore for Memcached V1beta2 Client class ListInstancesResponse.

Response for ListInstances.

Generated from protobuf message google.cloud.memcache.v1beta2.ListInstancesResponse

Namespace

Google \ Cloud \ Memcache \ V1beta2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ resources array<Google\Cloud\Memcache\V1beta2\Instance>

A list of Memcached instances in the project in the specified location, or across all locations. If the location_id in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

↳ next_page_token string

Token to retrieve the next page of results, or empty if there are no more results in the list.

↳ unreachable array

Locations that could not be reached.

getResources

A list of Memcached instances in the project in the specified location, or across all locations.

If the location_id in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setResources

A list of Memcached instances in the project in the specified location, or across all locations.

If the location_id in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

Parameter
NameDescription
var array<Google\Cloud\Memcache\V1beta2\Instance>
Returns
TypeDescription
$this

getNextPageToken

Token to retrieve the next page of results, or empty if there are no more results in the list.

Returns
TypeDescription
string

setNextPageToken

Token to retrieve the next page of results, or empty if there are no more results in the list.

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