class Google::Apis::CloudsearchV1::SearchQualityMetadata

Additional search quality metadata of the item.

Attributes

quality[RW]

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). The default value is 0.0. Corresponds to the JSON property `quality` @return [Float]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 4156
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudsearch_v1/classes.rb, line 4161
def update!(**args)
  @quality = args[:quality] if args.key?(:quality)
end