- 3.57.0 (latest)
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.2-SNAPSHOT
- 3.6.0
- 3.4.1
- 3.3.1
- 3.2.17
public static interface AnalyzerOrgPolicy.RuleOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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. |
getConditionEvaluation()
public abstract ConditionEvaluation getConditionEvaluation()
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.
.google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 8;
Returns | |
---|---|
Type | Description |
ConditionEvaluation |
The conditionEvaluation. |
getConditionEvaluationOrBuilder()
public abstract ConditionEvaluationOrBuilder getConditionEvaluationOrBuilder()
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.
.google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 8;
Returns | |
---|---|
Type | Description |
ConditionEvaluationOrBuilder |
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 policy rule. 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 policy rule. 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. |
hasConditionEvaluation()
public abstract boolean hasConditionEvaluation()
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.
.google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 8;
Returns | |
---|---|
Type | Description |
boolean |
Whether the conditionEvaluation 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 policy rule. 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. |