Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInvocation
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInvocation
- 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 playbook.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Output only.
-
#playbook ⇒ String
Required.
-
#playbook_input ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInput
Input of the playbook.
-
#playbook_output ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookOutput
Output of the playbook.
-
#playbook_state ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1PlaybookInvocation
constructor
A new instance of GoogleCloudDialogflowCxV3beta1PlaybookInvocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1PlaybookInvocation
Returns a new instance of GoogleCloudDialogflowCxV3beta1PlaybookInvocation.
10846 10847 10848 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10846 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
10823 10824 10825 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10823 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
10829 10830 10831 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10829 def playbook @playbook end |
#playbook_input ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInput
Input of the playbook.
Corresponds to the JSON property playbookInput
10834 10835 10836 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10834 def playbook_input @playbook_input end |
#playbook_output ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookOutput
Output of the playbook.
Corresponds to the JSON property playbookOutput
10839 10840 10841 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10839 def playbook_output @playbook_output end |
#playbook_state ⇒ String
Required. Playbook invocation's output state.
Corresponds to the JSON property playbookState
10844 10845 10846 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10844 def playbook_state @playbook_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10851 10852 10853 10854 10855 10856 10857 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10851 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 |