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.



2311
2312
2313
# File 'lib/google/apis/content_v2_1/classes.rb', line 2311

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)


2304
2305
2306
# File 'lib/google/apis/content_v2_1/classes.rb', line 2304

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



2309
2310
2311
# File 'lib/google/apis/content_v2_1/classes.rb', line 2309

def input_values
  @input_values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2316
2317
2318
2319
# File 'lib/google/apis/content_v2_1/classes.rb', line 2316

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