- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.7-SNAPSHOT
- 2.2.1
- 2.1.2
- 2.0.10
public interface ConstraintOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getBooleanConstraint()
public abstract Constraint.BooleanConstraint getBooleanConstraint()
Defines this constraint as being a BooleanConstraint.
.google.cloud.orgpolicy.v2.Constraint.BooleanConstraint boolean_constraint = 6;
Returns | |
---|---|
Type | Description |
Constraint.BooleanConstraint | The booleanConstraint. |
getBooleanConstraintOrBuilder()
public abstract Constraint.BooleanConstraintOrBuilder getBooleanConstraintOrBuilder()
Defines this constraint as being a BooleanConstraint.
.google.cloud.orgpolicy.v2.Constraint.BooleanConstraint boolean_constraint = 6;
Returns | |
---|---|
Type | Description |
Constraint.BooleanConstraintOrBuilder |
getConstraintDefault()
public abstract Constraint.ConstraintDefault getConstraintDefault()
The evaluation behavior of this constraint in the absence of 'Policy'.
.google.cloud.orgpolicy.v2.Constraint.ConstraintDefault constraint_default = 4;
Returns | |
---|---|
Type | Description |
Constraint.ConstraintDefault | The constraintDefault. |
getConstraintDefaultValue()
public abstract int getConstraintDefaultValue()
The evaluation behavior of this constraint in the absence of 'Policy'.
.google.cloud.orgpolicy.v2.Constraint.ConstraintDefault constraint_default = 4;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for constraintDefault. |
getConstraintTypeCase()
public abstract Constraint.ConstraintTypeCase getConstraintTypeCase()
Returns | |
---|---|
Type | Description |
Constraint.ConstraintTypeCase |
getDescription()
public abstract String getDescription()
Detailed description of what this Constraint
controls as well as how and
where it is enforced.
Mutable.
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.
Mutable.
string description = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getDisplayName()
public abstract String getDisplayName()
The human readable name. Mutable.
string display_name = 2;
Returns | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()
The human readable name. Mutable.
string display_name = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for displayName. |
getListConstraint()
public abstract Constraint.ListConstraint getListConstraint()
Defines this constraint as being a ListConstraint.
.google.cloud.orgpolicy.v2.Constraint.ListConstraint list_constraint = 5;
Returns | |
---|---|
Type | Description |
Constraint.ListConstraint | The listConstraint. |
getListConstraintOrBuilder()
public abstract Constraint.ListConstraintOrBuilder getListConstraintOrBuilder()
Defines this constraint as being a ListConstraint.
.google.cloud.orgpolicy.v2.Constraint.ListConstraint list_constraint = 5;
Returns | |
---|---|
Type | Description |
Constraint.ListConstraintOrBuilder |
getName()
public abstract String getName()
Immutable. The resource name of the Constraint. Must be in one of the following forms:
projects/{project_number}/constraints/{constraint_name}
folders/{folder_id}/constraints/{constraint_name}
organizations/{organization_id}/constraints/{constraint_name}
For example, "/projects/123/constraints/compute.disableSerialPortAccess".
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Immutable. The resource name of the Constraint. Must be in one of the following forms:
projects/{project_number}/constraints/{constraint_name}
folders/{folder_id}/constraints/{constraint_name}
organizations/{organization_id}/constraints/{constraint_name}
For example, "/projects/123/constraints/compute.disableSerialPortAccess".
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
hasBooleanConstraint()
public abstract boolean hasBooleanConstraint()
Defines this constraint as being a BooleanConstraint.
.google.cloud.orgpolicy.v2.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.orgpolicy.v2.Constraint.ListConstraint list_constraint = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the listConstraint field is set. |