Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::SuggestConversationSummaryResponse (v1.1.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::SuggestConversationSummaryResponse.

The response message for Conversations.SuggestConversationSummary.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#context_size

def context_size() -> ::Integer
Returns
  • (::Integer) — Number of messages prior to and including [last_conversation_message][] used to compile the suggestion. It may be smaller than the [SuggestSummaryRequest.context_size][] field in the request if there weren't that many messages in the conversation.

#context_size=

def context_size=(value) -> ::Integer
Parameter
  • value (::Integer) — Number of messages prior to and including [last_conversation_message][] used to compile the suggestion. It may be smaller than the [SuggestSummaryRequest.context_size][] field in the request if there weren't that many messages in the conversation.
Returns
  • (::Integer) — Number of messages prior to and including [last_conversation_message][] used to compile the suggestion. It may be smaller than the [SuggestSummaryRequest.context_size][] field in the request if there weren't that many messages in the conversation.

#latest_message

def latest_message() -> ::String
Returns
  • (::String) — The name of the latest conversation message used as context for compiling suggestion.

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

#latest_message=

def latest_message=(value) -> ::String
Parameter
  • value (::String) — The name of the latest conversation message used as context for compiling suggestion.

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

Returns
  • (::String) — The name of the latest conversation message used as context for compiling suggestion.

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

#summary

def summary() -> ::Google::Cloud::Dialogflow::V2::SuggestConversationSummaryResponse::Summary

#summary=

def summary=(value) -> ::Google::Cloud::Dialogflow::V2::SuggestConversationSummaryResponse::Summary