Class: Google::Apis::CloudsearchV1::EnterpriseTopazSidekickNlpMetadata

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Overview

Metadata about the NLP interpretation of the query.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseTopazSidekickNlpMetadata

Returns a new instance of EnterpriseTopazSidekickNlpMetadata.



2566
2567
2568
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2566

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#confidenceFloat

Confidence of the interpretation that generated this card. Corresponds to the JSON property confidence

Returns:

  • (Float)


2564
2565
2566
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2564

def confidence
  @confidence
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2571
2572
2573
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2571

def update!(**args)
  @confidence = args[:confidence] if args.key?(:confidence)
end