Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookInvocation
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookInvocation
- 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 child playbook.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Output only.
-
#playbook ⇒ String
Required.
-
#playbook_input ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookInput
Input of the playbook.
-
#playbook_output ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookOutput
Output of the playbook.
-
#playbook_state ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3PlaybookInvocation
constructor
A new instance of GoogleCloudDialogflowCxV3PlaybookInvocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3PlaybookInvocation
Returns a new instance of GoogleCloudDialogflowCxV3PlaybookInvocation.
6853 6854 6855 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6853 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Output only. The display name of the playbook.
Corresponds to the JSON property displayName
6830 6831 6832 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6830 def display_name @display_name end |
#playbook ⇒ String
Required. The unique identifier of the playbook. Format: projects//locations//
agents//playbooks/.
Corresponds to the JSON property playbook
6836 6837 6838 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6836 def playbook @playbook end |
#playbook_input ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookInput
Input of the playbook.
Corresponds to the JSON property playbookInput
6841 6842 6843 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6841 def playbook_input @playbook_input end |
#playbook_output ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookOutput
Output of the playbook.
Corresponds to the JSON property playbookOutput
6846 6847 6848 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6846 def playbook_output @playbook_output end |
#playbook_state ⇒ String
Required. Playbook invocation's output state.
Corresponds to the JSON property playbookState
6851 6852 6853 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6851 def playbook_state @playbook_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6858 6859 6860 6861 6862 6863 6864 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6858 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @playbook = args[:playbook] if args.key?(:playbook) @playbook_input = args[:playbook_input] if args.key?(:playbook_input) @playbook_output = args[:playbook_output] if args.key?(:playbook_output) @playbook_state = args[:playbook_state] if args.key?(:playbook_state) end |