class Google::Apis::CloudsearchV1::SourceScoringConfig

Set the scoring configuration. This allows modifying the ranking of results for a source.

Attributes

source_importance[RW]

Importance of the source. Corresponds to the JSON property `sourceImportance` @return [String]

Public Class Methods

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