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

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ModifyTemplateVersionLabelRequest

Returns a new instance of ModifyTemplateVersionLabelRequest.



3114
3115
3116
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3114

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#keyString

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

Returns:

  • (String)


3102
3103
3104
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3102

def key
  @key
end

#opString

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

Returns:

  • (String)


3107
3108
3109
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3107

def op
  @op
end

#valueString

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

Returns:

  • (String)


3112
3113
3114
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3112

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3119
3120
3121
3122
3123
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3119

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