Interface UpdateTagKeyRequestOrBuilder (1.17.0)

See more code actions.
public interface UpdateTagKeyRequestOrBuilder extends MessageOrBuilder
MessageOrBuilder
public abstract TagKey getTagKey()

Required. The new definition of the TagKey. Only the description and etag fields can be updated by this request. If the etag field is not empty, it must match the etag field of the existing tag key. Otherwise, FAILED_PRECONDITION will be returned.

.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 new definition of the TagKey. Only the description and etag fields can be updated by this request. If the etag field is not empty, it must match the etag field of the existing tag key. Otherwise, FAILED_PRECONDITION will be returned.

.google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TagKeyOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Fields to be updated. The mask may only contain description or etag. If omitted entirely, both description and etag are assumed to be significant.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Fields to be updated. The mask may only contain description or etag. If omitted entirely, both description and etag are assumed to be significant.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

getValidateOnly()

public abstract boolean getValidateOnly()

Set as true to perform validations necessary for updating the resource, but not actually perform the action.

bool validate_only = 3;

Returns
TypeDescription
boolean

The validateOnly.

hasTagKey()

public abstract boolean hasTagKey()

Required. The new definition of the TagKey. Only the description and etag fields can be updated by this request. If the etag field is not empty, it must match the etag field of the existing tag key. Otherwise, FAILED_PRECONDITION will be returned.

.google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the tagKey field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Fields to be updated. The mask may only contain description or etag. If omitted entirely, both description and etag are assumed to be significant.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
boolean

Whether the updateMask field is set.