Reference documentation and code samples for the Resource Manager V3 API class Google::Cloud::ResourceManager::V3::CreateTagHoldRequest.
The request message to create a TagHold.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The resource name of the TagHold's parent TagValue. Must be of
the form:
tagValues/{tag-value-id}
.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The resource name of the TagHold's parent TagValue. Must be of
the form:
tagValues/{tag-value-id}
.
Returns
-
(::String) — Required. The resource name of the TagHold's parent TagValue. Must be of
the form:
tagValues/{tag-value-id}
.
#tag_hold
def tag_hold() -> ::Google::Cloud::ResourceManager::V3::TagHold
Returns
- (::Google::Cloud::ResourceManager::V3::TagHold) — Required. The TagHold to be created.
#tag_hold=
def tag_hold=(value) -> ::Google::Cloud::ResourceManager::V3::TagHold
Parameter
- value (::Google::Cloud::ResourceManager::V3::TagHold) — Required. The TagHold to be created.
Returns
- (::Google::Cloud::ResourceManager::V3::TagHold) — Required. The TagHold to be created.
#validate_only
def validate_only() -> ::Boolean
Returns
- (::Boolean) — Optional. Set to true to perform the 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 the validations necessary for creating the resource, but not actually perform the action.
Returns
- (::Boolean) — Optional. Set to true to perform the validations necessary for creating the resource, but not actually perform the action.