Class: Google::Apis::DataflowV1b3::ModifyTemplateVersionTagRequest
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::ModifyTemplateVersionTagRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/google/apis/dataflow_v1b3/representations.rb
Overview
Add a tag to the current TemplateVersion. If tag exist in another TemplateVersion in the Template, remove the tag before add it to the current TemplateVersion. If remove_only set, remove the tag from the current TemplateVersion.
Instance Attribute Summary collapse
-
#remove_only ⇒ Boolean
(also: #remove_only?)
The flag that indicates if the request is only for remove tag from TemplateVersion.
-
#tag ⇒ String
The tag for update.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ModifyTemplateVersionTagRequest
constructor
A new instance of ModifyTemplateVersionTagRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ModifyTemplateVersionTagRequest
Returns a new instance of ModifyTemplateVersionTagRequest.
3143 3144 3145 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3143 def initialize(**args) update!(**args) end |
Instance Attribute Details
#remove_only ⇒ Boolean Also known as: remove_only?
The flag that indicates if the request is only for remove tag from
TemplateVersion.
Corresponds to the JSON property removeOnly
3135 3136 3137 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3135 def remove_only @remove_only end |
#tag ⇒ String
The tag for update.
Corresponds to the JSON property tag
3141 3142 3143 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3141 def tag @tag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3148 3149 3150 3151 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3148 def update!(**args) @remove_only = args[:remove_only] if args.key?(:remove_only) @tag = args[:tag] if args.key?(:tag) end |