Reference documentation and code samples for the Google Cloud Network Services V1 Client class ListGrpcRoutesRequest.
Request used with the ListGrpcRoutes method.
Generated from protobuf messagegoogle.cloud.networkservices.v1.ListGrpcRoutesRequest
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 GrpcRoutes should be listed, specified in the formatprojects/*/locations/global.
↳ page_size
int
Maximum number of GrpcRoutes to return per call.
↳ page_token
string
The value returned by the lastListGrpcRoutesResponseIndicates that this is a continuation of a priorListGrpcRoutescall, 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 GrpcRoutes should be
listed, specified in the formatprojects/*/locations/global.
Returns
Type
Description
string
setParent
Required. The project and location from which the GrpcRoutes should be
listed, specified in the formatprojects/*/locations/global.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
Maximum number of GrpcRoutes to return per call.
Returns
Type
Description
int
setPageSize
Maximum number of GrpcRoutes to return per call.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPageToken
The value returned by the lastListGrpcRoutesResponseIndicates that this is a continuation of a priorListGrpcRoutescall,
and that the system should return the next page of data.
Returns
Type
Description
string
setPageToken
The value returned by the lastListGrpcRoutesResponseIndicates that this is a continuation of a priorListGrpcRoutescall,
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 GrpcRoutes should be
listed, specified in the formatprojects/*/locations/global. Please seeNetworkServicesClient::locationName()for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Network Services V1 Client - Class ListGrpcRoutesRequest (0.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.6.1 (latest)](/php/docs/reference/cloud-networkservices/latest/V1.ListGrpcRoutesRequest)\n- [0.6.0](/php/docs/reference/cloud-networkservices/0.6.0/V1.ListGrpcRoutesRequest)\n- [0.5.0](/php/docs/reference/cloud-networkservices/0.5.0/V1.ListGrpcRoutesRequest)\n- [0.4.0](/php/docs/reference/cloud-networkservices/0.4.0/V1.ListGrpcRoutesRequest)\n- [0.3.0](/php/docs/reference/cloud-networkservices/0.3.0/V1.ListGrpcRoutesRequest)\n- [0.2.3](/php/docs/reference/cloud-networkservices/0.2.3/V1.ListGrpcRoutesRequest)\n- [0.1.1](/php/docs/reference/cloud-networkservices/0.1.1/V1.ListGrpcRoutesRequest) \nReference documentation and code samples for the Google Cloud Network Services V1 Client class ListGrpcRoutesRequest.\n\nRequest used with the ListGrpcRoutes method.\n\nGenerated from protobuf message `google.cloud.networkservices.v1.ListGrpcRoutesRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ NetworkServices \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The project and location from which the GrpcRoutes should be\nlisted, specified in the format `projects/*/locations/global`.\n\n### setParent\n\nRequired. The project and location from which the GrpcRoutes should be\nlisted, specified in the format `projects/*/locations/global`.\n\n### getPageSize\n\nMaximum number of GrpcRoutes to return per call.\n\n### setPageSize\n\nMaximum number of GrpcRoutes to return per call.\n\n### getPageToken\n\nThe value returned by the last `ListGrpcRoutesResponse`\nIndicates that this is a continuation of a prior `ListGrpcRoutes` call,\nand that the system should return the next page of data.\n\n### setPageToken\n\nThe value returned by the last `ListGrpcRoutesResponse`\nIndicates that this is a continuation of a prior `ListGrpcRoutes` call,\nand that the system should return the next page of data.\n\n### getReturnPartialSuccess\n\nOptional. If true, allow partial responses for multi-regional Aggregated\nList requests. Otherwise if one of the locations is down or unreachable,\nthe Aggregated List request will fail.\n\n### setReturnPartialSuccess\n\nOptional. If true, allow partial responses for multi-regional Aggregated\nList requests. Otherwise if one of the locations is down or unreachable,\nthe Aggregated List request will fail.\n\n### static::build"]]