Struct googapis::google::cloud::resourcemanager::v3::SearchFoldersRequest [−][src]
Expand description
The request message for searching folders.
Fields
page_size: i32Optional. The maximum number of folders to return in the response. If unspecified, server picks an appropriate default.
page_token: StringOptional. A pagination token returned from a previous call to SearchFolders
that indicates from where search should continue.
query: StringOptional. 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,
state 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.
| Field | Description |
|-------------------------|----------------------------------------|
| displayName | Filters by displayName. |
| parent | Filters by parent (for example: folders/123). |
| state, lifecycleState | Filters by state. |Some example queries are:
- Query
displayName=Test*returns Folder resources whose display name starts with “Test”. - Query
state=ACTIVEreturns Folder resources withstateset toACTIVE. - Query
parent=folders/123returns Folder resources that havefolders/123as a parent resource. - Query
parent=folders/123 AND state=ACTIVEreturns active Folder resources that havefolders/123as a parent resource. - Query
displayName=\\"Test String\\"returns Folder resources with display names that include both “Test” and “String”.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for SearchFoldersRequest
impl Send for SearchFoldersRequest
impl Sync for SearchFoldersRequest
impl Unpin for SearchFoldersRequest
impl UnwindSafe for SearchFoldersRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more