Google Cloud Filestore V1 Client - Class ListInstancesResponse (2.1.1)

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

ListInstancesResponse is the result of ListInstancesRequest.

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

Namespace

Google \ Cloud \ Filestore \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ instances
array< Instance >

A list of instances in the project for the specified location. If the {location} value in the request is "-", the response contains a list of instances from all locations. If any location is unreachable, the response will only return instances in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.

↳ next_page_token
string

The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

↳ unreachable
array

Unordered list. Locations that could not be reached.

getInstances

A list of instances in the project for the specified location.

If the {location} value in the request is "-", the response contains a list of instances from all locations. If any location is unreachable, the response will only return instances in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.

Returns
Type
Description

setInstances

A list of instances in the project for the specified location.

If the {location} value in the request is "-", the response contains a list of instances from all locations. If any location is unreachable, the response will only return instances in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.

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

getNextPageToken

The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

Returns
Type
Description
string

setNextPageToken

The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getUnreachable

Unordered list. Locations that could not be reached.

Returns
Type
Description

setUnreachable

Unordered list. Locations that could not be reached.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: