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.



9631
9632
9633
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9631

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

Instance Attribute Details

#parametersArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionParameter>

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



9623
9624
9625
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9623

def parameters
  @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)


9629
9630
9631
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9629

def preceding_conversation_summary
  @preceding_conversation_summary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9636
9637
9638
9639
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9636

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