Class: Google::Apis::DataflowV1b3::ModifyTemplateVersionLabelRequest
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::ModifyTemplateVersionLabelRequest
- 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
Either add the label to TemplateVersion or remove it from the TemplateVersion.
Instance Attribute Summary collapse
-
#key ⇒ String
The label key for update.
-
#op ⇒ String
Requests for add label to TemplateVersion or remove label from TemplateVersion.
-
#value ⇒ String
The label value for update.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ModifyTemplateVersionLabelRequest
constructor
A new instance of ModifyTemplateVersionLabelRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ModifyTemplateVersionLabelRequest
Returns a new instance of ModifyTemplateVersionLabelRequest.
3108 3109 3110 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3108 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
The label key for update.
Corresponds to the JSON property key
3096 3097 3098 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3096 def key @key end |
#op ⇒ String
Requests for add label to TemplateVersion or remove label from TemplateVersion.
Corresponds to the JSON property op
3101 3102 3103 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3101 def op @op end |
#value ⇒ String
The label value for update.
Corresponds to the JSON property value
3106 3107 3108 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3106 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3113 3114 3115 3116 3117 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3113 def update!(**args) @key = args[:key] if args.key?(:key) @op = args[:op] if args.key?(:op) @value = args[:value] if args.key?(:value) end |