@googleapis/discoveryengine 30.0.0 → 32.0.0
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/CHANGELOG.md +22 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +956 -24
- package/build/v1.js +32 -0
- package/build/v1.js.map +1 -1
- package/build/v1alpha.d.ts +2964 -209
- package/build/v1alpha.js +710 -74
- package/build/v1alpha.js.map +1 -1
- package/build/v1beta.d.ts +761 -17
- package/build/v1beta.js +32 -0
- package/build/v1beta.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +1114 -184
- package/v1alpha.ts +5175 -878
- package/v1beta.ts +920 -179
package/build/v1beta.js
CHANGED
|
@@ -302,6 +302,38 @@ var discoveryengine_v1beta;
|
|
|
302
302
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
|
+
provision(paramsOrCallback, optionsOrCallback, callback) {
|
|
306
|
+
let params = (paramsOrCallback ||
|
|
307
|
+
{});
|
|
308
|
+
let options = (optionsOrCallback || {});
|
|
309
|
+
if (typeof paramsOrCallback === 'function') {
|
|
310
|
+
callback = paramsOrCallback;
|
|
311
|
+
params = {};
|
|
312
|
+
options = {};
|
|
313
|
+
}
|
|
314
|
+
if (typeof optionsOrCallback === 'function') {
|
|
315
|
+
callback = optionsOrCallback;
|
|
316
|
+
options = {};
|
|
317
|
+
}
|
|
318
|
+
const rootUrl = options.rootUrl || 'https://discoveryengine.googleapis.com/';
|
|
319
|
+
const parameters = {
|
|
320
|
+
options: Object.assign({
|
|
321
|
+
url: (rootUrl + '/v1beta/{+name}:provision').replace(/([^:]\/)\/+/g, '$1'),
|
|
322
|
+
method: 'POST',
|
|
323
|
+
apiVersion: '',
|
|
324
|
+
}, options),
|
|
325
|
+
params,
|
|
326
|
+
requiredParams: ['name'],
|
|
327
|
+
pathParams: ['name'],
|
|
328
|
+
context: this.context,
|
|
329
|
+
};
|
|
330
|
+
if (callback) {
|
|
331
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
332
|
+
}
|
|
333
|
+
else {
|
|
334
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
335
|
+
}
|
|
336
|
+
}
|
|
305
337
|
removeDedicatedCrawlRate(paramsOrCallback, optionsOrCallback, callback) {
|
|
306
338
|
let params = (paramsOrCallback ||
|
|
307
339
|
{});
|