Struct google_api_proto::google::cloud::asset::v1p1beta1::SearchAllResourcesRequest
source · pub struct SearchAllResourcesRequest {
pub scope: String,
pub query: String,
pub asset_types: Vec<String>,
pub page_size: i32,
pub page_token: String,
pub order_by: String,
}
Expand description
Search all resources request.
Fields§
§scope: String
Required. The relative name of an asset. The search is limited to the
resources within the scope
. The allowed value must be:
- Organization number (such as “organizations/123”)
- Folder number (such as “folders/1234”)
- Project number (such as “projects/12345”)
- Project ID (such as “projects/abc”)
query: String
Optional. The query statement.
asset_types: Vec<String>
Optional. A list of asset types that this request searches for. If empty, it will search all the supported asset types.
page_size: i32
Optional. The page size for search result pagination. Page size is capped
at 500 even if a larger value is given. If set to zero, server will pick an
appropriate default. Returned results may be fewer than requested. When
this happens, there could be more results as long as next_page_token
is
returned.
page_token: String
Optional. If present, then retrieve the next batch of results from the
preceding call to this method. page_token
must be the value of
next_page_token
from the previous response. The values of all other
method parameters, must be identical to those in the previous call.
order_by: String
Optional. A comma separated list of fields specifying the sorting order of
the results. The default order is ascending. Add DESC
after the field
name to indicate descending order. Redundant space characters are ignored.
For example, location DESC , name
.
Trait Implementations§
source§impl Clone for SearchAllResourcesRequest
impl Clone for SearchAllResourcesRequest
source§fn clone(&self) -> SearchAllResourcesRequest
fn clone(&self) -> SearchAllResourcesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchAllResourcesRequest
impl Debug for SearchAllResourcesRequest
source§impl Default for SearchAllResourcesRequest
impl Default for SearchAllResourcesRequest
source§impl Message for SearchAllResourcesRequest
impl Message for SearchAllResourcesRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for SearchAllResourcesRequest
impl PartialEq for SearchAllResourcesRequest
source§fn eq(&self, other: &SearchAllResourcesRequest) -> bool
fn eq(&self, other: &SearchAllResourcesRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchAllResourcesRequest
Auto Trait Implementations§
impl Freeze for SearchAllResourcesRequest
impl RefUnwindSafe for SearchAllResourcesRequest
impl Send for SearchAllResourcesRequest
impl Sync for SearchAllResourcesRequest
impl Unpin for SearchAllResourcesRequest
impl UnwindSafe for SearchAllResourcesRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request