Reference documentation and code samples for the Resource Manager V3 API class Google::Cloud::ResourceManager::V3::CreateTagKeyRequest.
The request message for creating 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 TagKey to be created. Only fields
short_name
,description
, andparent
are considered during the creation request.
#tag_key=
def tag_key=(value) -> ::Google::Cloud::ResourceManager::V3::TagKey
Parameter
-
value (::Google::Cloud::ResourceManager::V3::TagKey) — Required. The TagKey to be created. Only fields
short_name
,description
, andparent
are considered during the creation request.
Returns
-
(::Google::Cloud::ResourceManager::V3::TagKey) — Required. The TagKey to be created. Only fields
short_name
,description
, andparent
are considered during the creation request.
#validate_only
def validate_only() -> ::Boolean
Returns
- (::Boolean) — Optional. Set to true to perform validations necessary for creating the resource, but not actually perform the action.
#validate_only=
def validate_only=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Set to true to perform validations necessary for creating the resource, but not actually perform the action.
Returns
- (::Boolean) — Optional. Set to true to perform validations necessary for creating the resource, but not actually perform the action.