Resource Manager V3 API - Class Google::Cloud::ResourceManager::V3::UpdateTagKeyRequest (v0.8.2)

Reference documentation and code samples for the Resource Manager V3 API class Google::Cloud::ResourceManager::V3::UpdateTagKeyRequest.

The request message for updating a TagKey.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#tag_key

def tag_key() -> ::Google::Cloud::ResourceManager::V3::TagKey
Returns
  • (::Google::Cloud::ResourceManager::V3::TagKey) — 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, ABORTED will be returned.

#tag_key=

def tag_key=(value) -> ::Google::Cloud::ResourceManager::V3::TagKey
Parameter
  • value (::Google::Cloud::ResourceManager::V3::TagKey) — 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, ABORTED will be returned.
Returns
  • (::Google::Cloud::ResourceManager::V3::TagKey) — 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, ABORTED will be returned.

#update_mask

def update_mask() -> ::Google::Protobuf::FieldMask
Returns
  • (::Google::Protobuf::FieldMask) — Fields to be updated. The mask may only contain description or etag. If omitted entirely, both description and etag are assumed to be significant.

#update_mask=

def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
  • value (::Google::Protobuf::FieldMask) — Fields to be updated. The mask may only contain description or etag. If omitted entirely, both description and etag are assumed to be significant.
Returns
  • (::Google::Protobuf::FieldMask) — Fields to be updated. The mask may only contain description or etag. If omitted entirely, both description and etag are assumed to be significant.

#validate_only

def validate_only() -> ::Boolean
Returns
  • (::Boolean) — Set as true to perform validations necessary for updating the resource, but not actually perform the action.

#validate_only=

def validate_only=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Set as true to perform validations necessary for updating the resource, but not actually perform the action.
Returns
  • (::Boolean) — Set as true to perform validations necessary for updating the resource, but not actually perform the action.