Struct google_orgpolicy2::api::GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues [−][src]
A message that holds specific allowed and denied values. This message can define specific values and subtrees of Cloud Resource Manager resource hierarchy (Organizations
, Folders
, Projects
) that are allowed or denied. This is achieved by using the under:
and optional is:
prefixes. The under:
prefix is used to denote resource subtree values. The is:
prefix is used to denote specific values, and is required only if the value contains a “:”. Values prefixed with “is:” are treated the same as values with no prefix. Ancestry subtrees must be in one of the following formats: - “projects/”, e.g. “projects/tokyo-rain-123” - “folders/”, e.g. “folders/1234” - “organizations/”, e.g. “organizations/1234” The supports_under
field of the associated Constraint
defines whether ancestry prefixes can be used.
This type is not used in any activity, and only used as part of another schema.
Fields
allowed_values: Option<Vec<String>>
List of values allowed at this resource.
denied_values: Option<Vec<String>>
List of values denied at this resource.
Trait Implementations
impl Clone for GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues
[src]
fn clone(&self) -> GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues
[src]
impl Default for GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues
[src]
impl<'de> Deserialize<'de> for GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues
[src]
impl Serialize for GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues
[src]
Auto Trait Implementations
impl RefUnwindSafe for GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues
impl Send for GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues
impl Sync for GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues
impl Unpin for GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues
impl UnwindSafe for GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,