Class: Google::Apis::DataflowV1b3::ModifyTemplateVersionLabelRequest
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::ModifyTemplateVersionLabelRequest
- 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
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.
3093 3094 3095 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3093 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
The label key for update.
Corresponds to the JSON property key
3081 3082 3083 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3081 def key @key end |
#op ⇒ String
Requests for add label to TemplateVersion or remove label from TemplateVersion.
Corresponds to the JSON property op
3086 3087 3088 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3086 def op @op end |
#value ⇒ String
The label value for update.
Corresponds to the JSON property value
3091 3092 3093 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3091 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3098 3099 3100 3101 3102 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3098 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 |