Google Cloud Network Connectivity V1 Client - Class ListPolicyBasedRoutesResponse (1.4.2)

Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class ListPolicyBasedRoutesResponse.

Response for PolicyBasedRouting.ListPolicyBasedRoutes method.

Generated from protobuf message google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse

Namespace

Google \ Cloud \ NetworkConnectivity \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ policy_based_routes array<Google\Cloud\NetworkConnectivity\V1\PolicyBasedRoute>

Policy based routes to be returned.

↳ next_page_token string

The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.

↳ unreachable array

Locations that could not be reached.

getPolicyBasedRoutes

Policy based routes to be returned.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPolicyBasedRoutes

Policy based routes to be returned.

Parameter
NameDescription
var array<Google\Cloud\NetworkConnectivity\V1\PolicyBasedRoute>
Returns
TypeDescription
$this

getNextPageToken

The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.

Returns
TypeDescription
string

setNextPageToken

The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.

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