@maxim_mazurok/gapi.client.cloudsearch-v1 0.0.20230124 → 0.0.20230131
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.
- package/index.d.ts +13 -5
- package/package.json +1 -1
- 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:
|
|
12
|
+
// Revision: 20230131
|
|
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
|
|
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
|
-
/**
|
|
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;
|
|
@@ -2009,6 +2013,7 @@ declare namespace gapi.client {
|
|
|
2009
2013
|
finalScore?: number;
|
|
2010
2014
|
freshnessScore?: number;
|
|
2011
2015
|
joinedSpaceAffinityScore?: number;
|
|
2016
|
+
lastReadTimestampAgeInDays?: number;
|
|
2012
2017
|
messageAgeInDays?: number;
|
|
2013
2018
|
messageSenderAffinityScore?: number;
|
|
2014
2019
|
spaceId?: string;
|
|
@@ -5164,7 +5169,10 @@ declare namespace gapi.client {
|
|
|
5164
5169
|
name?: string;
|
|
5165
5170
|
}
|
|
5166
5171
|
interface UploadMetadata {
|
|
5167
|
-
/**
|
|
5172
|
+
/**
|
|
5173
|
+
* 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
|
|
5174
|
+
* field will NOT be saved into storage.
|
|
5175
|
+
*/
|
|
5168
5176
|
attachmentToken?: string;
|
|
5169
5177
|
/** Information about the uploaded attachment that is only used in Backend. This field will NOT be sent out of Google. */
|
|
5170
5178
|
backendUploadMetadata?: AppsDynamiteSharedBackendUploadMetadata;
|
package/package.json
CHANGED
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:
|
|
6
|
+
// Revision: 20230131
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|