Google Cloud Vmware Engine V1 Client - Class ListSubnetsResponse (0.1.4)

Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class ListSubnetsResponse.

Response message for VmwareEngine.ListSubnets

Generated from protobuf message google.cloud.vmwareengine.v1.ListSubnetsResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ subnets array<Google\Cloud\VmwareEngine\V1\Subnet>

A list of subnets.

↳ 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.

getSubnets

A list of subnets.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSubnets

A list of subnets.

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