From 80826620580eaf4ae9fb63c44bf54a24191e53a6 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 31 Jan 2023 07:07:56 +0000 Subject: [PATCH] feat(cloudsearch): update the api #### cloudsearch:v1 The following keys were deleted: - schemas.AppsDynamiteSharedAction (Total Keys: 11) - schemas.AppsDynamiteSharedBorderStyle (Total Keys: 6) - schemas.AppsDynamiteSharedButton (Total Keys: 12) - schemas.AppsDynamiteSharedCard (Total Keys: 24) - schemas.AppsDynamiteSharedColumns (Total Keys: 21) - schemas.AppsDynamiteSharedDateTimePicker (Total Keys: 10) - schemas.AppsDynamiteSharedDecoratedText (Total Keys: 19) - schemas.AppsDynamiteSharedDivider (Total Keys: 2) - schemas.AppsDynamiteSharedGrid (Total Keys: 14) - schemas.AppsDynamiteSharedIcon (Total Keys: 5) - schemas.AppsDynamiteSharedImage (Total Keys: 15) - schemas.AppsDynamiteSharedOnClick (Total Keys: 6) - schemas.AppsDynamiteSharedOpenLink (Total Keys: 19) - schemas.AppsDynamiteSharedSelectionInput (Total Keys: 13) - schemas.AppsDynamiteSharedSuggestions (Total Keys: 7) - schemas.AppsDynamiteSharedTextInput (Total Keys: 10) - schemas.AppsDynamiteSharedTextParagraph (Total Keys: 3) - schemas.AppsDynamiteSharedWidget (Total Keys: 13) The following keys were added: - schemas.AppsDynamiteSharedBackendUploadMetadata.properties.isClientSideTranscodedVideo.type (Total Keys: 1) - schemas.AppsDynamiteStorageAction (Total Keys: 11) - schemas.AppsDynamiteStorageBorderStyle (Total Keys: 6) - schemas.AppsDynamiteStorageButton (Total Keys: 12) - schemas.AppsDynamiteStorageCard (Total Keys: 24) - schemas.AppsDynamiteStorageColumns (Total Keys: 21) - schemas.AppsDynamiteStorageDateTimePicker (Total Keys: 10) - schemas.AppsDynamiteStorageDecoratedText (Total Keys: 19) - schemas.AppsDynamiteStorageDivider (Total Keys: 2) - schemas.AppsDynamiteStorageGrid (Total Keys: 14) - schemas.AppsDynamiteStorageIcon (Total Keys: 5) - schemas.AppsDynamiteStorageImage (Total Keys: 15) - schemas.AppsDynamiteStorageOnClick (Total Keys: 6) - schemas.AppsDynamiteStorageOpenLink (Total Keys: 19) - schemas.AppsDynamiteStorageSelectionInput (Total Keys: 13) - schemas.AppsDynamiteStorageSuggestions (Total Keys: 7) - schemas.AppsDynamiteStorageTextInput (Total Keys: 10) - schemas.AppsDynamiteStorageTextParagraph (Total Keys: 3) - schemas.AppsDynamiteStorageWidget (Total Keys: 13) - schemas.CallInfo.properties.availableAccessTypes (Total Keys: 2) - schemas.DynamiteMessagesScoringInfo.properties.messageSenderAffinityScore (Total Keys: 2) - schemas.DynamiteMessagesScoringInfo.properties.unjoinedSpaceAffinityScore (Total Keys: 2) - schemas.YouTubeLiveBroadcastEvent.properties.brandAccountGaiaId.type (Total Keys: 1) The following keys were changed: - schemas.Attachment.properties.cardAddOnData.$ref (Total Keys: 1) --- .../cloudsearch_v1.indexing.datasources.html | 4 +- .../documents/cloudsearch.v1.json | 2165 +++++++++-------- 2 files changed, 1102 insertions(+), 1067 deletions(-) diff --git a/docs/dyn/cloudsearch_v1.indexing.datasources.html b/docs/dyn/cloudsearch_v1.indexing.datasources.html index f1a72fe3ca7..997deb15845 100644 --- a/docs/dyn/cloudsearch_v1.indexing.datasources.html +++ b/docs/dyn/cloudsearch_v1.indexing.datasources.html @@ -230,7 +230,7 @@

Method Details

}, "orderedRanking": "A String", # Used to specify the ordered ranking for the integer. Can only be used if isRepeatable is false. }, - "isFacetable": True or False, # Indicates that the property can be used for generating facets. Cannot be true for properties whose type is object. IsReturnable must be true to set this option. Only supported for boolean, enum, and text properties. + "isFacetable": True or False, # Indicates that the property can be used for generating facets. Cannot be true for properties whose type is object. IsReturnable must be true to set this option. Only supported for boolean, enum, integer, and text properties. "isRepeatable": True or False, # Indicates that multiple values are allowed for the property. For example, a document only has one description but can have multiple comments. Cannot be true for properties whose type is a boolean. If set to false, properties that contain more than one value cause the indexing request for that item to be rejected. "isReturnable": True or False, # Indicates that the property identifies data that should be returned in search results via the Query API. If set to *true*, indicates that Query API users can use matching property fields in results. However, storing fields requires more space allocation and uses more bandwidth for search queries, which impacts performance over large datasets. Set to *true* here only if the field is needed for search results. Cannot be true for properties whose type is an object. "isSortable": True or False, # Indicates that the property can be used for sorting. Cannot be true for properties that are repeatable. Cannot be true for properties whose type is object. IsReturnable must be true to set this option. Only supported for boolean, date, double, integer, and timestamp properties. @@ -363,7 +363,7 @@

