Struct google_api_proto::google::cloud::asset::v1::AnalyzeIamPolicyRequest
source · pub struct AnalyzeIamPolicyRequest {
pub analysis_query: Option<IamPolicyAnalysisQuery>,
pub saved_analysis_query: String,
pub execution_timeout: Option<Duration>,
}
Expand description
A request message for [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy].
Fields§
§analysis_query: Option<IamPolicyAnalysisQuery>
Required. The request query.
saved_analysis_query: String
Optional. The name of a saved query, which must be in the format of:
- projects/project_number/savedQueries/saved_query_id
- folders/folder_number/savedQueries/saved_query_id
- organizations/organization_number/savedQueries/saved_query_id
If both analysis_query
and saved_analysis_query
are provided, they
will be merged together with the saved_analysis_query
as base and
the analysis_query
as overrides. For more details of the merge behavior,
refer to the
MergeFrom
page.
Note that you cannot override primitive fields with default value, such as 0 or empty string, etc., because we use proto3, which doesn’t support field presence yet.
execution_timeout: Option<Duration>
Optional. Amount of time executable has to complete. See JSON representation of Duration.
If this field is set with a value less than the RPC deadline, and the execution of your query hasn’t finished in the specified execution timeout, you will get a response with partial result. Otherwise, your query’s execution will continue until the RPC deadline. If it’s not finished until then, you will get a DEADLINE_EXCEEDED error.
Default is empty.
Trait Implementations§
source§impl Clone for AnalyzeIamPolicyRequest
impl Clone for AnalyzeIamPolicyRequest
source§fn clone(&self) -> AnalyzeIamPolicyRequest
fn clone(&self) -> AnalyzeIamPolicyRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AnalyzeIamPolicyRequest
impl Debug for AnalyzeIamPolicyRequest
source§impl Default for AnalyzeIamPolicyRequest
impl Default for AnalyzeIamPolicyRequest
source§impl Message for AnalyzeIamPolicyRequest
impl Message for AnalyzeIamPolicyRequest
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 AnalyzeIamPolicyRequest
impl PartialEq for AnalyzeIamPolicyRequest
source§fn eq(&self, other: &AnalyzeIamPolicyRequest) -> bool
fn eq(&self, other: &AnalyzeIamPolicyRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AnalyzeIamPolicyRequest
Auto Trait Implementations§
impl Freeze for AnalyzeIamPolicyRequest
impl RefUnwindSafe for AnalyzeIamPolicyRequest
impl Send for AnalyzeIamPolicyRequest
impl Sync for AnalyzeIamPolicyRequest
impl Unpin for AnalyzeIamPolicyRequest
impl UnwindSafe for AnalyzeIamPolicyRequest
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