@googleapis/discoveryengine 25.1.0 → 26.1.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
@@ -353,6 +353,39 @@ var discoveryengine_v1alpha;
353
353
  return (0, googleapis_common_1.createAPIRequest)(parameters);
354
354
  }
355
355
  }
356
+ getConfigurablePricingUsageStats(paramsOrCallback, optionsOrCallback, callback) {
357
+ let params = (paramsOrCallback ||
358
+ {});
359
+ let options = (optionsOrCallback || {});
360
+ if (typeof paramsOrCallback === 'function') {
361
+ callback = paramsOrCallback;
362
+ params =
363
+ {};
364
+ options = {};
365
+ }
366
+ if (typeof optionsOrCallback === 'function') {
367
+ callback = optionsOrCallback;
368
+ options = {};
369
+ }
370
+ const rootUrl = options.rootUrl || 'https://discoveryengine.googleapis.com/';
371
+ const parameters = {
372
+ options: Object.assign({
373
+ url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
374
+ method: 'GET',
375
+ apiVersion: '',
376
+ }, options),
377
+ params,
378
+ requiredParams: ['name'],
379
+ pathParams: ['name'],
380
+ context: this.context,
381
+ };
382
+ if (callback) {
383
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
384
+ }
385
+ else {
386
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
387
+ }
388
+ }
356
389
  obtainCrawlRate(paramsOrCallback, optionsOrCallback, callback) {
357
390
  let params = (paramsOrCallback ||
358
391
  {});