Method Details

}, "orderedRanking": "A String", # Used to specify the ordered ranking for the integer. Can only be used if isRepeatable is false. }, - "isFacetable": True or False, # Indicates that the property can be used for generating facets. Cannot be true for properties whose type is object. IsReturnable must be true to set this option. Only supported for boolean, enum, and text properties. + "isFacetable": True or False, # Indicates that the property can be used for generating facets. Cannot be true for properties whose type is object. IsReturnable must be true to set this option. Only supported for boolean, enum, integer, and text properties. "isRepeatable": True or False, # Indicates that multiple values are allowed for the property. For example, a document only has one description but can have multiple comments. Cannot be true for properties whose type is a boolean. If set to false, properties that contain more than one value cause the indexing request for that item to be rejected. "isReturnable": True or False, # Indicates that the property identifies data that should be returned in search results via the Query API. If set to *true*, indicates that Query API users can use matching property fields in results. However, storing fields requires more space allocation and uses more bandwidth for search queries, which impacts performance over large datasets. Set to *true* here only if the field is needed for search results. Cannot be true for properties whose type is an object. "isSortable": True or False, # Indicates that the property can be used for sorting. Cannot be true for properties that are repeatable. Cannot be true for properties whose type is object. IsReturnable must be true to set this option. Only supported for boolean, date, double, integer, and timestamp properties. diff --git a/googleapiclient/discovery_cache/documents/cloudsearch.v1.json b/googleapiclient/discovery_cache/documents/cloudsearch.v1.json index 53c2ea46cda..093481b2dc3 100644 --- a/googleapiclient/discovery_cache/documents/cloudsearch.v1.json +++ b/googleapiclient/discovery_cache/documents/cloudsearch.v1.json @@ -2077,7 +2077,7 @@ } } }, - "revision": "20221129", + "revision": "20230117", "rootUrl": "https://cloudsearch.googleapis.com/", "schemas": { "AbuseReportingConfig": { @@ -2562,61 +2562,6 @@ }, "type": "object" }, - "AppsDynamiteSharedAction": { - "description": "An action that describes the behavior when the form is submitted. For example, an Apps Script can be invoked to handle the form.", - "id": "AppsDynamiteSharedAction", - "properties": { - "function": { - "description": "Apps Script function to invoke when the containing element is clicked/activated.", - "type": "string" - }, - "interaction": { - "enum": [ - "INTERACTION_UNSPECIFIED", - "OPEN_DIALOG" - ], - "enumDescriptions": [ - "Default value if interaction is not specified.", - "A dialog opens by clicking the button." - ], - "type": "string" - }, - "loadIndicator": { - "enum": [ - "SPINNER", - "NONE" - ], - "enumDescriptions": [ - "Displays a spinner to indicate that content is loading.", - "Nothing is displayed." - ], - "type": "string" - }, - "parameters": { - "description": "List of action parameters.", - "items": { - "$ref": "AppsDynamiteSharedActionActionParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AppsDynamiteSharedActionActionParameter": { - "description": "List of string parameters to supply when the action method is invoked. For example, consider three snooze buttons: snooze now, snooze 1 day, snooze next week. You might use action method = snooze(), passing the snooze type and snooze time in the list of string parameters.", - "id": "AppsDynamiteSharedActionActionParameter", - "properties": { - "key": { - "description": "The name of the parameter for the action script.", - "type": "string" - }, - "value": { - "description": "The value of the parameter.", - "type": "string" - } - }, - "type": "object" - }, "AppsDynamiteSharedActivityFeedAnnotationData": { "description": "Next Id: 7", "id": "AppsDynamiteSharedActivityFeedAnnotationData", @@ -2934,6 +2879,10 @@ "$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", + "type": "boolean" + }, "originalDimension": { "$ref": "AppsDynamiteSharedDimension", "description": "Original dimension of the content. Only set for image attachments." @@ -2985,80 +2934,6 @@ }, "type": "object" }, - "AppsDynamiteSharedBorderStyle": { - "description": "Represents the complete border style applied to widgets.", - "id": "AppsDynamiteSharedBorderStyle", - "properties": { - "cornerRadius": { - "description": "The corner radius for the border.", - "format": "int32", - "type": "integer" - }, - "strokeColor": { - "$ref": "Color", - "description": "The colors to use when the type is `BORDER_TYPE_STROKE`." - }, - "type": { - "description": "The border type.", - "enum": [ - "BORDER_TYPE_UNSPECIFIED", - "NO_BORDER", - "STROKE" - ], - "enumDescriptions": [ - "No value specified.", - "No border.", - "Outline." - ], - "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteSharedButton": { - "description": "A button. Can be a text button or an image button.", - "id": "AppsDynamiteSharedButton", - "properties": { - "altText": { - "description": "The alternative text used for accessibility. Has no effect when an icon is set; use `icon.alt_text` instead.", - "type": "string" - }, - "color": { - "$ref": "Color", - "description": "If set, the button is filled with a solid background." - }, - "disabled": { - "description": "If true, the button is displayed in a disabled state and doesn't respond to user actions.", - "type": "boolean" - }, - "icon": { - "$ref": "AppsDynamiteSharedIcon", - "description": "The icon image." - }, - "onClick": { - "$ref": "AppsDynamiteSharedOnClick", - "description": "The action to perform when the button is clicked." - }, - "text": { - "description": "The text of the button.", - "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteSharedButtonList": { - "description": "A list of buttons layed out horizontally.", - "id": "AppsDynamiteSharedButtonList", - "properties": { - "buttons": { - "items": { - "$ref": "AppsDynamiteSharedButton" - }, - "type": "array" - } - }, - "type": "object" - }, "AppsDynamiteSharedCalendarEventAnnotationData": { "id": "AppsDynamiteSharedCalendarEventAnnotationData", "properties": { @@ -3158,84 +3033,6 @@ }, "type": "object" }, - "AppsDynamiteSharedCard": { - "description": "A card is a UI element that can contain UI widgets such as text and images. For more information, see Cards . For example, the following JSON creates a card that has a header with the name, position, icons, and link for a contact, followed by a section with contact information like email and phone number. ``` { \"header\": { \"title\": \"Heba Salam\", \"subtitle\": \"Software Engineer\", \"imageStyle\": \"ImageStyle.AVATAR\", \"imageUrl\": \"https://example.com/heba_salam.png\", \"imageAltText\": \"Avatar for Heba Salam\" }, \"sections\" : [ { \"header\": \"Contact Info\", \"widgets\": [ { \"decorated_text\": { \"icon\": { \"knownIcon\": \"EMAIL\" }, \"content\": \"heba.salam@example.com\" } }, { \"decoratedText\": { \"icon\": { \"knownIcon\": \"PERSON\" }, \"content\": \"Online\" } }, { \"decoratedText\": { \"icon\": { \"knownIcon\": \"PHONE\" }, \"content\": \"+1 (555) 555-1234\" } }, { \"buttons\": [ { \"textButton\": { \"text\": \"Share\", }, \"onClick\": { \"openLink\": { \"url\": \"https://example.com/share\" } } }, { \"textButton\": { \"text\": \"Edit\", }, \"onClick\": { \"action\": { \"function\": \"goToView\", \"parameters\": [ { \"key\": \"viewType\", \"value\": \"EDIT\" } ], \"loadIndicator\": \"LoadIndicator.SPINNER\" } } } ] } ], \"collapsible\": true, \"uncollapsibleWidgetsCount\": 3 } ], \"cardActions\": [ { \"actionLabel\": \"Send Feedback\", \"onClick\": { \"openLink\": { \"url\": \"https://example.com/feedback\" } } } ], \"name\": \"contact-card-K3wB6arF2H9L\" } ```", - "id": "AppsDynamiteSharedCard", - "properties": { - "cardActions": { - "description": "The actions of this card. They are added to a card's generated toolbar menu. For example, the following JSON constructs a card action menu with Settings and Send Feedback options: ``` \"card_actions\": [ { \"actionLabel\": \"Setting\", \"onClick\": { \"action\": { \"functionName\": \"goToView\", \"parameters\": [ { \"key\": \"viewType\", \"value\": \"SETTING\" } ], \"loadIndicator\": \"LoadIndicator.SPINNER\" } } }, { \"actionLabel\": \"Send Feedback\", \"onClick\": { \"openLink\": { \"url\": \"https://example.com/feedback\" } } } ] ```", - "items": { - "$ref": "AppsDynamiteSharedCardCardAction" - }, - "type": "array" - }, - "header": { - "$ref": "AppsDynamiteSharedCardCardHeader", - "description": "The header of the card. A header usually contains a title and an image." - }, - "name": { - "description": "Name of the card, which is used as a identifier for the card in card navigation.", - "type": "string" - }, - "sections": { - "description": "Sections are separated by a line divider.", - "items": { - "$ref": "AppsDynamiteSharedCardSection" - }, - "type": "array" - } - }, - "type": "object" - }, - "AppsDynamiteSharedCardCardAction": { - "description": "A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser.", - "id": "AppsDynamiteSharedCardCardAction", - "properties": { - "actionLabel": { - "description": "The label that displays as the action menu item.", - "type": "string" - }, - "onClick": { - "$ref": "AppsDynamiteSharedOnClick", - "description": "The onclick action for this action item." - } - }, - "type": "object" - }, - "AppsDynamiteSharedCardCardHeader": { - "id": "AppsDynamiteSharedCardCardHeader", - "properties": { - "imageAltText": { - "description": "The alternative text of this image which is used for accessibility.", - "type": "string" - }, - "imageType": { - "description": "The image's type.", - "enum": [ - "SQUARE", - "CIRCLE" - ], - "enumDescriptions": [ - "Applies no cropping to the image.", - "Applies a circular mask to the image." - ], - "type": "string" - }, - "imageUrl": { - "description": "The URL of the image in the card header.", - "type": "string" - }, - "subtitle": { - "description": "The subtitle of the card header.", - "type": "string" - }, - "title": { - "description": "The title of the card header. The title must be specified. The header has a fixed height: if both a title and subtitle are specified, each takes up one line. If only the title is specified, it takes up both lines.", - "type": "string" - } - }, - "type": "object" - }, "AppsDynamiteSharedCardClickSuggestion": { "description": "Card click which identifies one suggestion provided by the app/bot.", "id": "AppsDynamiteSharedCardClickSuggestion", @@ -3251,33 +3048,6 @@ }, "type": "object" }, - "AppsDynamiteSharedCardSection": { - "description": "A section contains a collection of widgets that are rendered vertically in the order that they are specified. Across all platforms, cards have a narrow fixed width, so there is currently no need for layout properties, for example, float.", - "id": "AppsDynamiteSharedCardSection", - "properties": { - "collapsible": { - "description": "Indicates whether this section is collapsible. If a section is collapsible, the description must be given.", - "type": "boolean" - }, - "header": { - "description": "The header of the section. Formatted text is supported.", - "type": "string" - }, - "uncollapsibleWidgetsCount": { - "description": "The number of uncollapsible widgets. For example, when a section contains five widgets and the `numUncollapsibleWidget` is set to `2`, the first two widgets are always shown and the last three are collapsed as default. The `numUncollapsibleWidget` is taken into account only when collapsible is set to `true`.", - "format": "int32", - "type": "integer" - }, - "widgets": { - "description": "A section must contain at least 1 widget.", - "items": { - "$ref": "AppsDynamiteSharedWidget" - }, - "type": "array" - } - }, - "type": "object" - }, "AppsDynamiteSharedChatItem": { "description": "Next Id: 5", "id": "AppsDynamiteSharedChatItem", @@ -3413,7 +3183,7 @@ "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. 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. 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" }, @@ -3432,169 +3202,46 @@ }, "type": "object" }, - "AppsDynamiteSharedColumns": { - "description": "Represents a Columns widget that displays a single row of columns.", - "id": "AppsDynamiteSharedColumns", + "AppsDynamiteSharedContentReportType": { + "description": "Denotes a type of content report a user can send.", + "id": "AppsDynamiteSharedContentReportType", "properties": { - "columnItems": { - "description": "Each card supports up to 2 columns.", - "items": { - "$ref": "AppsDynamiteSharedColumnsColumn" - }, - "type": "array" - }, - "wrapStyle": { - "description": "Controls how the column resizes based on screen width.", + "systemViolation": { + "description": "Required. Google-defined system violation, covering the most common violations.", "enum": [ - "WRAP_STYLE_UNSPECIFIED", - "NOWRAP", - "WRAP" + "VIOLATION_UNSPECIFIED", + "HARASSMENT", + "DISCRIMINATION", + "EXPLICIT_CONTENT", + "SPAM", + "CONFIDENTIAL_INFORMATION", + "SENSITIVE_INFORMATION", + "FRAUD", + "MALWARE", + "ILLEGAL_ACTIVITIES", + "OTHER" ], "enumDescriptions": [ - "Unspecified.", - "Column widgets don't wrap.", - "Column Widgets wrap." + "Default value if unset. Do not use directly. This value should not appear as a selectable violation during content reporting.", + "\"Harassment, offensive, or rude behavior\"", + "\"Discrimination or harmful stereotypes against anyone, including protected groups\"", + "\"Explicit content that's graphic, violent, or otherwise inappropriate\"", + "\"Spam\"", + "\"Confidential information\"", + "\"Sensitive information\"", + "Phishing, impersonation/misrepresentation, or deceiving other users into sharing information under false pretenses.", + "Malware, viruses, Trojan horses, corrupted files, destructive code, etc.", + "Promoting, organizing, or engaging in illegal activities.", + "\"Something else\"" ], "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedColumnsColumn": { - "description": "Represents a Column that consists of widgets stacked vertically.", - "id": "AppsDynamiteSharedColumnsColumn", - "properties": { - "horizontalAlignment": { - "description": "The horizontal alignment of the column.", - "enum": [ - "HORIZONTAL_ALIGNMENT_UNSPECIFIED", - "START", - "CENTER", - "END" - ], - "enumDescriptions": [ - "Unspecified alignment.", - "Alignment to the start position.", - "Alignment to the center position.", - "Alignment to the end position." - ], - "type": "string" - }, - "horizontalSizeStyle": { - "description": "Specifies how the column content is sized horizontally.", - "enum": [ - "HORIZONTAL_SIZE_STYLE_UNSPECIFIED", - "FILL_AVAILABLE_SPACE", - "FILL_MINIMUM_SPACE" - ], - "enumDescriptions": [ - "Unspecified.", - "Fills up the available horizontal width. Default value if unspecified.", - "Fills up the minimum horizontal width." - ], - "type": "string" - }, - "verticalAlignment": { - "description": "The vertical alignment of the column.", - "enum": [ - "VERTICAL_ALIGNMENT_UNSPECIFIED", - "CENTER", - "TOP", - "BOTTOM" - ], - "enumDescriptions": [ - "Unspecified.", - "Aligns the widget in the center of the column. Default value if unspecified.", - "Aligns the widget at the top of the column.", - "Aligns the widget at the bottom of the column." - ], - "type": "string" - }, - "widgets": { - "description": "LINT.ThenChange(//google/apps/card/v1/card.proto) Array of widgets included in the column.", - "items": { - "$ref": "AppsDynamiteSharedColumnsColumnWidgets" - }, - "type": "array" - } - }, - "type": "object" - }, - "AppsDynamiteSharedColumnsColumnWidgets": { - "description": "LINT.IfChange The `column` widget can contain these widgets.", - "id": "AppsDynamiteSharedColumnsColumnWidgets", - "properties": { - "buttonList": { - "$ref": "AppsDynamiteSharedButtonList", - "description": "ButtonList widget." - }, - "dateTimePicker": { - "$ref": "AppsDynamiteSharedDateTimePicker", - "description": "DateTimePicker widget." - }, - "decoratedText": { - "$ref": "AppsDynamiteSharedDecoratedText", - "description": "DecoratedText widget." - }, - "image": { - "$ref": "AppsDynamiteSharedImage", - "description": "Image widget." - }, - "selectionInput": { - "$ref": "AppsDynamiteSharedSelectionInput", - "description": "SelectionInput widget." - }, - "textInput": { - "$ref": "AppsDynamiteSharedTextInput", - "description": "TextInput widget." - }, - "textParagraph": { - "$ref": "AppsDynamiteSharedTextParagraph", - "description": "Text paragraph widget." - } - }, - "type": "object" - }, - "AppsDynamiteSharedContentReportType": { - "description": "Denotes a type of content report a user can send.", - "id": "AppsDynamiteSharedContentReportType", - "properties": { - "systemViolation": { - "description": "Required. Google-defined system violation, covering the most common violations.", - "enum": [ - "VIOLATION_UNSPECIFIED", - "HARASSMENT", - "DISCRIMINATION", - "EXPLICIT_CONTENT", - "SPAM", - "CONFIDENTIAL_INFORMATION", - "SENSITIVE_INFORMATION", - "FRAUD", - "MALWARE", - "ILLEGAL_ACTIVITIES", - "OTHER" - ], - "enumDescriptions": [ - "Default value if unset. Do not use directly. This value should not appear as a selectable violation during content reporting.", - "\"Harassment, offensive, or rude behavior\"", - "\"Discrimination or harmful stereotypes against anyone, including protected groups\"", - "\"Explicit content that's graphic, violent, or otherwise inappropriate\"", - "\"Spam\"", - "\"Confidential information\"", - "\"Sensitive information\"", - "Phishing, impersonation/misrepresentation, or deceiving other users into sharing information under false pretenses.", - "Malware, viruses, Trojan horses, corrupted files, destructive code, etc.", - "Promoting, organizing, or engaging in illegal activities.", - "\"Something else\"" - ], - "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteSharedCustomEmoji": { - "description": "Proto representation of a custom emoji. May be used in both APIs and in Spanner, but certain fields should be restricted to one or the other. See the per-field documentation for details. NEXT_TAG: 14", - "id": "AppsDynamiteSharedCustomEmoji", + "AppsDynamiteSharedCustomEmoji": { + "description": "Proto representation of a custom emoji. May be used in both APIs and in Spanner, but certain fields should be restricted to one or the other. See the per-field documentation for details. NEXT_TAG: 14", + "id": "AppsDynamiteSharedCustomEmoji", "properties": { "blobId": { "description": "ID for the underlying image data in Blobstore. This field should *only* be present in Spanner or within the server, but should not be exposed in public APIs.", @@ -3664,132 +3311,6 @@ }, "type": "object" }, - "AppsDynamiteSharedDateTimePicker": { - "description": "The widget that lets users to specify a date and time.", - "id": "AppsDynamiteSharedDateTimePicker", - "properties": { - "label": { - "description": "The label for the field that displays to the user.", - "type": "string" - }, - "name": { - "description": "The name of the text input that's used in formInput, and uniquely identifies this input.", - "type": "string" - }, - "onChangeAction": { - "$ref": "AppsDynamiteSharedAction", - "description": "Triggered when the user clicks Save or Clear from the date/time picker dialog. This is only triggered if the value changed as a result of the Save/Clear operation." - }, - "timezoneOffsetDate": { - "description": "The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If not set, it uses the user's time zone setting on the client side.", - "format": "int32", - "type": "integer" - }, - "type": { - "description": "The type of the date/time picker.", - "enum": [ - "DATE_AND_TIME", - "DATE_ONLY", - "TIME_ONLY" - ], - "enumDescriptions": [ - "The user can select a date and time.", - "The user can only select a date.", - "The user can only select a time." - ], - "type": "string" - }, - "valueMsEpoch": { - "description": "The value to display as the default value before user input or previous user input. It is represented in milliseconds (Epoch time). For `DATE_AND_TIME` type, the full epoch value is used. For `DATE_ONLY` type, only date of the epoch time is used. For `TIME_ONLY` type, only time of the epoch time is used. For example, you can set epoch time to `3 * 60 * 60 * 1000` to represent 3am.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteSharedDecoratedText": { - "description": "A widget that displays text with optional decorations such as a label above or below the text, an icon in front of the text, a selection widget or a button after the text.", - "id": "AppsDynamiteSharedDecoratedText", - "properties": { - "bottomLabel": { - "description": "The formatted text label that shows below the main text.", - "type": "string" - }, - "button": { - "$ref": "AppsDynamiteSharedButton", - "description": "A button that can be clicked to trigger an action." - }, - "endIcon": { - "$ref": "AppsDynamiteSharedIcon", - "description": "An icon displayed after the text." - }, - "icon": { - "$ref": "AppsDynamiteSharedIcon", - "description": "Deprecated in favor of start_icon." - }, - "onClick": { - "$ref": "AppsDynamiteSharedOnClick", - "description": "Only the top and bottom label and content region are clickable." - }, - "startIcon": { - "$ref": "AppsDynamiteSharedIcon", - "description": "The icon displayed in front of the text." - }, - "switchControl": { - "$ref": "AppsDynamiteSharedDecoratedTextSwitchControl", - "description": "A switch widget can be clicked to change its state or trigger an action." - }, - "text": { - "description": "Required. The main widget formatted text. See Text formatting for details.", - "type": "string" - }, - "topLabel": { - "description": "The formatted text label that shows above the main text.", - "type": "string" - }, - "wrapText": { - "description": "The wrap text setting. If `true`, the text is wrapped and displayed in multiline. Otherwise, the text is truncated.", - "type": "boolean" - } - }, - "type": "object" - }, - "AppsDynamiteSharedDecoratedTextSwitchControl": { - "id": "AppsDynamiteSharedDecoratedTextSwitchControl", - "properties": { - "controlType": { - "description": "The control type, either switch or checkbox.", - "enum": [ - "SWITCH", - "CHECKBOX", - "CHECK_BOX" - ], - "enumDescriptions": [ - "", - "Deprecated in favor of `CHECK_BOX`.", - "" - ], - "type": "string" - }, - "name": { - "description": "The name of the switch widget that's used in formInput.", - "type": "string" - }, - "onChangeAction": { - "$ref": "AppsDynamiteSharedAction", - "description": "The action when the switch state is changed." - }, - "selected": { - "description": "If the switch is selected.", - "type": "boolean" - }, - "value": { - "description": "The value is what is passed back in the callback.", - "type": "string" - } - }, - "type": "object" - }, "AppsDynamiteSharedDimension": { "description": "Dimension for the uploaded attachments.", "id": "AppsDynamiteSharedDimension", @@ -3805,12 +3326,6 @@ }, "type": "object" }, - "AppsDynamiteSharedDivider": { - "description": "A divider that appears in between widgets.", - "id": "AppsDynamiteSharedDivider", - "properties": {}, - "type": "object" - }, "AppsDynamiteSharedDlpMetricsMetadata": { "description": "LINT.IfChange", "id": "AppsDynamiteSharedDlpMetricsMetadata", @@ -3906,97 +3421,13 @@ }, "type": "object" }, - "AppsDynamiteSharedGrid": { - "description": "Represents a Grid widget that displays items in a configurable grid layout.", - "id": "AppsDynamiteSharedGrid", + "AppsDynamiteSharedGroupDetails": { + "description": "NEXT TAG: 3 A GroupDetails proto will store the information pertaining to single Group.", + "id": "AppsDynamiteSharedGroupDetails", "properties": { - "borderStyle": { - "$ref": "AppsDynamiteSharedBorderStyle", - "description": "The border style to apply to each grid item." - }, - "columnCount": { - "description": "The number of columns to display in the grid. A default value is used if this field isn't specified, and that default value is different depending on where the grid is shown (dialog versus companion).", - "format": "int32", - "type": "integer" - }, - "items": { - "description": "The items to display in the grid.", - "items": { - "$ref": "AppsDynamiteSharedGridGridItem" - }, - "type": "array" - }, - "onClick": { - "$ref": "AppsDynamiteSharedOnClick", - "description": "This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters." - }, - "title": { - "description": "The text that displays in the grid header.", - "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteSharedGridGridItem": { - "description": "Represents a single item in the grid layout.", - "id": "AppsDynamiteSharedGridGridItem", - "properties": { - "id": { - "description": "A user-specified identifier for this grid item. This identifier is returned in the parent Grid's onClick callback parameters.", - "type": "string" - }, - "image": { - "$ref": "AppsDynamiteSharedImageComponent", - "description": "The image that displays in the grid item." - }, - "layout": { - "description": "The layout to use for the grid item.", - "enum": [ - "GRID_ITEM_LAYOUT_UNSPECIFIED", - "TEXT_BELOW", - "TEXT_ABOVE" - ], - "enumDescriptions": [ - "No layout specified.", - "The title and subtitle are shown below the grid item's image.", - "The title and subtitle are shown above the grid item's image." - ], - "type": "string" - }, - "subtitle": { - "description": "The grid item's subtitle.", - "type": "string" - }, - "textAlignment": { - "description": "The horizontal alignment of the grid item's text.", - "enum": [ - "HORIZONTAL_ALIGNMENT_UNSPECIFIED", - "START", - "CENTER", - "END" - ], - "enumDescriptions": [ - "Unspecified alignment.", - "Alignment to the start position.", - "Alignment to the center position.", - "Alignment to the end position." - ], - "type": "string" - }, - "title": { - "description": "The grid item's title.", - "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteSharedGroupDetails": { - "description": "NEXT TAG: 3 A GroupDetails proto will store the information pertaining to single Group.", - "id": "AppsDynamiteSharedGroupDetails", - "properties": { - "description": { - "description": "A simple text that describes the purpose of a single Group, the general theme of the topics to be posted and/or the denominator of the Group participants.", - "type": "string" + "description": { + "description": "A simple text that describes the purpose of a single Group, the general theme of the topics to be posted and/or the denominator of the Group participants.", + "type": "string" }, "guidelines": { "description": "A simple text describing the rules and expectations from members when participating in conversation.", @@ -4024,106 +3455,6 @@ }, "type": "object" }, - "AppsDynamiteSharedIcon": { - "id": "AppsDynamiteSharedIcon", - "properties": { - "altText": { - "description": "The description of the icon, used for accessibility. The default value is provided if you don't specify one.", - "type": "string" - }, - "iconUrl": { - "description": "The icon specified by a URL.", - "type": "string" - }, - "imageType": { - "description": "The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a standard icon.", - "enum": [ - "SQUARE", - "CIRCLE" - ], - "enumDescriptions": [ - "Applies no cropping to the image.", - "Applies a circular mask to the image." - ], - "type": "string" - }, - "knownIcon": { - "description": "The icon specified by the string name of a list of known icons", - "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteSharedImage": { - "description": "An image that is specified by a URL and can have an onClick action.", - "id": "AppsDynamiteSharedImage", - "properties": { - "altText": { - "description": "The alternative text of this image, used for accessibility.", - "type": "string" - }, - "imageUrl": { - "description": "An image URL.", - "type": "string" - }, - "onClick": { - "$ref": "AppsDynamiteSharedOnClick" - } - }, - "type": "object" - }, - "AppsDynamiteSharedImageComponent": { - "id": "AppsDynamiteSharedImageComponent", - "properties": { - "altText": { - "description": "The accessibility label for the image.", - "type": "string" - }, - "borderStyle": { - "$ref": "AppsDynamiteSharedBorderStyle", - "description": "The border style to apply to the image." - }, - "cropStyle": { - "$ref": "AppsDynamiteSharedImageCropStyle", - "description": "The crop style to apply to the image." - }, - "imageUri": { - "description": "The image URL.", - "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteSharedImageCropStyle": { - "description": "Represents the crop style applied to an image.", - "id": "AppsDynamiteSharedImageCropStyle", - "properties": { - "aspectRatio": { - "description": "The aspect ratio to use if the crop type is `RECTANGLE_CUSTOM`.", - "format": "double", - "type": "number" - }, - "type": { - "description": "The crop type.", - "enum": [ - "IMAGE_CROP_TYPE_UNSPECIFIED", - "SQUARE", - "CIRCLE", - "RECTANGLE_CUSTOM", - "RECTANGLE_4_3" - ], - "enumDescriptions": [ - "No value specified.", - "Applies a square crop.", - "Applies a circular crop.", - "Applies a rectangular crop with a custom aspect ratio.", - "Applies a rectangular crop with a 4:3 aspect ratio." - ], - "type": "string" - } - }, - "type": "object" - }, "AppsDynamiteSharedJustification": { "description": "Data for rendering a justification for a document.", "id": "AppsDynamiteSharedJustification", @@ -4258,116 +3589,6 @@ }, "type": "object" }, - "AppsDynamiteSharedOnClick": { - "id": "AppsDynamiteSharedOnClick", - "properties": { - "action": { - "$ref": "AppsDynamiteSharedAction", - "description": "If specified, an action is triggered by this onClick." - }, - "hostAppAction": { - "$ref": "HostAppActionMarkup", - "description": "Triggers host app action on click directly without invoking form actions. This is currently not available to end-users and is used internal only." - }, - "openDynamicLinkAction": { - "$ref": "AppsDynamiteSharedAction", - "description": "An add-on triggers this action when the action needs to open a link. This differs from the open_link above in that this needs to talk to server to get the link. Thus some preparation work is required for web client to do before the open link action response comes back." - }, - "openLink": { - "$ref": "AppsDynamiteSharedOpenLink", - "description": "If specified, this onClick triggers an open link action." - } - }, - "type": "object" - }, - "AppsDynamiteSharedOpenLink": { - "id": "AppsDynamiteSharedOpenLink", - "properties": { - "appUri": { - "$ref": "AppsDynamiteSharedOpenLinkAppUri", - "description": "Represents the platform specific uri/intent to open on each client. For example: A companion_url will open in a companion window on the web. An iOS URL and android intent will open in the corresponding hosting apps. If these platform specific URLs can't be handled correctly, i.e. if the companion isn't supported on web and the hosting apps aren't available on the mobile platforms then the `uri` will open in a new browser window on all the platforms." - }, - "onClose": { - "enum": [ - "NOTHING", - "RELOAD" - ], - "enumDescriptions": [ - "Doesn\u2019t reload the card after the child window closes. Reloads the card after the child window closes. If used in conjunction with [OpenAs.OVERLAY](/workspace/add-ons/reference/rpc/google.apps.card.v1#openas), the child window acts as a modal dialog and the main card is blocked until the child window closes.", - "" - ], - "type": "string" - }, - "openAs": { - "enum": [ - "FULL_SIZE", - "OVERLAY" - ], - "enumDescriptions": [ - "The link opens as a full size window (if that's the frame used by the client.", - "The link opens as an overlay, such as a pop-up." - ], - "type": "string" - }, - "url": { - "description": "The URL to open.", - "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteSharedOpenLinkAppUri": { - "description": "Represents the platform specific uri/intent to open for each client.", - "id": "AppsDynamiteSharedOpenLinkAppUri", - "properties": { - "androidIntent": { - "$ref": "AppsDynamiteSharedOpenLinkAppUriIntent", - "description": "An intent object to be opened in the corresponding android hosting app." - }, - "companionUri": { - "description": "A companion uri string to be opened in the chat companion window. on the web.", - "type": "string" - }, - "iosUri": { - "description": "A uri string to be opened in the corresponding iOS hosting app.", - "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteSharedOpenLinkAppUriIntent": { - "description": "Android intent.", - "id": "AppsDynamiteSharedOpenLinkAppUriIntent", - "properties": { - "extraData": { - "description": "A list of extra data for the android intent. For example, for a calendar event edit intent, the event title information can be passed as extra data.", - "items": { - "$ref": "AppsDynamiteSharedOpenLinkAppUriIntentExtraData" - }, - "type": "array" - }, - "intentAction": { - "description": "An android intent action string for the {@link android.content.Intent} object. For example: for the view intent action type, a valid value will be android.content.Intent.ACTION_VIEW.", - "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteSharedOpenLinkAppUriIntentExtraData": { - "description": "Extra data for an android intent. Valid keys are defined in the hosting app contract.", - "id": "AppsDynamiteSharedOpenLinkAppUriIntentExtraData", - "properties": { - "key": { - "description": "A key for the intent extra data.", - "type": "string" - }, - "value": { - "description": "Value for the given extra data key.", - "type": "string" - } - }, - "type": "object" - }, "AppsDynamiteSharedOrganizationInfo": { "description": "Contains info about the entity that something is, or is owned by.", "id": "AppsDynamiteSharedOrganizationInfo", @@ -4514,25 +3735,1011 @@ }, "type": "object" }, - "AppsDynamiteSharedSegmentedMembershipCounts": { - "id": "AppsDynamiteSharedSegmentedMembershipCounts", + "AppsDynamiteSharedSegmentedMembershipCounts": { + "id": "AppsDynamiteSharedSegmentedMembershipCounts", + "properties": { + "value": { + "items": { + "$ref": "AppsDynamiteSharedSegmentedMembershipCount" + }, + "type": "array" + } + }, + "type": "object" + }, + "AppsDynamiteSharedSpaceInfo": { + "description": "Defines the representation of a single matching space.", + "id": "AppsDynamiteSharedSpaceInfo", + "properties": { + "avatarInfo": { + "$ref": "AppsDynamiteSharedAvatarInfo" + }, + "avatarUrl": { + "type": "string" + }, + "description": { + "type": "string" + }, + "groupId": { + "$ref": "GroupId" + }, + "inviterEmail": { + "description": "The email address of the user that invited the calling user to the room, if available. This field will only be populated for direct invites, it will be empty if the user was indirectly invited to the group.", + "type": "string" + }, + "isExternal": { + "description": "Whether this is a space that enables guest access", + "type": "boolean" + }, + "name": { + "type": "string" + }, + "numMembers": { + "format": "int32", + "type": "integer" + }, + "userMembershipState": { + "description": "searching user's membership state in this space", + "enum": [ + "MEMBER_UNKNOWN", + "MEMBER_INVITED", + "MEMBER_JOINED", + "MEMBER_NOT_A_MEMBER", + "MEMBER_FAILED" + ], + "enumDescriptions": [ + "Default state, do not use", + "An invitation to the space has been sent", + "User has joined the space", + "User is not a member", + "This state should never be stored in Spanner. It is a state for responses to the clients to indicate that membership mutations have failed and the member is in its previous state." + ], + "type": "string" + } + }, + "type": "object" + }, + "AppsDynamiteSharedTasksAnnotationData": { + "description": "This is the internal version of the API proto at google3/google/chat/v1/gsuite_message_integration.proto", + "id": "AppsDynamiteSharedTasksAnnotationData", + "properties": { + "assigneeChange": { + "$ref": "AppsDynamiteSharedTasksAnnotationDataAssigneeChange" + }, + "completionChange": { + "$ref": "AppsDynamiteSharedTasksAnnotationDataCompletionChange" + }, + "creation": { + "$ref": "AppsDynamiteSharedTasksAnnotationDataCreation" + }, + "deletionChange": { + "$ref": "AppsDynamiteSharedTasksAnnotationDataDeletionChange" + }, + "taskId": { + "description": "ID of task. Will be used to create deep links to Tasks.", + "type": "string" + }, + "taskProperties": { + "$ref": "AppsDynamiteSharedTasksAnnotationDataTaskProperties", + "description": "Task properties after the update has been applied." + }, + "userDefinedMessage": { + "$ref": "AppsDynamiteSharedTasksAnnotationDataUserDefinedMessage" + } + }, + "type": "object" + }, + "AppsDynamiteSharedTasksAnnotationDataAssigneeChange": { + "id": "AppsDynamiteSharedTasksAnnotationDataAssigneeChange", + "properties": { + "oldAssignee": { + "$ref": "UserId", + "description": "Obfuscated user ID of previous assignee. Not set if the task was originally not assigned." + } + }, + "type": "object" + }, + "AppsDynamiteSharedTasksAnnotationDataCompletionChange": { + "id": "AppsDynamiteSharedTasksAnnotationDataCompletionChange", + "properties": {}, + "type": "object" + }, + "AppsDynamiteSharedTasksAnnotationDataCreation": { + "id": "AppsDynamiteSharedTasksAnnotationDataCreation", + "properties": {}, + "type": "object" + }, + "AppsDynamiteSharedTasksAnnotationDataDeletionChange": { + "id": "AppsDynamiteSharedTasksAnnotationDataDeletionChange", + "properties": {}, + "type": "object" + }, + "AppsDynamiteSharedTasksAnnotationDataTaskProperties": { + "description": "All relevant task properties for a Chat message.", + "id": "AppsDynamiteSharedTasksAnnotationDataTaskProperties", + "properties": { + "assignee": { + "$ref": "UserId", + "description": "Obfuscated user ID of new assignee. Not set if the task doesn't have an assignee." + }, + "completed": { + "description": "Whether the task is marked as completed.", + "type": "boolean" + }, + "deleted": { + "description": "Whether the task is marked as deleted.", + "type": "boolean" + }, + "description": { + "description": "The description of the task. If Task original description's length is greater than 1024, then Task BE sends the truncated description to Dynamite Integration Server.", + "type": "string" + }, + "startDate": { + "$ref": "Date", + "description": "Set if the task has a date but no time. Source of truth in Tasks BE: http://shortn/_wyT7eB4Ixv" + }, + "startTime": { + "description": "Set if the task has both a date and a time. Source of truth in Tasks BE: http://shortn/_u6cr0F5ttE", + "format": "google-datetime", + "type": "string" + }, + "title": { + "description": "The title of the task.", + "type": "string" + } + }, + "type": "object" + }, + "AppsDynamiteSharedTasksAnnotationDataUserDefinedMessage": { + "description": "Used for task card attachments on custom user messages that should be kept as is without generating an i18n event message, e.g. the user starts a conversation from an existing task. IMPORTANT: please don't populate this field yet as it could break existing flows until it's implemented. See code at http://shortn/_CM74CdENMx used by http://shortn/_5o85POJY8Q.", + "id": "AppsDynamiteSharedTasksAnnotationDataUserDefinedMessage", + "properties": {}, + "type": "object" + }, + "AppsDynamiteSharedTasksMessageIntegrationPayload": { + "description": "A payload containing Tasks metadata for rendering a live card. Currently not used by the Tasks integration.", + "id": "AppsDynamiteSharedTasksMessageIntegrationPayload", + "properties": {}, + "type": "object" + }, + "AppsDynamiteSharedUserBlockRelationship": { + "description": "User-block relationship", + "id": "AppsDynamiteSharedUserBlockRelationship", + "properties": { + "hasBlockedRequester": { + "type": "boolean" + }, + "isBlockedByRequester": { + "type": "boolean" + } + }, + "type": "object" + }, + "AppsDynamiteSharedVideoReference": { + "description": "Reference to a transcoded video attachment.", + "id": "AppsDynamiteSharedVideoReference", + "properties": { + "format": { + "description": "Available transcode format. Value is defined in video/storage/proto/content_header.proto", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "status": { + "description": "Transcode status", + "enum": [ + "UNKNOWN_STATUS", + "SUCCESS", + "ERROR", + "NOT_APPLICABLE", + "THUMBNAIL_SUCCESS", + "GO_LIVE_SUCCESS" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "AppsDynamiteStorageAction": { + "description": "An action that describes the behavior when the form is submitted. For example, an Apps Script can be invoked to handle the form.", + "id": "AppsDynamiteStorageAction", + "properties": { + "function": { + "description": "Apps Script function to invoke when the containing element is clicked/activated.", + "type": "string" + }, + "interaction": { + "enum": [ + "INTERACTION_UNSPECIFIED", + "OPEN_DIALOG" + ], + "enumDescriptions": [ + "Default value if interaction is not specified.", + "A dialog opens by clicking the button." + ], + "type": "string" + }, + "loadIndicator": { + "enum": [ + "SPINNER", + "NONE" + ], + "enumDescriptions": [ + "Displays a spinner to indicate that content is loading.", + "Nothing is displayed." + ], + "type": "string" + }, + "parameters": { + "description": "List of action parameters.", + "items": { + "$ref": "AppsDynamiteStorageActionActionParameter" + }, + "type": "array" + } + }, + "type": "object" + }, + "AppsDynamiteStorageActionActionParameter": { + "description": "List of string parameters to supply when the action method is invoked. For example, consider three snooze buttons: snooze now, snooze 1 day, snooze next week. You might use action method = snooze(), passing the snooze type and snooze time in the list of string parameters.", + "id": "AppsDynamiteStorageActionActionParameter", + "properties": { + "key": { + "description": "The name of the parameter for the action script.", + "type": "string" + }, + "value": { + "description": "The value of the parameter.", + "type": "string" + } + }, + "type": "object" + }, + "AppsDynamiteStorageBorderStyle": { + "description": "Represents the complete border style applied to widgets.", + "id": "AppsDynamiteStorageBorderStyle", + "properties": { + "cornerRadius": { + "description": "The corner radius for the border.", + "format": "int32", + "type": "integer" + }, + "strokeColor": { + "$ref": "Color", + "description": "The colors to use when the type is `BORDER_TYPE_STROKE`." + }, + "type": { + "description": "The border type.", + "enum": [ + "BORDER_TYPE_UNSPECIFIED", + "NO_BORDER", + "STROKE" + ], + "enumDescriptions": [ + "No value specified.", + "No border.", + "Outline." + ], + "type": "string" + } + }, + "type": "object" + }, + "AppsDynamiteStorageButton": { + "description": "A button. Can be a text button or an image button.", + "id": "AppsDynamiteStorageButton", + "properties": { + "altText": { + "description": "The alternative text used for accessibility. Has no effect when an icon is set; use `icon.alt_text` instead.", + "type": "string" + }, + "color": { + "$ref": "Color", + "description": "If set, the button is filled with a solid background." + }, + "disabled": { + "description": "If true, the button is displayed in a disabled state and doesn't respond to user actions.", + "type": "boolean" + }, + "icon": { + "$ref": "AppsDynamiteStorageIcon", + "description": "The icon image." + }, + "onClick": { + "$ref": "AppsDynamiteStorageOnClick", + "description": "The action to perform when the button is clicked." + }, + "text": { + "description": "The text of the button.", + "type": "string" + } + }, + "type": "object" + }, + "AppsDynamiteStorageButtonList": { + "description": "A list of buttons layed out horizontally.", + "id": "AppsDynamiteStorageButtonList", + "properties": { + "buttons": { + "items": { + "$ref": "AppsDynamiteStorageButton" + }, + "type": "array" + } + }, + "type": "object" + }, + "AppsDynamiteStorageCard": { + "description": "A card is a UI element that can contain UI widgets such as text and images. For more information, see Cards . For example, the following JSON creates a card that has a header with the name, position, icons, and link for a contact, followed by a section with contact information like email and phone number. ``` { \"header\": { \"title\": \"Heba Salam\", \"subtitle\": \"Software Engineer\", \"imageStyle\": \"ImageStyle.AVATAR\", \"imageUrl\": \"https://example.com/heba_salam.png\", \"imageAltText\": \"Avatar for Heba Salam\" }, \"sections\" : [ { \"header\": \"Contact Info\", \"widgets\": [ { \"decorated_text\": { \"icon\": { \"knownIcon\": \"EMAIL\" }, \"content\": \"heba.salam@example.com\" } }, { \"decoratedText\": { \"icon\": { \"knownIcon\": \"PERSON\" }, \"content\": \"Online\" } }, { \"decoratedText\": { \"icon\": { \"knownIcon\": \"PHONE\" }, \"content\": \"+1 (555) 555-1234\" } }, { \"buttons\": [ { \"textButton\": { \"text\": \"Share\", }, \"onClick\": { \"openLink\": { \"url\": \"https://example.com/share\" } } }, { \"textButton\": { \"text\": \"Edit\", }, \"onClick\": { \"action\": { \"function\": \"goToView\", \"parameters\": [ { \"key\": \"viewType\", \"value\": \"EDIT\" } ], \"loadIndicator\": \"LoadIndicator.SPINNER\" } } } ] } ], \"collapsible\": true, \"uncollapsibleWidgetsCount\": 3 } ], \"cardActions\": [ { \"actionLabel\": \"Send Feedback\", \"onClick\": { \"openLink\": { \"url\": \"https://example.com/feedback\" } } } ], \"name\": \"contact-card-K3wB6arF2H9L\" } ```", + "id": "AppsDynamiteStorageCard", + "properties": { + "cardActions": { + "description": "The actions of this card. They are added to a card's generated toolbar menu. For example, the following JSON constructs a card action menu with Settings and Send Feedback options: ``` \"card_actions\": [ { \"actionLabel\": \"Setting\", \"onClick\": { \"action\": { \"functionName\": \"goToView\", \"parameters\": [ { \"key\": \"viewType\", \"value\": \"SETTING\" } ], \"loadIndicator\": \"LoadIndicator.SPINNER\" } } }, { \"actionLabel\": \"Send Feedback\", \"onClick\": { \"openLink\": { \"url\": \"https://example.com/feedback\" } } } ] ```", + "items": { + "$ref": "AppsDynamiteStorageCardCardAction" + }, + "type": "array" + }, + "header": { + "$ref": "AppsDynamiteStorageCardCardHeader", + "description": "The header of the card. A header usually contains a title and an image." + }, + "name": { + "description": "Name of the card, which is used as a identifier for the card in card navigation.", + "type": "string" + }, + "sections": { + "description": "Sections are separated by a line divider.", + "items": { + "$ref": "AppsDynamiteStorageCardSection" + }, + "type": "array" + } + }, + "type": "object" + }, + "AppsDynamiteStorageCardCardAction": { + "description": "A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser.", + "id": "AppsDynamiteStorageCardCardAction", + "properties": { + "actionLabel": { + "description": "The label that displays as the action menu item.", + "type": "string" + }, + "onClick": { + "$ref": "AppsDynamiteStorageOnClick", + "description": "The onclick action for this action item." + } + }, + "type": "object" + }, + "AppsDynamiteStorageCardCardHeader": { + "id": "AppsDynamiteStorageCardCardHeader", + "properties": { + "imageAltText": { + "description": "The alternative text of this image which is used for accessibility.", + "type": "string" + }, + "imageType": { + "description": "The image's type.", + "enum": [ + "SQUARE", + "CIRCLE" + ], + "enumDescriptions": [ + "Applies no cropping to the image.", + "Applies a circular mask to the image." + ], + "type": "string" + }, + "imageUrl": { + "description": "The URL of the image in the card header.", + "type": "string" + }, + "subtitle": { + "description": "The subtitle of the card header.", + "type": "string" + }, + "title": { + "description": "The title of the card header. The title must be specified. The header has a fixed height: if both a title and subtitle are specified, each takes up one line. If only the title is specified, it takes up both lines.", + "type": "string" + } + }, + "type": "object" + }, + "AppsDynamiteStorageCardSection": { + "description": "A section contains a collection of widgets that are rendered vertically in the order that they are specified. Across all platforms, cards have a narrow fixed width, so there is currently no need for layout properties, for example, float.", + "id": "AppsDynamiteStorageCardSection", + "properties": { + "collapsible": { + "description": "Indicates whether this section is collapsible. If a section is collapsible, the description must be given.", + "type": "boolean" + }, + "header": { + "description": "The header of the section. Formatted text is supported.", + "type": "string" + }, + "uncollapsibleWidgetsCount": { + "description": "The number of uncollapsible widgets. For example, when a section contains five widgets and the `numUncollapsibleWidget` is set to `2`, the first two widgets are always shown and the last three are collapsed as default. The `numUncollapsibleWidget` is taken into account only when collapsible is set to `true`.", + "format": "int32", + "type": "integer" + }, + "widgets": { + "description": "A section must contain at least 1 widget.", + "items": { + "$ref": "AppsDynamiteStorageWidget" + }, + "type": "array" + } + }, + "type": "object" + }, + "AppsDynamiteStorageColumns": { + "description": "Represents a Columns widget that displays a single row of columns.", + "id": "AppsDynamiteStorageColumns", + "properties": { + "columnItems": { + "description": "Each card supports up to 2 columns.", + "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" + }, + "AppsDynamiteStorageColumnsColumn": { + "description": "Represents a Column that consists of widgets stacked vertically.", + "id": "AppsDynamiteStorageColumnsColumn", + "properties": { + "horizontalAlignment": { + "description": "The horizontal alignment of the column.", + "enum": [ + "HORIZONTAL_ALIGNMENT_UNSPECIFIED", + "START", + "CENTER", + "END" + ], + "enumDescriptions": [ + "Unspecified alignment.", + "Alignment to the start position.", + "Alignment to the center position.", + "Alignment to the end position." + ], + "type": "string" + }, + "horizontalSizeStyle": { + "description": "Specifies how the column content is sized horizontally.", + "enum": [ + "HORIZONTAL_SIZE_STYLE_UNSPECIFIED", + "FILL_AVAILABLE_SPACE", + "FILL_MINIMUM_SPACE" + ], + "enumDescriptions": [ + "Unspecified.", + "Fills up the available horizontal width. Default value if unspecified.", + "Fills up the minimum horizontal width." + ], + "type": "string" + }, + "verticalAlignment": { + "description": "The vertical alignment of the column.", + "enum": [ + "VERTICAL_ALIGNMENT_UNSPECIFIED", + "CENTER", + "TOP", + "BOTTOM" + ], + "enumDescriptions": [ + "Unspecified.", + "Aligns the widget in the center of the column. Default value if unspecified.", + "Aligns the widget at the top of the column.", + "Aligns the widget at the bottom of the column." + ], + "type": "string" + }, + "widgets": { + "description": "LINT.ThenChange(//depot/google3/google/apps/card/v1/card.proto) Array of widgets included in the column.", + "items": { + "$ref": "AppsDynamiteStorageColumnsColumnWidgets" + }, + "type": "array" + } + }, + "type": "object" + }, + "AppsDynamiteStorageColumnsColumnWidgets": { + "description": "LINT.IfChange The `column` widget can contain these widgets.", + "id": "AppsDynamiteStorageColumnsColumnWidgets", + "properties": { + "buttonList": { + "$ref": "AppsDynamiteStorageButtonList", + "description": "ButtonList widget." + }, + "dateTimePicker": { + "$ref": "AppsDynamiteStorageDateTimePicker", + "description": "DateTimePicker widget." + }, + "decoratedText": { + "$ref": "AppsDynamiteStorageDecoratedText", + "description": "DecoratedText widget." + }, + "image": { + "$ref": "AppsDynamiteStorageImage", + "description": "Image widget." + }, + "selectionInput": { + "$ref": "AppsDynamiteStorageSelectionInput", + "description": "SelectionInput widget." + }, + "textInput": { + "$ref": "AppsDynamiteStorageTextInput", + "description": "TextInput widget." + }, + "textParagraph": { + "$ref": "AppsDynamiteStorageTextParagraph", + "description": "Text paragraph widget." + } + }, + "type": "object" + }, + "AppsDynamiteStorageDateTimePicker": { + "description": "The widget that lets users to specify a date and time.", + "id": "AppsDynamiteStorageDateTimePicker", + "properties": { + "label": { + "description": "The label for the field that displays to the user.", + "type": "string" + }, + "name": { + "description": "The name of the text input that's used in formInput, and uniquely identifies this input.", + "type": "string" + }, + "onChangeAction": { + "$ref": "AppsDynamiteStorageAction", + "description": "Triggered when the user clicks Save or Clear from the date/time picker dialog. This is only triggered if the value changed as a result of the Save/Clear operation." + }, + "timezoneOffsetDate": { + "description": "The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If not set, it uses the user's time zone setting on the client side.", + "format": "int32", + "type": "integer" + }, + "type": { + "description": "The type of the date/time picker.", + "enum": [ + "DATE_AND_TIME", + "DATE_ONLY", + "TIME_ONLY" + ], + "enumDescriptions": [ + "The user can select a date and time.", + "The user can only select a date.", + "The user can only select a time." + ], + "type": "string" + }, + "valueMsEpoch": { + "description": "The value to display as the default value before user input or previous user input. It is represented in milliseconds (Epoch time). For `DATE_AND_TIME` type, the full epoch value is used. For `DATE_ONLY` type, only date of the epoch time is used. For `TIME_ONLY` type, only time of the epoch time is used. For example, you can set epoch time to `3 * 60 * 60 * 1000` to represent 3am.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "AppsDynamiteStorageDecoratedText": { + "description": "A widget that displays text with optional decorations such as a label above or below the text, an icon in front of the text, a selection widget or a button after the text.", + "id": "AppsDynamiteStorageDecoratedText", + "properties": { + "bottomLabel": { + "description": "The formatted text label that shows below the main text.", + "type": "string" + }, + "button": { + "$ref": "AppsDynamiteStorageButton", + "description": "A button that can be clicked to trigger an action." + }, + "endIcon": { + "$ref": "AppsDynamiteStorageIcon", + "description": "An icon displayed after the text." + }, + "icon": { + "$ref": "AppsDynamiteStorageIcon", + "description": "Deprecated in favor of start_icon." + }, + "onClick": { + "$ref": "AppsDynamiteStorageOnClick", + "description": "Only the top and bottom label and content region are clickable." + }, + "startIcon": { + "$ref": "AppsDynamiteStorageIcon", + "description": "The icon displayed in front of the text." + }, + "switchControl": { + "$ref": "AppsDynamiteStorageDecoratedTextSwitchControl", + "description": "A switch widget can be clicked to change its state or trigger an action." + }, + "text": { + "description": "Required. The main widget formatted text. See Text formatting for details.", + "type": "string" + }, + "topLabel": { + "description": "The formatted text label that shows above the main text.", + "type": "string" + }, + "wrapText": { + "description": "The wrap text setting. If `true`, the text is wrapped and displayed in multiline. Otherwise, the text is truncated.", + "type": "boolean" + } + }, + "type": "object" + }, + "AppsDynamiteStorageDecoratedTextSwitchControl": { + "id": "AppsDynamiteStorageDecoratedTextSwitchControl", + "properties": { + "controlType": { + "description": "The control type, either switch or checkbox.", + "enum": [ + "SWITCH", + "CHECKBOX", + "CHECK_BOX" + ], + "enumDescriptions": [ + "", + "Deprecated in favor of `CHECK_BOX`.", + "" + ], + "type": "string" + }, + "name": { + "description": "The name of the switch widget that's used in formInput.", + "type": "string" + }, + "onChangeAction": { + "$ref": "AppsDynamiteStorageAction", + "description": "The action when the switch state is changed." + }, + "selected": { + "description": "If the switch is selected.", + "type": "boolean" + }, + "value": { + "description": "The value is what is passed back in the callback.", + "type": "string" + } + }, + "type": "object" + }, + "AppsDynamiteStorageDivider": { + "description": "A divider that appears in between widgets.", + "id": "AppsDynamiteStorageDivider", + "properties": {}, + "type": "object" + }, + "AppsDynamiteStorageGrid": { + "description": "Represents a Grid widget that displays items in a configurable grid layout.", + "id": "AppsDynamiteStorageGrid", + "properties": { + "borderStyle": { + "$ref": "AppsDynamiteStorageBorderStyle", + "description": "The border style to apply to each grid item." + }, + "columnCount": { + "description": "The number of columns to display in the grid. A default value is used if this field isn't specified, and that default value is different depending on where the grid is shown (dialog versus companion).", + "format": "int32", + "type": "integer" + }, + "items": { + "description": "The items to display in the grid.", + "items": { + "$ref": "AppsDynamiteStorageGridGridItem" + }, + "type": "array" + }, + "onClick": { + "$ref": "AppsDynamiteStorageOnClick", + "description": "This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters." + }, + "title": { + "description": "The text that displays in the grid header.", + "type": "string" + } + }, + "type": "object" + }, + "AppsDynamiteStorageGridGridItem": { + "description": "Represents a single item in the grid layout.", + "id": "AppsDynamiteStorageGridGridItem", + "properties": { + "id": { + "description": "A user-specified identifier for this grid item. This identifier is returned in the parent Grid's onClick callback parameters.", + "type": "string" + }, + "image": { + "$ref": "AppsDynamiteStorageImageComponent", + "description": "The image that displays in the grid item." + }, + "layout": { + "description": "The layout to use for the grid item.", + "enum": [ + "GRID_ITEM_LAYOUT_UNSPECIFIED", + "TEXT_BELOW", + "TEXT_ABOVE" + ], + "enumDescriptions": [ + "No layout specified.", + "The title and subtitle are shown below the grid item's image.", + "The title and subtitle are shown above the grid item's image." + ], + "type": "string" + }, + "subtitle": { + "description": "The grid item's subtitle.", + "type": "string" + }, + "textAlignment": { + "description": "The horizontal alignment of the grid item's text.", + "enum": [ + "HORIZONTAL_ALIGNMENT_UNSPECIFIED", + "START", + "CENTER", + "END" + ], + "enumDescriptions": [ + "Unspecified alignment.", + "Alignment to the start position.", + "Alignment to the center position.", + "Alignment to the end position." + ], + "type": "string" + }, + "title": { + "description": "The grid item's title.", + "type": "string" + } + }, + "type": "object" + }, + "AppsDynamiteStorageIcon": { + "id": "AppsDynamiteStorageIcon", + "properties": { + "altText": { + "description": "The description of the icon, used for accessibility. The default value is provided if you don't specify one.", + "type": "string" + }, + "iconUrl": { + "description": "The icon specified by a URL.", + "type": "string" + }, + "imageType": { + "description": "The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a standard icon.", + "enum": [ + "SQUARE", + "CIRCLE" + ], + "enumDescriptions": [ + "Applies no cropping to the image.", + "Applies a circular mask to the image." + ], + "type": "string" + }, + "knownIcon": { + "description": "The icon specified by the string name of a list of known icons", + "type": "string" + } + }, + "type": "object" + }, + "AppsDynamiteStorageImage": { + "description": "An image that is specified by a URL and can have an onClick action.", + "id": "AppsDynamiteStorageImage", + "properties": { + "altText": { + "description": "The alternative text of this image, used for accessibility.", + "type": "string" + }, + "imageUrl": { + "description": "An image URL.", + "type": "string" + }, + "onClick": { + "$ref": "AppsDynamiteStorageOnClick" + } + }, + "type": "object" + }, + "AppsDynamiteStorageImageComponent": { + "id": "AppsDynamiteStorageImageComponent", + "properties": { + "altText": { + "description": "The accessibility label for the image.", + "type": "string" + }, + "borderStyle": { + "$ref": "AppsDynamiteStorageBorderStyle", + "description": "The border style to apply to the image." + }, + "cropStyle": { + "$ref": "AppsDynamiteStorageImageCropStyle", + "description": "The crop style to apply to the image." + }, + "imageUri": { + "description": "The image URL.", + "type": "string" + } + }, + "type": "object" + }, + "AppsDynamiteStorageImageCropStyle": { + "description": "Represents the crop style applied to an image.", + "id": "AppsDynamiteStorageImageCropStyle", + "properties": { + "aspectRatio": { + "description": "The aspect ratio to use if the crop type is `RECTANGLE_CUSTOM`.", + "format": "double", + "type": "number" + }, + "type": { + "description": "The crop type.", + "enum": [ + "IMAGE_CROP_TYPE_UNSPECIFIED", + "SQUARE", + "CIRCLE", + "RECTANGLE_CUSTOM", + "RECTANGLE_4_3" + ], + "enumDescriptions": [ + "No value specified.", + "Applies a square crop.", + "Applies a circular crop.", + "Applies a rectangular crop with a custom aspect ratio.", + "Applies a rectangular crop with a 4:3 aspect ratio." + ], + "type": "string" + } + }, + "type": "object" + }, + "AppsDynamiteStorageOnClick": { + "id": "AppsDynamiteStorageOnClick", + "properties": { + "action": { + "$ref": "AppsDynamiteStorageAction", + "description": "If specified, an action is triggered by this onClick." + }, + "hostAppAction": { + "$ref": "HostAppActionMarkup", + "description": "Triggers host app action on click directly without invoking form actions. This is currently not available to end-users and is used internal only." + }, + "openDynamicLinkAction": { + "$ref": "AppsDynamiteStorageAction", + "description": "An add-on triggers this action when the action needs to open a link. This differs from the open_link above in that this needs to talk to server to get the link. Thus some preparation work is required for web client to do before the open link action response comes back." + }, + "openLink": { + "$ref": "AppsDynamiteStorageOpenLink", + "description": "If specified, this onClick triggers an open link action." + } + }, + "type": "object" + }, + "AppsDynamiteStorageOpenLink": { + "id": "AppsDynamiteStorageOpenLink", + "properties": { + "appUri": { + "$ref": "AppsDynamiteStorageOpenLinkAppUri", + "description": "Represents the platform specific uri/intent to open on each client. For example: A companion_url will open in a companion window on the web. An iOS URL and android intent will open in the corresponding hosting apps. If these platform specific URLs can't be handled correctly, i.e. if the companion isn't supported on web and the hosting apps aren't available on the mobile platforms then the `uri` will open in a new browser window on all the platforms." + }, + "onClose": { + "enum": [ + "NOTHING", + "RELOAD" + ], + "enumDescriptions": [ + "Doesn\u2019t reload the card after the child window closes. Reloads the card after the child window closes. If used in conjunction with [OpenAs.OVERLAY](/workspace/add-ons/reference/rpc/google.apps.card.v1#openas), the child window acts as a modal dialog and the main card is blocked until the child window closes.", + "" + ], + "type": "string" + }, + "openAs": { + "enum": [ + "FULL_SIZE", + "OVERLAY" + ], + "enumDescriptions": [ + "The link opens as a full size window (if that's the frame used by the client.", + "The link opens as an overlay, such as a pop-up." + ], + "type": "string" + }, + "url": { + "description": "The URL to open.", + "type": "string" + } + }, + "type": "object" + }, + "AppsDynamiteStorageOpenLinkAppUri": { + "description": "Represents the platform specific uri/intent to open for each client.", + "id": "AppsDynamiteStorageOpenLinkAppUri", + "properties": { + "androidIntent": { + "$ref": "AppsDynamiteStorageOpenLinkAppUriIntent", + "description": "An intent object to be opened in the corresponding android hosting app." + }, + "companionUri": { + "description": "A companion uri string to be opened in the chat companion window. on the web.", + "type": "string" + }, + "iosUri": { + "description": "A uri string to be opened in the corresponding iOS hosting app.", + "type": "string" + } + }, + "type": "object" + }, + "AppsDynamiteStorageOpenLinkAppUriIntent": { + "description": "Android intent.", + "id": "AppsDynamiteStorageOpenLinkAppUriIntent", "properties": { - "value": { + "extraData": { + "description": "A list of extra data for the android intent. For example, for a calendar event edit intent, the event title information can be passed as extra data.", "items": { - "$ref": "AppsDynamiteSharedSegmentedMembershipCount" + "$ref": "AppsDynamiteStorageOpenLinkAppUriIntentExtraData" }, "type": "array" + }, + "intentAction": { + "description": "An android intent action string for the {@link android.content.Intent} object. For example: for the view intent action type, a valid value will be android.content.Intent.ACTION_VIEW.", + "type": "string" + } + }, + "type": "object" + }, + "AppsDynamiteStorageOpenLinkAppUriIntentExtraData": { + "description": "Extra data for an android intent. Valid keys are defined in the hosting app contract.", + "id": "AppsDynamiteStorageOpenLinkAppUriIntentExtraData", + "properties": { + "key": { + "description": "A key for the intent extra data.", + "type": "string" + }, + "value": { + "description": "Value for the given extra data key.", + "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedSelectionInput": { + "AppsDynamiteStorageSelectionInput": { "description": "A widget that creates a UI item (for example, a drop-down list) with options for users to select.", - "id": "AppsDynamiteSharedSelectionInput", + "id": "AppsDynamiteStorageSelectionInput", "properties": { "items": { "items": { - "$ref": "AppsDynamiteSharedSelectionInputSelectionItem" + "$ref": "AppsDynamiteStorageSelectionInputSelectionItem" }, "type": "array" }, @@ -4545,7 +4752,7 @@ "type": "string" }, "onChangeAction": { - "$ref": "AppsDynamiteSharedAction", + "$ref": "AppsDynamiteStorageAction", "description": "If specified, the form is submitted when the selection changes. If not specified, you must specify a separate button." }, "type": { @@ -4566,9 +4773,9 @@ }, "type": "object" }, - "AppsDynamiteSharedSelectionInputSelectionItem": { + "AppsDynamiteStorageSelectionInputSelectionItem": { "description": "The item in the switch control. A radio button, at most one of the items is selected.", - "id": "AppsDynamiteSharedSelectionInputSelectionItem", + "id": "AppsDynamiteStorageSelectionInputSelectionItem", "properties": { "selected": { "description": "If more than one item is selected for `RADIO_BUTTON` and `DROPDOWN`, the first selected item is treated as selected and the ones after are ignored.", @@ -4585,75 +4792,23 @@ }, "type": "object" }, - "AppsDynamiteSharedSpaceInfo": { - "description": "Defines the representation of a single matching space.", - "id": "AppsDynamiteSharedSpaceInfo", - "properties": { - "avatarInfo": { - "$ref": "AppsDynamiteSharedAvatarInfo" - }, - "avatarUrl": { - "type": "string" - }, - "description": { - "type": "string" - }, - "groupId": { - "$ref": "GroupId" - }, - "inviterEmail": { - "description": "The email address of the user that invited the calling user to the room, if available. This field will only be populated for direct invites, it will be empty if the user was indirectly invited to the group.", - "type": "string" - }, - "isExternal": { - "description": "Whether this is a space that enables guest access", - "type": "boolean" - }, - "name": { - "type": "string" - }, - "numMembers": { - "format": "int32", - "type": "integer" - }, - "userMembershipState": { - "description": "searching user's membership state in this space", - "enum": [ - "MEMBER_UNKNOWN", - "MEMBER_INVITED", - "MEMBER_JOINED", - "MEMBER_NOT_A_MEMBER", - "MEMBER_FAILED" - ], - "enumDescriptions": [ - "Default state, do not use", - "An invitation to the space has been sent", - "User has joined the space", - "User is not a member", - "This state should never be stored in Spanner. It is a state for responses to the clients to indicate that membership mutations have failed and the member is in its previous state." - ], - "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteSharedSuggestions": { + "AppsDynamiteStorageSuggestions": { "description": "A container wrapping elements necessary for showing suggestion items used in text input autocomplete.", - "id": "AppsDynamiteSharedSuggestions", + "id": "AppsDynamiteStorageSuggestions", "properties": { "items": { "description": "A list of suggestions items which will be used in are used in autocomplete.", "items": { - "$ref": "AppsDynamiteSharedSuggestionsSuggestionItem" + "$ref": "AppsDynamiteStorageSuggestionsSuggestionItem" }, "type": "array" } }, "type": "object" }, - "AppsDynamiteSharedSuggestionsSuggestionItem": { + "AppsDynamiteStorageSuggestionsSuggestionItem": { "description": "A suggestion item. Only supports text for now.", - "id": "AppsDynamiteSharedSuggestionsSuggestionItem", + "id": "AppsDynamiteStorageSuggestionsSuggestionItem", "properties": { "text": { "type": "string" @@ -4661,115 +4816,12 @@ }, "type": "object" }, - "AppsDynamiteSharedTasksAnnotationData": { - "description": "This is the internal version of the API proto at google3/google/chat/v1/gsuite_message_integration.proto", - "id": "AppsDynamiteSharedTasksAnnotationData", - "properties": { - "assigneeChange": { - "$ref": "AppsDynamiteSharedTasksAnnotationDataAssigneeChange" - }, - "completionChange": { - "$ref": "AppsDynamiteSharedTasksAnnotationDataCompletionChange" - }, - "creation": { - "$ref": "AppsDynamiteSharedTasksAnnotationDataCreation" - }, - "deletionChange": { - "$ref": "AppsDynamiteSharedTasksAnnotationDataDeletionChange" - }, - "taskId": { - "description": "ID of task. Will be used to create deep links to Tasks.", - "type": "string" - }, - "taskProperties": { - "$ref": "AppsDynamiteSharedTasksAnnotationDataTaskProperties", - "description": "Task properties after the update has been applied." - }, - "userDefinedMessage": { - "$ref": "AppsDynamiteSharedTasksAnnotationDataUserDefinedMessage" - } - }, - "type": "object" - }, - "AppsDynamiteSharedTasksAnnotationDataAssigneeChange": { - "id": "AppsDynamiteSharedTasksAnnotationDataAssigneeChange", - "properties": { - "oldAssignee": { - "$ref": "UserId", - "description": "Obfuscated user ID of previous assignee. Not set if the task was originally not assigned." - } - }, - "type": "object" - }, - "AppsDynamiteSharedTasksAnnotationDataCompletionChange": { - "id": "AppsDynamiteSharedTasksAnnotationDataCompletionChange", - "properties": {}, - "type": "object" - }, - "AppsDynamiteSharedTasksAnnotationDataCreation": { - "id": "AppsDynamiteSharedTasksAnnotationDataCreation", - "properties": {}, - "type": "object" - }, - "AppsDynamiteSharedTasksAnnotationDataDeletionChange": { - "id": "AppsDynamiteSharedTasksAnnotationDataDeletionChange", - "properties": {}, - "type": "object" - }, - "AppsDynamiteSharedTasksAnnotationDataTaskProperties": { - "description": "All relevant task properties for a Chat message.", - "id": "AppsDynamiteSharedTasksAnnotationDataTaskProperties", - "properties": { - "assignee": { - "$ref": "UserId", - "description": "Obfuscated user ID of new assignee. Not set if the task doesn't have an assignee." - }, - "completed": { - "description": "Whether the task is marked as completed.", - "type": "boolean" - }, - "deleted": { - "description": "Whether the task is marked as deleted.", - "type": "boolean" - }, - "description": { - "description": "The description of the task. If Task original description's length is greater than 1024, then Task BE sends the truncated description to Dynamite Integration Server.", - "type": "string" - }, - "startDate": { - "$ref": "Date", - "description": "Set if the task has a date but no time. Source of truth in Tasks BE: http://shortn/_wyT7eB4Ixv" - }, - "startTime": { - "description": "Set if the task has both a date and a time. Source of truth in Tasks BE: http://shortn/_u6cr0F5ttE", - "format": "google-datetime", - "type": "string" - }, - "title": { - "description": "The title of the task.", - "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteSharedTasksAnnotationDataUserDefinedMessage": { - "description": "Used for task card attachments on custom user messages that should be kept as is without generating an i18n event message, e.g. the user starts a conversation from an existing task. IMPORTANT: please don't populate this field yet as it could break existing flows until it's implemented. See code at http://shortn/_CM74CdENMx used by http://shortn/_5o85POJY8Q.", - "id": "AppsDynamiteSharedTasksAnnotationDataUserDefinedMessage", - "properties": {}, - "type": "object" - }, - "AppsDynamiteSharedTasksMessageIntegrationPayload": { - "description": "A payload containing Tasks metadata for rendering a live card. Currently not used by the Tasks integration.", - "id": "AppsDynamiteSharedTasksMessageIntegrationPayload", - "properties": {}, - "type": "object" - }, - "AppsDynamiteSharedTextInput": { + "AppsDynamiteStorageTextInput": { "description": "A text input is a UI item where users can input text. A text input can also have an onChange action and suggestions.", - "id": "AppsDynamiteSharedTextInput", + "id": "AppsDynamiteStorageTextInput", "properties": { "autoCompleteAction": { - "$ref": "AppsDynamiteSharedAction", + "$ref": "AppsDynamiteStorageAction", "description": "The refresh function that returns suggestions based on the user's input text. If the callback is not specified, autocomplete is done in client side based on the initial suggestion items." }, "hintText": { @@ -4777,7 +4829,7 @@ "type": "string" }, "initialSuggestions": { - "$ref": "AppsDynamiteSharedSuggestions", + "$ref": "AppsDynamiteStorageSuggestions", "description": "The initial suggestions made before any user input." }, "label": { @@ -4789,7 +4841,7 @@ "type": "string" }, "onChangeAction": { - "$ref": "AppsDynamiteSharedAction", + "$ref": "AppsDynamiteStorageAction", "description": "The onChange action, for example, invoke a function." }, "type": { @@ -4811,9 +4863,9 @@ }, "type": "object" }, - "AppsDynamiteSharedTextParagraph": { + "AppsDynamiteStorageTextParagraph": { "description": "A paragraph of text that supports formatting. See [Text formatting](workspace/add-ons/concepts/widgets#text_formatting\") for details.", - "id": "AppsDynamiteSharedTextParagraph", + "id": "AppsDynamiteStorageTextParagraph", "properties": { "text": { "description": "The text that's shown in the widget.", @@ -4822,80 +4874,32 @@ }, "type": "object" }, - "AppsDynamiteSharedUserBlockRelationship": { - "description": "User-block relationship", - "id": "AppsDynamiteSharedUserBlockRelationship", - "properties": { - "hasBlockedRequester": { - "type": "boolean" - }, - "isBlockedByRequester": { - "type": "boolean" - } - }, - "type": "object" - }, - "AppsDynamiteSharedVideoReference": { - "description": "Reference to a transcoded video attachment.", - "id": "AppsDynamiteSharedVideoReference", - "properties": { - "format": { - "description": "Available transcode format. Value is defined in video/storage/proto/content_header.proto", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "status": { - "description": "Transcode status", - "enum": [ - "UNKNOWN_STATUS", - "SUCCESS", - "ERROR", - "NOT_APPLICABLE", - "THUMBNAIL_SUCCESS", - "GO_LIVE_SUCCESS" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteSharedWidget": { + "AppsDynamiteStorageWidget": { "description": "A widget is a UI element that presents texts, images, etc.", - "id": "AppsDynamiteSharedWidget", + "id": "AppsDynamiteStorageWidget", "properties": { "buttonList": { - "$ref": "AppsDynamiteSharedButtonList", + "$ref": "AppsDynamiteStorageButtonList", "description": "A list of buttons. For example, the following JSON creates two buttons. The first is a filled text button and the second is an image button that opens a link: ``` \"buttonList\": { \"buttons\": [ \"button\": { \"text\": \"Edit\", \"Color\": { \"Red\": 255 \"Green\": 255 \"Blue\": 255 } \"disabled\": true }, \"button\": { \"icon\": { \"knownIcon\": \"INVITE\" \"altText\": \"check calendar\" }, \"onClick\": { \"openLink\": { \"url\": \"https://example.com/calendar\" } } }, ] } ```" }, "columns": { - "$ref": "AppsDynamiteSharedColumns", + "$ref": "AppsDynamiteStorageColumns", "description": "Displays a single row of columns with widgets stacked vertically in each column. For example, the following JSON creates a 2 column widget each containing a single item. ``` \"columns\": { \"wrapStyle\": \"WRAP\", \"columnItems\": [ { \"horizontalSizeStyle\": \"FILL_AVAILABLE_SPACE\", \"horizontalAlignment\": \"CENTER\", \"verticalAlignment\" : \"CENTER\", \"widgets\": [ { \"textParagraph\": { \"text\": \"First column text paragraph\", } } ] }, { \"horizontalSizeStyle\": \"FILL_AVAILABLE_SPACE\", \"horizontalAlignment\": \"CENTER\", \"verticalAlignment\" : \"CENTER\", \"widgets\": [ { \"textParagraph\": { \"text\": \"Second column text paragraph\", } } ] }, ] } } ```" }, "dateTimePicker": { - "$ref": "AppsDynamiteSharedDateTimePicker", + "$ref": "AppsDynamiteStorageDateTimePicker", "description": "Displays a selection/input widget for date/time. For example, the following JSON creates a date/time picker for an appointment time: ``` \"date_time_picker\": { \"name\": \"appointment_time\", \"label\": \"Book your appointment at:\", \"type\": \"DateTimePickerType.DATE_AND_TIME\", \"valueMsEpoch\": \"796435200000\" } ```" }, "decoratedText": { - "$ref": "AppsDynamiteSharedDecoratedText", + "$ref": "AppsDynamiteStorageDecoratedText", "description": "Displays a decorated text item in this widget. For example, the following JSON creates a decorated text widget showing email address: ``` \"decoratedText\": { \"icon\": { \"knownIcon\": \"EMAIL\" }, \"topLabel\": \"Email Address\", \"content\": \"heba.salam@example.com\", \"bottomLabel\": \"This is a new Email address!\", \"switchWidget\": { \"name\": \"has_send_welcome_email_to_heba_salam\", \"selected\": false, \"controlType\": \"ControlType.CHECKBOX\" } } ```" }, "divider": { - "$ref": "AppsDynamiteSharedDivider", + "$ref": "AppsDynamiteStorageDivider", "description": "Displays a divider. For example, the following JSON creates a divider: ``` \"divider\": { } ```" }, "grid": { - "$ref": "AppsDynamiteSharedGrid", + "$ref": "AppsDynamiteStorageGrid", "description": "Displays a grid with a collection of items. For example, the following JSON creates a 2 column grid with a single item: ``` \"grid\": { \"title\": \"A fine collection of items\", \"numColumns\": 2, \"borderStyle\": { \"type\": \"STROKE\", \"cornerRadius\": 4.0 }, \"items\": [ \"image\": { \"imageUri\": \"https://www.example.com/image.png\", \"cropStyle\": { \"type\": \"SQUARE\" }, \"borderStyle\": { \"type\": \"STROKE\" } }, \"title\": \"An item\", \"textAlignment\": \"CENTER\" ], \"onClick\": { \"openLink\": { \"url\":\"https://www.example.com\" } } } ```" }, "horizontalAlignment": { @@ -4915,19 +4919,19 @@ "type": "string" }, "image": { - "$ref": "AppsDynamiteSharedImage", + "$ref": "AppsDynamiteStorageImage", "description": "Displays an image in this widget. For example, the following JSON creates an image with alternative text: ``` \"image\": { \"imageUrl\": \"https://example.com/heba_salam.png\" \"altText\": \"Avatar for Heba Salam\" } ```" }, "selectionInput": { - "$ref": "AppsDynamiteSharedSelectionInput", + "$ref": "AppsDynamiteStorageSelectionInput", "description": "Displays a switch control in this widget. For example, the following JSON creates a dropdown selection for size: ``` \"switchControl\": { \"name\": \"size\", \"label\": \"Size\" \"type\": \"SelectionType.DROPDOWN\", \"items\": [ { \"text\": \"S\", \"value\": \"small\", \"selected\": false }, { \"text\": \"M\", \"value\": \"medium\", \"selected\": true }, { \"text\": \"L\", \"value\": \"large\", \"selected\": false }, { \"text\": \"XL\", \"value\": \"extra_large\", \"selected\": false } ] } ```" }, "textInput": { - "$ref": "AppsDynamiteSharedTextInput", + "$ref": "AppsDynamiteStorageTextInput", "description": "Displays a text input in this widget. For example, the following JSON creates a text input for mail address: ``` \"textInput\": { \"name\": \"mailing_address\", \"label\": \"Mailing Address\" } ``` As another example, the following JSON creates a text input for programming language with static suggestions: ``` \"textInput\": { \"name\": \"preferred_programing_language\", \"label\": \"Preferred Language\", \"initialSuggestions\": { \"items\": [ { \"text\": \"C++\" }, { \"text\": \"Java\" }, { \"text\": \"JavaScript\" }, { \"text\": \"Python\" } ] } } ```" }, "textParagraph": { - "$ref": "AppsDynamiteSharedTextParagraph", + "$ref": "AppsDynamiteStorageTextParagraph", "description": "Displays a text paragraph in this widget. For example, the following JSON creates a bolded text: ``` \"textParagraph\": { \"text\": \" *bold text*\" } ```" } }, @@ -5329,7 +5333,7 @@ "type": "string" }, "cardAddOnData": { - "$ref": "AppsDynamiteSharedCard", + "$ref": "AppsDynamiteStorageCard", "description": "Card AddOn attachment with the possibility for specifying editable widgets." }, "deprecatedAddOnData": { @@ -5817,6 +5821,25 @@ "readOnly": true, "type": "array" }, + "availableAccessTypes": { + "description": "List of available access types of the conference.", + "items": { + "enum": [ + "ACCESS_TYPE_UNSPECIFIED", + "ACCESS_TYPE_OPEN", + "ACCESS_TYPE_TRUSTED", + "ACCESS_TYPE_RESTRICTED" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Anyone with meeting join information (url, phone access...) can join, no knocking required. (Subject to organization policies)", + "Members of the Host's organization, invited external users, and dial-in users can join without knocking, everyone else must knock. (Subject to organization policies)", + "Only participants invited by a host can automatically join, everyone else must knock and be admitted. (Subject to organization policies) Participants cannot dial out from the meeting. And only hosts can accept knocks." + ], + "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": { @@ -7513,9 +7536,17 @@ "format": "double", "type": "number" }, + "messageSenderAffinityScore": { + "format": "double", + "type": "number" + }, "topicalityScore": { "format": "double", "type": "number" + }, + "unjoinedSpaceAffinityScore": { + "format": "double", + "type": "number" } }, "type": "object" @@ -13888,7 +13919,7 @@ "type": "object" }, "PrincipalProto": { - "description": "A Principal represents something to which permissions are assigned, often but not always a user or group of some kind. It is most appropriate for use in ACLs and authorization checks. Callers should prefer to use the wrapper classes in google3/security/credentials/public/principal.h google3/java/com/google/security/credentials/Principal.java google3/security/credentials/go/principal.go unless direct proto access is essential. If you update this protocol buffer, please update the wrapper classes as well.", + "description": "A Principal represents something to which permissions are assigned, often but not always a user or group of some kind. It is most appropriate for use in ACLs and authorization checks. Callers should prefer to use the wrapper classes in google3/security/credentials/public/principal.h google3/java/com/google/security/credentials/Principal.java google3/security/credentials/go/principal.go unless direct proto access is essential. If you update this protocol buffer, please update the wrapper classes as well. LINT.IfChange", "id": "PrincipalProto", "properties": { "allAuthenticatedUsers": { @@ -14165,7 +14196,7 @@ "$ref": "IntegerPropertyOptions" }, "isFacetable": { - "description": "Indicates that the property can be used for generating facets. Cannot be true for properties whose type is object. IsReturnable must be true to set this option. Only supported for boolean, enum, and text properties.", + "description": "Indicates that the property can be used for generating facets. Cannot be true for properties whose type is object. IsReturnable must be true to set this option. Only supported for boolean, enum, integer, and text properties.", "type": "boolean" }, "isRepeatable": { @@ -14647,7 +14678,7 @@ "type": "object" }, "RbacRoleProto": { - "description": "Principal associated with a given RBAC role. This principal is used by Sphinx Provisioning Service for RBAC (go/cedi-auth) provisionable (go/sphinx-rbacz-design).", + "description": "Principal associated with a given RBAC role. This principal is used by Sphinx Provisioning Service for RBAC provisionable (go/sphinx-rbacz).", "id": "RbacRoleProto", "properties": { "name": { @@ -14661,14 +14692,14 @@ "type": "string" }, "rbacRoleName": { - "description": "Format: \"RbacNamespaceName.RbacRoleName(/field=value)*\", e.g., \"hr.v1.Reader\", \"hr.v1.Reader/language=EN_US/country=USA/room=NYC-9th-11A201\".", + "description": "Format: \"role/z?\" - \"role\" is the Sphinx globally unique name of the Sphinx role that provisions the RBAC role. - \"/z?\" suffix indicates which Zanzibar environment stores the role membership data (\"/zd\": dev, \"/zs\": staging, \"/zp\": prod, \"/zt\": local test instance). Example: \"mysystem_myrole/zp\"", "type": "string" } }, "type": "object" }, "RbacSubjectProto": { - "description": "Principal associated with a given RBAC subject. This principal is used by Sphinx Provisioning Service for RBAC (go/cedi-auth) provisionable (go/sphinx-rbacz-design).", + "description": "Principal associated with a given RBAC subject. This principal is used by Sphinx Provisioning Service for RBAC provisionable (go/sphinx-rbacz).", "id": "RbacSubjectProto", "properties": { "username": { @@ -18195,12 +18226,16 @@ "description": "Information about the broadcast to YouTube.", "id": "YouTubeLiveBroadcastEvent", "properties": { + "brandAccountGaiaId": { + "description": "Input only. If the channel_id is for a YouTube Channel owned by a Brand Account, client is required to populate this field with the obfuscated gaia id of the Brand account when starting the broadcast.", + "type": "string" + }, "broadcastId": { "description": "Input only. The broadcast id, used to control the lifecycle of the event on YouTube", "type": "string" }, "channelId": { - "description": "YouTube channel associated with the broadcast.", + "description": "YouTube Channel associated with the broadcast.", "type": "string" }, "viewUrl": {