Interface CreateTagHoldRequestOrBuilder (1.21.0)

public interface CreateTagHoldRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The resource name of the TagHold's parent TagValue. Must be of the form: tagValues/{tag-value-id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The resource name of the TagHold's parent TagValue. Must be of the form: tagValues/{tag-value-id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getTagHold()

public abstract TagHold getTagHold()

Required. The TagHold to be created.

.google.cloud.resourcemanager.v3.TagHold tag_hold = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TagHold

The tagHold.

getTagHoldOrBuilder()

public abstract TagHoldOrBuilder getTagHoldOrBuilder()

Required. The TagHold to be created.

.google.cloud.resourcemanager.v3.TagHold tag_hold = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TagHoldOrBuilder

getValidateOnly()

public abstract boolean getValidateOnly()

Optional. Set to true to perform the validations necessary for creating the resource, but not actually perform the action.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The validateOnly.

hasTagHold()

public abstract boolean hasTagHold()

Required. The TagHold to be created.

.google.cloud.resourcemanager.v3.TagHold tag_hold = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the tagHold field is set.