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.
7838 7839 7840 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7838 def initialize(**args) update!(**args) end |
Instance Attribute Details
#common_contact_count ⇒ Fixnum
Corresponds to the JSON property commonContactCount
7760 7761 7762 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7760 def common_contact_count @common_contact_count end |
#common_count_to_contact_list_count_ratio ⇒ Float
Corresponds to the JSON property commonCountToContactListCountRatio
7765 7766 7767 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7765 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
7770 7771 7772 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7770 def common_count_to_membership_count_ratio @common_count_to_membership_count_ratio end |
#creator_gaia_id ⇒ Fixnum
Corresponds to the JSON property creatorGaiaId
7775 7776 7777 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7775 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
7780 7781 7782 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7780 def creator_in_searcher_contact_list @creator_in_searcher_contact_list end |
#das_contact_count ⇒ Fixnum
Corresponds to the JSON property dasContactCount
7786 7787 7788 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7786 def das_contact_count @das_contact_count end |
#final_score ⇒ Float
Corresponds to the JSON property finalScore
7791 7792 7793 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7791 def final_score @final_score end |
#freshness_score ⇒ Float
Corresponds to the JSON property freshnessScore
7796 7797 7798 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7796 def freshness_score @freshness_score end |
#joined_space_affinity_score ⇒ Float
Corresponds to the JSON property joinedSpaceAffinityScore
7801 7802 7803 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7801 def joined_space_affinity_score @joined_space_affinity_score end |
#last_read_timestamp_age_in_days ⇒ Float
Corresponds to the JSON property lastReadTimestampAgeInDays
7806 7807 7808 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7806 def @last_read_timestamp_age_in_days end |
#message_age_in_days ⇒ Float
Corresponds to the JSON property messageAgeInDays
7811 7812 7813 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7811 def @message_age_in_days end |
#message_sender_affinity_score ⇒ Float
Corresponds to the JSON property messageSenderAffinityScore
7816 7817 7818 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7816 def @message_sender_affinity_score end |
#space_id ⇒ Fixnum
Corresponds to the JSON property spaceId
7821 7822 7823 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7821 def space_id @space_id end |
#space_membership_count ⇒ Fixnum
Corresponds to the JSON property spaceMembershipCount
7826 7827 7828 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7826 def space_membership_count @space_membership_count end |
#topicality_score ⇒ Float
Corresponds to the JSON property topicalityScore
7831 7832 7833 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7831 def topicality_score @topicality_score end |
#unjoined_space_affinity_score ⇒ Float
Corresponds to the JSON property unjoinedSpaceAffinityScore
7836 7837 7838 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7836 def unjoined_space_affinity_score @unjoined_space_affinity_score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7843 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 |