public static final class CustomConstraint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CustomConstraint.Builder> implements CustomConstraintOrBuilder
A custom constraint defined by customers which can *only* be applied to the given resource types and organization. By creating a custom constraint, customers can apply policies of this custom constraint. *Creating a custom constraint itself does NOT apply any policy enforcement*.Protobuf type
google.cloud.orgpolicy.v2.CustomConstraint| Modifier and Type | Method and Description |
|---|---|
CustomConstraint.Builder |
addAllMethodTypes(Iterable<? extends CustomConstraint.MethodType> values)
All the operations being applied for this constraint.
|
CustomConstraint.Builder |
addAllMethodTypesValue(Iterable<Integer> values)
All the operations being applied for this constraint.
|
CustomConstraint.Builder |
addAllResourceTypes(Iterable<String> values)
Immutable.
|
CustomConstraint.Builder |
addMethodTypes(CustomConstraint.MethodType value)
All the operations being applied for this constraint.
|
CustomConstraint.Builder |
addMethodTypesValue(int value)
All the operations being applied for this constraint.
|
CustomConstraint.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CustomConstraint.Builder |
addResourceTypes(String value)
Immutable.
|
CustomConstraint.Builder |
addResourceTypesBytes(com.google.protobuf.ByteString value)
Immutable.
|
CustomConstraint |
build() |
CustomConstraint |
buildPartial() |
CustomConstraint.Builder |
clear() |
CustomConstraint.Builder |
clearActionType()
Allow or deny type.
|
CustomConstraint.Builder |
clearCondition()
Org policy condition/expression.
|
CustomConstraint.Builder |
clearDescription()
Detailed information about this custom policy constraint.
|
CustomConstraint.Builder |
clearDisplayName()
One line display name for the UI.
|
CustomConstraint.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CustomConstraint.Builder |
clearMethodTypes()
All the operations being applied for this constraint.
|
CustomConstraint.Builder |
clearName()
Immutable.
|
CustomConstraint.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CustomConstraint.Builder |
clearResourceTypes()
Immutable.
|
CustomConstraint.Builder |
clearUpdateTime()
Output only.
|
CustomConstraint.Builder |
clone() |
CustomConstraint.ActionType |
getActionType()
Allow or deny type.
|
int |
getActionTypeValue()
Allow or deny type.
|
String |
getCondition()
Org policy condition/expression.
|
com.google.protobuf.ByteString |
getConditionBytes()
Org policy condition/expression.
|
CustomConstraint |
getDefaultInstanceForType() |
String |
getDescription()
Detailed information about this custom policy constraint.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Detailed information about this custom policy constraint.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
One line display name for the UI.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
One line display name for the UI.
|
CustomConstraint.MethodType |
getMethodTypes(int index)
All the operations being applied for this constraint.
|
int |
getMethodTypesCount()
All the operations being applied for this constraint.
|
List<CustomConstraint.MethodType> |
getMethodTypesList()
All the operations being applied for this constraint.
|
int |
getMethodTypesValue(int index)
All the operations being applied for this constraint.
|
List<Integer> |
getMethodTypesValueList()
All the operations being applied for this constraint.
|
String |
getName()
Immutable.
|
com.google.protobuf.ByteString |
getNameBytes()
Immutable.
|
String |
getResourceTypes(int index)
Immutable.
|
com.google.protobuf.ByteString |
getResourceTypesBytes(int index)
Immutable.
|
int |
getResourceTypesCount()
Immutable.
|
com.google.protobuf.ProtocolStringList |
getResourceTypesList()
Immutable.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CustomConstraint.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CustomConstraint.Builder |
mergeFrom(CustomConstraint other) |
CustomConstraint.Builder |
mergeFrom(com.google.protobuf.Message other) |
CustomConstraint.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CustomConstraint.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
CustomConstraint.Builder |
setActionType(CustomConstraint.ActionType value)
Allow or deny type.
|
CustomConstraint.Builder |
setActionTypeValue(int value)
Allow or deny type.
|
CustomConstraint.Builder |
setCondition(String value)
Org policy condition/expression.
|
CustomConstraint.Builder |
setConditionBytes(com.google.protobuf.ByteString value)
Org policy condition/expression.
|
CustomConstraint.Builder |
setDescription(String value)
Detailed information about this custom policy constraint.
|
CustomConstraint.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Detailed information about this custom policy constraint.
|
CustomConstraint.Builder |
setDisplayName(String value)
One line display name for the UI.
|
CustomConstraint.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
One line display name for the UI.
|
CustomConstraint.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CustomConstraint.Builder |
setMethodTypes(int index,
CustomConstraint.MethodType value)
All the operations being applied for this constraint.
|
CustomConstraint.Builder |
setMethodTypesValue(int index,
int value)
All the operations being applied for this constraint.
|
CustomConstraint.Builder |
setName(String value)
Immutable.
|
CustomConstraint.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Immutable.
|
CustomConstraint.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CustomConstraint.Builder |
setResourceTypes(int index,
String value)
Immutable.
|
CustomConstraint.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CustomConstraint.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
CustomConstraint.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CustomConstraint.Builder>public CustomConstraint.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CustomConstraint.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CustomConstraint.Builder>public CustomConstraint getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CustomConstraint build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CustomConstraint buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CustomConstraint.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CustomConstraint.Builder>public CustomConstraint.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomConstraint.Builder>public CustomConstraint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomConstraint.Builder>public CustomConstraint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CustomConstraint.Builder>public CustomConstraint.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomConstraint.Builder>public CustomConstraint.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomConstraint.Builder>public CustomConstraint.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomConstraint.Builder>public CustomConstraint.Builder mergeFrom(CustomConstraint other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CustomConstraint.Builder>public CustomConstraint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomConstraint.Builder>IOExceptionpublic String getName()
Immutable. Name of the constraint. This is unique within the organization.
Format of the name should be
* `organizations/{organization_id}/customConstraints/{custom_constraint_id}`
Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms`
The max length is 70 characters and the minimum length is 1. Note that the
prefix `organizations/{organization_id}/customConstraints/` is not counted.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getName in interface CustomConstraintOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Immutable. Name of the constraint. This is unique within the organization.
Format of the name should be
* `organizations/{organization_id}/customConstraints/{custom_constraint_id}`
Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms`
The max length is 70 characters and the minimum length is 1. Note that the
prefix `organizations/{organization_id}/customConstraints/` is not counted.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getNameBytes in interface CustomConstraintOrBuilderpublic CustomConstraint.Builder setName(String value)
Immutable. Name of the constraint. This is unique within the organization.
Format of the name should be
* `organizations/{organization_id}/customConstraints/{custom_constraint_id}`
Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms`
The max length is 70 characters and the minimum length is 1. Note that the
prefix `organizations/{organization_id}/customConstraints/` is not counted.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];value - The name to set.public CustomConstraint.Builder clearName()
Immutable. Name of the constraint. This is unique within the organization.
Format of the name should be
* `organizations/{organization_id}/customConstraints/{custom_constraint_id}`
Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms`
The max length is 70 characters and the minimum length is 1. Note that the
prefix `organizations/{organization_id}/customConstraints/` is not counted.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];public CustomConstraint.Builder setNameBytes(com.google.protobuf.ByteString value)
Immutable. Name of the constraint. This is unique within the organization.
Format of the name should be
* `organizations/{organization_id}/customConstraints/{custom_constraint_id}`
Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms`
The max length is 70 characters and the minimum length is 1. Note that the
prefix `organizations/{organization_id}/customConstraints/` is not counted.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];value - The bytes for name to set.public com.google.protobuf.ProtocolStringList getResourceTypesList()
Immutable. The resource instance type on which this policy applies. Format will be of the form : `<canonical service name>/<type>` Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 2 [(.google.api.field_behavior) = IMMUTABLE];getResourceTypesList in interface CustomConstraintOrBuilderpublic int getResourceTypesCount()
Immutable. The resource instance type on which this policy applies. Format will be of the form : `<canonical service name>/<type>` Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 2 [(.google.api.field_behavior) = IMMUTABLE];getResourceTypesCount in interface CustomConstraintOrBuilderpublic String getResourceTypes(int index)
Immutable. The resource instance type on which this policy applies. Format will be of the form : `<canonical service name>/<type>` Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 2 [(.google.api.field_behavior) = IMMUTABLE];getResourceTypes in interface CustomConstraintOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getResourceTypesBytes(int index)
Immutable. The resource instance type on which this policy applies. Format will be of the form : `<canonical service name>/<type>` Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 2 [(.google.api.field_behavior) = IMMUTABLE];getResourceTypesBytes in interface CustomConstraintOrBuilderindex - The index of the value to return.public CustomConstraint.Builder setResourceTypes(int index, String value)
Immutable. The resource instance type on which this policy applies. Format will be of the form : `<canonical service name>/<type>` Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 2 [(.google.api.field_behavior) = IMMUTABLE];index - The index to set the value at.value - The resourceTypes to set.public CustomConstraint.Builder addResourceTypes(String value)
Immutable. The resource instance type on which this policy applies. Format will be of the form : `<canonical service name>/<type>` Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 2 [(.google.api.field_behavior) = IMMUTABLE];value - The resourceTypes to add.public CustomConstraint.Builder addAllResourceTypes(Iterable<String> values)
Immutable. The resource instance type on which this policy applies. Format will be of the form : `<canonical service name>/<type>` Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 2 [(.google.api.field_behavior) = IMMUTABLE];values - The resourceTypes to add.public CustomConstraint.Builder clearResourceTypes()
Immutable. The resource instance type on which this policy applies. Format will be of the form : `<canonical service name>/<type>` Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 2 [(.google.api.field_behavior) = IMMUTABLE];public CustomConstraint.Builder addResourceTypesBytes(com.google.protobuf.ByteString value)
Immutable. The resource instance type on which this policy applies. Format will be of the form : `<canonical service name>/<type>` Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 2 [(.google.api.field_behavior) = IMMUTABLE];value - The bytes of the resourceTypes to add.public List<CustomConstraint.MethodType> getMethodTypesList()
All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.CustomConstraint.MethodType method_types = 3;
getMethodTypesList in interface CustomConstraintOrBuilderpublic int getMethodTypesCount()
All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.CustomConstraint.MethodType method_types = 3;
getMethodTypesCount in interface CustomConstraintOrBuilderpublic CustomConstraint.MethodType getMethodTypes(int index)
All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.CustomConstraint.MethodType method_types = 3;
getMethodTypes in interface CustomConstraintOrBuilderindex - The index of the element to return.public CustomConstraint.Builder setMethodTypes(int index, CustomConstraint.MethodType value)
All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.CustomConstraint.MethodType method_types = 3;
index - The index to set the value at.value - The methodTypes to set.public CustomConstraint.Builder addMethodTypes(CustomConstraint.MethodType value)
All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.CustomConstraint.MethodType method_types = 3;
value - The methodTypes to add.public CustomConstraint.Builder addAllMethodTypes(Iterable<? extends CustomConstraint.MethodType> values)
All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.CustomConstraint.MethodType method_types = 3;
values - The methodTypes to add.public CustomConstraint.Builder clearMethodTypes()
All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.CustomConstraint.MethodType method_types = 3;
public List<Integer> getMethodTypesValueList()
All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.CustomConstraint.MethodType method_types = 3;
getMethodTypesValueList in interface CustomConstraintOrBuilderpublic int getMethodTypesValue(int index)
All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.CustomConstraint.MethodType method_types = 3;
getMethodTypesValue in interface CustomConstraintOrBuilderindex - The index of the value to return.public CustomConstraint.Builder setMethodTypesValue(int index, int value)
All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.CustomConstraint.MethodType method_types = 3;
index - The index to set the value at.value - The enum numeric value on the wire for methodTypes to set.public CustomConstraint.Builder addMethodTypesValue(int value)
All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.CustomConstraint.MethodType method_types = 3;
value - The enum numeric value on the wire for methodTypes to add.public CustomConstraint.Builder addAllMethodTypesValue(Iterable<Integer> values)
All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.CustomConstraint.MethodType method_types = 3;
values - The enum numeric values on the wire for methodTypes to add.public String getCondition()
Org policy condition/expression. For example:
`resource.instanceName.matches("[production|test]_.*_(\d)+")` or,
`resource.management.auto_upgrade == true`
The max length of the condition is 1000 characters.
string condition = 4;getCondition in interface CustomConstraintOrBuilderpublic com.google.protobuf.ByteString getConditionBytes()
Org policy condition/expression. For example:
`resource.instanceName.matches("[production|test]_.*_(\d)+")` or,
`resource.management.auto_upgrade == true`
The max length of the condition is 1000 characters.
string condition = 4;getConditionBytes in interface CustomConstraintOrBuilderpublic CustomConstraint.Builder setCondition(String value)
Org policy condition/expression. For example:
`resource.instanceName.matches("[production|test]_.*_(\d)+")` or,
`resource.management.auto_upgrade == true`
The max length of the condition is 1000 characters.
string condition = 4;value - The condition to set.public CustomConstraint.Builder clearCondition()
Org policy condition/expression. For example:
`resource.instanceName.matches("[production|test]_.*_(\d)+")` or,
`resource.management.auto_upgrade == true`
The max length of the condition is 1000 characters.
string condition = 4;public CustomConstraint.Builder setConditionBytes(com.google.protobuf.ByteString value)
Org policy condition/expression. For example:
`resource.instanceName.matches("[production|test]_.*_(\d)+")` or,
`resource.management.auto_upgrade == true`
The max length of the condition is 1000 characters.
string condition = 4;value - The bytes for condition to set.public int getActionTypeValue()
Allow or deny type.
.google.cloud.orgpolicy.v2.CustomConstraint.ActionType action_type = 5;getActionTypeValue in interface CustomConstraintOrBuilderpublic CustomConstraint.Builder setActionTypeValue(int value)
Allow or deny type.
.google.cloud.orgpolicy.v2.CustomConstraint.ActionType action_type = 5;value - The enum numeric value on the wire for actionType to set.public CustomConstraint.ActionType getActionType()
Allow or deny type.
.google.cloud.orgpolicy.v2.CustomConstraint.ActionType action_type = 5;getActionType in interface CustomConstraintOrBuilderpublic CustomConstraint.Builder setActionType(CustomConstraint.ActionType value)
Allow or deny type.
.google.cloud.orgpolicy.v2.CustomConstraint.ActionType action_type = 5;value - The actionType to set.public CustomConstraint.Builder clearActionType()
Allow or deny type.
.google.cloud.orgpolicy.v2.CustomConstraint.ActionType action_type = 5;public String getDisplayName()
One line display name for the UI. The max length of the display_name is 200 characters.
string display_name = 6;getDisplayName in interface CustomConstraintOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
One line display name for the UI. The max length of the display_name is 200 characters.
string display_name = 6;getDisplayNameBytes in interface CustomConstraintOrBuilderpublic CustomConstraint.Builder setDisplayName(String value)
One line display name for the UI. The max length of the display_name is 200 characters.
string display_name = 6;value - The displayName to set.public CustomConstraint.Builder clearDisplayName()
One line display name for the UI. The max length of the display_name is 200 characters.
string display_name = 6;public CustomConstraint.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
One line display name for the UI. The max length of the display_name is 200 characters.
string display_name = 6;value - The bytes for displayName to set.public String getDescription()
Detailed information about this custom policy constraint. The max length of the description is 2000 characters.
string description = 7;getDescription in interface CustomConstraintOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Detailed information about this custom policy constraint. The max length of the description is 2000 characters.
string description = 7;getDescriptionBytes in interface CustomConstraintOrBuilderpublic CustomConstraint.Builder setDescription(String value)
Detailed information about this custom policy constraint. The max length of the description is 2000 characters.
string description = 7;value - The description to set.public CustomConstraint.Builder clearDescription()
Detailed information about this custom policy constraint. The max length of the description is 2000 characters.
string description = 7;public CustomConstraint.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Detailed information about this custom policy constraint. The max length of the description is 2000 characters.
string description = 7;value - The bytes for description to set.public boolean hasUpdateTime()
Output only. The last time this custom constraint was updated. This represents the last time that the `CreateCustomConstraint` or `UpdateCustomConstraint` RPC was called
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface CustomConstraintOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The last time this custom constraint was updated. This represents the last time that the `CreateCustomConstraint` or `UpdateCustomConstraint` RPC was called
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface CustomConstraintOrBuilderpublic CustomConstraint.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last time this custom constraint was updated. This represents the last time that the `CreateCustomConstraint` or `UpdateCustomConstraint` RPC was called
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomConstraint.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The last time this custom constraint was updated. This represents the last time that the `CreateCustomConstraint` or `UpdateCustomConstraint` RPC was called
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomConstraint.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last time this custom constraint was updated. This represents the last time that the `CreateCustomConstraint` or `UpdateCustomConstraint` RPC was called
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomConstraint.Builder clearUpdateTime()
Output only. The last time this custom constraint was updated. This represents the last time that the `CreateCustomConstraint` or `UpdateCustomConstraint` RPC was called
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The last time this custom constraint was updated. This represents the last time that the `CreateCustomConstraint` or `UpdateCustomConstraint` RPC was called
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last time this custom constraint was updated. This represents the last time that the `CreateCustomConstraint` or `UpdateCustomConstraint` RPC was called
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface CustomConstraintOrBuilderpublic final CustomConstraint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomConstraint.Builder>public final CustomConstraint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomConstraint.Builder>Copyright © 2024 Google LLC. All rights reserved.