|
2077 | 2077 | }
|
2078 | 2078 | }
|
2079 | 2079 | },
|
2080 |
| - "revision": "20230214", |
| 2080 | + "revision": "20230221", |
2081 | 2081 | "rootUrl": "https://cloudsearch.googleapis.com/",
|
2082 | 2082 | "schemas": {
|
2083 | 2083 | "AbuseReportingConfig": {
|
|
2322 | 2322 | "type": "object"
|
2323 | 2323 | },
|
2324 | 2324 | "Annotation": {
|
2325 |
| - "description": "NOTE WHEN ADDING NEW PROTO FIELDS: Be sure to add datapol annotations to new fields with potential PII, so they get scrubbed when logging protos for errors. NEXT TAG: 29", |
| 2325 | + "description": "NOTE WHEN ADDING NEW PROTO FIELDS: Be sure to add datapol annotations to new fields with potential PII, so they get scrubbed when logging protos for errors. NEXT TAG: 31", |
2326 | 2326 | "id": "Annotation",
|
2327 | 2327 | "properties": {
|
2328 | 2328 | "babelPlaceholderMetadata": {
|
|
2333 | 2333 | "description": "LINT.ThenChange(//depot/google3/java/com/google/apps/dynamite/v1/backend/action/common/SystemMessageHelper.java)"
|
2334 | 2334 | },
|
2335 | 2335 | "chipRenderType": {
|
2336 |
| - "description": "Whether the annotation should be rendered as a chip. If this is missing or unspecified, fallback to should_not_render on the metadata.", |
| 2336 | + "description": "Whether the annotation should be rendered as a preview chip. If this is missing or unspecified, fallback to should_not_render on the metadata.", |
2337 | 2337 | "enum": [
|
2338 | 2338 | "CHIP_RENDER_TYPE_UNSPECIFIED",
|
2339 | 2339 | "RENDER",
|
|
2342 | 2342 | ],
|
2343 | 2343 | "enumDescriptions": [
|
2344 | 2344 | "",
|
2345 |
| - "Clients must render the annotation as a chip, and if they cannot render this many Annotations, show a fallback card.", |
| 2345 | + "Clients must render the annotation as a preview chip, and if they cannot render this many Annotations, show a fallback card.", |
2346 | 2346 | "Client can render the annotation if it has room to render it.",
|
2347 |
| - "Client should not render the annotation as a chip." |
| 2347 | + "Client should not render the annotation as a preview chip." |
2348 | 2348 | ],
|
2349 | 2349 | "type": "string"
|
2350 | 2350 | },
|
|
2374 | 2374 | "incomingWebhookChangedMetadata": {
|
2375 | 2375 | "$ref": "IncomingWebhookChangedMetadata"
|
2376 | 2376 | },
|
| 2377 | + "inlineRenderFormat": { |
| 2378 | + "description": "The inline render format of this annotation. go/drive-smart-chips-chat-v2.", |
| 2379 | + "enum": [ |
| 2380 | + "INLINE_RENDER_FORMAT_UNSPECIFIED", |
| 2381 | + "SMART_CHIP" |
| 2382 | + ], |
| 2383 | + "enumDescriptions": [ |
| 2384 | + "", |
| 2385 | + "" |
| 2386 | + ], |
| 2387 | + "type": "string" |
| 2388 | + }, |
2377 | 2389 | "integrationConfigUpdated": {
|
2378 | 2390 | "$ref": "IntegrationConfigUpdatedMetadata",
|
2379 | 2391 | "description": "LINT.ThenChange(//depot/google3/java/com/google/apps/dynamite/v1/backend/action/common/SystemMessageHelper.java)"
|
2380 | 2392 | },
|
| 2393 | + "interactionData": { |
| 2394 | + "$ref": "InteractionData", |
| 2395 | + "description": "Additional interaction data for this annotation." |
| 2396 | + }, |
2381 | 2397 | "length": {
|
2382 | 2398 | "description": "Length of the text_body substring beginning from start_index the Annotation corresponds to.",
|
2383 | 2399 | "format": "int32",
|
|
11479 | 11495 | },
|
11480 | 11496 | "type": "object"
|
11481 | 11497 | },
|
| 11498 | + "InteractionData": { |
| 11499 | + "description": "Interaction data for an annotation, which may be supplemental to the metadata oneof. For example, this will contain the fully built navigation target for smart chips. NEXT TAG: 2", |
| 11500 | + "id": "InteractionData", |
| 11501 | + "properties": { |
| 11502 | + "url": { |
| 11503 | + "$ref": "SafeUrlProto", |
| 11504 | + "description": "A general navigation target associated with the annotation this message is contained in. For smart chips, this will be the destination of the tap/click target and will be returned by the server. For scenarios where the chip originated from a user-provided url, this value will be provided by clients; otherwise it will be built by the corresponding metadata parts." |
| 11505 | + } |
| 11506 | + }, |
| 11507 | + "type": "object" |
| 11508 | + }, |
11482 | 11509 | "InviteAcceptedEvent": {
|
11483 | 11510 | "id": "InviteAcceptedEvent",
|
11484 | 11511 | "properties": {
|
|
13111 | 13138 | "MessageInfo": {
|
13112 | 13139 | "id": "MessageInfo",
|
13113 | 13140 | "properties": {
|
| 13141 | + "authorUserType": { |
| 13142 | + "description": "Message author\u2019s user type (human/bot).", |
| 13143 | + "enum": [ |
| 13144 | + "HUMAN", |
| 13145 | + "BOT" |
| 13146 | + ], |
| 13147 | + "enumDescriptions": [ |
| 13148 | + "Notes on HUMAN type: 1) Leaving UserId.UserType field empty will return HUMAN as default value. This is expected because all the existing UserIds are without explicitly setting UserType, most of which are HUMAN Ids. For Bot Ids we will always set BOT in UserType field. 2) DO NOT explicitly set HUMAN as type. This is a proto2 issue, that a UserId with explicitly set default value HUMAN as type is NOT equal to an id without setting the field. aka. UserId id1 = UserId.newBuilder() .setId(\"dummy\").setType(UserType.HUMAN).build(); UserId id2 = UserId.newBuilder().setId(\"dummy\").build(); AssertThat(id1).isNotEqual(id2); AssertThat(id2.getType()).isEqualTo(UserType.HUMAN);", |
| 13149 | + "" |
| 13150 | + ], |
| 13151 | + "type": "string" |
| 13152 | + }, |
13114 | 13153 | "message": {
|
13115 | 13154 | "$ref": "Message",
|
13116 | 13155 | "description": "The content of a matching message."
|
|
0 commit comments