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 \ V2Methods
__construct
Constructor.
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.
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.
var
string
$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.
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.
var
int
$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.
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.
var
string
$this
getFilter
The filter for Functions that match the filter expression, following the syntax outlined in https://google.aip.dev/160 .
string
setFilter
The filter for Functions that match the filter expression, following the syntax outlined in https://google.aip.dev/160 .
var
string
$this
getOrderBy
The sorting order of the resources returned. Value should be a comma separated list of fields. The default sorting order is ascending.
string
setOrderBy
The sorting order of the resources returned. Value should be a comma separated list of fields. The default sorting order is ascending.
var
string
$this
static::build
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. Please see FunctionServiceClient::locationName()
for help formatting this field.