#[non_exhaustive]pub struct ListFunctionsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
pub order_by: String,
/* private fields */
}
Expand description
Request for the ListFunctions
method.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.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: i32
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.
Implementations§
Source§impl ListFunctionsRequest
impl ListFunctionsRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of parent.
Sourcepub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
Sets the value of page_size.
Sourcepub fn set_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of page_token.
Sourcepub fn set_filter<T: Into<String>>(self, v: T) -> Self
pub fn set_filter<T: Into<String>>(self, v: T) -> Self
Sets the value of filter.
Sourcepub fn set_order_by<T: Into<String>>(self, v: T) -> Self
pub fn set_order_by<T: Into<String>>(self, v: T) -> Self
Sets the value of order_by.
Trait Implementations§
Source§impl Clone for ListFunctionsRequest
impl Clone for ListFunctionsRequest
Source§fn clone(&self) -> ListFunctionsRequest
fn clone(&self) -> ListFunctionsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more