Class: Google::Apis::DataflowV1b3::ModifyTemplateVersionTagRequest
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::ModifyTemplateVersionTagRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/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.
3176 3177 3178 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3176 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
3168 3169 3170 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3168 def remove_only @remove_only end |
#tag ⇒ String
The tag for update.
Corresponds to the JSON property tag
3174 3175 3176 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3174 def tag @tag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3181 3182 3183 3184 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3181 def update!(**args) @remove_only = args[:remove_only] if args.key?(:remove_only) @tag = args[:tag] if args.key?(:tag) end |