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

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 classification information.

Defined Under Namespace

Modules: Type

Instance Attribute Summary collapse

Instance Attribute Details

#positive::Boolean

Returns Classification output.

Returns:

  • (::Boolean)

    Classification output.



295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
# File 'proto_docs/google/cloud/discoveryengine/v1beta/answer.rb', line 295

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

#type::Google::Cloud::DiscoveryEngine::V1beta::Answer::QueryUnderstandingInfo::QueryClassificationInfo::Type

Returns Query classification type.



295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
# File 'proto_docs/google/cloud/discoveryengine/v1beta/answer.rb', line 295

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