@maxim_mazurok/gapi.client.cloudsearch-v1 0.0.20230311 → 0.0.20230321

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 +40 -2
  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: 20230311
12
+ // Revision: 20230321
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -88,6 +88,13 @@ declare namespace gapi.client {
88
88
  cardCapabilityMetadata?: CardCapabilityMetadata;
89
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
+ /**
92
+ * Contains additional metadata that further enhances the annotation when it is returned as part of search response. For example, this can be used to define how the annotation matches
93
+ * the search. Information can be used to highlight in rendering search results. The following are the different annotation text fields that can be highlighted by this field: 1.
94
+ * DriveMetadata.title 2. UploadMetadata.content_name 3. GsuiteIntegrationMetadata.TasksMessageIntegrationRenderData.title 4.
95
+ * GsuiteIntegrationMetadata.CalendarEventAnnotationData.title
96
+ */
97
+ componentSearchInfo?: AppsDynamiteSharedMessageComponentSearchInfo;
91
98
  consentedAppUnfurlMetadata?: ConsentedAppUnfurlMetadata;
92
99
  customEmojiMetadata?: CustomEmojiMetadata;
93
100
  dataLossPreventionMetadata?: DataLossPreventionMetadata;
@@ -464,6 +471,12 @@ declare namespace gapi.client {
464
471
  /** Required. A URL, in the format "https://meet.google.com/*" (e.g. https://meet.google.com/cxv-zbgj-wzw), to identify and access the meeting space. */
465
472
  meetingUrl?: string;
466
473
  }
474
+ interface AppsDynamiteSharedMessageComponentSearchInfo {
475
+ /** Whether the whole component matched the search. */
476
+ matchedSearch?: boolean;
477
+ /** Backend should always set TextWithDescription.text_body based on the title (or its snippet) of the annotation or attachment. */
478
+ titleTextWithDescription?: AppsDynamiteSharedTextWithDescription;
479
+ }
467
480
  interface AppsDynamiteSharedMessageInfo {
468
481
  /** Id of the source chat message. This is kept here because the top-level message ID to refers the AF message ID. */
469
482
  messageId?: MessageId;
@@ -592,6 +605,20 @@ declare namespace gapi.client {
592
605
  // tslint:disable-next-line:no-empty-interface
593
606
  interface AppsDynamiteSharedTasksMessageIntegrationPayload {
594
607
  }
608
+ interface AppsDynamiteSharedTextSegment {
609
+ /** Length of the segment in the text. */
610
+ length?: number;
611
+ /** Start index (0-indexed and inclusive) of the segment in the text. */
612
+ startIndex?: number;
613
+ }
614
+ interface AppsDynamiteSharedTextSegmentsWithDescription {
615
+ descriptionType?: string;
616
+ textSegment?: AppsDynamiteSharedTextSegment[];
617
+ }
618
+ interface AppsDynamiteSharedTextWithDescription {
619
+ textBody?: string;
620
+ textSegmentsWithDescription?: AppsDynamiteSharedTextSegmentsWithDescription[];
621
+ }
595
622
  interface AppsDynamiteSharedUserBlockRelationship {
596
623
  hasBlockedRequester?: boolean;
597
624
  isBlockedByRequester?: boolean;
@@ -1927,7 +1954,13 @@ declare namespace gapi.client {
1927
1954
  // tslint:disable-next-line:no-empty-interface
1928
1955
  interface Divider {
1929
1956
  }
1957
+ interface DlpAction {
1958
+ actionType?: string;
1959
+ /** The custom error message defined by the customer administrator. */
1960
+ unsafeHtmlMessageBody?: string;
1961
+ }
1930
1962
  interface DlpScanSummary {
1963
+ dlpAction?: DlpAction;
1931
1964
  /**
1932
1965
  * The scan ID of the corresponding {@link DlpViolationScanRecord} in the {@link EphemeralDlpScans} Spanner table. This can be used to fetch additional details about the scan, e.g. for
1933
1966
  * audit logging.
@@ -2071,6 +2104,7 @@ declare namespace gapi.client {
2071
2104
  joinedSpacesAffinityScore?: number;
2072
2105
  lastMessagePostedTimestampSecs?: string;
2073
2106
  lastReadTimestampSecs?: string;
2107
+ memberCountScore?: number;
2074
2108
  memberMetadataCount?: number;
2075
2109
  messageScore?: number;
2076
2110
  numAucContacts?: string;
@@ -2769,7 +2803,11 @@ declare namespace gapi.client {
2769
2803
  imageStyle?: string;
2770
2804
  }
2771
2805
  interface Id {
2772
- /** The User account in which the DirEntry was originally created. If name_space==GAIA, then it's the gaia_id of the user this id is referring to. */
2806
+ /**
2807
+ * The User account in which the DirEntry was originally created. If name_space==GAIA, then it's the gaia_id of the user this id is referring to. This field should really be called the
2808
+ * "bucket ID", not the creator ID. In some circumstances, such as copying a Google Docs file, a user can create an item in a different user's bucket, so it should not be relied upon
2809
+ * for anything other than bucket location. To look up the requesting user who initially created item, use the `creator_id` DirEntry field instead.
2810
+ */
2773
2811
  creatorUserId?: string;
2774
2812
  /**
2775
2813
  * The local identifier for the DirEntry (local to the creator's account). local_id + app_name is guaranteed to be unique within the creator account, but not across all User accounts.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudsearch-v1",
3
- "version": "0.0.20230311",
3
+ "version": "0.0.20230321",
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: 20230311
6
+ // Revision: 20230321
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */