From aae7beeeafdd458732ab6c27c142dc0db8619a36 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Wed, 24 May 2023 18:27:01 +0000 Subject: [PATCH] feat(cloudsearch): update the api #### cloudsearch:v1 The following keys were deleted: - schemas.AppsDynamiteStorageColumns.properties.wrapStyle.type (Total Keys: 1) The following keys were added: - schemas.AddOnFrameStartingState (Total Keys: 4) - schemas.AddOnStartingState (Total Keys: 4) - schemas.AnnotationInfo (Total Keys: 5) - schemas.AppsDynamiteSharedBackendUploadMetadata.properties.experiment (Total Keys: 2) - schemas.AppsDynamiteSharedMeetMetadata.properties.meetingType.type (Total Keys: 1) - schemas.AppsDynamiteSharedMessageSearchInfo (Total Keys: 4) - schemas.Attachment.properties.componentSearchInfo.$ref (Total Keys: 1) - schemas.CallInfo.properties.availableAnnotationToolTypes (Total Keys: 2) - schemas.CallSettings.properties.coActivityLock.type (Total Keys: 1) - schemas.CoActivity.properties.addOnId.type (Total Keys: 1) - schemas.CoActivity.properties.addOnStartingState.$ref (Total Keys: 1) - schemas.CoActivity.properties.initiatorDeviceId.type (Total Keys: 1) - schemas.CoActivity.properties.presentationDeviceId.type (Total Keys: 1) - schemas.CoActivity.properties.projectNumber (Total Keys: 2) - schemas.DataLossPreventionMetadata.properties.dlpMessageScanRecord.$ref (Total Keys: 1) - schemas.DlpMessageScanRecord (Total Keys: 6) - schemas.DlpScanSummary.properties.scanTrigger.type (Total Keys: 1) - schemas.Message.properties.messageReference.$ref (Total Keys: 1) - schemas.Message.properties.messageSearchInfo.$ref (Total Keys: 1) - schemas.Message.properties.numberOfUnicodeEmojis (Total Keys: 2) - schemas.MessageReference (Total Keys: 3) - schemas.Presenter.properties.annotationInfo.$ref (Total Keys: 1) - schemas.SearchLinkData (Total Keys: 7) - schemas.Segment.properties.searchLinkData.$ref (Total Keys: 1) - schemas.Settings.properties.coActivityLock.type (Total Keys: 1) - schemas.SourceMessageInfo (Total Keys: 4) --- .../documents/cloudsearch.v1.json | 413 ++++++++++++++++-- 1 file changed, 369 insertions(+), 44 deletions(-) diff --git a/googleapiclient/discovery_cache/documents/cloudsearch.v1.json b/googleapiclient/discovery_cache/documents/cloudsearch.v1.json index 52bd7a8088b..87b11af2e44 100644 --- a/googleapiclient/discovery_cache/documents/cloudsearch.v1.json +++ b/googleapiclient/discovery_cache/documents/cloudsearch.v1.json @@ -2077,7 +2077,7 @@ } } }, - "revision": "20230321", + "revision": "20230510", "rootUrl": "https://cloudsearch.googleapis.com/", "schemas": { "AbuseReportingConfig": { @@ -2237,6 +2237,35 @@ }, "type": "object" }, + "AddOnFrameStartingState": { + "description": "Starting state for an individual add-on frame.", + "id": "AddOnFrameStartingState", + "properties": { + "additionalData": { + "description": "Additional data internal to the add-on that can be used to initialize itself.", + "type": "string" + }, + "uri": { + "description": "The uri of the artifact being used for an add-on co-activity.", + "type": "string" + } + }, + "type": "object" + }, + "AddOnStartingState": { + "description": "Starting state properties for add-on co-activity.", + "id": "AddOnStartingState", + "properties": { + "addOnFrameStartingStates": { + "additionalProperties": { + "$ref": "AddOnFrameStartingState" + }, + "description": "List of starting state frames for the add-on co-activity. Keys for this map are the values of the AddOnFrameType enum.", + "type": "object" + } + }, + "type": "object" + }, "AddonComposeUiActionMarkup": { "id": "AddonComposeUiActionMarkup", "properties": { @@ -2522,6 +2551,24 @@ }, "type": "object" }, + "AnnotationInfo": { + "description": "Information about the screen annotation session.", + "id": "AnnotationInfo", + "properties": { + "coannotatorDeviceIds": { + "description": "The device resource names of other devices which can annotate the screen.", + "items": { + "type": "string" + }, + "type": "array" + }, + "isActive": { + "description": "Whether the annotation is active.", + "type": "boolean" + } + }, + "type": "object" + }, "AppId": { "description": "Identifier of an App.", "id": "AppId", @@ -2556,7 +2603,8 @@ "CONTACTS_APP", "ACTIVITY_FEED_APP", "DRIVE_APP", - "CHAT_IN_MEET_APP" + "CHAT_IN_MEET_APP", + "SHORTCUT_APP" ], "enumDescriptions": [ "", @@ -2570,6 +2618,7 @@ "", "", "", + "", "" ], "type": "string" @@ -2854,6 +2903,7 @@ "SCAN_RULE_EVALUATION_SKIPPED_NO_RULES_FOUND", "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES_FOR_ACTION_PARAMS", "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES_FOR_TRIGGER", + "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES", "SCAN_RULE_EVALUATION_SKIPPED_CHANGELING_PERMANENT_ERROR", "SCAN_RULE_EVALUATION_SKIPPED_CHANGELING_EMPTY_RESPONSE", "SCAN_RULE_EVALUATION_SKIPPED_UNSUPPORTED_FILE_TYPE", @@ -2881,8 +2931,9 @@ "Scanning was skipped because the message originated from Interop or Babel.", "Scanning was skipped because the message was sent while the space is in migration mode. See go/migration-mode for details.", "Rule fetch happened, but rule evaluation is skipped because no rules were found.", - "Rule fetch happened, but rule evaluation is skipped because none of the rules are applicable to the given action params.", - "Rule fetch happened, but rule evaluation is skipped because none of the rules are applicable to the given trigger.", + "Rule fetch happened, but rule evaluation is skipped because none of the rules are applicable to the given action params. Deprecated. Use SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES", + "Rule fetch happened, but rule evaluation is skipped because none of the rules are applicable to the given trigger. Deprecated. Use SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES", + "Rule fetch happened, but rule evaluation is skipped because none of the rules are applicable.", "Rule fetch happened, but rule evaluation is skipped because Changeling returned permanent failure while converting the attachment to text.", "Rule fetch happened, but rule evaluation is skipped because Changeling returned an empty response while converting the attachment to text.", "Rule fetch happened, but rule evaluation is skipped because file type is unsupported.", @@ -2897,12 +2948,27 @@ "$ref": "DlpScanSummary", "description": "Summary of a Data Loss Prevention (DLP) scan of the attachment. Attachments are evaluated in the backend when they are uploaded." }, + "experiment": { + "description": "The list of experiments this video is enabled for Next tag: 19", + "items": { + "enum": [ + "UNKNOWN_EXPERIMENT", + "KRONOS_FAST_FORMAT" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "type": "array" + }, "groupId": { "$ref": "GroupId", "description": "GroupId to which this attachment is uploaded." }, "isClientSideTranscodedVideo": { - "description": "If the uploaded file is a video that has been transcoded on the client side Next tag: 18", + "description": "If the uploaded file is a video that has been transcoded on the client side", "type": "boolean" }, "originalDimension": { @@ -3193,8 +3259,8 @@ "FLAT_ROOM", "THREADED_ROOM", "IMMUTABLE_MEMBERSHIP_HUMAN_DM", - "POST_ROOM", - "ACTIVITY_FEED" + "ACTIVITY_FEED", + "SHORTCUT" ], "enumDescriptions": [ "LINT.IfChange", @@ -3204,8 +3270,8 @@ "A flat room that contains a single thread.", "A threaded room. Topics in this room are threaded, and users can reply to any topic.", "A DM with immutable group membership. It can be a 1:1 DM or a group DM with multiple human users.", - "A post room. Topics in this room are organized in a post/reply style. See the design doc for more details: go/PostRoomsInDynamite. Deprecated. Post rooms are no longer supported.", - "Represents an Activity Feed space. These groups are modeled like flat rooms and contain items for users to catch up on important things. Each user should only have one group of this type. See go/activity-feed. Deprecated: The go/activity-feed project is cancelled and this should no longer be used. LINT.ThenChange(//depot/google3/logs/proto/apps_dynamite/dynamite_visual_element_entry.proto:LoggingGroupType,//depot/google3/java/com/google/apps/dynamite/v1/web/ui/group/groups.js:LoggingGroupType)" + "Represents an Activity Feed space. These groups are modeled like flat rooms and contain items for users to catch up on important things. Each user should only have one group of this type. See go/activity-feed. Deprecated: The go/activity-feed project is cancelled and this should no longer be used.", + "Represents a shortcut space. These groups are modeled like flat rooms and contain items for users to catch up on important things such as user mentioned messages and starred messages. LINT.ThenChange(//depot/google3/logs/proto/apps_dynamite/dynamite_visual_element_entry.proto:LoggingGroupType,//depot/google3/java/com/google/apps/dynamite/v1/web/ui/group/groups.js:LoggingGroupType)" ], "type": "string" }, @@ -3549,6 +3615,20 @@ "description": "Required. A globally unique code (e.g. \"cxv-zbgj-wzw\") that points to a meeting space. Note: Meeting codes may be regenerated, which will cause old meeting codes to become invalid.", "type": "string" }, + "meetingType": { + "description": "Required. Type of the meeting. This controls the chat client UX.", + "enum": [ + "MEETING_TYPE_UNSPECIFIED", + "HUDDLE", + "CALL" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, "meetingUrl": { "description": "Required. A URL, in the format \"https://meet.google.com/*\" (e.g. https://meet.google.com/cxv-zbgj-wzw), to identify and access the meeting space.", "type": "string" @@ -3626,6 +3706,20 @@ }, "type": "object" }, + "AppsDynamiteSharedMessageSearchInfo": { + "description": "Metadata used to describe how to render a message in search results page, e.g., highlighting and snipetting. In future, we can use this proto to return more search specific data attached to a message.", + "id": "AppsDynamiteSharedMessageSearchInfo", + "properties": { + "matchedSegmentsInTextBody": { + "description": "An example use case: clients can use this field to highlight matched segments in message text_body defined in http://google3/apps/dynamite/v1/frontend/api/message.proto;l=104;rcl=513400736.", + "items": { + "$ref": "AppsDynamiteSharedTextSegmentsWithDescription" + }, + "type": "array" + } + }, + "type": "object" + }, "AppsDynamiteSharedOrganizationInfo": { "description": "Contains info about the entity that something is, or is owned by.", "id": "AppsDynamiteSharedOrganizationInfo", @@ -4109,7 +4203,7 @@ "type": "object" }, "AppsDynamiteStorageBorderStyle": { - "description": "Represents the complete border style applied to widgets.", + "description": "The style options for the border of a card or widget, including the border type and color.", "id": "AppsDynamiteStorageBorderStyle", "properties": { "cornerRadius": { @@ -4292,25 +4386,11 @@ "id": "AppsDynamiteStorageColumns", "properties": { "columnItems": { - "description": "Each card supports up to 2 columns.", + "description": "Each card supports up to 2 columns. If the user's screen width is less than or equal to 480 pixels, the second column wraps below the first column.", "items": { "$ref": "AppsDynamiteStorageColumnsColumn" }, "type": "array" - }, - "wrapStyle": { - "description": "Controls how the column resizes based on screen width.", - "enum": [ - "WRAP_STYLE_UNSPECIFIED", - "NOWRAP", - "WRAP" - ], - "enumDescriptions": [ - "Unspecified.", - "Column widgets don't wrap.", - "Column Widgets wrap." - ], - "type": "string" } }, "type": "object" @@ -5470,6 +5550,10 @@ "$ref": "AppsDynamiteStorageCard", "description": "Card AddOn attachment with the possibility for specifying editable widgets." }, + "componentSearchInfo": { + "$ref": "AppsDynamiteSharedMessageComponentSearchInfo", + "description": "Contains additional metadata that further enhance the annotation when it is returned as part of search response. For example, this can be used to define how the attachment matches the search. Information can be used to highlight in rendering search results. The following are the different attachment text fields that are covered by this field: 1. ContextualAddOn.Card.CardHeader.title 2. CardItem.CardItemHeader.title" + }, "deprecatedAddOnData": { "$ref": "ContextualAddOnMarkup", "description": "Deprecated version of Gmail AddOn attachment." @@ -5976,6 +6060,31 @@ }, "type": "array" }, + "availableAnnotationToolTypes": { + "description": "Available screen annotation tool types.", + "items": { + "enum": [ + "ANNOTATION_TOOL_TYPE_UNSPECIFIED", + "ANNOTATION_TOOL_CLEAR_ALL", + "ANNOTATION_TOOL_LINE", + "ANNOTATION_TOOL_MAGIC_ERASER", + "ANNOTATION_TOOL_PEN", + "ANNOTATION_TOOL_SHAPE", + "ANNOTATION_TOOL_TEXT_BOX" + ], + "enumDescriptions": [ + "Annotation tool type unspecified.", + "Clears all annotations.", + "Draws vector lines.", + "Deletes elements that are touched.", + "Draws freeform strokes.", + "Draws simple vector shapes (such as rectangles or ellipses).", + "Allows adding/editing text at this location." + ], + "type": "string" + }, + "type": "array" + }, "availableReactions": { "description": "Output only. The set of reactions that clients are allowed to send and can expect to receive. Note that a device in the conference should have the MAY_SEND_REACTIONS privilege to be able to send reactions.", "items": { @@ -6105,6 +6214,10 @@ "description": "Indicates whether the chat lock is currently on or off.", "type": "boolean" }, + "coActivityLock": { + "description": "Indicates whether the co-activity lock is currently on or off.", + "type": "boolean" + }, "cseEnabled": { "description": "Whether Client-side Encryption is enabled for this conference.", "type": "boolean" @@ -6556,6 +6669,14 @@ "description": "The title of the activity in this co-activity session. For example, this might be the title of the video being co-watched, or the name of the round of a game being co-played.", "type": "string" }, + "addOnId": { + "description": "The add-on id of the current add-on being used for co-activity.", + "type": "string" + }, + "addOnStartingState": { + "$ref": "AddOnStartingState", + "description": "The starting state of the add-on frames for co-activity." + }, "coActivityApp": { "description": "Identifies the app handling this co-activity.", "enum": [ @@ -6583,6 +6704,19 @@ "." ], "type": "string" + }, + "initiatorDeviceId": { + "description": "The resource name of the device that initiated the co-activity.", + "type": "string" + }, + "presentationDeviceId": { + "description": "The resource name of the device that is presenting the add-on.", + "type": "string" + }, + "projectNumber": { + "description": "The project number of the add-on to determine version.", + "format": "int64", + "type": "string" } }, "type": "object" @@ -6958,9 +7092,13 @@ "description": "Annotation metadata for Data Loss Prevention that pertains to DLP violation on message send or edit events. It is used for client -> BE communication and other downstream process in BE (e.g. storage and audit logging), and it should never be returned to the client.", "id": "DataLossPreventionMetadata", "properties": { + "dlpMessageScanRecord": { + "$ref": "DlpMessageScanRecord", + "description": "The scan record contains the action taken on the message send as well as scan the summary for the message contents and the attachment, if applicable." + }, "dlpScanSummary": { "$ref": "DlpScanSummary", - "description": "The DLP scan summary that should only be set after the message is scanned in the Chat backend." + "description": "Deprecated. To be replaced by DLP scan record. The DLP scan summary that should only be set after the message is scanned in the Chat backend." }, "warnAcknowledged": { "description": "Flag set by client on message resend to bypass WARN violation.", @@ -7295,6 +7433,89 @@ }, "type": "object" }, + "DlpMessageScanRecord": { + "description": "A summary of a DLP scan. This is a combination summary that contains both scan on message and scan on attachments if any.", + "id": "DlpMessageScanRecord", + "properties": { + "attachmentScanSummary": { + "$ref": "DlpScanSummary", + "description": "Summaries of the attachment scan if any." + }, + "dlpAction": { + "$ref": "DlpAction", + "description": "The applied action." + }, + "messageScanSummary": { + "$ref": "DlpScanSummary", + "description": "Summaries of the message scan." + }, + "scanOutcome": { + "description": "The DLP scan outcome for the message.", + "enum": [ + "SCAN_UNKNOWN_OUTCOME", + "SCAN_SUCCEEDED_NO_VIOLATION", + "SCAN_SUCCEEDED_BLOCK", + "SCAN_SUCCEEDED_WARN", + "SCAN_SUCCEEDED_AUDIT_ONLY", + "SCAN_FAILURE_EXCEPTION", + "SCAN_FAILURE_RULE_FETCH_FAILED", + "SCAN_FAILURE_TIMEOUT", + "SCAN_FAILURE_ALL_RULES_FAILED", + "SCAN_FAILURE_ILLEGAL_STATE_FOR_ATTACHMENTS", + "SCAN_SKIPPED_EXPERIMENT_DISABLED", + "SCAN_SKIPPED_CONSUMER", + "SCAN_SKIPPED_NON_HUMAN_USER", + "SCAN_SKIPPED_NO_MESSAGE", + "SCAN_SKIPPED_USER_ACKNOWLEDGED_WARNING", + "SCAN_SKIPPED_MESSAGE_FROM_UNSUPPORTED_ORIGIN", + "SCAN_SKIPPED_MESSAGE_SENT_DURING_SPACE_MIGRATION", + "SCAN_RULE_EVALUATION_SKIPPED_NO_RULES_FOUND", + "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES_FOR_ACTION_PARAMS", + "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES_FOR_TRIGGER", + "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES", + "SCAN_RULE_EVALUATION_SKIPPED_CHANGELING_PERMANENT_ERROR", + "SCAN_RULE_EVALUATION_SKIPPED_CHANGELING_EMPTY_RESPONSE", + "SCAN_RULE_EVALUATION_SKIPPED_UNSUPPORTED_FILE_TYPE", + "SCAN_SUCCEEDED_WITH_FAILURES_NO_VIOLATION", + "SCAN_SUCCEEDED_WITH_FAILURES_BLOCK", + "SCAN_SUCCEEDED_WITH_FAILURES_WARN", + "SCAN_SUCCEEDED_WITH_FAILURES_AUDIT_ONLY" + ], + "enumDescriptions": [ + "", + "This means no violation is detected on the given message/attachment.", + "Violation is detected. The message/attachment will be blocked (or deleted if this happens in failure recovery), the user will be warned, and the violation will be logged to BIP.", + "Violation is detected. The user will be warned, and the violation will be logged to BIP.", + "Violation is detected and will be logged to BIP (no user-facing action performed).", + "Rule fetch and evaluation were attempted but an exception occurred.", + "Rule fetch was attempted but failed, so rule evaluation could not be performed.", + "Rule fetch and evaluation were attempted but the scanning timed out.", + "Rule fetch completed and evaluation were attempted, but all of the rules failed to be evaluated.", + "An IllegalStateException is thrown when executing DLP on attachments. This could happen if the space row is missing.", + "Rule fetch and evaluation is skipped because DLP is not enabled for the user.", + "Rule fetch and evaluation are skipped because the user sending message is consumer.", + "Rule fetch and evaluation are skipped because the user sending message is a non-human user (i.e. a bot).", + "Rule fetch and evaluation are skipped because there is no message to scan. Deprecated: this should not happen since there must be message or attachment for DLP scan.", + "Rule fetch and evaluation are skipped because the user has acknowledged the warning on the message that triggered the Warn violation and sent the message anyway.", + "Scanning was skipped because the message originated from Interop or Babel.", + "Scanning was skipped because the message was sent while the space is in migration mode. See go/migration-mode for details.", + "Rule fetch happened, but rule evaluation is skipped because no rules were found.", + "Rule fetch happened, but rule evaluation is skipped because none of the rules are applicable to the given action params. Deprecated. Use SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES", + "Rule fetch happened, but rule evaluation is skipped because none of the rules are applicable to the given trigger. Deprecated. Use SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES", + "Rule fetch happened, but rule evaluation is skipped because none of the rules are applicable.", + "Rule fetch happened, but rule evaluation is skipped because Changeling returned permanent failure while converting the attachment to text.", + "Rule fetch happened, but rule evaluation is skipped because Changeling returned an empty response while converting the attachment to text.", + "Rule fetch happened, but rule evaluation is skipped because file type is unsupported.", + "Rules were fetched but some evaluations failed. No violation was found in the rules that were successfully evaluated.", + "Rules were fetched but some evaluations failed. A blocking violation was found in the rules that were successfully evaluated. The message/attachment will be blocked, the user will be notified, and the violation will be logged to BIP. A blocking violation takes precedence over all other violation types.", + "Rules were fetched but some evaluations failed. A warn violation was found in the rules that were successfully evaluated. The user will be warned, and the violation will be logged to BIP.", + "Rules were fetched but some evaluations failed. An audit-only violation was found in the rules that were successfully evaluated. The violation will be logged to BIP (no user-facing action performed)." + ], + "type": "string" + } + }, + "type": "object" + }, "DlpScanSummary": { "description": "A summary of a DLP scan event. This is a summary and should contain the minimum amount of data required to identify and process DLP scans. It is written to Starcast and encoded & returned to the client on attachment upload.", "id": "DlpScanSummary", @@ -7333,6 +7554,7 @@ "SCAN_RULE_EVALUATION_SKIPPED_NO_RULES_FOUND", "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES_FOR_ACTION_PARAMS", "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES_FOR_TRIGGER", + "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES", "SCAN_RULE_EVALUATION_SKIPPED_CHANGELING_PERMANENT_ERROR", "SCAN_RULE_EVALUATION_SKIPPED_CHANGELING_EMPTY_RESPONSE", "SCAN_RULE_EVALUATION_SKIPPED_UNSUPPORTED_FILE_TYPE", @@ -7360,8 +7582,9 @@ "Scanning was skipped because the message originated from Interop or Babel.", "Scanning was skipped because the message was sent while the space is in migration mode. See go/migration-mode for details.", "Rule fetch happened, but rule evaluation is skipped because no rules were found.", - "Rule fetch happened, but rule evaluation is skipped because none of the rules are applicable to the given action params.", - "Rule fetch happened, but rule evaluation is skipped because none of the rules are applicable to the given trigger.", + "Rule fetch happened, but rule evaluation is skipped because none of the rules are applicable to the given action params. Deprecated. Use SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES", + "Rule fetch happened, but rule evaluation is skipped because none of the rules are applicable to the given trigger. Deprecated. Use SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES", + "Rule fetch happened, but rule evaluation is skipped because none of the rules are applicable.", "Rule fetch happened, but rule evaluation is skipped because Changeling returned permanent failure while converting the attachment to text.", "Rule fetch happened, but rule evaluation is skipped because Changeling returned an empty response while converting the attachment to text.", "Rule fetch happened, but rule evaluation is skipped because file type is unsupported.", @@ -7371,6 +7594,20 @@ "Rules were fetched but some evaluations failed. An audit-only violation was found in the rules that were successfully evaluated. The violation will be logged to BIP (no user-facing action performed)." ], "type": "string" + }, + "scanTrigger": { + "description": "The event that triggered the scan. This corresponds to the rule trigger configured in admin console and maps to the different things that can be scanned.", + "enum": [ + "UNKNOWN_TRIGGER_TYPE", + "MESSAGE_SENT", + "ATTACHMENT_UPLOADED" + ], + "enumDescriptions": [ + "LINT.IfChange", + "", + "LINT.ThenChange(//depot/google3/java/com/google/apps/dynamite/v1/external/dlp/DlpTriggerInfo.java)" + ], + "type": "string" } }, "type": "object" @@ -9681,7 +9918,7 @@ "id": "GoogleChatV1ContextualAddOnMarkupCardSection", "properties": { "header": { - "description": "The header of the section, text formatted supported.", + "description": "The header of the section. Formatted text is supported. For more information about formatting text, see Formatting text in Google Chat apps and Formatting text in Google Workspace Add-ons.", "type": "string" }, "widgets": { @@ -9699,7 +9936,7 @@ "id": "GoogleChatV1WidgetMarkup", "properties": { "buttons": { - "description": "A list of buttons. Buttons is also oneof data and only one of these fields should be set.", + "description": "A list of buttons. Buttons is also `oneof data` and only one of these fields should be set.", "items": { "$ref": "GoogleChatV1WidgetMarkupButton" }, @@ -9882,7 +10119,7 @@ "id": "GoogleChatV1WidgetMarkupKeyValue", "properties": { "bottomLabel": { - "description": "The text of the bottom label. Formatted text supported.", + "description": "The text of the bottom label. Formatted text supported. For more information about formatting text, see Formatting text in Google Chat apps and Formatting text in Google Workspace Add-ons.", "type": "string" }, "button": { @@ -9890,7 +10127,7 @@ "description": "A button that can be clicked to trigger an action." }, "content": { - "description": "The text of the content. Formatted text supported and always required.", + "description": "The text of the content. Formatted text supported and always required. For more information about formatting text, see Formatting text in Google Chat apps and Formatting text in Google Workspace Add-ons.", "type": "string" }, "contentMultiline": { @@ -9976,7 +10213,7 @@ "description": "The onclick action. Only the top label, bottom label and content region are clickable." }, "topLabel": { - "description": "The text of the top label. Formatted text supported.", + "description": "The text of the top label. Formatted text supported. For more information about formatting text, see Formatting text in Google Chat apps and Formatting text in Google Workspace Add-ons.", "type": "string" } }, @@ -10024,7 +10261,7 @@ "type": "object" }, "GoogleChatV1WidgetMarkupTextParagraph": { - "description": "A paragraph of text. Formatted text supported.", + "description": "A paragraph of text. Formatted text supported. For more information about formatting text, see Formatting text in Google Chat apps and Formatting text in Google Workspace Add-ons.", "id": "GoogleChatV1WidgetMarkupTextParagraph", "properties": { "text": { @@ -10994,6 +11231,7 @@ "YANDEX_BROWSER", "SILK_BROWSER", "COC_COC_BROWSER", + "HEADLESS_CHROME", "MAX_BROWSER_APP_VALUE", "GMAIL_APP", "GMAIL_INBOX_APP", @@ -11092,6 +11330,7 @@ "from customized OEM flavours). Yandex Browser", "Amazon Silk browser", "Popoular browser in Vietnam", + "Headless version of Chrome", "Tag for the maximum enum value that represents a browser. Enum values (strictly) between OTHER_APP and this value represent browsers. This should never appear in real data.", "Email apps Gmail", "Inbox by Gmail", @@ -12729,7 +12968,7 @@ "type": "object" }, "MembershipChangedMetadata": { - "description": "Annotation metadata to display system messages for membership changes. Next Tag: 8", + "description": "Annotation metadata to display system messages for membership changes. Next Tag: 13", "id": "MembershipChangedMetadata", "properties": { "affectedMemberProfiles": { @@ -12785,7 +13024,9 @@ "BOT_REMOVED", "KICKED_DUE_TO_OTR_CONFLICT", "ROLE_UPDATED", - "ROLE_TARGET_AUDIENCE_UPDATED" + "ROLE_TARGET_AUDIENCE_UPDATED", + "SPACE_LIMIT_EXCEEDED", + "HUMAN_MEMBERSHIP_DISPLAY_DISABLED" ], "enumDescriptions": [ "Default value for the enum. DO NOT USE.", @@ -12798,7 +13039,9 @@ "Bot removed from the room.", "This signifies the user is kicked because the user's OTR policy is conflicted with the room history settings. Joined -> Non-member. One user.", "MembershipRole changed. Multiple users.", - "The room is now joinable by an" + "The room is now joinable by an", + "Space limit exceeded", + "HUMAN_MEMBERSHIP_DISPLAY_DISABLED indicates that the space has crossed the member size threshold above which human membership change system messages will be muted. This event can only occur once for a space over its lifetime. When this event is received, clients should display a system message stating that human membership changes will no longer be displayed in the space." ], "type": "string" } @@ -13011,6 +13254,14 @@ ], "type": "string" }, + "messageReference": { + "$ref": "MessageReference", + "description": "Contains reference to another message. It is used in shortcuts which are used to collect messages from different spaces with a certain common property into another space. For example, all @mentions of a user are collected into a mention shortcut space (go/chat-shortcuts-backend-design for more details). Most information from the source message (like text) are copied onto top-level Message fields of shortcut messages by the server. The MessageReference is helpful for clients to enable things like click navigation to source message." + }, + "messageSearchInfo": { + "$ref": "AppsDynamiteSharedMessageSearchInfo", + "description": "Contains additional metadata that further annotates this message when returned as a search response. For example, this field can be used to highlight messages during search results rendering. In this case, clients can use this field to highlight matched segments in the message text_body (defined with tag 6)." + }, "messageState": { "description": "State of the message, indicating whether the message is visible to all members in the group or is only visible to the sender only, or the private_message_viewer if it is set.", "enum": [ @@ -13023,6 +13274,11 @@ ], "type": "string" }, + "numberOfUnicodeEmojis": { + "description": "Indicates the number of unicode emojis in the message.", + "format": "int32", + "type": "integer" + }, "originAppSuggestions": { "description": "Indicates if this message contains any suggestions that were provided by any Apps.", "items": { @@ -13279,6 +13535,16 @@ }, "type": "object" }, + "MessageReference": { + "description": "Contains reference to another message. It is used in shortcuts which are used to collect messages from different spaces with a certain common property into another space. For example, all @mentions of a user are collected into a mention shortcut space (go/chat-shortcuts-backend-design for more details). Clients can use this reference to enable navigation to the source message when the shortcut message is clicked and also to identify a few other details about the source message. Other fields (like text) from the source message are copied on to the top-level fields in the Message proto by the server (More details in go/chat-shortcuts-client-server-design).", + "id": "MessageReference", + "properties": { + "sourceInfo": { + "$ref": "SourceMessageInfo" + } + }, + "type": "object" + }, "MessageSet": { "description": "This is proto2's version of MessageSet.", "id": "MessageSet", @@ -14064,6 +14330,10 @@ "description": "Presenter contains information about which device is currently presenting as well as which device requested the presenter to be set.", "id": "Presenter", "properties": { + "annotationInfo": { + "$ref": "AnnotationInfo", + "description": "Screen annotation information associated with this presentation session." + }, "byDeviceId": { "description": "The device resource name of the device which requested the current presenter to be set. This field can not be modified by clients.", "type": "string" @@ -15181,13 +15451,15 @@ "REQUIRED_FEATURE_MESSAGE_QUOTING", "REQUIRED_FEATURE_TOMBSTONES_IN_DMS_AND_UFRS", "REQUIRED_FEATURE_CUSTOM_HYPERLINK", - "REQUIRED_FEATURE_SMART_CHIP" + "REQUIRED_FEATURE_DRIVE_SMART_CHIP", + "REQUIRED_FEATURE_LEGACY_TOPIC_START" ], "enumDescriptions": [ "", "", "", "", + "", "" ], "type": "string" @@ -15684,6 +15956,26 @@ }, "type": "object" }, + "SearchLinkData": { + "description": "SearchLink metadata, for SEARCH_LINK segments. For a search link, the \"text\" field should contain the display text. This is currently not indexed.", + "id": "SearchLinkData", + "properties": { + "kgEntityConfidence": { + "description": "For lightweight scoring in serving time.", + "format": "float", + "type": "number" + }, + "mid": { + "description": "MID of the KG entity being linked.", + "type": "string" + }, + "queryBroadnessScore": { + "format": "float", + "type": "number" + } + }, + "type": "object" + }, "SearchQualityMetadata": { "description": "Additional search quality metadata of the item.", "id": "SearchQualityMetadata", @@ -15890,6 +16182,10 @@ "$ref": "LinkData", "description": "Type-specific metadata. At most one of these should be populated, and the one that is populated should correspond to the type of the Segment. For LINK type:" }, + "searchLinkData": { + "$ref": "SearchLinkData", + "description": "For SEARCH_LINK type:" + }, "text": { "description": "Text content of the Segment. As a general rule, this field should contain the actual text that should be rendered in the UI. Thus, for a hashtag, it should be \"#Foo\", and for a link, it should be the display text. Clients that do not understand a particular segment type may use this text, along with the Formatting info below, as a fallback for display. The field is not required -- if all relevant information is carried in other metadata fields and there is no need for a fallback, or it is not practical for a fallback to be provided for any other reason, the field may be left blank. A standard example would be a user reference being transmitted between server layers, where a gaia-ID representation may be sufficient and there is no need for a textual fallback. In such a case, it would be valid and useful - though not required - for servers to compute and populate a fallback on the serving path.", "type": "string" @@ -15902,7 +16198,8 @@ "LINK", "USER_MENTION", "ALL_USER_MENTION", - "HASHTAG" + "HASHTAG", + "SEARCH_LINK" ], "enumDescriptions": [ "A TEXT segment represents plain-text subject to particular formatting constraints (as represented in the \"formatting\" field of the Segment).", @@ -15910,7 +16207,8 @@ "A LINK segment represents a link to a web entity. The \"text\" field should be used for anchor text. Additional link data should be put in the link_data protobuf.", "A USER_MENTION segment represents a reference to a (possibly non-Gaia, possibly off-network) user. The \"text\" field may be populated as a fallback, but information identifying the user should be contained in the user_mention_data protobuf. (The set of fields that are populated in user_mention_data may differ depending on the context in which the segment is viewed, but the interpretation of the fields is uniform. See comments over UserMentionData).", "An ALL_USER_MENTION segment represents a reference to all users in the context, that is, the conversation, discussion, or other context containing the segment. For example, an ALL_USER_MENTION segment (\"@all\") can be useful to ping all participants in a conversation if the notification setting of the conversation is not set to ping on normal messages. An ALL_USER_MENTION should be treated as a USER_MENTION for all users who receives the segment.", - "A HASHTAG segment represents a structured reference to a topic. The \"text\" field should represent display text (e.g. \"#Google\"), and additional metadata should be put in the Segment's hashtag_data field." + "A HASHTAG segment represents a structured reference to a topic. The \"text\" field should represent display text (e.g. \"#Google\"), and additional metadata should be put in the Segment's hashtag_data field.", + "A SEARCH_LINK segment respresents a link to search results for a KG entity. The \"text\" field should represent the part of the comment where the KG entity is extracted from, and additional metadata of the entity should be put in the Segment's search_link_data field." ], "type": "string" }, @@ -16156,6 +16454,10 @@ "description": "The chat lock of the meeting space that lets owner control whether the participants can send chat messages.", "type": "boolean" }, + "coActivityLock": { + "description": "The co-activity lock of the meeting space that lets owner control whether the participants can start/stop or update the state of co-activity.", + "type": "boolean" + }, "cohostArtifactSharingEnabled": { "description": "Whether meeting artifacts will be shared with cohosts.", "type": "boolean" @@ -16482,6 +16784,29 @@ }, "type": "object" }, + "SourceMessageInfo": { + "id": "SourceMessageInfo", + "properties": { + "messageId": { + "$ref": "MessageId", + "description": "Source message ID" + }, + "messageType": { + "enum": [ + "SOURCE_MESSAGE_TYPE_UNDEFINED", + "ROOT_MESSAGE", + "INLINE_REPLY" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, "SourceResultCount": { "description": "Per source result count information.", "id": "SourceResultCount", @@ -18123,10 +18448,10 @@ ], "enumDescriptions": [ "Default value for the enum. DO NOT USE.", - "", - "", - "", - "", + "An @mention that invites a new member into the space", + "DEPRECATED: An @mention that removes a member from a space. Support for this has been removed.", + "An @mention of an existing member in the space.", + "An @mention of all members in the space.", "Server-generated user mention, for clients to strikethrough." ], "type": "string"