pub struct GoogleCloudAssetV1Rule {
pub allow_all: Option<bool>,
pub condition: Option<Expr>,
pub condition_evaluation: Option<ConditionEvaluation>,
pub deny_all: Option<bool>,
pub enforce: Option<bool>,
pub values: Option<GoogleCloudAssetV1StringValues>,
}Expand description
This rule message is a customized version of the one defined in the Organization Policy system. In addition to the fields defined in the original organization policy, it contains additional field(s) under specific circumstances to support analysis results.
This type is not used in any activity, and only used as part of another schema.
Fields§
§allow_all: Option<bool>Setting this to true means that all values are allowed. This field can be set only in Policies for list constraints.
condition: Option<Expr>The evaluating condition for this rule.
condition_evaluation: Option<ConditionEvaluation>The condition evaluation result for this rule. Only populated if it meets all the following criteria: * There is a condition defined for this rule. * This rule is within AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.consolidated_policy, or AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.consolidated_policy when the AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset has AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.governed_resource.
deny_all: Option<bool>Setting this to true means that all values are denied. This field can be set only in Policies for list constraints.
enforce: Option<bool>If true, then the Policy is enforced. If false, then any configuration is acceptable. This field can be set only in Policies for boolean constraints.
values: Option<GoogleCloudAssetV1StringValues>List of values to be used for this policy rule. This field can be set only in policies for list constraints.
Trait Implementations§
Source§impl Clone for GoogleCloudAssetV1Rule
impl Clone for GoogleCloudAssetV1Rule
Source§fn clone(&self) -> GoogleCloudAssetV1Rule
fn clone(&self) -> GoogleCloudAssetV1Rule
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more