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.
10824 10825 10826 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10824 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
10801 10802 10803 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10801 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
10807 10808 10809 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10807 def playbook @playbook end |
#playbook_input ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInput
Input of the playbook.
Corresponds to the JSON property playbookInput
10812 10813 10814 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10812 def playbook_input @playbook_input end |
#playbook_output ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookOutput
Output of the playbook.
Corresponds to the JSON property playbookOutput
10817 10818 10819 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10817 def playbook_output @playbook_output end |
#playbook_state ⇒ String
Required. Playbook invocation's output state.
Corresponds to the JSON property playbookState
10822 10823 10824 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10822 def playbook_state @playbook_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10829 10830 10831 10832 10833 10834 10835 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10829 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 |