Struct google_cloudresourcemanager2::SearchFoldersRequest [−][src]
pub struct SearchFoldersRequest { pub page_token: Option<String>, pub page_size: Option<i32>, pub query: Option<String>, }
The request message for searching folders.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- search folders (request)
Fields
page_token: Option<String>
A pagination token returned from a previous call to SearchFolders
that indicates from where search should continue.
This field is optional.
page_size: Option<i32>
The maximum number of folders to return in the response. This field is optional.
query: Option<String>
Search criteria used to select the Folders to return. If no search criteria is specified then all accessible folders will be returned.
Query expressions can be used to restrict results based upon displayName,
lifecycleState and parent, where the operators =
, NOT
, AND
and OR
can be used along with the suffix wildcard symbol *
.
The displayName field in a query expression should use escaped quotes for values that include whitespace to prevent unexpected behavior.
Some example queries are:
Query | Description |
---|---|
displayName=Test* | Folders whose display name starts with "Test". |
lifecycleState=ACTIVE | Folders whose lifecycleState is ACTIVE. |
parent=folders/123 | Folders whose parent is "folders/123". |
parent=folders/123 AND lifecycleState=ACTIVE | Active folders whose parent is "folders/123". |
displayName=\"Test String\" | Folders whose display name includes both "Test" and "String". |
Trait Implementations
impl Default for SearchFoldersRequest
[src]
impl Default for SearchFoldersRequest
fn default() -> SearchFoldersRequest
[src]
fn default() -> SearchFoldersRequest
Returns the "default value" for a type. Read more
impl Clone for SearchFoldersRequest
[src]
impl Clone for SearchFoldersRequest
fn clone(&self) -> SearchFoldersRequest
[src]
fn clone(&self) -> SearchFoldersRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for SearchFoldersRequest
[src]
impl Debug for SearchFoldersRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for SearchFoldersRequest
[src]
impl RequestValue for SearchFoldersRequest
Auto Trait Implementations
impl Send for SearchFoldersRequest
impl Send for SearchFoldersRequest
impl Sync for SearchFoldersRequest
impl Sync for SearchFoldersRequest