lib/google/apis/cloudsearch_v1/classes.rb in google-apis-cloudsearch_v1-0.21.0 vs lib/google/apis/cloudsearch_v1/classes.rb in google-apis-cloudsearch_v1-0.22.0
- old
+ new
@@ -1064,10 +1064,54 @@
def update!(**args)
@type = args[:type] if args.key?(:type)
end
end
+ # This is the proto for holding space level scoring information. This data is
+ # used for logging in query-api server and for testing purposes.
+ class DynamiteSpacesScoringInfo
+ include Google::Apis::Core::Hashable
+
+ #
+ # Corresponds to the JSON property `finalScore`
+ # @return [Float]
+ attr_accessor :final_score
+
+ #
+ # Corresponds to the JSON property `freshnessScore`
+ # @return [Float]
+ attr_accessor :freshness_score
+
+ #
+ # Corresponds to the JSON property `messageScore`
+ # @return [Float]
+ attr_accessor :message_score
+
+ #
+ # Corresponds to the JSON property `spaceAgeInDays`
+ # @return [Float]
+ attr_accessor :space_age_in_days
+
+ #
+ # Corresponds to the JSON property `topicalityScore`
+ # @return [Float]
+ attr_accessor :topicality_score
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @final_score = args[:final_score] if args.key?(:final_score)
+ @freshness_score = args[:freshness_score] if args.key?(:freshness_score)
+ @message_score = args[:message_score] if args.key?(:message_score)
+ @space_age_in_days = args[:space_age_in_days] if args.key?(:space_age_in_days)
+ @topicality_score = args[:topicality_score] if args.key?(:topicality_score)
+ end
+ end
+
# A person's email address.
class EmailAddress
include Google::Apis::Core::Hashable
# The email address.
@@ -5177,10 +5221,16 @@
# space. Which ID is set here will determine which group
# Corresponds to the JSON property `groupId`
# @return [Google::Apis::CloudsearchV1::GroupId]
attr_accessor :group_id
+ # Whether this is an external space outside of user's organization
+ # Corresponds to the JSON property `isExternal`
+ # @return [Boolean]
+ attr_accessor :is_external
+ alias_method :is_external?, :is_external
+
#
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@@ -5202,9 +5252,10 @@
def update!(**args)
@avatar_info = args[:avatar_info] if args.key?(:avatar_info)
@avatar_url = args[:avatar_url] if args.key?(:avatar_url)
@description = args[:description] if args.key?(:description)
@group_id = args[:group_id] if args.key?(:group_id)
+ @is_external = args[:is_external] if args.key?(:is_external)
@name = args[:name] if args.key?(:name)
@num_members = args[:num_members] if args.key?(:num_members)
@user_membership_state = args[:user_membership_state] if args.key?(:user_membership_state)
end
end