class Google::Apis::CloudsearchV1::RetrievalImportance

Attributes

importance[RW]

Indicates the ranking importance given to property when it is matched during retrieval. Once set, the token importance of a property cannot be changed. Corresponds to the JSON property `importance` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 3841
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 3846
def update!(**args)
  @importance = args[:importance] if args.key?(:importance)
end