Class: Google::Apis::CloudsearchV1::EnterpriseTopazSidekickNlpMetadata
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::EnterpriseTopazSidekickNlpMetadata
- 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
-
#confidence ⇒ Float
Confidence of the interpretation that generated this card.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseTopazSidekickNlpMetadata
constructor
A new instance of EnterpriseTopazSidekickNlpMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#confidence ⇒ Float
Confidence of the interpretation that generated this card.
Corresponds to the JSON property confidence
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 |