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.



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

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

Instance Attribute Details

#keyString

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

Returns:

  • (String)


3096
3097
3098
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3096

def key
  @key
end

#opString

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

Returns:

  • (String)


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

def op
  @op
end

#valueString

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

Returns:

  • (String)


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