Interface CreateTagKeyRequestOrBuilder (1.48.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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the tagKey field is set.