Interface CreateTagKeyRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateTagKeyRequest
,CreateTagKeyRequest.Builder
public interface CreateTagKeyRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TagKey
getTagKey()
Required.TagKeyOrBuilder
getTagKeyOrBuilder()
Required.boolean
getValidateOnly()
Optional.boolean
hasTagKey()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasTagKey
boolean hasTagKey()
Required. The TagKey to be created. Only fields `short_name`, `description`, and `parent` are considered during the creation request.
.google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the tagKey field is set.
-
getTagKey
TagKey getTagKey()
Required. The TagKey to be created. Only fields `short_name`, `description`, and `parent` are considered during the creation request.
.google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The tagKey.
-
getTagKeyOrBuilder
TagKeyOrBuilder getTagKeyOrBuilder()
Required. The TagKey to be created. Only fields `short_name`, `description`, and `parent` are considered during the creation request.
.google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
-
getValidateOnly
boolean getValidateOnly()
Optional. Set to true to perform validations necessary for creating the resource, but not actually perform the action.
bool validate_only = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The validateOnly.
-
-