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.



10792
10793
10794
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10792

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

Instance Attribute Details

#display_nameString

Output only. The display name of the playbook. Corresponds to the JSON property displayName

Returns:

  • (String)


10769
10770
10771
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10769

def display_name
  @display_name
end

#playbookString

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

Returns:

  • (String)


10775
10776
10777
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10775

def playbook
  @playbook
end

#playbook_inputGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInput

Input of the playbook. Corresponds to the JSON property playbookInput



10780
10781
10782
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10780

def playbook_input
  @playbook_input
end

#playbook_outputGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookOutput

Output of the playbook. Corresponds to the JSON property playbookOutput



10785
10786
10787
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10785

def playbook_output
  @playbook_output
end

#playbook_stateString

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

Returns:

  • (String)


10790
10791
10792
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10790

def playbook_state
  @playbook_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10797
10798
10799
10800
10801
10802
10803
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10797

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