@googleapis/discoveryengine 29.0.0 → 31.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/build/v1beta.js CHANGED
@@ -8735,6 +8735,38 @@ var discoveryengine_v1beta;
8735
8735
  return (0, googleapis_common_1.createAPIRequest)(parameters);
8736
8736
  }
8737
8737
  }
8738
+ list(paramsOrCallback, optionsOrCallback, callback) {
8739
+ let params = (paramsOrCallback ||
8740
+ {});
8741
+ let options = (optionsOrCallback || {});
8742
+ if (typeof paramsOrCallback === 'function') {
8743
+ callback = paramsOrCallback;
8744
+ params = {};
8745
+ options = {};
8746
+ }
8747
+ if (typeof optionsOrCallback === 'function') {
8748
+ callback = optionsOrCallback;
8749
+ options = {};
8750
+ }
8751
+ const rootUrl = options.rootUrl || 'https://discoveryengine.googleapis.com/';
8752
+ const parameters = {
8753
+ options: Object.assign({
8754
+ url: (rootUrl + '/v1beta/{+parent}/licenseConfigs').replace(/([^:]\/)\/+/g, '$1'),
8755
+ method: 'GET',
8756
+ apiVersion: '',
8757
+ }, options),
8758
+ params,
8759
+ requiredParams: ['parent'],
8760
+ pathParams: ['parent'],
8761
+ context: this.context,
8762
+ };
8763
+ if (callback) {
8764
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
8765
+ }
8766
+ else {
8767
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
8768
+ }
8769
+ }
8738
8770
  patch(paramsOrCallback, optionsOrCallback, callback) {
8739
8771
  let params = (paramsOrCallback ||
8740
8772
  {});