@maxim_mazurok/gapi.client.cloudsearch-v1 0.0.20230214 → 0.0.20230228

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +20 -7
  2. package/package.json +1 -1
  3. package/tests.ts +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://cloudsearch.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230214
12
+ // Revision: 20230228
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -86,7 +86,7 @@ declare namespace gapi.client {
86
86
  babelPlaceholderMetadata?: BabelPlaceholderMetadata;
87
87
  /** LINT.ThenChange(//depot/google3/java/com/google/apps/dynamite/v1/backend/action/common/SystemMessageHelper.java) */
88
88
  cardCapabilityMetadata?: CardCapabilityMetadata;
89
- /** Whether the annotation should be rendered as a chip. If this is missing or unspecified, fallback to should_not_render on the metadata. */
89
+ /** Whether the annotation should be rendered as a preview chip. If this is missing or unspecified, fallback to should_not_render on the metadata. */
90
90
  chipRenderType?: string;
91
91
  consentedAppUnfurlMetadata?: ConsentedAppUnfurlMetadata;
92
92
  customEmojiMetadata?: CustomEmojiMetadata;
@@ -101,8 +101,12 @@ declare namespace gapi.client {
101
101
  */
102
102
  gsuiteIntegrationMetadata?: GsuiteIntegrationMetadata;
103
103
  incomingWebhookChangedMetadata?: IncomingWebhookChangedMetadata;
104
+ /** The inline render format of this annotation. go/drive-smart-chips-chat-v2. */
105
+ inlineRenderFormat?: string;
104
106
  /** LINT.ThenChange(//depot/google3/java/com/google/apps/dynamite/v1/backend/action/common/SystemMessageHelper.java) */
105
107
  integrationConfigUpdated?: IntegrationConfigUpdatedMetadata;
108
+ /** Additional interaction data for this annotation. */
109
+ interactionData?: InteractionData;
106
110
  /** Length of the text_body substring beginning from start_index the Annotation corresponds to. */
107
111
  length?: number;
108
112
  /**
@@ -1907,7 +1911,7 @@ declare namespace gapi.client {
1907
1911
  /**
1908
1912
  * Indicates that was no attempt to scan a message or attachment because it was not applicable in the given context (e.g. atomic mutuate). If this is true, scan_outcome should not be
1909
1913
  * set. This flag is used to identify messages that DLP did not attempt to scan for monitoring scan coverage. Contents that DLP attempted to scan but skipped can be identified by
1910
- * DlpScanOutcome.SCAN_SKIPPED_* reasons.
1914
+ * DlpScanOutcome.SCAN_SKIPPED_* reasons. DEPRECATED: The prober can determine this from the context.
1911
1915
  */
1912
1916
  scanNotApplicableForContext?: boolean;
1913
1917
  /** The outcome of a DLP Scan. If this is set, scan_not_applicable_for_context should not be true. */
@@ -2020,6 +2024,7 @@ declare namespace gapi.client {
2020
2024
  commonCountToMembershipCountRatio?: number;
2021
2025
  creatorGaiaId?: string;
2022
2026
  creatorInSearcherContactList?: boolean;
2027
+ crowdingMultiplier?: number;
2023
2028
  dasContactCount?: string;
2024
2029
  finalScore?: number;
2025
2030
  freshnessScore?: number;
@@ -2940,6 +2945,14 @@ declare namespace gapi.client {
2940
2945
  principal?: Principal;
2941
2946
  type?: string;
2942
2947
  }
2948
+ interface InteractionData {
2949
+ /**
2950
+ * 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
2951
+ * 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
2952
+ * parts.
2953
+ */
2954
+ url?: SafeUrlProto;
2955
+ }
2943
2956
  interface InviteAcceptedEvent {
2944
2957
  participantId?: StoredParticipantId[];
2945
2958
  }
@@ -3412,11 +3425,9 @@ declare namespace gapi.client {
3412
3425
  /** Time when the Message was per-user deleted by the message requester in microseconds. This field is set to nonzero value only for Message per-user deleted by the requester. */
3413
3426
  deleteTimeForRequester?: string;
3414
3427
  /**
3415
- * Data Loss Prevention scan information for this message. Messages are evaluated in the backend on create message/topic and edit message actions. DEPRECATED: use dlp_scan_summary
3416
- * instead.
3428
+ * Data Loss Prevention scan information for this message. Messages are evaluated in the backend on create message/topic and edit message actions. DEPRECATED: Use DATA_LOSS_PREVENTION
3429
+ * Annotation.
3417
3430
  */
3418
- dlpScanOutcome?: string;
3419
- /** Data Loss Prevention scan information for this message. Messages are evaluated in the backend on create message/topic and edit message actions. */
3420
3431
  dlpScanSummary?: DlpScanSummary;
3421
3432
  /** Indicates who can edit the message. This field is set on the read path (e.g. ListTopics) but doesn’t have any effect on the write path (e.g. CreateMessageRequest). */
3422
3433
  editableBy?: string;
@@ -3525,6 +3536,8 @@ declare namespace gapi.client {
3525
3536
  parentId?: MessageParentId;
3526
3537
  }
3527
3538
  interface MessageInfo {
3539
+ /** Message author’s user type (human/bot). */
3540
+ authorUserType?: string;
3528
3541
  /** The content of a matching message. */
3529
3542
  message?: Message;
3530
3543
  /** Searcher's membership state in the space where the message is posted. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudsearch-v1",
3
- "version": "0.0.20230214",
3
+ "version": "0.0.20230228",
4
4
  "description": "TypeScript typings for Cloud Search API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230214
6
+ // Revision: 20230228
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */