Google Cloud Container V1 Client - Class ListUsableSubnetworksResponse (1.14.0)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSubnetworks

A list of usable subnetworks in the specified network project.

Parameter
NameDescription
var array<Google\Cloud\Container\V1\UsableSubnetwork>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this