Struct google_orgpolicy2::api::GoogleCloudOrgpolicyV2ConstraintListConstraint[][src]

pub struct GoogleCloudOrgpolicyV2ConstraintListConstraint {
    pub supports_in: Option<bool>,
    pub supports_under: Option<bool>,
}

A Constraint that allows or disallows a list of string values, which are configured by an Organization’s policy administrator with a Policy.

This type is not used in any activity, and only used as part of another schema.

Fields

supports_in: Option<bool>

Indicates whether values grouped into categories can be used in Policy.allowed_values and Policy.denied_values. For example, "in:Python" would match any value in the ‘Python’ group.

supports_under: Option<bool>

Indicates whether subtrees of Cloud Resource Manager resource hierarchy can be used in Policy.allowed_values and Policy.denied_values. For example, "under:folders/123" would match any resource under the ‘folders/123’ folder.

Trait Implementations

impl Clone for GoogleCloudOrgpolicyV2ConstraintListConstraint[src]

impl Debug for GoogleCloudOrgpolicyV2ConstraintListConstraint[src]

impl Default for GoogleCloudOrgpolicyV2ConstraintListConstraint[src]

impl<'de> Deserialize<'de> for GoogleCloudOrgpolicyV2ConstraintListConstraint[src]

impl Part for GoogleCloudOrgpolicyV2ConstraintListConstraint[src]

impl Serialize for GoogleCloudOrgpolicyV2ConstraintListConstraint[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.