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.



10597
10598
10599
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10597

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)


10580
10581
10582
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10580

def playbook
  @playbook
end

#playbook_inputGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInput

Input of the playbook. Corresponds to the JSON property playbookInput



10585
10586
10587
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10585

def playbook_input
  @playbook_input
end

#playbook_outputGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookOutput

Output of the playbook. Corresponds to the JSON property playbookOutput



10590
10591
10592
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10590

def playbook_output
  @playbook_output
end

#playbook_stateString

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

Returns:

  • (String)


10595
10596
10597
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10595

def playbook_state
  @playbook_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10602
10603
10604
10605
10606
10607
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10602

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