Interface AnalyzerOrgPolicyConstraint.ConstraintOrBuilder (3.33.0)

public static interface AnalyzerOrgPolicyConstraint.ConstraintOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBooleanConstraint()

public abstract AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint getBooleanConstraint()

Defines this constraint as being a BooleanConstraint.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6;

Returns
Type Description
AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint

The booleanConstraint.

getBooleanConstraintOrBuilder()

public abstract AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintOrBuilder getBooleanConstraintOrBuilder()

Defines this constraint as being a BooleanConstraint.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6;

Returns
Type Description
AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintOrBuilder

getConstraintDefault()

public abstract AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault getConstraintDefault()

The evaluation behavior of this constraint in the absence of 'Policy'.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4;

Returns
Type Description
AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault

The constraintDefault.

getConstraintDefaultValue()

public abstract int getConstraintDefaultValue()

The evaluation behavior of this constraint in the absence of 'Policy'.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4;

Returns
Type Description
int

The enum numeric value on the wire for constraintDefault.

getConstraintTypeCase()

public abstract AnalyzerOrgPolicyConstraint.Constraint.ConstraintTypeCase getConstraintTypeCase()
Returns
Type Description
AnalyzerOrgPolicyConstraint.Constraint.ConstraintTypeCase

getDescription()

public abstract String getDescription()

Detailed description of what this Constraint controls as well as how and where it is enforced.

string description = 3;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Detailed description of what this Constraint controls as well as how and where it is enforced.

string description = 3;

Returns
Type Description
ByteString

The bytes for description.

getDisplayName()

public abstract String getDisplayName()

The human readable name of the constraint.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

The human readable name of the constraint.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getListConstraint()

public abstract AnalyzerOrgPolicyConstraint.Constraint.ListConstraint getListConstraint()

Defines this constraint as being a ListConstraint.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5;

Returns
Type Description
AnalyzerOrgPolicyConstraint.Constraint.ListConstraint

The listConstraint.

getListConstraintOrBuilder()

public abstract AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder getListConstraintOrBuilder()

Defines this constraint as being a ListConstraint.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5;

Returns
Type Description
AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder

getName()

public abstract String getName()

The unique name of the constraint. Format of the name should be

  • constraints/{constraint_name}

    For example, constraints/compute.disableSerialPortAccess.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The unique name of the constraint. Format of the name should be

  • constraints/{constraint_name}

    For example, constraints/compute.disableSerialPortAccess.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

hasBooleanConstraint()

public abstract boolean hasBooleanConstraint()

Defines this constraint as being a BooleanConstraint.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6;

Returns
Type Description
boolean

Whether the booleanConstraint field is set.

hasListConstraint()

public abstract boolean hasListConstraint()

Defines this constraint as being a ListConstraint.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5;

Returns
Type Description
boolean

Whether the listConstraint field is set.