@googleapis/discoveryengine 28.1.0 → 28.2.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/build/v1alpha.js CHANGED
@@ -3418,6 +3418,39 @@ var discoveryengine_v1alpha;
3418
3418
  return (0, googleapis_common_1.createAPIRequest)(parameters);
3419
3419
  }
3420
3420
  }
3421
+ create(paramsOrCallback, optionsOrCallback, callback) {
3422
+ let params = (paramsOrCallback ||
3423
+ {});
3424
+ let options = (optionsOrCallback || {});
3425
+ if (typeof paramsOrCallback === 'function') {
3426
+ callback = paramsOrCallback;
3427
+ params =
3428
+ {};
3429
+ options = {};
3430
+ }
3431
+ if (typeof optionsOrCallback === 'function') {
3432
+ callback = optionsOrCallback;
3433
+ options = {};
3434
+ }
3435
+ const rootUrl = options.rootUrl || 'https://discoveryengine.googleapis.com/';
3436
+ const parameters = {
3437
+ options: Object.assign({
3438
+ url: (rootUrl + '/v1alpha/{+parent}/servingConfigs').replace(/([^:]\/)\/+/g, '$1'),
3439
+ method: 'POST',
3440
+ apiVersion: '',
3441
+ }, options),
3442
+ params,
3443
+ requiredParams: ['parent'],
3444
+ pathParams: ['parent'],
3445
+ context: this.context,
3446
+ };
3447
+ if (callback) {
3448
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
3449
+ }
3450
+ else {
3451
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
3452
+ }
3453
+ }
3421
3454
  delete(paramsOrCallback, optionsOrCallback, callback) {
3422
3455
  let params = (paramsOrCallback ||
3423
3456
  {});
@@ -6696,6 +6729,39 @@ var discoveryengine_v1alpha;
6696
6729
  return (0, googleapis_common_1.createAPIRequest)(parameters);
6697
6730
  }
6698
6731
  }
6732
+ create(paramsOrCallback, optionsOrCallback, callback) {
6733
+ let params = (paramsOrCallback ||
6734
+ {});
6735
+ let options = (optionsOrCallback || {});
6736
+ if (typeof paramsOrCallback === 'function') {
6737
+ callback = paramsOrCallback;
6738
+ params =
6739
+ {};
6740
+ options = {};
6741
+ }
6742
+ if (typeof optionsOrCallback === 'function') {
6743
+ callback = optionsOrCallback;
6744
+ options = {};
6745
+ }
6746
+ const rootUrl = options.rootUrl || 'https://discoveryengine.googleapis.com/';
6747
+ const parameters = {
6748
+ options: Object.assign({
6749
+ url: (rootUrl + '/v1alpha/{+parent}/servingConfigs').replace(/([^:]\/)\/+/g, '$1'),
6750
+ method: 'POST',
6751
+ apiVersion: '',
6752
+ }, options),
6753
+ params,
6754
+ requiredParams: ['parent'],
6755
+ pathParams: ['parent'],
6756
+ context: this.context,
6757
+ };
6758
+ if (callback) {
6759
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
6760
+ }
6761
+ else {
6762
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
6763
+ }
6764
+ }
6699
6765
  delete(paramsOrCallback, optionsOrCallback, callback) {
6700
6766
  let params = (paramsOrCallback ||
6701
6767
  {});
@@ -9217,6 +9283,39 @@ var discoveryengine_v1alpha;
9217
9283
  return (0, googleapis_common_1.createAPIRequest)(parameters);
9218
9284
  }
9219
9285
  }
9286
+ create(paramsOrCallback, optionsOrCallback, callback) {
9287
+ let params = (paramsOrCallback ||
9288
+ {});
9289
+ let options = (optionsOrCallback || {});
9290
+ if (typeof paramsOrCallback === 'function') {
9291
+ callback = paramsOrCallback;
9292
+ params =
9293
+ {};
9294
+ options = {};
9295
+ }
9296
+ if (typeof optionsOrCallback === 'function') {
9297
+ callback = optionsOrCallback;
9298
+ options = {};
9299
+ }
9300
+ const rootUrl = options.rootUrl || 'https://discoveryengine.googleapis.com/';
9301
+ const parameters = {
9302
+ options: Object.assign({
9303
+ url: (rootUrl + '/v1alpha/{+parent}/servingConfigs').replace(/([^:]\/)\/+/g, '$1'),
9304
+ method: 'POST',
9305
+ apiVersion: '',
9306
+ }, options),
9307
+ params,
9308
+ requiredParams: ['parent'],
9309
+ pathParams: ['parent'],
9310
+ context: this.context,
9311
+ };
9312
+ if (callback) {
9313
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
9314
+ }
9315
+ else {
9316
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
9317
+ }
9318
+ }
9220
9319
  delete(paramsOrCallback, optionsOrCallback, callback) {
9221
9320
  let params = (paramsOrCallback ||
9222
9321
  {});