Struct google_api_proto::google::cloud::asset::v1::BatchGetEffectiveIamPoliciesRequest
source · pub struct BatchGetEffectiveIamPoliciesRequest {
pub scope: String,
pub names: Vec<String>,
}
Expand description
A request message for [AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies].
Fields§
§scope: String
Required. Only IAM policies on or below the scope will be returned.
This can only be an organization number (such as “organizations/123”), a folder number (such as “folders/123”), a project ID (such as “projects/my-project-id”), or a project number (such as “projects/12345”).
To know how to get organization ID, visit here .
To know how to get folder or project ID, visit here .
names: Vec<String>
Required. The names refer to the [full_resource_names] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the asset types supported by search APIs. A maximum of 20 resources’ effective policies can be retrieved in a batch.
Trait Implementations§
source§impl Clone for BatchGetEffectiveIamPoliciesRequest
impl Clone for BatchGetEffectiveIamPoliciesRequest
source§fn clone(&self) -> BatchGetEffectiveIamPoliciesRequest
fn clone(&self) -> BatchGetEffectiveIamPoliciesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for BatchGetEffectiveIamPoliciesRequest
impl Message for BatchGetEffectiveIamPoliciesRequest
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 BatchGetEffectiveIamPoliciesRequest
impl PartialEq for BatchGetEffectiveIamPoliciesRequest
source§fn eq(&self, other: &BatchGetEffectiveIamPoliciesRequest) -> bool
fn eq(&self, other: &BatchGetEffectiveIamPoliciesRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchGetEffectiveIamPoliciesRequest
Auto Trait Implementations§
impl Freeze for BatchGetEffectiveIamPoliciesRequest
impl RefUnwindSafe for BatchGetEffectiveIamPoliciesRequest
impl Send for BatchGetEffectiveIamPoliciesRequest
impl Sync for BatchGetEffectiveIamPoliciesRequest
impl Unpin for BatchGetEffectiveIamPoliciesRequest
impl UnwindSafe for BatchGetEffectiveIamPoliciesRequest
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