Class: Google::Cloud::DiscoveryEngine::V1beta::Answer::QueryUnderstandingInfo

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1beta/answer.rb

Overview

Query understanding information.

Defined Under Namespace

Classes: QueryClassificationInfo

Instance Attribute Summary collapse

Instance Attribute Details

#query_classification_info::Array<::Google::Cloud::DiscoveryEngine::V1beta::Answer::QueryUnderstandingInfo::QueryClassificationInfo>

Returns Query classification information.



292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
# File 'proto_docs/google/cloud/discoveryengine/v1beta/answer.rb', line 292

class QueryUnderstandingInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Query classification information.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::DiscoveryEngine::V1beta::Answer::QueryUnderstandingInfo::QueryClassificationInfo::Type]
  #     Query classification type.
  # @!attribute [rw] positive
  #   @return [::Boolean]
  #     Classification output.
  class QueryClassificationInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Query classification types.
    module Type
      # Unspecified query classification type.
      TYPE_UNSPECIFIED = 0

      # Adversarial query classification type.
      ADVERSARIAL_QUERY = 1

      # Non-answer-seeking query classification type.
      NON_ANSWER_SEEKING_QUERY = 2
    end
  end
end