Class: Google::Apis::ContentV2_1::ActionInput

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb

Overview

Input provided by the merchant.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ActionInput

Returns a new instance of ActionInput.



2263
2264
2265
# File 'lib/google/apis/content_v2_1/classes.rb', line 2263

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

Instance Attribute Details

#action_flow_idString

Required. Id of the selected action flow. Corresponds to the JSON property actionFlowId

Returns:

  • (String)


2256
2257
2258
# File 'lib/google/apis/content_v2_1/classes.rb', line 2256

def action_flow_id
  @action_flow_id
end

#input_valuesArray<Google::Apis::ContentV2_1::InputValue>

Required. Values for input fields. Corresponds to the JSON property inputValues



2261
2262
2263
# File 'lib/google/apis/content_v2_1/classes.rb', line 2261

def input_values
  @input_values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2268
2269
2270
2271
# File 'lib/google/apis/content_v2_1/classes.rb', line 2268

def update!(**args)
  @action_flow_id = args[:action_flow_id] if args.key?(:action_flow_id)
  @input_values = args[:input_values] if args.key?(:input_values)
end