Google Cloud Network Services V1 Client - Class ListHttpRoutesRequest (0.5.0)

Reference documentation and code samples for the Google Cloud Network Services V1 Client class ListHttpRoutesRequest.

Request used with the ListHttpRoutes method.

Generated from protobuf message google.cloud.networkservices.v1.ListHttpRoutesRequest

Namespace

Google \ Cloud \ NetworkServices \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The project and location from which the HttpRoutes should be listed, specified in the format projects/*/locations/global.

↳ page_size int

Maximum number of HttpRoutes to return per call.

↳ page_token string

The value returned by the last ListHttpRoutesResponse Indicates that this is a continuation of a prior ListHttpRoutes call, and that the system should return the next page of data.

↳ return_partial_success bool

Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.

getParent

Required. The project and location from which the HttpRoutes should be listed, specified in the format projects/*/locations/global.

Returns
Type Description
string

setParent

Required. The project and location from which the HttpRoutes should be listed, specified in the format projects/*/locations/global.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Maximum number of HttpRoutes to return per call.

Returns
Type Description
int

setPageSize

Maximum number of HttpRoutes to return per call.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

The value returned by the last ListHttpRoutesResponse Indicates that this is a continuation of a prior ListHttpRoutes call, and that the system should return the next page of data.

Returns
Type Description
string

setPageToken

The value returned by the last ListHttpRoutesResponse Indicates that this is a continuation of a prior ListHttpRoutes call, and that the system should return the next page of data.

Parameter
Name Description
var string
Returns
Type Description
$this

getReturnPartialSuccess

Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.

Returns
Type Description
bool

setReturnPartialSuccess

Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The project and location from which the HttpRoutes should be listed, specified in the format projects/*/locations/global. Please see NetworkServicesClient::locationName() for help formatting this field.

Returns
Type Description
ListHttpRoutesRequest