Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FlowInvocation
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FlowInvocation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Overview
Stores metadata of the invocation of a CX flow.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Output only.
-
#flow ⇒ String
Required.
-
#flow_state ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3FlowInvocation
constructor
A new instance of GoogleCloudDialogflowCxV3FlowInvocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3FlowInvocation
Returns a new instance of GoogleCloudDialogflowCxV3FlowInvocation.
3467 3468 3469 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3467 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
3454 3455 3456 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3454 def display_name @display_name end |
#flow ⇒ String
Required. The unique identifier of the flow. Format: projects//locations//
agents//flows/.
Corresponds to the JSON property flow
3460 3461 3462 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3460 def flow @flow end |
#flow_state ⇒ String
Required. Flow invocation's output state.
Corresponds to the JSON property flowState
3465 3466 3467 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3465 def flow_state @flow_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3472 3473 3474 3475 3476 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3472 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) end |