pub struct GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues {
pub allowed_values: Option<Vec<String>>,
pub denied_values: Option<Vec<String>>,
}
Expand description
A message that holds specific allowed and denied values. This message can define specific values and subtrees of the 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/
(for example, projects/tokyo-rain-123
) - folders/
(for example, folders/1234
) - organizations/
(for example, 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§
source§impl Clone for GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues
impl Clone for GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues
source§fn clone(&self) -> GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues
fn clone(&self) -> GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more