@maxim_mazurok/gapi.client.cloudsearch-v1 0.0.20230124 → 0.0.20230207

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 +24 -5
  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: 20230124
12
+ // Revision: 20230207
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -106,8 +106,8 @@ declare namespace gapi.client {
106
106
  /** Length of the text_body substring beginning from start_index the Annotation corresponds to. */
107
107
  length?: number;
108
108
  /**
109
- * A unique client-assigned ID for this annotation. This is helpful in matching the back-filled annotations to the original annotations on client side, without having to re-parse the
110
- * message.
109
+ * * A client-assigned ID for this annotation. This is helpful in matching the back-filled annotations to the original annotations on client side, without having to re-parse the
110
+ * message. There is no guarantee an annotation has a local_id, it's a purely client used and controlled field with no guarantee of uniqueness.
111
111
  */
112
112
  localId?: string;
113
113
  /** Metadata for system messages. Clients should never set this. LINT.IfChange */
@@ -131,7 +131,11 @@ declare namespace gapi.client {
131
131
  startIndex?: number;
132
132
  /** Type of the Annotation. */
133
133
  type?: string;
134
- /** A unique server-assigned ID for this annotation. This is helpful in matching annotation objects when fetched from service. */
134
+ /**
135
+ * * A unique server-assigned ID for this annotation. This is helpful in matching annotation objects when fetched from service. All uploads should have a unique_id after the message
136
+ * they are attached to is successfully sent. Url annotations that originally were uploads (i.e. policy violations) will have a unique_id after the message they are attached to is
137
+ * successfully sent. No other url annotations should have a unique_id. All drive annotations should have a unique_id after the message they are attached to is successfully sent.
138
+ */
135
139
  uniqueId?: string;
136
140
  uploadMetadata?: UploadMetadata;
137
141
  urlMetadata?: UrlMetadata;
@@ -531,7 +535,10 @@ declare namespace gapi.client {
531
535
  /** Whether this is a space that enables guest access */
532
536
  isExternal?: boolean;
533
537
  name?: string;
538
+ /** Deprecated. Use segmented_membership_counts instead which also includes other counts such as rosters. */
534
539
  numMembers?: number;
540
+ /** Member counts object with types of members and their respective counts. */
541
+ segmentedMembershipCounts?: AppsDynamiteSharedSegmentedMembershipCounts;
535
542
  /** searching user's membership state in this space */
536
543
  userMembershipState?: string;
537
544
  }
@@ -598,6 +605,14 @@ declare namespace gapi.client {
598
605
  loadIndicator?: string;
599
606
  /** List of action parameters. */
600
607
  parameters?: AppsDynamiteStorageActionActionParameter[];
608
+ /**
609
+ * Indicates whether form values persist after the action. The default value is `false`. If `true`, form values remain after the action is triggered. When using
610
+ * [LoadIndicator.NONE](workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator) for actions, `persist_values` = `true`is recommended, as it ensures that any changes made by
611
+ * the user after form or on change actions are sent to the server are not overwritten by the response. If `false`, the form values are cleared when the action is triggered. When
612
+ * `persist_values` is set to `false`, it is strongly recommended that the card use [LoadIndicator.SPINNER](workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator) for all
613
+ * actions, as this locks the UI to ensure no changes are made by the user while the action is being processed.
614
+ */
615
+ persistValues?: boolean;
601
616
  }
602
617
  interface AppsDynamiteStorageActionActionParameter {
603
618
  /** The name of the parameter for the action script. */
@@ -2009,6 +2024,7 @@ declare namespace gapi.client {
2009
2024
  finalScore?: number;
2010
2025
  freshnessScore?: number;
2011
2026
  joinedSpaceAffinityScore?: number;
2027
+ lastReadTimestampAgeInDays?: number;
2012
2028
  messageAgeInDays?: number;
2013
2029
  messageSenderAffinityScore?: number;
2014
2030
  spaceId?: string;
@@ -5164,7 +5180,10 @@ declare namespace gapi.client {
5164
5180
  name?: string;
5165
5181
  }
5166
5182
  interface UploadMetadata {
5167
- /** Opaque token. Clients shall simply pass it back to the Backend. This field will NOT be saved into storage. */
5183
+ /**
5184
+ * Opaque token. Clients shall simply pass it back to the Backend. There is no guarantee the attachment_token returned on subsequent reads is the same even if nothing has changed. This
5185
+ * field will NOT be saved into storage.
5186
+ */
5168
5187
  attachmentToken?: string;
5169
5188
  /** Information about the uploaded attachment that is only used in Backend. This field will NOT be sent out of Google. */
5170
5189
  backendUploadMetadata?: AppsDynamiteSharedBackendUploadMetadata;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudsearch-v1",
3
- "version": "0.0.20230124",
3
+ "version": "0.0.20230207",
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: 20230124
6
+ // Revision: 20230207
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */