Class: Google::Cloud::Dialogflow::V2::SuggestArticlesRequest

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

Overview

The request message for Participants.SuggestArticles.

Instance Attribute Summary collapse

Instance Attribute Details

#context_size::Integer

Returns Max number of messages prior to and including latest_message to use as context when compiling the suggestion. By default 20 and at most 50.

Returns:

  • (::Integer)

    Max number of messages prior to and including latest_message to use as context when compiling the suggestion. By default 20 and at most 50.



265
266
267
268
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 265

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

#latest_message::String

Returns The name of the latest conversation message to compile suggestion for. If empty, it will be the latest message of the conversation.

Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.

Returns:

  • (::String)

    The name of the latest conversation message to compile suggestion for. If empty, it will be the latest message of the conversation.

    Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.



265
266
267
268
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 265

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

#parent::String

Returns Required. The name of the participant to fetch suggestion for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

Returns:

  • (::String)

    Required. The name of the participant to fetch suggestion for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.



265
266
267
268
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 265

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