Class: Google::Cloud::Dialogflow::V2::GenerateSuggestionsRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/conversation.rb

Overview

The request message for Conversations.GenerateSuggestions.

Instance Attribute Summary collapse

Instance Attribute Details

#conversation::String

Returns Required. The conversation for which the suggestions are generated. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.

The conversation must be created with a conversation profile which has generators configured in it to be able to get suggestions.

Returns:

  • (::String)

    Required. The conversation for which the suggestions are generated. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.

    The conversation must be created with a conversation profile which has generators configured in it to be able to get suggestions.



1014
1015
1016
1017
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 1014

class GenerateSuggestionsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#latest_message::String

Returns Optional. The name of the latest conversation message for which the request is triggered. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.

Returns:

  • (::String)

    Optional. The name of the latest conversation message for which the request is triggered. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.



1014
1015
1016
1017
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 1014

class GenerateSuggestionsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#trigger_events::Array<::Google::Cloud::Dialogflow::V2::TriggerEvent>

Returns Optional. A list of trigger events. Only generators configured in the conversation_profile whose trigger_event is listed here will be triggered.

Returns:



1014
1015
1016
1017
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 1014

class GenerateSuggestionsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end