@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20230907 → 0.0.20230914
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 +2 -5
- 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: 20230914
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1170,9 +1170,6 @@ declare namespace gapi.client {
|
|
|
1170
1170
|
/** Specifies whether to also include the adjacent from each selected segments. Return at most `num_previous_segments` segments before each selected segments. */
|
|
1171
1171
|
numPreviousSegments?:
|
|
1172
1172
|
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
1173
|
}
|
|
1177
1174
|
interface GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec {
|
|
1178
1175
|
/** [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 +1209,7 @@ declare namespace gapi.client {
|
|
|
1212
1209
|
*/
|
|
1213
1210
|
includeCitations?:
|
|
1214
1211
|
boolean;
|
|
1215
|
-
/** Language code for Summary. Use language tags defined by BCP47. */
|
|
1212
|
+
/** 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
1213
|
languageCode?:
|
|
1217
1214
|
string;
|
|
1218
1215
|
/**
|
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: 20230914
|
|
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,
|