Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::Intent::Message::SimpleResponses.
The collection of simple response candidates.
This message in QueryResult.fulfillment_messages
and
WebhookResponse.fulfillment_messages
should contain only one
SimpleResponse
.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#simple_responses
def simple_responses() -> ::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::SimpleResponse>
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::SimpleResponse>) — Required. The list of simple responses.
#simple_responses=
def simple_responses=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::SimpleResponse>
Parameter
- value (::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::SimpleResponse>) — Required. The list of simple responses.
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::SimpleResponse>) — Required. The list of simple responses.