@maxim_mazurok/gapi.client.discoveryengine-v1alpha 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 -4
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=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230914
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1080,9 +1080,6 @@ declare namespace gapi.client {
|
|
|
1080
1080
|
/** Specifies whether to also include the adjacent from each selected segments. Return at most `num_previous_segments` segments before each selected segments. */
|
|
1081
1081
|
numPreviousSegments?:
|
|
1082
1082
|
number;
|
|
1083
|
-
/** Specifies whether to return the confidence score from the extractive segments in each search result. The default value is `false`. */
|
|
1084
|
-
returnExtractiveSegmentScore?:
|
|
1085
|
-
boolean;
|
|
1086
1083
|
}
|
|
1087
1084
|
interface GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec {
|
|
1088
1085
|
/** [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. */
|
|
@@ -1122,7 +1119,7 @@ declare namespace gapi.client {
|
|
|
1122
1119
|
*/
|
|
1123
1120
|
includeCitations?:
|
|
1124
1121
|
boolean;
|
|
1125
|
-
/** Language code for Summary. Use language tags defined by BCP47. */
|
|
1122
|
+
/** 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. */
|
|
1126
1123
|
languageCode?:
|
|
1127
1124
|
string;
|
|
1128
1125
|
/**
|
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 */
|
|
@@ -158,7 +158,6 @@ gapi.load('client', async () => {
|
|
|
158
158
|
maxExtractiveSegmentCount: 42,
|
|
159
159
|
numNextSegments: 42,
|
|
160
160
|
numPreviousSegments: 42,
|
|
161
|
-
returnExtractiveSegmentScore: true,
|
|
162
161
|
},
|
|
163
162
|
snippetSpec: {
|
|
164
163
|
maxSnippetCount: 42,
|
|
@@ -777,7 +776,6 @@ gapi.load('client', async () => {
|
|
|
777
776
|
maxExtractiveSegmentCount: 42,
|
|
778
777
|
numNextSegments: 42,
|
|
779
778
|
numPreviousSegments: 42,
|
|
780
|
-
returnExtractiveSegmentScore: true,
|
|
781
779
|
},
|
|
782
780
|
snippetSpec: {
|
|
783
781
|
maxSnippetCount: 42,
|
|
@@ -1630,7 +1628,6 @@ gapi.load('client', async () => {
|
|
|
1630
1628
|
maxExtractiveSegmentCount: 42,
|
|
1631
1629
|
numNextSegments: 42,
|
|
1632
1630
|
numPreviousSegments: 42,
|
|
1633
|
-
returnExtractiveSegmentScore: true,
|
|
1634
1631
|
},
|
|
1635
1632
|
snippetSpec: {
|
|
1636
1633
|
maxSnippetCount: 42,
|