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. Next Id: 5

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1PlaybookInvocation

Returns a new instance of GoogleCloudDialogflowCxV3beta1PlaybookInvocation.



10625
10626
10627
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10625

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)


10608
10609
10610
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10608

def playbook
  @playbook
end

#playbook_inputGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInput

Input of the playbook. Corresponds to the JSON property playbookInput



10613
10614
10615
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10613

def playbook_input
  @playbook_input
end

#playbook_outputGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookOutput

Output of the playbook. Corresponds to the JSON property playbookOutput



10618
10619
10620
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10618

def playbook_output
  @playbook_output
end

#playbook_stateString

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

Returns:

  • (String)


10623
10624
10625
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10623

def playbook_state
  @playbook_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10630
10631
10632
10633
10634
10635
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10630

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