class Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestionResult

One response of different type of suggestion response which is used in the response of Participants.AnalyzeContent and Participants.AnalyzeContent, as well as HumanAgentAssistantEvent.

Attributes

error[RW]

The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [ gRPC](github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https: //cloud.google.com/apis/design/errors). Corresponds to the JSON property `error` @return [Google::Apis::DialogflowV3::GoogleRpcStatus]

suggest_articles_response[RW]

The response message for Participants.SuggestArticles. Corresponds to the JSON property `suggestArticlesResponse` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestArticlesResponse]

suggest_faq_answers_response[RW]

The request message for Participants.SuggestFaqAnswers. Corresponds to the JSON property `suggestFaqAnswersResponse` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestFaqAnswersResponse]

suggest_smart_replies_response[RW]

The response message for Participants.SuggestSmartReplies. Corresponds to the JSON property `suggestSmartRepliesResponse` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestSmartRepliesResponse]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 11422
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_v3/classes.rb, line 11427
def update!(**args)
  @error = args[:error] if args.key?(:error)
  @suggest_articles_response = args[:suggest_articles_response] if args.key?(:suggest_articles_response)
  @suggest_faq_answers_response = args[:suggest_faq_answers_response] if args.key?(:suggest_faq_answers_response)
  @suggest_smart_replies_response = args[:suggest_smart_replies_response] if args.key?(:suggest_smart_replies_response)
end