Interface CreateTagKeyRequestOrBuilder (1.26.0)

public interface CreateTagKeyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTagKey()

public abstract 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
TypeDescription
TagKey

The tagKey.

getTagKeyOrBuilder()

public abstract 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];

Returns
TypeDescription
TagKeyOrBuilder

getValidateOnly()

public abstract 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
TypeDescription
boolean

The validateOnly.

hasTagKey()

public abstract 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
TypeDescription
boolean

Whether the tagKey field is set.