#[non_exhaustive]pub struct ListPartitionsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
/* private fields */
}Expand description
List metadata partitions request.
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: StringRequired. The resource name of the parent entity:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.
page_size: i32Optional. Maximum number of partitions to return. The service may return fewer than this value. If unspecified, 100 partitions will be returned by default. The maximum page size is 500; larger values will will be truncated to 500.
page_token: StringOptional. Page token received from a previous ListPartitions call.
Provide this to retrieve the subsequent page. When paginating, all other
parameters provided to ListPartitions must match the call that provided
the page token.
filter: StringOptional. Filter the partitions returned to the caller using a key value pair expression. Supported operators and syntax:
- logic operators: AND, OR
- comparison operators: <, >, >=, <= ,=, !=
- LIKE operators:
- The right hand of a LIKE operator supports “.” and “*” for wildcard searches, for example “value1 LIKE “.oo.”
- parenthetical grouping: ( )
Sample filter expression: `?filter=“key1 < value1 OR key2 > value2”
Notes:
- Keys to the left of operators are case insensitive.
- Partition results are sorted first by creation time, then by lexicographic order.
- Up to 20 key value filter pairs are allowed, but due to performance considerations, only the first 10 will be used as a filter.
Implementations§
Source§impl ListPartitionsRequest
impl ListPartitionsRequest
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.
Trait Implementations§
Source§impl Clone for ListPartitionsRequest
impl Clone for ListPartitionsRequest
Source§fn clone(&self) -> ListPartitionsRequest
fn clone(&self) -> ListPartitionsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more