@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/v1.js CHANGED
@@ -9160,6 +9160,38 @@ var discoveryengine_v1;
9160
9160
  return (0, googleapis_common_1.createAPIRequest)(parameters);
9161
9161
  }
9162
9162
  }
9163
+ list(paramsOrCallback, optionsOrCallback, callback) {
9164
+ let params = (paramsOrCallback ||
9165
+ {});
9166
+ let options = (optionsOrCallback || {});
9167
+ if (typeof paramsOrCallback === 'function') {
9168
+ callback = paramsOrCallback;
9169
+ params = {};
9170
+ options = {};
9171
+ }
9172
+ if (typeof optionsOrCallback === 'function') {
9173
+ callback = optionsOrCallback;
9174
+ options = {};
9175
+ }
9176
+ const rootUrl = options.rootUrl || 'https://discoveryengine.googleapis.com/';
9177
+ const parameters = {
9178
+ options: Object.assign({
9179
+ url: (rootUrl + '/v1/{+parent}/licenseConfigs').replace(/([^:]\/)\/+/g, '$1'),
9180
+ method: 'GET',
9181
+ apiVersion: '',
9182
+ }, options),
9183
+ params,
9184
+ requiredParams: ['parent'],
9185
+ pathParams: ['parent'],
9186
+ context: this.context,
9187
+ };
9188
+ if (callback) {
9189
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
9190
+ }
9191
+ else {
9192
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
9193
+ }
9194
+ }
9163
9195
  patch(paramsOrCallback, optionsOrCallback, callback) {
9164
9196
  let params = (paramsOrCallback ||
9165
9197
  {});