Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInput

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

Input of the playbook.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1PlaybookInput

Returns a new instance of GoogleCloudDialogflowCxV3beta1PlaybookInput.



10570
10571
10572
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10570

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

Instance Attribute Details

#action_parametersHash<String,Object>

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

Returns:

  • (Hash<String,Object>)


10562
10563
10564
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10562

def action_parameters
  @action_parameters
end

#preceding_conversation_summaryString

Optional. Summary string of the preceding conversation for the child playbook invocation. Corresponds to the JSON property precedingConversationSummary

Returns:

  • (String)


10568
10569
10570
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10568

def preceding_conversation_summary
  @preceding_conversation_summary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10575
10576
10577
10578
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10575

def update!(**args)
  @action_parameters = args[:action_parameters] if args.key?(:action_parameters)
  @preceding_conversation_summary = args[:preceding_conversation_summary] if args.key?(:preceding_conversation_summary)
end