Class: Google::Apis::ContentV2_1::ActionInput
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::ActionInput
- 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
-
#action_flow_id ⇒ String
Required.
-
#input_values ⇒ Array<Google::Apis::ContentV2_1::InputValue>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ActionInput
constructor
A new instance of ActionInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_id ⇒ String
Required. Id of the selected action flow.
Corresponds to the JSON property actionFlowId
2256 2257 2258 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2256 def action_flow_id @action_flow_id end |
#input_values ⇒ Array<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 |