Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowInvocation
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowInvocation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Overview
Stores metadata of the invocation of a child CX flow. Flow invocation actions enter the child flow.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Output only.
-
#flow ⇒ String
Required.
-
#flow_state ⇒ String
Required.
-
#input_action_parameters ⇒ Hash<String,Object>
Optional.
-
#output_action_parameters ⇒ Hash<String,Object>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1FlowInvocation
constructor
A new instance of GoogleCloudDialogflowCxV3beta1FlowInvocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1FlowInvocation
Returns a new instance of GoogleCloudDialogflowCxV3beta1FlowInvocation.
8273 8274 8275 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8273 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Output only. The display name of the flow.
Corresponds to the JSON property displayName
8250 8251 8252 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8250 def display_name @display_name end |
#flow ⇒ String
Required. The unique identifier of the flow. Format: projects//locations//
agents/.
Corresponds to the JSON property flow
8256 8257 8258 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8256 def flow @flow end |
#flow_state ⇒ String
Required. Flow invocation's output state.
Corresponds to the JSON property flowState
8261 8262 8263 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8261 def flow_state @flow_state end |
#input_action_parameters ⇒ Hash<String,Object>
Optional. A list of input parameters for the flow.
Corresponds to the JSON property inputActionParameters
8266 8267 8268 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8266 def input_action_parameters @input_action_parameters end |
#output_action_parameters ⇒ Hash<String,Object>
Optional. A list of output parameters generated by the flow invocation.
Corresponds to the JSON property outputActionParameters
8271 8272 8273 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8271 def output_action_parameters @output_action_parameters end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8278 8279 8280 8281 8282 8283 8284 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8278 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @flow = args[:flow] if args.key?(:flow) @flow_state = args[:flow_state] if args.key?(:flow_state) @input_action_parameters = args[:input_action_parameters] if args.key?(:input_action_parameters) @output_action_parameters = args[:output_action_parameters] if args.key?(:output_action_parameters) end |