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.



11851
11852
11853
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11851

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>)


11843
11844
11845
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11843

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)


11849
11850
11851
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11849

def preceding_conversation_summary
  @preceding_conversation_summary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11856
11857
11858
11859
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11856

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