@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/v1beta.js CHANGED
@@ -2255,6 +2255,39 @@ var discoveryengine_v1beta;
2255
2255
  return (0, googleapis_common_1.createAPIRequest)(parameters);
2256
2256
  }
2257
2257
  }
2258
+ create(paramsOrCallback, optionsOrCallback, callback) {
2259
+ let params = (paramsOrCallback ||
2260
+ {});
2261
+ let options = (optionsOrCallback || {});
2262
+ if (typeof paramsOrCallback === 'function') {
2263
+ callback = paramsOrCallback;
2264
+ params =
2265
+ {};
2266
+ options = {};
2267
+ }
2268
+ if (typeof optionsOrCallback === 'function') {
2269
+ callback = optionsOrCallback;
2270
+ options = {};
2271
+ }
2272
+ const rootUrl = options.rootUrl || 'https://discoveryengine.googleapis.com/';
2273
+ const parameters = {
2274
+ options: Object.assign({
2275
+ url: (rootUrl + '/v1beta/{+parent}/servingConfigs').replace(/([^:]\/)\/+/g, '$1'),
2276
+ method: 'POST',
2277
+ apiVersion: '',
2278
+ }, options),
2279
+ params,
2280
+ requiredParams: ['parent'],
2281
+ pathParams: ['parent'],
2282
+ context: this.context,
2283
+ };
2284
+ if (callback) {
2285
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
2286
+ }
2287
+ else {
2288
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
2289
+ }
2290
+ }
2258
2291
  delete(paramsOrCallback, optionsOrCallback, callback) {
2259
2292
  let params = (paramsOrCallback ||
2260
2293
  {});
@@ -4701,6 +4734,39 @@ var discoveryengine_v1beta;
4701
4734
  return (0, googleapis_common_1.createAPIRequest)(parameters);
4702
4735
  }
4703
4736
  }
4737
+ create(paramsOrCallback, optionsOrCallback, callback) {
4738
+ let params = (paramsOrCallback ||
4739
+ {});
4740
+ let options = (optionsOrCallback || {});
4741
+ if (typeof paramsOrCallback === 'function') {
4742
+ callback = paramsOrCallback;
4743
+ params =
4744
+ {};
4745
+ options = {};
4746
+ }
4747
+ if (typeof optionsOrCallback === 'function') {
4748
+ callback = optionsOrCallback;
4749
+ options = {};
4750
+ }
4751
+ const rootUrl = options.rootUrl || 'https://discoveryengine.googleapis.com/';
4752
+ const parameters = {
4753
+ options: Object.assign({
4754
+ url: (rootUrl + '/v1beta/{+parent}/servingConfigs').replace(/([^:]\/)\/+/g, '$1'),
4755
+ method: 'POST',
4756
+ apiVersion: '',
4757
+ }, options),
4758
+ params,
4759
+ requiredParams: ['parent'],
4760
+ pathParams: ['parent'],
4761
+ context: this.context,
4762
+ };
4763
+ if (callback) {
4764
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
4765
+ }
4766
+ else {
4767
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
4768
+ }
4769
+ }
4704
4770
  delete(paramsOrCallback, optionsOrCallback, callback) {
4705
4771
  let params = (paramsOrCallback ||
4706
4772
  {});
@@ -6766,6 +6832,39 @@ var discoveryengine_v1beta;
6766
6832
  return (0, googleapis_common_1.createAPIRequest)(parameters);
6767
6833
  }
6768
6834
  }
6835
+ create(paramsOrCallback, optionsOrCallback, callback) {
6836
+ let params = (paramsOrCallback ||
6837
+ {});
6838
+ let options = (optionsOrCallback || {});
6839
+ if (typeof paramsOrCallback === 'function') {
6840
+ callback = paramsOrCallback;
6841
+ params =
6842
+ {};
6843
+ options = {};
6844
+ }
6845
+ if (typeof optionsOrCallback === 'function') {
6846
+ callback = optionsOrCallback;
6847
+ options = {};
6848
+ }
6849
+ const rootUrl = options.rootUrl || 'https://discoveryengine.googleapis.com/';
6850
+ const parameters = {
6851
+ options: Object.assign({
6852
+ url: (rootUrl + '/v1beta/{+parent}/servingConfigs').replace(/([^:]\/)\/+/g, '$1'),
6853
+ method: 'POST',
6854
+ apiVersion: '',
6855
+ }, options),
6856
+ params,
6857
+ requiredParams: ['parent'],
6858
+ pathParams: ['parent'],
6859
+ context: this.context,
6860
+ };
6861
+ if (callback) {
6862
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
6863
+ }
6864
+ else {
6865
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
6866
+ }
6867
+ }
6769
6868
  delete(paramsOrCallback, optionsOrCallback, callback) {
6770
6869
  let params = (paramsOrCallback ||
6771
6870
  {});