Interface AnalyzerOrgPolicyConstraintOrBuilder (3.34.0)

public interface AnalyzerOrgPolicyConstraintOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConstraintDefinitionCase()

public abstract AnalyzerOrgPolicyConstraint.ConstraintDefinitionCase getConstraintDefinitionCase()
Returns
TypeDescription
AnalyzerOrgPolicyConstraint.ConstraintDefinitionCase

getCustomConstraint()

public abstract AnalyzerOrgPolicyConstraint.CustomConstraint getCustomConstraint()

The definition of the custom constraint.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AnalyzerOrgPolicyConstraint.ConstraintOrBuilder

hasCustomConstraint()

public abstract boolean hasCustomConstraint()

The definition of the custom constraint.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the googleDefinedConstraint field is set.