public interface ConstraintOrBuilder extends MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Constraint.BooleanConstraint |
getBooleanConstraint()
Defines this constraint as being a BooleanConstraint.
|
Constraint.BooleanConstraintOrBuilder |
getBooleanConstraintOrBuilder()
Defines this constraint as being a BooleanConstraint.
|
Constraint.ConstraintDefault |
getConstraintDefault()
The evaluation behavior of this constraint in the absence of 'Policy'.
|
int |
getConstraintDefaultValue()
The evaluation behavior of this constraint in the absence of 'Policy'.
|
Constraint.ConstraintTypeCase |
getConstraintTypeCase() |
String |
getDescription()
Detailed description of what this `Constraint` controls as well as how and
where it is enforced.
|
ByteString |
getDescriptionBytes()
Detailed description of what this `Constraint` controls as well as how and
where it is enforced.
|
String |
getDisplayName()
The human readable name.
|
ByteString |
getDisplayNameBytes()
The human readable name.
|
Constraint.ListConstraint |
getListConstraint()
Defines this constraint as being a ListConstraint.
|
Constraint.ListConstraintOrBuilder |
getListConstraintOrBuilder()
Defines this constraint as being a ListConstraint.
|
String |
getName()
Immutable.
|
ByteString |
getNameBytes()
Immutable.
|
boolean |
hasBooleanConstraint()
Defines this constraint as being a BooleanConstraint.
|
boolean |
hasListConstraint()
Defines this constraint as being a ListConstraint.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedString 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];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];String getDisplayName()
The human readable name. Mutable.
string display_name = 2;ByteString getDisplayNameBytes()
The human readable name. Mutable.
string display_name = 2;String getDescription()
Detailed description of what this `Constraint` controls as well as how and where it is enforced. Mutable.
string description = 3;ByteString getDescriptionBytes()
Detailed description of what this `Constraint` controls as well as how and where it is enforced. Mutable.
string description = 3;int getConstraintDefaultValue()
The evaluation behavior of this constraint in the absence of 'Policy'.
.google.cloud.orgpolicy.v2.Constraint.ConstraintDefault constraint_default = 4;Constraint.ConstraintDefault getConstraintDefault()
The evaluation behavior of this constraint in the absence of 'Policy'.
.google.cloud.orgpolicy.v2.Constraint.ConstraintDefault constraint_default = 4;boolean hasListConstraint()
Defines this constraint as being a ListConstraint.
.google.cloud.orgpolicy.v2.Constraint.ListConstraint list_constraint = 5;Constraint.ListConstraint getListConstraint()
Defines this constraint as being a ListConstraint.
.google.cloud.orgpolicy.v2.Constraint.ListConstraint list_constraint = 5;Constraint.ListConstraintOrBuilder getListConstraintOrBuilder()
Defines this constraint as being a ListConstraint.
.google.cloud.orgpolicy.v2.Constraint.ListConstraint list_constraint = 5;boolean hasBooleanConstraint()
Defines this constraint as being a BooleanConstraint.
.google.cloud.orgpolicy.v2.Constraint.BooleanConstraint boolean_constraint = 6;Constraint.BooleanConstraint getBooleanConstraint()
Defines this constraint as being a BooleanConstraint.
.google.cloud.orgpolicy.v2.Constraint.BooleanConstraint boolean_constraint = 6;Constraint.BooleanConstraintOrBuilder getBooleanConstraintOrBuilder()
Defines this constraint as being a BooleanConstraint.
.google.cloud.orgpolicy.v2.Constraint.BooleanConstraint boolean_constraint = 6;Constraint.ConstraintTypeCase getConstraintTypeCase()
Copyright © 2021 Google LLC. All rights reserved.