Google Cloud Container V1 Client - Class ListUsableSubnetworksResponse (2.0.0-RC1)

Reference documentation and code samples for the Google Cloud Container V1 Client class ListUsableSubnetworksResponse.

ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest.

Generated from protobuf message google.container.v1.ListUsableSubnetworksResponse

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ subnetworks array<Google\Cloud\Container\V1\UsableSubnetwork>

A list of usable subnetworks in the specified network project.

↳ next_page_token string

This token allows you to get the next page of results for list requests. If the number of results is larger than page_size, use the next_page_token as a value for the query parameter page_token in the next request. The value will become empty when there are no more pages.

getSubnetworks

A list of usable subnetworks in the specified network project.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSubnetworks

A list of usable subnetworks in the specified network project.

Parameter
Name Description
var array<Google\Cloud\Container\V1\UsableSubnetwork>
Returns
Type Description
$this

getNextPageToken

This token allows you to get the next page of results for list requests.

If the number of results is larger than page_size, use the next_page_token as a value for the query parameter page_token in the next request. The value will become empty when there are no more pages.

Returns
Type Description
string

setNextPageToken

This token allows you to get the next page of results for list requests.

If the number of results is larger than page_size, use the next_page_token as a value for the query parameter page_token in the next request. The value will become empty when there are no more pages.

Parameter
Name Description
var string
Returns
Type Description
$this