Struct google_api_proto::google::cloud::asset::v1p1beta1::SearchAllIamPoliciesRequest
source · pub struct SearchAllIamPoliciesRequest {
pub scope: String,
pub query: String,
pub page_size: i32,
pub page_token: String,
}
Expand description
Search all IAM policies 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. Examples:
- “policy:myuser@mydomain.com”
- “policy:(myuser@mydomain.com viewer)”
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, 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.
Trait Implementations§
source§impl Clone for SearchAllIamPoliciesRequest
impl Clone for SearchAllIamPoliciesRequest
source§fn clone(&self) -> SearchAllIamPoliciesRequest
fn clone(&self) -> SearchAllIamPoliciesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchAllIamPoliciesRequest
impl Debug for SearchAllIamPoliciesRequest
source§impl Message for SearchAllIamPoliciesRequest
impl Message for SearchAllIamPoliciesRequest
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 SearchAllIamPoliciesRequest
impl PartialEq for SearchAllIamPoliciesRequest
source§fn eq(&self, other: &SearchAllIamPoliciesRequest) -> bool
fn eq(&self, other: &SearchAllIamPoliciesRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchAllIamPoliciesRequest
Auto Trait Implementations§
impl Freeze for SearchAllIamPoliciesRequest
impl RefUnwindSafe for SearchAllIamPoliciesRequest
impl Send for SearchAllIamPoliciesRequest
impl Sync for SearchAllIamPoliciesRequest
impl Unpin for SearchAllIamPoliciesRequest
impl UnwindSafe for SearchAllIamPoliciesRequest
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