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.



2533
2534
2535
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2533

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)


2531
2532
2533
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2531

def confidence
  @confidence
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2538
2539
2540
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2538

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