@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20230428 → 0.0.20230504
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 +11 -8
- package/package.json +1 -1
- package/tests.ts +13 -7
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: 20230504
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -199,6 +199,9 @@ declare namespace gapi.client {
|
|
|
199
199
|
*/
|
|
200
200
|
quantity?:
|
|
201
201
|
number;
|
|
202
|
+
/** Required. The Document url - only allowed for DataStores with content_config PUBLIC_WEBSITE. */
|
|
203
|
+
uri?:
|
|
204
|
+
string;
|
|
202
205
|
}
|
|
203
206
|
interface GoogleCloudDiscoveryengineV1alphaGcsSource {
|
|
204
207
|
/**
|
|
@@ -396,7 +399,7 @@ declare namespace gapi.client {
|
|
|
396
399
|
string;
|
|
397
400
|
}
|
|
398
401
|
interface GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest {
|
|
399
|
-
/** Required. Filter matching documents to purge. Only currently supported value is
|
|
402
|
+
/** Required. Filter matching documents to purge. Only currently supported value is `*` (all items). */
|
|
400
403
|
filter?:
|
|
401
404
|
string;
|
|
402
405
|
/** Actually performs the purge. If `force` is set to false, return the expected purge count without deleting any documents. */
|
|
@@ -1249,9 +1252,9 @@ declare namespace gapi.client {
|
|
|
1249
1252
|
},
|
|
1250
1253
|
body: GoogleCloudDiscoveryengineV1alphaDocument): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
|
|
1251
1254
|
/**
|
|
1252
|
-
* Permanently deletes all selected Documents
|
|
1253
|
-
*
|
|
1254
|
-
*
|
|
1255
|
+
* Permanently deletes all selected Documents in a branch. This process is asynchronous. Depending on the number of Documents to be deleted, this operation can take hours to complete.
|
|
1256
|
+
* Before the delete operation completes, some Documents might still be returned by DocumentService.GetDocument or DocumentService.ListDocuments. To get a list of the Documents to be
|
|
1257
|
+
* deleted, set PurgeDocumentsRequest.force to false.
|
|
1255
1258
|
*/
|
|
1256
1259
|
purge(request: {
|
|
1257
1260
|
/** V1 error format. */
|
|
@@ -2548,9 +2551,9 @@ declare namespace gapi.client {
|
|
|
2548
2551
|
},
|
|
2549
2552
|
body: GoogleCloudDiscoveryengineV1alphaDocument): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
|
|
2550
2553
|
/**
|
|
2551
|
-
* Permanently deletes all selected Documents
|
|
2552
|
-
*
|
|
2553
|
-
*
|
|
2554
|
+
* Permanently deletes all selected Documents in a branch. This process is asynchronous. Depending on the number of Documents to be deleted, this operation can take hours to complete.
|
|
2555
|
+
* Before the delete operation completes, some Documents might still be returned by DocumentService.GetDocument or DocumentService.ListDocuments. To get a list of the Documents to be
|
|
2556
|
+
* deleted, set PurgeDocumentsRequest.force to false.
|
|
2554
2557
|
*/
|
|
2555
2558
|
purge(request: {
|
|
2556
2559
|
/** V1 error format. */
|
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: 20230504
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -116,9 +116,9 @@ gapi.load('client', async () => {
|
|
|
116
116
|
},
|
|
117
117
|
});
|
|
118
118
|
/**
|
|
119
|
-
* Permanently deletes all selected Documents
|
|
120
|
-
*
|
|
121
|
-
*
|
|
119
|
+
* Permanently deletes all selected Documents in a branch. This process is asynchronous. Depending on the number of Documents to be deleted, this operation can take hours to complete.
|
|
120
|
+
* Before the delete operation completes, some Documents might still be returned by DocumentService.GetDocument or DocumentService.ListDocuments. To get a list of the Documents to be
|
|
121
|
+
* deleted, set PurgeDocumentsRequest.force to false.
|
|
122
122
|
*/
|
|
123
123
|
await gapi.client.discoveryengine.projects.locations.collections.dataStores.branches.documents.purge({
|
|
124
124
|
parent: "Test string",
|
|
@@ -193,6 +193,7 @@ gapi.load('client', async () => {
|
|
|
193
193
|
"Test string"
|
|
194
194
|
],
|
|
195
195
|
quantity: 42,
|
|
196
|
+
uri: "Test string",
|
|
196
197
|
}
|
|
197
198
|
],
|
|
198
199
|
eventTime: "Test string",
|
|
@@ -310,6 +311,7 @@ gapi.load('client', async () => {
|
|
|
310
311
|
"Test string"
|
|
311
312
|
],
|
|
312
313
|
quantity: 42,
|
|
314
|
+
uri: "Test string",
|
|
313
315
|
}
|
|
314
316
|
],
|
|
315
317
|
eventTime: "Test string",
|
|
@@ -388,6 +390,7 @@ gapi.load('client', async () => {
|
|
|
388
390
|
"Test string"
|
|
389
391
|
],
|
|
390
392
|
quantity: 42,
|
|
393
|
+
uri: "Test string",
|
|
391
394
|
}
|
|
392
395
|
],
|
|
393
396
|
eventTime: "Test string",
|
|
@@ -544,9 +547,9 @@ gapi.load('client', async () => {
|
|
|
544
547
|
},
|
|
545
548
|
});
|
|
546
549
|
/**
|
|
547
|
-
* Permanently deletes all selected Documents
|
|
548
|
-
*
|
|
549
|
-
*
|
|
550
|
+
* Permanently deletes all selected Documents in a branch. This process is asynchronous. Depending on the number of Documents to be deleted, this operation can take hours to complete.
|
|
551
|
+
* Before the delete operation completes, some Documents might still be returned by DocumentService.GetDocument or DocumentService.ListDocuments. To get a list of the Documents to be
|
|
552
|
+
* deleted, set PurgeDocumentsRequest.force to false.
|
|
550
553
|
*/
|
|
551
554
|
await gapi.client.discoveryengine.projects.locations.dataStores.branches.documents.purge({
|
|
552
555
|
parent: "Test string",
|
|
@@ -621,6 +624,7 @@ gapi.load('client', async () => {
|
|
|
621
624
|
"Test string"
|
|
622
625
|
],
|
|
623
626
|
quantity: 42,
|
|
627
|
+
uri: "Test string",
|
|
624
628
|
}
|
|
625
629
|
],
|
|
626
630
|
eventTime: "Test string",
|
|
@@ -738,6 +742,7 @@ gapi.load('client', async () => {
|
|
|
738
742
|
"Test string"
|
|
739
743
|
],
|
|
740
744
|
quantity: 42,
|
|
745
|
+
uri: "Test string",
|
|
741
746
|
}
|
|
742
747
|
],
|
|
743
748
|
eventTime: "Test string",
|
|
@@ -816,6 +821,7 @@ gapi.load('client', async () => {
|
|
|
816
821
|
"Test string"
|
|
817
822
|
],
|
|
818
823
|
quantity: 42,
|
|
824
|
+
uri: "Test string",
|
|
819
825
|
}
|
|
820
826
|
],
|
|
821
827
|
eventTime: "Test string",
|