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.
2566 2567 2568 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2566 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
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 |