Class: Google::Apis::DataflowV1b3::ModifyTemplateVersionLabelRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#keyString

The label key for update. Corresponds to the JSON property key

Returns:

  • (String)


3081
3082
3083
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3081

def key
  @key
end

#opString

Requests for add label to TemplateVersion or remove label from TemplateVersion. Corresponds to the JSON property op

Returns:

  • (String)


3086
3087
3088
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3086

def op
  @op
end

#valueString

The label value for update. Corresponds to the JSON property value

Returns:

  • (String)


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