Class: Google::Apis::CloudsearchV1::DynamiteMessagesScoringInfo
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::DynamiteMessagesScoringInfo
- 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
This is the proto for holding message level scoring information. This data is used for logging in query-api server and for testing purposes.
Instance Attribute Summary collapse
-
#common_contact_count ⇒ Fixnum
Corresponds to the JSON property
commonContactCount
. -
#common_count_to_contact_list_count_ratio ⇒ Float
Corresponds to the JSON property
commonCountToContactListCountRatio
. -
#common_count_to_membership_count_ratio ⇒ Float
Corresponds to the JSON property
commonCountToMembershipCountRatio
. -
#creator_gaia_id ⇒ Fixnum
Corresponds to the JSON property
creatorGaiaId
. -
#creator_in_searcher_contact_list ⇒ Boolean
(also: #creator_in_searcher_contact_list?)
Corresponds to the JSON property
creatorInSearcherContactList
. -
#crowding_multiplier ⇒ Float
Corresponds to the JSON property
crowdingMultiplier
. -
#das_contact_count ⇒ Fixnum
Corresponds to the JSON property
dasContactCount
. -
#final_score ⇒ Float
Corresponds to the JSON property
finalScore
. -
#freshness_score ⇒ Float
Corresponds to the JSON property
freshnessScore
. -
#joined_space_affinity_score ⇒ Float
Corresponds to the JSON property
joinedSpaceAffinityScore
. -
#last_read_timestamp_age_in_days ⇒ Float
Corresponds to the JSON property
lastReadTimestampAgeInDays
. -
#message_age_in_days ⇒ Float
Corresponds to the JSON property
messageAgeInDays
. -
#message_sender_affinity_score ⇒ Float
Corresponds to the JSON property
messageSenderAffinityScore
. -
#space_id ⇒ Fixnum
Corresponds to the JSON property
spaceId
. -
#space_membership_count ⇒ Fixnum
Corresponds to the JSON property
spaceMembershipCount
. -
#topicality_score ⇒ Float
Corresponds to the JSON property
topicalityScore
. -
#unjoined_space_affinity_score ⇒ Float
Corresponds to the JSON property
unjoinedSpaceAffinityScore
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DynamiteMessagesScoringInfo
constructor
A new instance of DynamiteMessagesScoringInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DynamiteMessagesScoringInfo
Returns a new instance of DynamiteMessagesScoringInfo.
8320 8321 8322 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8320 def initialize(**args) update!(**args) end |
Instance Attribute Details
#common_contact_count ⇒ Fixnum
Corresponds to the JSON property commonContactCount
8237 8238 8239 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8237 def common_contact_count @common_contact_count end |
#common_count_to_contact_list_count_ratio ⇒ Float
Corresponds to the JSON property commonCountToContactListCountRatio
8242 8243 8244 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8242 def common_count_to_contact_list_count_ratio @common_count_to_contact_list_count_ratio end |
#common_count_to_membership_count_ratio ⇒ Float
Corresponds to the JSON property commonCountToMembershipCountRatio
8247 8248 8249 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8247 def common_count_to_membership_count_ratio @common_count_to_membership_count_ratio end |
#creator_gaia_id ⇒ Fixnum
Corresponds to the JSON property creatorGaiaId
8252 8253 8254 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8252 def creator_gaia_id @creator_gaia_id end |
#creator_in_searcher_contact_list ⇒ Boolean Also known as: creator_in_searcher_contact_list?
Corresponds to the JSON property creatorInSearcherContactList
8257 8258 8259 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8257 def creator_in_searcher_contact_list @creator_in_searcher_contact_list end |
#crowding_multiplier ⇒ Float
Corresponds to the JSON property crowdingMultiplier
8263 8264 8265 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8263 def crowding_multiplier @crowding_multiplier end |
#das_contact_count ⇒ Fixnum
Corresponds to the JSON property dasContactCount
8268 8269 8270 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8268 def das_contact_count @das_contact_count end |
#final_score ⇒ Float
Corresponds to the JSON property finalScore
8273 8274 8275 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8273 def final_score @final_score end |
#freshness_score ⇒ Float
Corresponds to the JSON property freshnessScore
8278 8279 8280 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8278 def freshness_score @freshness_score end |
#joined_space_affinity_score ⇒ Float
Corresponds to the JSON property joinedSpaceAffinityScore
8283 8284 8285 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8283 def joined_space_affinity_score @joined_space_affinity_score end |
#last_read_timestamp_age_in_days ⇒ Float
Corresponds to the JSON property lastReadTimestampAgeInDays
8288 8289 8290 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8288 def @last_read_timestamp_age_in_days end |
#message_age_in_days ⇒ Float
Corresponds to the JSON property messageAgeInDays
8293 8294 8295 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8293 def @message_age_in_days end |
#message_sender_affinity_score ⇒ Float
Corresponds to the JSON property messageSenderAffinityScore
8298 8299 8300 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8298 def @message_sender_affinity_score end |
#space_id ⇒ Fixnum
Corresponds to the JSON property spaceId
8303 8304 8305 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8303 def space_id @space_id end |
#space_membership_count ⇒ Fixnum
Corresponds to the JSON property spaceMembershipCount
8308 8309 8310 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8308 def space_membership_count @space_membership_count end |
#topicality_score ⇒ Float
Corresponds to the JSON property topicalityScore
8313 8314 8315 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8313 def topicality_score @topicality_score end |
#unjoined_space_affinity_score ⇒ Float
Corresponds to the JSON property unjoinedSpaceAffinityScore
8318 8319 8320 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8318 def unjoined_space_affinity_score @unjoined_space_affinity_score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8325 def update!(**args) @common_contact_count = args[:common_contact_count] if args.key?(:common_contact_count) @common_count_to_contact_list_count_ratio = args[:common_count_to_contact_list_count_ratio] if args.key?(:common_count_to_contact_list_count_ratio) @common_count_to_membership_count_ratio = args[:common_count_to_membership_count_ratio] if args.key?(:common_count_to_membership_count_ratio) @creator_gaia_id = args[:creator_gaia_id] if args.key?(:creator_gaia_id) @creator_in_searcher_contact_list = args[:creator_in_searcher_contact_list] if args.key?(:creator_in_searcher_contact_list) @crowding_multiplier = args[:crowding_multiplier] if args.key?(:crowding_multiplier) @das_contact_count = args[:das_contact_count] if args.key?(:das_contact_count) @final_score = args[:final_score] if args.key?(:final_score) @freshness_score = args[:freshness_score] if args.key?(:freshness_score) @joined_space_affinity_score = args[:joined_space_affinity_score] if args.key?(:joined_space_affinity_score) @last_read_timestamp_age_in_days = args[:last_read_timestamp_age_in_days] if args.key?(:last_read_timestamp_age_in_days) @message_age_in_days = args[:message_age_in_days] if args.key?(:message_age_in_days) @message_sender_affinity_score = args[:message_sender_affinity_score] if args.key?(:message_sender_affinity_score) @space_id = args[:space_id] if args.key?(:space_id) @space_membership_count = args[:space_membership_count] if args.key?(:space_membership_count) @topicality_score = args[:topicality_score] if args.key?(:topicality_score) @unjoined_space_affinity_score = args[:unjoined_space_affinity_score] if args.key?(:unjoined_space_affinity_score) end |