Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInvocation

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1PlaybookInvocation

Returns a new instance of GoogleCloudDialogflowCxV3beta1PlaybookInvocation.



10672
10673
10674
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10672

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#playbookString

Required. The unique identifier of the playbook. Format: projects//locations// agents//playbooks/. Corresponds to the JSON property playbook

Returns:

  • (String)


10655
10656
10657
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10655

def playbook
  @playbook
end

#playbook_inputGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInput

Input of the playbook. Corresponds to the JSON property playbookInput



10660
10661
10662
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10660

def playbook_input
  @playbook_input
end

#playbook_outputGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookOutput

Output of the playbook. Corresponds to the JSON property playbookOutput



10665
10666
10667
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10665

def playbook_output
  @playbook_output
end

#playbook_stateString

Required. Playbook invocation's output state. Corresponds to the JSON property playbookState

Returns:

  • (String)


10670
10671
10672
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10670

def playbook_state
  @playbook_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10677
10678
10679
10680
10681
10682
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10677

def update!(**args)
  @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