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.



10542
10543
10544
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10542

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


10534
10535
10536
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10534

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)


10540
10541
10542
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10540

def preceding_conversation_summary
  @preceding_conversation_summary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10547
10548
10549
10550
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10547

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