class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSimpleResponses

The collection of simple response candidates. This message in `QueryResult. fulfillment_messages` and `WebhookResponse.fulfillment_messages` should contain only one `SimpleResponse`.

Attributes

simple_responses[RW]

Required. The list of simple responses. Corresponds to the JSON property `simpleResponses` @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSimpleResponse>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 6518
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 6523
def update!(**args)
  @simple_responses = args[:simple_responses] if args.key?(:simple_responses)
end