public static interface Constraint.CustomConstraintDefinition.ParameterOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDefaultValue()
public abstract Value getDefaultValue()Sets the value of the parameter in an assignment if no value is given.
.google.protobuf.Value default_value = 2;
| Returns | |
|---|---|
| Type | Description |
Value |
The defaultValue. |
getDefaultValueOrBuilder()
public abstract ValueOrBuilder getDefaultValueOrBuilder()Sets the value of the parameter in an assignment if no value is given.
.google.protobuf.Value default_value = 2;
| Returns | |
|---|---|
| Type | Description |
ValueOrBuilder |
|
getItem()
public abstract Constraint.CustomConstraintDefinition.Parameter.Type getItem() Determines the parameter's value structure.
For example, LIST<STRING> can be specified by defining type: LIST,
and item: STRING.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Type item = 5;
| Returns | |
|---|---|
| Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Type |
The item. |
getItemValue()
public abstract int getItemValue() Determines the parameter's value structure.
For example, LIST<STRING> can be specified by defining type: LIST,
and item: STRING.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Type item = 5;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for item. |
getMetadata()
public abstract Constraint.CustomConstraintDefinition.Parameter.Metadata getMetadata()Defines subproperties primarily used by the UI to display user-friendly information.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Metadata metadata = 4;
| Returns | |
|---|---|
| Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Metadata |
The metadata. |
getMetadataOrBuilder()
public abstract Constraint.CustomConstraintDefinition.Parameter.MetadataOrBuilder getMetadataOrBuilder()Defines subproperties primarily used by the UI to display user-friendly information.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Metadata metadata = 4;
| Returns | |
|---|---|
| Type | Description |
Constraint.CustomConstraintDefinition.Parameter.MetadataOrBuilder |
|
getType()
public abstract Constraint.CustomConstraintDefinition.Parameter.Type getType()Type of the parameter.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Type type = 1;
| Returns | |
|---|---|
| Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Type |
The type. |
getTypeValue()
public abstract int getTypeValue()Type of the parameter.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Type type = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
getValidValuesExpr()
public abstract String getValidValuesExpr()Provides a CEL expression to specify the acceptable parameter values during assignment. For example, parameterName in ("parameterValue1", "parameterValue2")
string valid_values_expr = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The validValuesExpr. |
getValidValuesExprBytes()
public abstract ByteString getValidValuesExprBytes()Provides a CEL expression to specify the acceptable parameter values during assignment. For example, parameterName in ("parameterValue1", "parameterValue2")
string valid_values_expr = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for validValuesExpr. |
hasDefaultValue()
public abstract boolean hasDefaultValue()Sets the value of the parameter in an assignment if no value is given.
.google.protobuf.Value default_value = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the defaultValue field is set. |
hasMetadata()
public abstract boolean hasMetadata()Defines subproperties primarily used by the UI to display user-friendly information.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Metadata metadata = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the metadata field is set. |