@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20230914 → 0.0.20230925
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 +50 -3
- 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://discoveryengine.googleapis.com/$discovery/rest?version=v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230925
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -284,6 +284,53 @@ declare namespace gapi.client {
|
|
|
284
284
|
purgeCount?:
|
|
285
285
|
string;
|
|
286
286
|
}
|
|
287
|
+
interface GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata {
|
|
288
|
+
/** Operation create time. */
|
|
289
|
+
createTime?:
|
|
290
|
+
string;
|
|
291
|
+
/** Unique URIs in the request that don't match any TargetSite in the DataStore, only match TargetSites that haven't been fully indexed, or match a TargetSite with type EXCLUDE. */
|
|
292
|
+
invalidUris?:
|
|
293
|
+
string[];
|
|
294
|
+
/** Total number of URIs that have yet to be crawled. */
|
|
295
|
+
pendingCount?:
|
|
296
|
+
number;
|
|
297
|
+
/** Total number of URIs that were rejected due to insufficient indexing resources. */
|
|
298
|
+
quotaExceededCount?:
|
|
299
|
+
number;
|
|
300
|
+
/** Total number of URIs that have been crawled so far. */
|
|
301
|
+
successCount?:
|
|
302
|
+
number;
|
|
303
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
304
|
+
updateTime?:
|
|
305
|
+
string;
|
|
306
|
+
/** Total number of unique URIs in the request that are not in invalid_uris. */
|
|
307
|
+
validUrisCount?:
|
|
308
|
+
number;
|
|
309
|
+
}
|
|
310
|
+
interface GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse {
|
|
311
|
+
/** URIs that were not crawled before the LRO terminated. */
|
|
312
|
+
failedUris?:
|
|
313
|
+
string[];
|
|
314
|
+
/** Details for a sample of up to 10 `failed_uris`. */
|
|
315
|
+
failureSamples?:
|
|
316
|
+
GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo[];
|
|
317
|
+
}
|
|
318
|
+
interface GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo {
|
|
319
|
+
/** List of failure reasons by corpus type (e.g. desktop, mobile). */
|
|
320
|
+
failureReasons?:
|
|
321
|
+
GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason[];
|
|
322
|
+
/** URI that failed to be crawled. */
|
|
323
|
+
uri?:
|
|
324
|
+
string;
|
|
325
|
+
}
|
|
326
|
+
interface GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason {
|
|
327
|
+
/** DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED. */
|
|
328
|
+
corpusType?:
|
|
329
|
+
string;
|
|
330
|
+
/** Reason why the URI was not crawled. */
|
|
331
|
+
errorMessage?:
|
|
332
|
+
string;
|
|
333
|
+
}
|
|
287
334
|
interface GoogleCloudDiscoveryengineV1alphaSchema {
|
|
288
335
|
/** Output only. Configurations for fields of the schema. */
|
|
289
336
|
fieldConfigs?:
|
|
@@ -4005,7 +4052,7 @@ declare namespace gapi.client {
|
|
|
4005
4052
|
* Selects data model of query suggestions for serving. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` -
|
|
4006
4053
|
* Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions
|
|
4007
4054
|
* generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values:
|
|
4008
|
-
* * `document` is the default model for regular dataStores. * `search-history` is the default model for
|
|
4055
|
+
* * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores.
|
|
4009
4056
|
*/
|
|
4010
4057
|
queryModel?:
|
|
4011
4058
|
string;
|
|
@@ -6182,7 +6229,7 @@ declare namespace gapi.client {
|
|
|
6182
6229
|
* Selects data model of query suggestions for serving. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` -
|
|
6183
6230
|
* Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions
|
|
6184
6231
|
* generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values:
|
|
6185
|
-
* * `document` is the default model for regular dataStores. * `search-history` is the default model for
|
|
6232
|
+
* * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores.
|
|
6186
6233
|
*/
|
|
6187
6234
|
queryModel?:
|
|
6188
6235
|
string;
|
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: 20230925
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|