Google Cloud Edge Network V1 Client - Class ListSubnetsResponse (0.2.0)

Reference documentation and code samples for the Google Cloud Edge Network V1 Client class ListSubnetsResponse.

Message for response to listing Subnets

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

Namespace

Google \ Cloud \ EdgeNetwork \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

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

The list of Subnet

↳ next_page_token string

A token identifying a page of results the server should return.

↳ unreachable array

Locations that could not be reached.

getSubnets

The list of Subnet

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSubnets

The list of Subnet

Parameter
NameDescription
var array<Google\Cloud\EdgeNetwork\V1\Subnet>
Returns
TypeDescription
$this

getNextPageToken

A token identifying a page of results the server should return.

Returns
TypeDescription
string

setNextPageToken

A token identifying a page of results the server should return.

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