@googleapis/discoveryengine 28.1.0 → 28.3.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/v1.js CHANGED
@@ -2319,6 +2319,39 @@ var discoveryengine_v1;
2319
2319
  return (0, googleapis_common_1.createAPIRequest)(parameters);
2320
2320
  }
2321
2321
  }
2322
+ create(paramsOrCallback, optionsOrCallback, callback) {
2323
+ let params = (paramsOrCallback ||
2324
+ {});
2325
+ let options = (optionsOrCallback || {});
2326
+ if (typeof paramsOrCallback === 'function') {
2327
+ callback = paramsOrCallback;
2328
+ params =
2329
+ {};
2330
+ options = {};
2331
+ }
2332
+ if (typeof optionsOrCallback === 'function') {
2333
+ callback = optionsOrCallback;
2334
+ options = {};
2335
+ }
2336
+ const rootUrl = options.rootUrl || 'https://discoveryengine.googleapis.com/';
2337
+ const parameters = {
2338
+ options: Object.assign({
2339
+ url: (rootUrl + '/v1/{+parent}/servingConfigs').replace(/([^:]\/)\/+/g, '$1'),
2340
+ method: 'POST',
2341
+ apiVersion: '',
2342
+ }, options),
2343
+ params,
2344
+ requiredParams: ['parent'],
2345
+ pathParams: ['parent'],
2346
+ context: this.context,
2347
+ };
2348
+ if (callback) {
2349
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
2350
+ }
2351
+ else {
2352
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
2353
+ }
2354
+ }
2322
2355
  delete(paramsOrCallback, optionsOrCallback, callback) {
2323
2356
  let params = (paramsOrCallback ||
2324
2357
  {});
@@ -4741,6 +4774,39 @@ var discoveryengine_v1;
4741
4774
  return (0, googleapis_common_1.createAPIRequest)(parameters);
4742
4775
  }
4743
4776
  }
4777
+ create(paramsOrCallback, optionsOrCallback, callback) {
4778
+ let params = (paramsOrCallback ||
4779
+ {});
4780
+ let options = (optionsOrCallback || {});
4781
+ if (typeof paramsOrCallback === 'function') {
4782
+ callback = paramsOrCallback;
4783
+ params =
4784
+ {};
4785
+ options = {};
4786
+ }
4787
+ if (typeof optionsOrCallback === 'function') {
4788
+ callback = optionsOrCallback;
4789
+ options = {};
4790
+ }
4791
+ const rootUrl = options.rootUrl || 'https://discoveryengine.googleapis.com/';
4792
+ const parameters = {
4793
+ options: Object.assign({
4794
+ url: (rootUrl + '/v1/{+parent}/servingConfigs').replace(/([^:]\/)\/+/g, '$1'),
4795
+ method: 'POST',
4796
+ apiVersion: '',
4797
+ }, options),
4798
+ params,
4799
+ requiredParams: ['parent'],
4800
+ pathParams: ['parent'],
4801
+ context: this.context,
4802
+ };
4803
+ if (callback) {
4804
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
4805
+ }
4806
+ else {
4807
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
4808
+ }
4809
+ }
4744
4810
  delete(paramsOrCallback, optionsOrCallback, callback) {
4745
4811
  let params = (paramsOrCallback ||
4746
4812
  {});
@@ -6882,6 +6948,39 @@ var discoveryengine_v1;
6882
6948
  return (0, googleapis_common_1.createAPIRequest)(parameters);
6883
6949
  }
6884
6950
  }
6951
+ create(paramsOrCallback, optionsOrCallback, callback) {
6952
+ let params = (paramsOrCallback ||
6953
+ {});
6954
+ let options = (optionsOrCallback || {});
6955
+ if (typeof paramsOrCallback === 'function') {
6956
+ callback = paramsOrCallback;
6957
+ params =
6958
+ {};
6959
+ options = {};
6960
+ }
6961
+ if (typeof optionsOrCallback === 'function') {
6962
+ callback = optionsOrCallback;
6963
+ options = {};
6964
+ }
6965
+ const rootUrl = options.rootUrl || 'https://discoveryengine.googleapis.com/';
6966
+ const parameters = {
6967
+ options: Object.assign({
6968
+ url: (rootUrl + '/v1/{+parent}/servingConfigs').replace(/([^:]\/)\/+/g, '$1'),
6969
+ method: 'POST',
6970
+ apiVersion: '',
6971
+ }, options),
6972
+ params,
6973
+ requiredParams: ['parent'],
6974
+ pathParams: ['parent'],
6975
+ context: this.context,
6976
+ };
6977
+ if (callback) {
6978
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
6979
+ }
6980
+ else {
6981
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
6982
+ }
6983
+ }
6885
6984
  delete(paramsOrCallback, optionsOrCallback, callback) {
6886
6985
  let params = (paramsOrCallback ||
6887
6986
  {});