@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20230907 → 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 +51 -7
- package/package.json +1 -1
- package/tests.ts +1 -3
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?:
|
|
@@ -1170,9 +1217,6 @@ declare namespace gapi.client {
|
|
|
1170
1217
|
/** Specifies whether to also include the adjacent from each selected segments. Return at most `num_previous_segments` segments before each selected segments. */
|
|
1171
1218
|
numPreviousSegments?:
|
|
1172
1219
|
number;
|
|
1173
|
-
/** Specifies whether to return the confidence score from the extractive segments in each search result. The default value is `false`. */
|
|
1174
|
-
returnExtractiveSegmentScore?:
|
|
1175
|
-
boolean;
|
|
1176
1220
|
}
|
|
1177
1221
|
interface GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec {
|
|
1178
1222
|
/** [DEPRECATED] This field is deprecated. To control snippet return, use `return_snippet` field. For backwards compatibility, we will return snippet if max_snippet_count > 0. */
|
|
@@ -1212,7 +1256,7 @@ declare namespace gapi.client {
|
|
|
1212
1256
|
*/
|
|
1213
1257
|
includeCitations?:
|
|
1214
1258
|
boolean;
|
|
1215
|
-
/** Language code for Summary. Use language tags defined by BCP47. */
|
|
1259
|
+
/** Language code for Summary. Use language tags defined by [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Note: This is an experimental feature. */
|
|
1216
1260
|
languageCode?:
|
|
1217
1261
|
string;
|
|
1218
1262
|
/**
|
|
@@ -4008,7 +4052,7 @@ declare namespace gapi.client {
|
|
|
4008
4052
|
* Selects data model of query suggestions for serving. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` -
|
|
4009
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
|
|
4010
4054
|
* generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values:
|
|
4011
|
-
* * `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.
|
|
4012
4056
|
*/
|
|
4013
4057
|
queryModel?:
|
|
4014
4058
|
string;
|
|
@@ -6185,7 +6229,7 @@ declare namespace gapi.client {
|
|
|
6185
6229
|
* Selects data model of query suggestions for serving. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` -
|
|
6186
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
|
|
6187
6231
|
* generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values:
|
|
6188
|
-
* * `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.
|
|
6189
6233
|
*/
|
|
6190
6234
|
queryModel?:
|
|
6191
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 */
|
|
@@ -533,7 +533,6 @@ gapi.load('client', async () => {
|
|
|
533
533
|
maxExtractiveSegmentCount: 42,
|
|
534
534
|
numNextSegments: 42,
|
|
535
535
|
numPreviousSegments: 42,
|
|
536
|
-
returnExtractiveSegmentScore: true,
|
|
537
536
|
},
|
|
538
537
|
snippetSpec: {
|
|
539
538
|
maxSnippetCount: 42,
|
|
@@ -1348,7 +1347,6 @@ gapi.load('client', async () => {
|
|
|
1348
1347
|
maxExtractiveSegmentCount: 42,
|
|
1349
1348
|
numNextSegments: 42,
|
|
1350
1349
|
numPreviousSegments: 42,
|
|
1351
|
-
returnExtractiveSegmentScore: true,
|
|
1352
1350
|
},
|
|
1353
1351
|
snippetSpec: {
|
|
1354
1352
|
maxSnippetCount: 42,
|