pub struct GoogleIamV1GetPolicyOptions {
pub requested_policy_version: Option<i32>,
}Expand description
Encapsulates settings provided to GetIamPolicy.
This type is not used in any activity, and only used as part of another schema.
Fields§
§requested_policy_version: Option<i32>Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation.
Trait Implementations§
Source§impl Clone for GoogleIamV1GetPolicyOptions
impl Clone for GoogleIamV1GetPolicyOptions
Source§fn clone(&self) -> GoogleIamV1GetPolicyOptions
fn clone(&self) -> GoogleIamV1GetPolicyOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GoogleIamV1GetPolicyOptions
impl Debug for GoogleIamV1GetPolicyOptions
Source§impl Default for GoogleIamV1GetPolicyOptions
impl Default for GoogleIamV1GetPolicyOptions
Source§fn default() -> GoogleIamV1GetPolicyOptions
fn default() -> GoogleIamV1GetPolicyOptions
Source§impl<'de> Deserialize<'de> for GoogleIamV1GetPolicyOptions
impl<'de> Deserialize<'de> for GoogleIamV1GetPolicyOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for GoogleIamV1GetPolicyOptions
Auto Trait Implementations§
impl Freeze for GoogleIamV1GetPolicyOptions
impl RefUnwindSafe for GoogleIamV1GetPolicyOptions
impl Send for GoogleIamV1GetPolicyOptions
impl Sync for GoogleIamV1GetPolicyOptions
impl Unpin for GoogleIamV1GetPolicyOptions
impl UnwindSafe for GoogleIamV1GetPolicyOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more