@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20230914 → 0.0.20230928
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 +60 -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: 20230928
|
|
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?:
|
|
@@ -1336,6 +1383,8 @@ declare namespace gapi.client {
|
|
|
1336
1383
|
/** Results of facets requested by user. */
|
|
1337
1384
|
facets?:
|
|
1338
1385
|
GoogleCloudDiscoveryengineV1betaSearchResponseFacet[];
|
|
1386
|
+
geoSearchDebugInfo?:
|
|
1387
|
+
GoogleCloudDiscoveryengineV1betaSearchResponseGeoSearchDebugInfo[];
|
|
1339
1388
|
/** Guided search result. */
|
|
1340
1389
|
guidedSearchResult?:
|
|
1341
1390
|
GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult;
|
|
@@ -1380,6 +1429,14 @@ declare namespace gapi.client {
|
|
|
1380
1429
|
value?:
|
|
1381
1430
|
string;
|
|
1382
1431
|
}
|
|
1432
|
+
interface GoogleCloudDiscoveryengineV1betaSearchResponseGeoSearchDebugInfo {
|
|
1433
|
+
/** The error produced. */
|
|
1434
|
+
errorMessage?:
|
|
1435
|
+
string;
|
|
1436
|
+
/** The address from which forward geocoding ingestion produced issues. */
|
|
1437
|
+
originalAddressQuery?:
|
|
1438
|
+
string;
|
|
1439
|
+
}
|
|
1383
1440
|
interface GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult {
|
|
1384
1441
|
/** Suggested follow-up questions. */
|
|
1385
1442
|
followUpQuestions?:
|
|
@@ -4005,7 +4062,7 @@ declare namespace gapi.client {
|
|
|
4005
4062
|
* Selects data model of query suggestions for serving. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` -
|
|
4006
4063
|
* 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
4064
|
* 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
|
|
4065
|
+
* * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores.
|
|
4009
4066
|
*/
|
|
4010
4067
|
queryModel?:
|
|
4011
4068
|
string;
|
|
@@ -6182,7 +6239,7 @@ declare namespace gapi.client {
|
|
|
6182
6239
|
* Selects data model of query suggestions for serving. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` -
|
|
6183
6240
|
* 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
6241
|
* 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
|
|
6242
|
+
* * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores.
|
|
6186
6243
|
*/
|
|
6187
6244
|
queryModel?:
|
|
6188
6245
|
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: 20230928
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|