Class: Google::Apis::CloudsearchV1::DynamiteSpacesScoringInfo
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::DynamiteSpacesScoringInfo
- 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 space level scoring information. This data is used for logging in query-api server and for testing purposes.
Instance Attribute Summary collapse
-
#affinity_score ⇒ Float
Corresponds to the JSON property
affinityScore
. -
#common_contact_count_affinity_score ⇒ Float
Corresponds to the JSON property
commonContactCountAffinityScore
. -
#contacts_intersection_count ⇒ Float
Corresponds to the JSON property
contactsIntersectionCount
. -
#final_score ⇒ Float
Corresponds to the JSON property
finalScore
. -
#freshness_score ⇒ Float
Corresponds to the JSON property
freshnessScore
. -
#joined_spaces_affinity_score ⇒ Float
Corresponds to the JSON property
joinedSpacesAffinityScore
. -
#last_message_posted_timestamp_secs ⇒ Fixnum
Corresponds to the JSON property
lastMessagePostedTimestampSecs
. -
#last_read_timestamp_secs ⇒ Fixnum
Corresponds to the JSON property
lastReadTimestampSecs
. -
#member_count_score ⇒ Float
Corresponds to the JSON property
memberCountScore
. -
#member_metadata_count ⇒ Float
Corresponds to the JSON property
memberMetadataCount
. -
#message_score ⇒ Float
Corresponds to the JSON property
messageScore
. -
#num_auc_contacts ⇒ Fixnum
Corresponds to the JSON property
numAucContacts
. -
#small_contact_list_affinity_score ⇒ Float
Corresponds to the JSON property
smallContactListAffinityScore
. -
#small_unjoined_spaces_affinity_score ⇒ Float
Corresponds to the JSON property
smallUnjoinedSpacesAffinityScore
. -
#space_age_in_days ⇒ Float
Corresponds to the JSON property
spaceAgeInDays
. -
#space_creation_timestamp_secs ⇒ Fixnum
Corresponds to the JSON property
spaceCreationTimestampSecs
. -
#topicality_score ⇒ Float
Corresponds to the JSON property
topicalityScore
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DynamiteSpacesScoringInfo
constructor
A new instance of DynamiteSpacesScoringInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DynamiteSpacesScoringInfo
Returns a new instance of DynamiteSpacesScoringInfo.
8372 8373 8374 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8372 def initialize(**args) update!(**args) end |
Instance Attribute Details
#affinity_score ⇒ Float
Corresponds to the JSON property affinityScore
8290 8291 8292 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8290 def affinity_score @affinity_score end |
#common_contact_count_affinity_score ⇒ Float
Corresponds to the JSON property commonContactCountAffinityScore
8295 8296 8297 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8295 def common_contact_count_affinity_score @common_contact_count_affinity_score end |
#contacts_intersection_count ⇒ Float
Corresponds to the JSON property contactsIntersectionCount
8300 8301 8302 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8300 def contacts_intersection_count @contacts_intersection_count end |
#final_score ⇒ Float
Corresponds to the JSON property finalScore
8305 8306 8307 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8305 def final_score @final_score end |
#freshness_score ⇒ Float
Corresponds to the JSON property freshnessScore
8310 8311 8312 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8310 def freshness_score @freshness_score end |
#joined_spaces_affinity_score ⇒ Float
Corresponds to the JSON property joinedSpacesAffinityScore
8315 8316 8317 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8315 def joined_spaces_affinity_score @joined_spaces_affinity_score end |
#last_message_posted_timestamp_secs ⇒ Fixnum
Corresponds to the JSON property lastMessagePostedTimestampSecs
8320 8321 8322 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8320 def @last_message_posted_timestamp_secs end |
#last_read_timestamp_secs ⇒ Fixnum
Corresponds to the JSON property lastReadTimestampSecs
8325 8326 8327 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8325 def @last_read_timestamp_secs end |
#member_count_score ⇒ Float
Corresponds to the JSON property memberCountScore
8330 8331 8332 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8330 def member_count_score @member_count_score end |
#member_metadata_count ⇒ Float
Corresponds to the JSON property memberMetadataCount
8335 8336 8337 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8335 def @member_metadata_count end |
#message_score ⇒ Float
Corresponds to the JSON property messageScore
8340 8341 8342 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8340 def @message_score end |
#num_auc_contacts ⇒ Fixnum
Corresponds to the JSON property numAucContacts
8345 8346 8347 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8345 def num_auc_contacts @num_auc_contacts end |
#small_contact_list_affinity_score ⇒ Float
Corresponds to the JSON property smallContactListAffinityScore
8350 8351 8352 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8350 def small_contact_list_affinity_score @small_contact_list_affinity_score end |
#small_unjoined_spaces_affinity_score ⇒ Float
Corresponds to the JSON property smallUnjoinedSpacesAffinityScore
8355 8356 8357 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8355 def small_unjoined_spaces_affinity_score @small_unjoined_spaces_affinity_score end |
#space_age_in_days ⇒ Float
Corresponds to the JSON property spaceAgeInDays
8360 8361 8362 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8360 def space_age_in_days @space_age_in_days end |
#space_creation_timestamp_secs ⇒ Fixnum
Corresponds to the JSON property spaceCreationTimestampSecs
8365 8366 8367 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8365 def @space_creation_timestamp_secs end |
#topicality_score ⇒ Float
Corresponds to the JSON property topicalityScore
8370 8371 8372 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8370 def topicality_score @topicality_score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8377 def update!(**args) @affinity_score = args[:affinity_score] if args.key?(:affinity_score) @common_contact_count_affinity_score = args[:common_contact_count_affinity_score] if args.key?(:common_contact_count_affinity_score) @contacts_intersection_count = args[:contacts_intersection_count] if args.key?(:contacts_intersection_count) @final_score = args[:final_score] if args.key?(:final_score) @freshness_score = args[:freshness_score] if args.key?(:freshness_score) @joined_spaces_affinity_score = args[:joined_spaces_affinity_score] if args.key?(:joined_spaces_affinity_score) @last_message_posted_timestamp_secs = args[:last_message_posted_timestamp_secs] if args.key?(:last_message_posted_timestamp_secs) @last_read_timestamp_secs = args[:last_read_timestamp_secs] if args.key?(:last_read_timestamp_secs) @member_count_score = args[:member_count_score] if args.key?(:member_count_score) @member_metadata_count = args[:member_metadata_count] if args.key?(:member_metadata_count) @message_score = args[:message_score] if args.key?(:message_score) @num_auc_contacts = args[:num_auc_contacts] if args.key?(:num_auc_contacts) @small_contact_list_affinity_score = args[:small_contact_list_affinity_score] if args.key?(:small_contact_list_affinity_score) @small_unjoined_spaces_affinity_score = args[:small_unjoined_spaces_affinity_score] if args.key?(:small_unjoined_spaces_affinity_score) @space_age_in_days = args[:space_age_in_days] if args.key?(:space_age_in_days) @space_creation_timestamp_secs = args[:space_creation_timestamp_secs] if args.key?(:space_creation_timestamp_secs) @topicality_score = args[:topicality_score] if args.key?(:topicality_score) end |