Reference documentation and code samples for the Google Cloud Functions V2 Client class ListFunctionsRequest.
Request for the ListFunctions method.
Generated from protobuf message google.cloud.functions.v2.ListFunctionsRequest
Namespace
Google \ Cloud \ Functions \ V2
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 function should be listed, specified in the format projects/*/locations/* If you want to list functions in all locations, use "-" in place of a location. When listing functions in all locations, if one or more location(s) are unreachable, the response will contain functions from all reachable locations along with the names of any unreachable locations.
↳ page_size
int
Maximum number of functions to return per call. The largest allowed page_size is 1,000, if the page_size is omitted or specified as greater than 1,000 then it will be replaced as 1,000. The size of the list response can be less than specified when used with filters.
↳ page_token
string
The value returned by the last ListFunctionsResponse; indicates that this is a continuation of a prior ListFunctions call, and that the system should return the next page of data.
↳ filter
string
The filter for Functions that match the filter expression, following the syntax outlined in https://google.aip.dev/160.
↳ order_by
string
The sorting order of the resources returned. Value should be a comma separated list of fields. The default sorting order is ascending. See https://google.aip.dev/132#ordering.
getParent
Required. The project and location from which the function should be
listed, specified in the format projects/*/locations/* If you want to
list functions in all locations, use "-" in place of a location. When
listing functions in all locations, if one or more location(s) are
unreachable, the response will contain functions from all reachable
locations along with the names of any unreachable locations.
Returns
Type
Description
string
setParent
Required. The project and location from which the function should be
listed, specified in the format projects/*/locations/* If you want to
list functions in all locations, use "-" in place of a location. When
listing functions in all locations, if one or more location(s) are
unreachable, the response will contain functions from all reachable
locations along with the names of any unreachable locations.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
Maximum number of functions to return per call. The largest allowed
page_size is 1,000, if the page_size is omitted or specified as greater
than 1,000 then it will be replaced as 1,000. The size of the list
response can be less than specified when used with filters.
Returns
Type
Description
int
setPageSize
Maximum number of functions to return per call. The largest allowed
page_size is 1,000, if the page_size is omitted or specified as greater
than 1,000 then it will be replaced as 1,000. The size of the list
response can be less than specified when used with filters.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPageToken
The value returned by the last
ListFunctionsResponse; indicates that
this is a continuation of a prior ListFunctions call, and that the
system should return the next page of data.
Returns
Type
Description
string
setPageToken
The value returned by the last
ListFunctionsResponse; indicates that
this is a continuation of a prior ListFunctions call, and that the
system should return the next page of data.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getFilter
The filter for Functions that match the filter expression,
following the syntax outlined in https://google.aip.dev/160.
Returns
Type
Description
string
setFilter
The filter for Functions that match the filter expression,
following the syntax outlined in https://google.aip.dev/160.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getOrderBy
The sorting order of the resources returned. Value should be a comma
separated list of fields. The default sorting order is ascending.
Required. The project and location from which the function should be
listed, specified in the format projects/*/locations/* If you want to
list functions in all locations, use "-" in place of a location. When
listing functions in all locations, if one or more location(s) are
unreachable, the response will contain functions from all reachable
locations along with the names of any unreachable locations. Please see
FunctionServiceClient::locationName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Functions V2 Client - Class ListFunctionsRequest (2.0.6)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.6 (latest)](/php/docs/reference/cloud-functions/latest/V2.ListFunctionsRequest)\n- [2.0.5](/php/docs/reference/cloud-functions/2.0.5/V2.ListFunctionsRequest)\n- [1.7.0](/php/docs/reference/cloud-functions/1.7.0/V2.ListFunctionsRequest)\n- [1.6.5](/php/docs/reference/cloud-functions/1.6.5/V2.ListFunctionsRequest)\n- [1.5.0](/php/docs/reference/cloud-functions/1.5.0/V2.ListFunctionsRequest)\n- [1.4.2](/php/docs/reference/cloud-functions/1.4.2/V2.ListFunctionsRequest)\n- [1.3.1](/php/docs/reference/cloud-functions/1.3.1/V2.ListFunctionsRequest)\n- [1.2.0](/php/docs/reference/cloud-functions/1.2.0/V2.ListFunctionsRequest)\n- [1.1.2](/php/docs/reference/cloud-functions/1.1.2/V2.ListFunctionsRequest)\n- [1.0.3](/php/docs/reference/cloud-functions/1.0.3/V2.ListFunctionsRequest) \nReference documentation and code samples for the Google Cloud Functions V2 Client class ListFunctionsRequest.\n\nRequest for the `ListFunctions` method.\n\nGenerated from protobuf message `google.cloud.functions.v2.ListFunctionsRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Functions \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The project and location from which the function should be\nlisted, specified in the format `projects/*/locations/*` If you want to\nlist functions in all locations, use \"-\" in place of a location. When\nlisting functions in all locations, if one or more location(s) are\nunreachable, the response will contain functions from all reachable\nlocations along with the names of any unreachable locations.\n\n### setParent\n\nRequired. The project and location from which the function should be\nlisted, specified in the format `projects/*/locations/*` If you want to\nlist functions in all locations, use \"-\" in place of a location. When\nlisting functions in all locations, if one or more location(s) are\nunreachable, the response will contain functions from all reachable\nlocations along with the names of any unreachable locations.\n\n### getPageSize\n\nMaximum number of functions to return per call. The largest allowed\npage_size is 1,000, if the page_size is omitted or specified as greater\nthan 1,000 then it will be replaced as 1,000. The size of the list\nresponse can be less than specified when used with filters.\n\n### setPageSize\n\nMaximum number of functions to return per call. The largest allowed\npage_size is 1,000, if the page_size is omitted or specified as greater\nthan 1,000 then it will be replaced as 1,000. The size of the list\nresponse can be less than specified when used with filters.\n\n### getPageToken\n\nThe value returned by the last\n`ListFunctionsResponse`; indicates that\nthis is a continuation of a prior `ListFunctions` call, and that the\nsystem should return the next page of data.\n\n### setPageToken\n\nThe value returned by the last\n`ListFunctionsResponse`; indicates that\nthis is a continuation of a prior `ListFunctions` call, and that the\nsystem should return the next page of data.\n\n### getFilter\n\nThe filter for Functions that match the filter expression,\nfollowing the syntax outlined in \u003chttps://google.aip.dev/160\u003e.\n\n### setFilter\n\nThe filter for Functions that match the filter expression,\nfollowing the syntax outlined in \u003chttps://google.aip.dev/160\u003e.\n\n### getOrderBy\n\nThe sorting order of the resources returned. Value should be a comma\nseparated list of fields. The default sorting order is ascending.\n\nSee \u003chttps://google.aip.dev/132#ordering\u003e.\n\n### setOrderBy\n\nThe sorting order of the resources returned. Value should be a comma\nseparated list of fields. The default sorting order is ascending.\n\nSee \u003chttps://google.aip.dev/132#ordering\u003e.\n\n### static::build"]]