Class: Google::Apis::CloudsearchV1::SearchQualityMetadata
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::SearchQualityMetadata
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/google/apis/cloudsearch_v1/representations.rb
Overview
Additional search quality metadata of the item.
Instance Attribute Summary collapse
-
#quality ⇒ Float
An indication of the quality of the item, used to influence search quality.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SearchQualityMetadata
constructor
A new instance of SearchQualityMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ SearchQualityMetadata
Returns a new instance of SearchQualityMetadata
3674 3675 3676 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3674 def initialize(**args) update!(**args) end |
Instance Attribute Details
#quality ⇒ Float
An indication of the quality of the item, used to influence search quality.
Value should be between 0.0 (lowest quality) and 1.0 (highest quality).
Corresponds to the JSON property quality
3672 3673 3674 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3672 def quality @quality end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3679 3680 3681 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3679 def update!(**args) @quality = args[:quality] if args.key?(:quality) end |