class Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses

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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3beta1/classes.rb, line 12634
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_v3beta1/classes.rb, line 12639
def update!(**args)
  @simple_responses = args[:simple_responses] if args.key?(:simple_responses)
end