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.
8256 8257 8258 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8256 def initialize(**args) update!(**args) end |
Instance Attribute Details
#common_contact_count ⇒ Fixnum
Corresponds to the JSON property commonContactCount
8173 8174 8175 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8173 def common_contact_count @common_contact_count end |
#common_count_to_contact_list_count_ratio ⇒ Float
Corresponds to the JSON property commonCountToContactListCountRatio
8178 8179 8180 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8178 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
8183 8184 8185 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8183 def common_count_to_membership_count_ratio @common_count_to_membership_count_ratio end |
#creator_gaia_id ⇒ Fixnum
Corresponds to the JSON property creatorGaiaId
8188 8189 8190 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8188 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
8193 8194 8195 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8193 def creator_in_searcher_contact_list @creator_in_searcher_contact_list end |
#crowding_multiplier ⇒ Float
Corresponds to the JSON property crowdingMultiplier
8199 8200 8201 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8199 def crowding_multiplier @crowding_multiplier end |
#das_contact_count ⇒ Fixnum
Corresponds to the JSON property dasContactCount
8204 8205 8206 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8204 def das_contact_count @das_contact_count end |
#final_score ⇒ Float
Corresponds to the JSON property finalScore
8209 8210 8211 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8209 def final_score @final_score end |
#freshness_score ⇒ Float
Corresponds to the JSON property freshnessScore
8214 8215 8216 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8214 def freshness_score @freshness_score end |
#joined_space_affinity_score ⇒ Float
Corresponds to the JSON property joinedSpaceAffinityScore
8219 8220 8221 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8219 def joined_space_affinity_score @joined_space_affinity_score end |
#last_read_timestamp_age_in_days ⇒ Float
Corresponds to the JSON property lastReadTimestampAgeInDays
8224 8225 8226 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8224 def @last_read_timestamp_age_in_days end |
#message_age_in_days ⇒ Float
Corresponds to the JSON property messageAgeInDays
8229 8230 8231 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8229 def @message_age_in_days end |
#message_sender_affinity_score ⇒ Float
Corresponds to the JSON property messageSenderAffinityScore
8234 8235 8236 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8234 def @message_sender_affinity_score end |
#space_id ⇒ Fixnum
Corresponds to the JSON property spaceId
8239 8240 8241 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8239 def space_id @space_id end |
#space_membership_count ⇒ Fixnum
Corresponds to the JSON property spaceMembershipCount
8244 8245 8246 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8244 def space_membership_count @space_membership_count end |
#topicality_score ⇒ Float
Corresponds to the JSON property topicalityScore
8249 8250 8251 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8249 def topicality_score @topicality_score end |
#unjoined_space_affinity_score ⇒ Float
Corresponds to the JSON property unjoinedSpaceAffinityScore
8254 8255 8256 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8254 def unjoined_space_affinity_score @unjoined_space_affinity_score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8261 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 |