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 CX flow. Next Id: 7
Instance Attribute Summary collapse
-
#flow ⇒ String
Required.
-
#flow_state ⇒ String
Required.
-
#input_parameters ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionParameter>
A list of input parameters for the flow invocation.
-
#output_parameters ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionParameter>
A list of output parameters generated by the flow invocation.
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.
6670 6671 6672 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6670 def initialize(**args) update!(**args) end |
Instance Attribute Details
#flow ⇒ String
Required. The unique identifier of the flow. Format: projects//locations//
agents/.
Corresponds to the JSON property flow
6653 6654 6655 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6653 def flow @flow end |
#flow_state ⇒ String
Required. Flow invocation's output state.
Corresponds to the JSON property flowState
6658 6659 6660 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6658 def flow_state @flow_state end |
#input_parameters ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionParameter>
A list of input parameters for the flow invocation.
Corresponds to the JSON property inputParameters
6663 6664 6665 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6663 def input_parameters @input_parameters end |
#output_parameters ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionParameter>
A list of output parameters generated by the flow invocation.
Corresponds to the JSON property outputParameters
6668 6669 6670 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6668 def output_parameters @output_parameters end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6675 6676 6677 6678 6679 6680 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6675 def update!(**args) @flow = args[:flow] if args.key?(:flow) @flow_state = args[:flow_state] if args.key?(:flow_state) @input_parameters = args[:input_parameters] if args.key?(:input_parameters) @output_parameters = args[:output_parameters] if args.key?(:output_parameters) end |