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. -
#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.
7800 7801 7802 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7800 def initialize(**args) update!(**args) end |
Instance Attribute Details
#common_contact_count ⇒ Fixnum
Corresponds to the JSON property commonContactCount
7722 7723 7724 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7722 def common_contact_count @common_contact_count end |
#common_count_to_contact_list_count_ratio ⇒ Float
Corresponds to the JSON property commonCountToContactListCountRatio
7727 7728 7729 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7727 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
7732 7733 7734 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7732 def common_count_to_membership_count_ratio @common_count_to_membership_count_ratio end |
#creator_gaia_id ⇒ Fixnum
Corresponds to the JSON property creatorGaiaId
7737 7738 7739 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7737 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
7742 7743 7744 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7742 def creator_in_searcher_contact_list @creator_in_searcher_contact_list end |
#das_contact_count ⇒ Fixnum
Corresponds to the JSON property dasContactCount
7748 7749 7750 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7748 def das_contact_count @das_contact_count end |
#final_score ⇒ Float
Corresponds to the JSON property finalScore
7753 7754 7755 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7753 def final_score @final_score end |
#freshness_score ⇒ Float
Corresponds to the JSON property freshnessScore
7758 7759 7760 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7758 def freshness_score @freshness_score end |
#joined_space_affinity_score ⇒ Float
Corresponds to the JSON property joinedSpaceAffinityScore
7763 7764 7765 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7763 def joined_space_affinity_score @joined_space_affinity_score end |
#last_read_timestamp_age_in_days ⇒ Float
Corresponds to the JSON property lastReadTimestampAgeInDays
7768 7769 7770 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7768 def @last_read_timestamp_age_in_days end |
#message_age_in_days ⇒ Float
Corresponds to the JSON property messageAgeInDays
7773 7774 7775 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7773 def @message_age_in_days end |
#message_sender_affinity_score ⇒ Float
Corresponds to the JSON property messageSenderAffinityScore
7778 7779 7780 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7778 def @message_sender_affinity_score end |
#space_id ⇒ Fixnum
Corresponds to the JSON property spaceId
7783 7784 7785 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7783 def space_id @space_id end |
#space_membership_count ⇒ Fixnum
Corresponds to the JSON property spaceMembershipCount
7788 7789 7790 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7788 def space_membership_count @space_membership_count end |
#topicality_score ⇒ Float
Corresponds to the JSON property topicalityScore
7793 7794 7795 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7793 def topicality_score @topicality_score end |
#unjoined_space_affinity_score ⇒ Float
Corresponds to the JSON property unjoinedSpaceAffinityScore
7798 7799 7800 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7798 def unjoined_space_affinity_score @unjoined_space_affinity_score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7805 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) @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 |