Interface AnalyzerOrgPolicy.RuleOrBuilder (3.27.0)

public static interface AnalyzerOrgPolicy.RuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowAll()

public abstract boolean getAllowAll()

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

bool allow_all = 4;

Returns
Type Description
boolean

The allowAll.

getCondition()

public abstract Expr getCondition()

The evaluating condition for this rule.

.google.type.Expr condition = 7;

Returns
Type Description
com.google.type.Expr

The condition.

getConditionOrBuilder()

public abstract ExprOrBuilder getConditionOrBuilder()

The evaluating condition for this rule.

.google.type.Expr condition = 7;

Returns
Type Description
com.google.type.ExprOrBuilder

getDenyAll()

public abstract boolean getDenyAll()

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

bool deny_all = 5;

Returns
Type Description
boolean

The denyAll.

getEnforce()

public abstract boolean getEnforce()

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.

bool enforce = 6;

Returns
Type Description
boolean

The enforce.

getKindCase()

public abstract AnalyzerOrgPolicy.Rule.KindCase getKindCase()
Returns
Type Description
AnalyzerOrgPolicy.Rule.KindCase

getValues()

public abstract AnalyzerOrgPolicy.Rule.StringValues getValues()

List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.

.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;

Returns
Type Description
AnalyzerOrgPolicy.Rule.StringValues

The values.

getValuesOrBuilder()

public abstract AnalyzerOrgPolicy.Rule.StringValuesOrBuilder getValuesOrBuilder()

List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.

.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;

Returns
Type Description
AnalyzerOrgPolicy.Rule.StringValuesOrBuilder

hasAllowAll()

public abstract boolean hasAllowAll()

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

bool allow_all = 4;

Returns
Type Description
boolean

Whether the allowAll field is set.

hasCondition()

public abstract boolean hasCondition()

The evaluating condition for this rule.

.google.type.Expr condition = 7;

Returns
Type Description
boolean

Whether the condition field is set.

hasDenyAll()

public abstract boolean hasDenyAll()

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

bool deny_all = 5;

Returns
Type Description
boolean

Whether the denyAll field is set.

hasEnforce()

public abstract boolean hasEnforce()

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.

bool enforce = 6;

Returns
Type Description
boolean

Whether the enforce field is set.

hasValues()

public abstract boolean hasValues()

List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.

.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;

Returns
Type Description
boolean

Whether the values field is set.