Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookInvocation

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb

Overview

Stores metadata of the invocation of a child playbook.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3PlaybookInvocation

Returns a new instance of GoogleCloudDialogflowCxV3PlaybookInvocation.



6853
6854
6855
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6853

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)


6830
6831
6832
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6830

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)


6836
6837
6838
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6836

def playbook
  @playbook
end

#playbook_inputGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookInput

Input of the playbook. Corresponds to the JSON property playbookInput



6841
6842
6843
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6841

def playbook_input
  @playbook_input
end

#playbook_outputGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookOutput

Output of the playbook. Corresponds to the JSON property playbookOutput



6846
6847
6848
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6846

def playbook_output
  @playbook_output
end

#playbook_stateString

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

Returns:

  • (String)


6851
6852
6853
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6851

def playbook_state
  @playbook_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6858
6859
6860
6861
6862
6863
6864
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6858

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