@googleapis/securitycenter 8.2.0 → 9.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/CHANGELOG.md +29 -0
- package/build/v1.d.ts +641 -164
- package/build/v1.js +39 -0
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +446 -18
- package/build/v1beta1.js.map +1 -1
- package/build/v1beta2.d.ts +472 -44
- package/build/v1beta2.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +731 -164
- package/v1beta1.ts +446 -18
- package/v1beta2.ts +472 -44
package/build/v1.js
CHANGED
|
@@ -1807,6 +1807,7 @@ var securitycenter_v1;
|
|
|
1807
1807
|
new Resource$Organizations$Securityhealthanalyticssettings(this.context);
|
|
1808
1808
|
this.simulations = new Resource$Organizations$Simulations(this.context);
|
|
1809
1809
|
this.sources = new Resource$Organizations$Sources(this.context);
|
|
1810
|
+
this.valuedResources = new Resource$Organizations$Valuedresources(this.context);
|
|
1810
1811
|
}
|
|
1811
1812
|
getOrganizationSettings(paramsOrCallback, optionsOrCallback, callback) {
|
|
1812
1813
|
let params = (paramsOrCallback ||
|
|
@@ -4446,6 +4447,44 @@ var securitycenter_v1;
|
|
|
4446
4447
|
}
|
|
4447
4448
|
}
|
|
4448
4449
|
securitycenter_v1.Resource$Organizations$Sources$Findings$Externalsystems = Resource$Organizations$Sources$Findings$Externalsystems;
|
|
4450
|
+
class Resource$Organizations$Valuedresources {
|
|
4451
|
+
constructor(context) {
|
|
4452
|
+
this.context = context;
|
|
4453
|
+
}
|
|
4454
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
4455
|
+
let params = (paramsOrCallback ||
|
|
4456
|
+
{});
|
|
4457
|
+
let options = (optionsOrCallback || {});
|
|
4458
|
+
if (typeof paramsOrCallback === 'function') {
|
|
4459
|
+
callback = paramsOrCallback;
|
|
4460
|
+
params = {};
|
|
4461
|
+
options = {};
|
|
4462
|
+
}
|
|
4463
|
+
if (typeof optionsOrCallback === 'function') {
|
|
4464
|
+
callback = optionsOrCallback;
|
|
4465
|
+
options = {};
|
|
4466
|
+
}
|
|
4467
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
4468
|
+
const parameters = {
|
|
4469
|
+
options: Object.assign({
|
|
4470
|
+
url: (rootUrl + '/v1/{+parent}/valuedResources').replace(/([^:]\/)\/+/g, '$1'),
|
|
4471
|
+
method: 'GET',
|
|
4472
|
+
apiVersion: '',
|
|
4473
|
+
}, options),
|
|
4474
|
+
params,
|
|
4475
|
+
requiredParams: ['parent'],
|
|
4476
|
+
pathParams: ['parent'],
|
|
4477
|
+
context: this.context,
|
|
4478
|
+
};
|
|
4479
|
+
if (callback) {
|
|
4480
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
4481
|
+
}
|
|
4482
|
+
else {
|
|
4483
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
4484
|
+
}
|
|
4485
|
+
}
|
|
4486
|
+
}
|
|
4487
|
+
securitycenter_v1.Resource$Organizations$Valuedresources = Resource$Organizations$Valuedresources;
|
|
4449
4488
|
class Resource$Projects {
|
|
4450
4489
|
constructor(context) {
|
|
4451
4490
|
this.context = context;
|