pub struct GoogleCloudOrgpolicyV2AlternatePolicySpec {
pub launch: Option<String>,
pub spec: Option<GoogleCloudOrgpolicyV2PolicySpec>,
}Expand description
Similar to PolicySpec but with an extra ‘launch’ field for launch reference. The PolicySpec here is specific for dry-run/darklaunch.
This type is not used in any activity, and only used as part of another schema.
Fields§
§launch: Option<String>Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy.
spec: Option<GoogleCloudOrgpolicyV2PolicySpec>Specify constraint for configurations of Google Cloud resources.
Trait Implementations§
Source§impl Clone for GoogleCloudOrgpolicyV2AlternatePolicySpec
impl Clone for GoogleCloudOrgpolicyV2AlternatePolicySpec
Source§fn clone(&self) -> GoogleCloudOrgpolicyV2AlternatePolicySpec
fn clone(&self) -> GoogleCloudOrgpolicyV2AlternatePolicySpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GoogleCloudOrgpolicyV2AlternatePolicySpec
impl Default for GoogleCloudOrgpolicyV2AlternatePolicySpec
Source§fn default() -> GoogleCloudOrgpolicyV2AlternatePolicySpec
fn default() -> GoogleCloudOrgpolicyV2AlternatePolicySpec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudOrgpolicyV2AlternatePolicySpec
impl<'de> Deserialize<'de> for GoogleCloudOrgpolicyV2AlternatePolicySpec
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleCloudOrgpolicyV2AlternatePolicySpec
Auto Trait Implementations§
impl Freeze for GoogleCloudOrgpolicyV2AlternatePolicySpec
impl RefUnwindSafe for GoogleCloudOrgpolicyV2AlternatePolicySpec
impl Send for GoogleCloudOrgpolicyV2AlternatePolicySpec
impl Sync for GoogleCloudOrgpolicyV2AlternatePolicySpec
impl Unpin for GoogleCloudOrgpolicyV2AlternatePolicySpec
impl UnwindSafe for GoogleCloudOrgpolicyV2AlternatePolicySpec
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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