#[non_exhaustive]pub struct ListEntriesRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
/* private fields */
}Expand description
List Entries 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 Entry Group:
projects/{project}/locations/{location}/entryGroups/{entry_group}.
page_size: i32Optional. Number of items to return per page. If there are remaining results, the service returns a next_page_token. If unspecified, the service returns at most 10 Entries. The maximum value is 100; values above 100 will be coerced to 100.
page_token: StringOptional. Page token received from a previous ListEntries call. Provide
this to retrieve the subsequent page.
filter: StringOptional. A filter on the entries to return. Filters are case-sensitive. You can filter the request by the following fields:
- entry_type
- entry_source.display_name
- parent_entry
The comparison operators are =, !=, <, >, <=, >=. The service compares strings according to lexical order.
You can use the logical operators AND, OR, NOT in the filter.
You can use Wildcard “*”, but for entry_type and parent_entry you need to provide the full project id or number.
You cannot use parent_entry in conjunction with other fields.
Example filter expressions:
- “entry_source.display_name=AnExampleDisplayName”
- “entry_type=projects/example-project/locations/global/entryTypes/example-entry_type”
- “entry_type=projects/example-project/locations/us/entryTypes/a* OR entry_type=projects/another-project/locations/*”
- “NOT entry_source.display_name=AnotherExampleDisplayName”
- “parent_entry=projects/example-project/locations/us/entryGroups/example-entry-group/entries/example-entry”
Implementations§
Source§impl ListEntriesRequest
impl ListEntriesRequest
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 ListEntriesRequest
impl Clone for ListEntriesRequest
Source§fn clone(&self) -> ListEntriesRequest
fn clone(&self) -> ListEntriesRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more