Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookTransition

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 transition to another target playbook. Playbook transition actions exit the caller playbook and enter the target playbook.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1PlaybookTransition

Returns a new instance of GoogleCloudDialogflowCxV3beta1PlaybookTransition.



12011
12012
12013
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12011

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)


11998
11999
12000
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11998

def display_name
  @display_name
end

#input_action_parametersHash<String,Object>

A list of input parameters for the action. Corresponds to the JSON property inputActionParameters

Returns:

  • (Hash<String,Object>)


12003
12004
12005
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12003

def input_action_parameters
  @input_action_parameters
end

#playbookString

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

Returns:

  • (String)


12009
12010
12011
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12009

def playbook
  @playbook
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12016
12017
12018
12019
12020
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12016

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @input_action_parameters = args[:input_action_parameters] if args.key?(:input_action_parameters)
  @playbook = args[:playbook] if args.key?(:playbook)
end