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
descriptionandetagfields can be updated by this request. If theetagfield is not empty, it must match theetagfield of the existing tag key. Otherwise,ABORTEDwill 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
descriptionandetagfields can be updated by this request. If theetagfield is not empty, it must match theetagfield of the existing tag key. Otherwise,ABORTEDwill be returned.
Returns
-
(::Google::Cloud::ResourceManager::V3::TagKey) — Required. The new definition of the TagKey. Only the
descriptionandetagfields can be updated by this request. If theetagfield is not empty, it must match theetagfield of the existing tag key. Otherwise,ABORTEDwill be returned.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
-
(::Google::Protobuf::FieldMask) — Fields to be updated. The mask may only contain
descriptionoretag. If omitted entirely, bothdescriptionandetagare 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
descriptionoretag. If omitted entirely, bothdescriptionandetagare assumed to be significant.
Returns
-
(::Google::Protobuf::FieldMask) — Fields to be updated. The mask may only contain
descriptionoretag. If omitted entirely, bothdescriptionandetagare 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.