Interface AnalyzerOrgPolicyConstraintOrBuilder (3.25.0)

public interface AnalyzerOrgPolicyConstraintOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConstraintDefinitionCase()

public abstract AnalyzerOrgPolicyConstraint.ConstraintDefinitionCase getConstraintDefinitionCase()
Returns
Type Description
AnalyzerOrgPolicyConstraint.ConstraintDefinitionCase

getCustomConstraint()

public abstract AnalyzerOrgPolicyConstraint.CustomConstraint getCustomConstraint()

The definition of the custom constraint.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2;

Returns
Type Description
AnalyzerOrgPolicyConstraint.CustomConstraint

The customConstraint.

getCustomConstraintOrBuilder()

public abstract AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder getCustomConstraintOrBuilder()

The definition of the custom constraint.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2;

Returns
Type Description
AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder

getGoogleDefinedConstraint()

public abstract AnalyzerOrgPolicyConstraint.Constraint getGoogleDefinedConstraint()

The definition of the canned constraint defined by Google.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1;

Returns
Type Description
AnalyzerOrgPolicyConstraint.Constraint

The googleDefinedConstraint.

getGoogleDefinedConstraintOrBuilder()

public abstract AnalyzerOrgPolicyConstraint.ConstraintOrBuilder getGoogleDefinedConstraintOrBuilder()

The definition of the canned constraint defined by Google.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1;

Returns
Type Description
AnalyzerOrgPolicyConstraint.ConstraintOrBuilder

hasCustomConstraint()

public abstract boolean hasCustomConstraint()

The definition of the custom constraint.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2;

Returns
Type Description
boolean

Whether the customConstraint field is set.

hasGoogleDefinedConstraint()

public abstract boolean hasGoogleDefinedConstraint()

The definition of the canned constraint defined by Google.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1;

Returns
Type Description
boolean

Whether the googleDefinedConstraint field is set.