lib/google/apis/cloudsearch_v1/classes.rb in google-apis-cloudsearch_v1-0.34.0 vs lib/google/apis/cloudsearch_v1/classes.rb in google-apis-cloudsearch_v1-0.35.0

- old
+ new

@@ -586,30 +586,25 @@ @key = args[:key] if args.key?(:key) @value = args[:value] if args.key?(:value) end end - # Next Id: 5 + # Next Id: 6 class AppsDynamiteSharedActivityFeedAnnotationData include Google::Apis::Core::Hashable - # Unique id of the Activity Feed message. This will be in the form of "space-id/ - # message-id" or "dm-id/message-id", where the space-/dm-id and message-id - # components are extracted from the top-level MessageId in message.proto (http:// - # shortn/_SulV51DNfF). This is copied into annotations so that no client changes - # are needed to access this value. Clients will need a unique id for every - # Activity Feed message to implement click-to-source. + # Primary key for Message resource. # Corresponds to the JSON property `activityFeedMessageId` - # @return [String] + # @return [Google::Apis::CloudsearchV1::MessageId] attr_accessor :activity_feed_message_id # Next Id: 5 # Corresponds to the JSON property `chatItem` # @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedChatItem] attr_accessor :chat_item - # Contains info regarding the updater of an Activity Feed item. Next Id: 6 + # Contains info regarding the updater of an Activity Feed item. Next Id: 7 # Corresponds to the JSON property `sharedUserInfo` # @return [Google::Apis::CloudsearchV1::UserInfo] attr_accessor :shared_user_info # UserId of the AF item updater to show and the updater count to show. @@ -1563,11 +1558,12 @@ # information, such as the space name and group attributes. NEXT TAG: 6 # Corresponds to the JSON property `groupInfo` # @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedChatItemGroupInfo] attr_accessor :group_info - # Information that references a Dynamite chat message. + # Information that references a Dynamite chat message. This is only used for + # Activity Feed messages. # Corresponds to the JSON property `messageInfo` # @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedMessageInfo] attr_accessor :message_info def initialize(**args) @@ -2690,19 +2686,25 @@ @meeting_code = args[:meeting_code] if args.key?(:meeting_code) @meeting_url = args[:meeting_url] if args.key?(:meeting_url) end end - # Information that references a Dynamite chat message. + # Information that references a Dynamite chat message. This is only used for + # Activity Feed messages. class AppsDynamiteSharedMessageInfo include Google::Apis::Core::Hashable # Primary key for Message resource. # Corresponds to the JSON property `messageId` # @return [Google::Apis::CloudsearchV1::MessageId] attr_accessor :message_id + # The type of the source chat message. + # Corresponds to the JSON property `messageType` + # @return [String] + attr_accessor :message_type + # Timestamp of when the topic containing the message has been read by the user. # This is populated if the message references an inline reply, in which case the # space may be marked as read but the topic still has unread messages. # Corresponds to the JSON property `topicReadTimeUsec` # @return [Fixnum] @@ -2713,10 +2715,11 @@ end # Update properties of this object def update!(**args) @message_id = args[:message_id] if args.key?(:message_id) + @message_type = args[:message_type] if args.key?(:message_type) @topic_read_time_usec = args[:topic_read_time_usec] if args.key?(:topic_read_time_usec) end end # The payload(restricted to 1P applications) to be stored with a specific @@ -3081,10 +3084,61 @@ @expiry_timestamp = args[:expiry_timestamp] if args.key?(:expiry_timestamp) @state = args[:state] if args.key?(:state) end end + # Contains info on membership count for member types: HUMAN_USER, BOT_USER & + # ROSTER_MEMBER different states: INVITED, JOINED + class AppsDynamiteSharedSegmentedMembershipCount + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `memberType` + # @return [String] + attr_accessor :member_type + + # count of members with given type and state + # Corresponds to the JSON property `membershipCount` + # @return [Fixnum] + attr_accessor :membership_count + + # + # Corresponds to the JSON property `membershipState` + # @return [String] + attr_accessor :membership_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @member_type = args[:member_type] if args.key?(:member_type) + @membership_count = args[:membership_count] if args.key?(:membership_count) + @membership_state = args[:membership_state] if args.key?(:membership_state) + end + end + + # + class AppsDynamiteSharedSegmentedMembershipCounts + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `value` + # @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedSegmentedMembershipCount>] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + end + end + # A widget that creates a UI item (for example, a drop-down list) with options # for users to select. class AppsDynamiteSharedSelectionInput include Google::Apis::Core::Hashable @@ -4758,11 +4812,11 @@ # Corresponds to the JSON property `cseEnabled` # @return [Boolean] attr_accessor :cse_enabled alias_method :cse_enabled?, :cse_enabled - # Indicates whether the current call is moderated. go/meet-multimod-dd + # Indicates whether the current call is moderated. # Corresponds to the JSON property `moderationEnabled` # @return [Boolean] attr_accessor :moderation_enabled alias_method :moderation_enabled?, :moderation_enabled @@ -8805,11 +8859,11 @@ @text = args[:text] if args.key?(:text) end end # The corpus specific metadata for office-type documents, from Google Docs and - # other sources. This message is passed to the scorer and beyond. Next tag: 7 + # other sources. This message is passed to the scorer and beyond. Next tag: 9 class GoogleDocsMetadata include Google::Apis::Core::Hashable # Next tag: 4 # Corresponds to the JSON property `aclInfo` @@ -8831,10 +8885,20 @@ # content modifications. # Corresponds to the JSON property `lastContentModifiedTimestamp` # @return [Fixnum] attr_accessor :last_content_modified_timestamp + # Contains number of subscribers for the document. + # Corresponds to the JSON property `numSubscribers` + # @return [Fixnum] + attr_accessor :num_subscribers + + # Size of untruncated viewers list. + # Corresponds to the JSON property `numViewers` + # @return [Fixnum] + attr_accessor :num_viewers + # A message containing information about a specific result. This information is # passed to the scorer and beyond; in particular, GWS relies on it to format the # result in the UI. Split from GoogleDocsMetadata in case we later want to reuse # the message. # Corresponds to the JSON property `resultInfo` @@ -8854,10 +8918,12 @@ def update!(**args) @acl_info = args[:acl_info] if args.key?(:acl_info) @document_type = args[:document_type] if args.key?(:document_type) @file_extension = args[:file_extension] if args.key?(:file_extension) @last_content_modified_timestamp = args[:last_content_modified_timestamp] if args.key?(:last_content_modified_timestamp) + @num_subscribers = args[:num_subscribers] if args.key?(:num_subscribers) + @num_viewers = args[:num_viewers] if args.key?(:num_viewers) @result_info = args[:result_info] if args.key?(:result_info) @type_info = args[:type_info] if args.key?(:type_info) end end @@ -9115,11 +9181,11 @@ # Annotation metadata for an GsuiteIntegration artifact. class GsuiteIntegrationMetadata include Google::Apis::Core::Hashable - # Next Id: 5 + # Next Id: 6 # Corresponds to the JSON property `activityFeedData` # @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedActivityFeedAnnotationData] attr_accessor :activity_feed_data # This is the internal version of the API proto at google3/google/chat/v1/ @@ -10968,12 +11034,11 @@ # @return [Array<Google::Apis::CloudsearchV1::GatewaySipAccess>] attr_accessor :gateway_sip_access # An optional alias for the meeting space. The alias can in some cases be # resolved to the meeting space, similar to the meeting code. The limitation is - # that the user needs to be in the same meeting domain as the meeting space. See - # go/thor-backend/meeting-alias for more details. + # that the user needs to be in the same meeting domain as the meeting space. # Corresponds to the JSON property `meetingAlias` # @return [String] attr_accessor :meeting_alias # A meeting code is a globally unique code which points to a meeting space. Note: @@ -10997,11 +11062,11 @@ attr_accessor :meeting_url # Output only. A URL that clients (e.g. Calendar) can use to show the web page # with all join methods available for this meeting space. This link is also used # in iOS universal links and Android intents, used for opening the "More ways to - # join" view in the Thor mobile apps. Example: https://tel.meet/mee-ting-cod?pin= + # join" view in the Meet mobile apps. Example: https://tel.meet/mee-ting-cod?pin= # 1234567891011 Here, "pin" is the universal phone PIN. We include it explicitly # to better support the offline case on the mobile. This is set when the meeting # space has either a universal PIN or an interop PIN and clients who can show a " # more ways to join" button should show it whenever this field is set. # Corresponds to the JSON property `moreJoinUrl` @@ -11360,10 +11425,19 @@ # Primary key for Message resource. # Corresponds to the JSON property `id` # @return [Google::Apis::CloudsearchV1::MessageId] attr_accessor :id + # Whether the message is content purged. Content purged messages contain only + # data required for tombstone (see go/chat-infinite-tombstone). This field is + # only used by Vault to display tombstone and should only be set to true if the + # message is a tombstone. + # Corresponds to the JSON property `isContentPurged` + # @return [Boolean] + attr_accessor :is_content_purged + alias_method :is_content_purged?, :is_content_purged + # Output only. Indicates if the message is an inline reply. Set to true only if # the message's ParentPath is non-NULL. Currently, only inline replies have non- # NULL ParentPath. See go/chat-be-inline-reply-indicator. # Corresponds to the JSON property `isInlineReply` # @return [Boolean] @@ -11529,10 +11603,11 @@ @dlp_scan_outcome = args[:dlp_scan_outcome] if args.key?(:dlp_scan_outcome) @dlp_scan_summary = args[:dlp_scan_summary] if args.key?(:dlp_scan_summary) @editable_by = args[:editable_by] if args.key?(:editable_by) @fallback_text = args[:fallback_text] if args.key?(:fallback_text) @id = args[:id] if args.key?(:id) + @is_content_purged = args[:is_content_purged] if args.key?(:is_content_purged) @is_inline_reply = args[:is_inline_reply] if args.key?(:is_inline_reply) @last_edit_time = args[:last_edit_time] if args.key?(:last_edit_time) @last_update_time = args[:last_update_time] if args.key?(:last_update_time) @local_id = args[:local_id] if args.key?(:local_id) @message_integration_payload = args[:message_integration_payload] if args.key?(:message_integration_payload) @@ -14027,13 +14102,13 @@ # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, # see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For # translations. Set this field using the language set in browser or for the page. # In the event that the user's language preference is known, set this field to # the known user language. When specified, the documents in search results are - # biased towards the specified language. The suggest API does not use this - # parameter. Instead, suggest autocompletes only based on characters in the - # query. + # biased towards the specified language. From Suggest API perspective, for 3p + # suggest this is used as a hint while making predictions to add language + # boosting. # Corresponds to the JSON property `languageCode` # @return [String] attr_accessor :language_code # The ID generated when you create a search application using the [admin console] @@ -14461,10 +14536,16 @@ # Roster deletion state - considered active unless set to deleted # Corresponds to the JSON property `rosterState` # @return [String] attr_accessor :roster_state + # Roster membership count. May contain counts based on member type and + # membership state. + # Corresponds to the JSON property `segmentedMembershipCounts` + # @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedSegmentedMembershipCounts] + attr_accessor :segmented_membership_counts + def initialize(**args) update!(**args) end # Update properties of this object @@ -14473,10 +14554,11 @@ @id = args[:id] if args.key?(:id) @membership_count = args[:membership_count] if args.key?(:membership_count) @name = args[:name] if args.key?(:name) @roster_gaia_key = args[:roster_gaia_key] if args.key?(:roster_gaia_key) @roster_state = args[:roster_state] if args.key?(:roster_state) + @segmented_membership_counts = args[:segmented_membership_counts] if args.key?(:segmented_membership_counts) end end # Primary key for Roster resource. class RosterId @@ -15372,11 +15454,11 @@ # Corresponds to the JSON property `defaultAsViewer` # @return [Boolean] attr_accessor :default_as_viewer alias_method :default_as_viewer?, :default_as_viewer - # Indicates whether the meeting space is moderated. go/meet-multimod-dd + # Indicates whether the meeting space is moderated. # Corresponds to the JSON property `moderationEnabled` # @return [Boolean] attr_accessor :moderation_enabled alias_method :moderation_enabled?, :moderation_enabled @@ -17439,11 +17521,11 @@ @origin_app_id = args[:origin_app_id] if args.key?(:origin_app_id) @type = args[:type] if args.key?(:type) end end - # Contains info regarding the updater of an Activity Feed item. Next Id: 6 + # Contains info regarding the updater of an Activity Feed item. Next Id: 7 class UserInfo include Google::Apis::Core::Hashable # Describes how updater_count_to_show should be used. # Corresponds to the JSON property `updaterCountDisplayType` @@ -17465,10 +17547,18 @@ # updater is an external user, the email field below should be populated. # Corresponds to the JSON property `updaterToShowGaiaId` # @return [Fixnum] attr_accessor :updater_to_show_gaia_id + # The display name of the updater for clients to show used for Gmail items. This + # (along with the updater fields above) will be populated in the thread pipeline + # (http://shortn/_rPS0GCp94Y) when converting Activity Feed message attributes + # into client-renderable Activity Feed items. + # Corresponds to the JSON property `updaterToShowName` + # @return [String] + attr_accessor :updater_to_show_name + # Primary key for User resource. # Corresponds to the JSON property `updaterToShowUserId` # @return [Google::Apis::CloudsearchV1::UserId] attr_accessor :updater_to_show_user_id @@ -17480,9 +17570,10 @@ def update!(**args) @updater_count_display_type = args[:updater_count_display_type] if args.key?(:updater_count_display_type) @updater_count_to_show = args[:updater_count_to_show] if args.key?(:updater_count_to_show) @updater_to_show_email = args[:updater_to_show_email] if args.key?(:updater_to_show_email) @updater_to_show_gaia_id = args[:updater_to_show_gaia_id] if args.key?(:updater_to_show_gaia_id) + @updater_to_show_name = args[:updater_to_show_name] if args.key?(:updater_to_show_name) @updater_to_show_user_id = args[:updater_to_show_user_id] if args.key?(:updater_to_show_user_id) end end # Person metadata, for USER_MENTION segments. Should always contain at least one