Show / Hide Table of Contents

Class GoogleCloudAssetV1Rule

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.

Inheritance
object
GoogleCloudAssetV1Rule
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudAsset.v1.Data
Assembly: Google.Apis.CloudAsset.v1.dll
Syntax
public class GoogleCloudAssetV1Rule : IDirectResponseSchema

Properties

AllowAll

Setting this to true means that all values are allowed. This field can be set only in Policies for list constraints.

Declaration
[JsonProperty("allowAll")]
public virtual bool? AllowAll { get; set; }
Property Value
Type Description
bool?

Condition

The evaluating condition for this rule.

Declaration
[JsonProperty("condition")]
public virtual Expr Condition { get; set; }
Property Value
Type Description
Expr

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.

Declaration
[JsonProperty("conditionEvaluation")]
public virtual ConditionEvaluation ConditionEvaluation { get; set; }
Property Value
Type Description
ConditionEvaluation

DenyAll

Setting this to true means that all values are denied. This field can be set only in Policies for list constraints.

Declaration
[JsonProperty("denyAll")]
public virtual bool? DenyAll { get; set; }
Property Value
Type Description
bool?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Enforce

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.

Declaration
[JsonProperty("enforce")]
public virtual bool? Enforce { get; set; }
Property Value
Type Description
bool?

Values

List of values to be used for this policy rule. This field can be set only in policies for list constraints.

Declaration
[JsonProperty("values")]
public virtual GoogleCloudAssetV1StringValues Values { get; set; }
Property Value
Type Description
GoogleCloudAssetV1StringValues

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX