@googleapis/securitycenter 9.1.0 → 12.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/CHANGELOG.md +44 -0
- package/build/v1.d.ts +779 -228
- package/build/v1.js +39 -193
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +721 -47
- package/build/v1beta1.js.map +1 -1
- package/build/v1beta2.d.ts +783 -45
- package/build/v1beta2.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +1029 -885
- package/v1beta1.ts +721 -47
- package/v1beta2.ts +783 -45
package/build/v1.js
CHANGED
|
@@ -697,38 +697,6 @@ var securitycenter_v1;
|
|
|
697
697
|
constructor(context) {
|
|
698
698
|
this.context = context;
|
|
699
699
|
}
|
|
700
|
-
create(paramsOrCallback, optionsOrCallback, callback) {
|
|
701
|
-
let params = (paramsOrCallback ||
|
|
702
|
-
{});
|
|
703
|
-
let options = (optionsOrCallback || {});
|
|
704
|
-
if (typeof paramsOrCallback === 'function') {
|
|
705
|
-
callback = paramsOrCallback;
|
|
706
|
-
params = {};
|
|
707
|
-
options = {};
|
|
708
|
-
}
|
|
709
|
-
if (typeof optionsOrCallback === 'function') {
|
|
710
|
-
callback = optionsOrCallback;
|
|
711
|
-
options = {};
|
|
712
|
-
}
|
|
713
|
-
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
714
|
-
const parameters = {
|
|
715
|
-
options: Object.assign({
|
|
716
|
-
url: (rootUrl + '/v1/{+parent}/muteConfigs').replace(/([^:]\/)\/+/g, '$1'),
|
|
717
|
-
method: 'POST',
|
|
718
|
-
apiVersion: '',
|
|
719
|
-
}, options),
|
|
720
|
-
params,
|
|
721
|
-
requiredParams: ['parent'],
|
|
722
|
-
pathParams: ['parent'],
|
|
723
|
-
context: this.context,
|
|
724
|
-
};
|
|
725
|
-
if (callback) {
|
|
726
|
-
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
727
|
-
}
|
|
728
|
-
else {
|
|
729
|
-
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
700
|
delete(paramsOrCallback, optionsOrCallback, callback) {
|
|
733
701
|
let params = (paramsOrCallback ||
|
|
734
702
|
{});
|
|
@@ -793,38 +761,6 @@ var securitycenter_v1;
|
|
|
793
761
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
794
762
|
}
|
|
795
763
|
}
|
|
796
|
-
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
797
|
-
let params = (paramsOrCallback ||
|
|
798
|
-
{});
|
|
799
|
-
let options = (optionsOrCallback || {});
|
|
800
|
-
if (typeof paramsOrCallback === 'function') {
|
|
801
|
-
callback = paramsOrCallback;
|
|
802
|
-
params = {};
|
|
803
|
-
options = {};
|
|
804
|
-
}
|
|
805
|
-
if (typeof optionsOrCallback === 'function') {
|
|
806
|
-
callback = optionsOrCallback;
|
|
807
|
-
options = {};
|
|
808
|
-
}
|
|
809
|
-
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
810
|
-
const parameters = {
|
|
811
|
-
options: Object.assign({
|
|
812
|
-
url: (rootUrl + '/v1/{+parent}').replace(/([^:]\/)\/+/g, '$1'),
|
|
813
|
-
method: 'GET',
|
|
814
|
-
apiVersion: '',
|
|
815
|
-
}, options),
|
|
816
|
-
params,
|
|
817
|
-
requiredParams: ['parent'],
|
|
818
|
-
pathParams: ['parent'],
|
|
819
|
-
context: this.context,
|
|
820
|
-
};
|
|
821
|
-
if (callback) {
|
|
822
|
-
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
823
|
-
}
|
|
824
|
-
else {
|
|
825
|
-
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
764
|
patch(paramsOrCallback, optionsOrCallback, callback) {
|
|
829
765
|
let params = (paramsOrCallback ||
|
|
830
766
|
{});
|
|
@@ -1793,6 +1729,7 @@ var securitycenter_v1;
|
|
|
1793
1729
|
constructor(context) {
|
|
1794
1730
|
this.context = context;
|
|
1795
1731
|
this.assets = new Resource$Organizations$Assets(this.context);
|
|
1732
|
+
this.attackPaths = new Resource$Organizations$Attackpaths(this.context);
|
|
1796
1733
|
this.bigQueryExports = new Resource$Organizations$Bigqueryexports(this.context);
|
|
1797
1734
|
this.eventThreatDetectionSettings =
|
|
1798
1735
|
new Resource$Organizations$Eventthreatdetectionsettings(this.context);
|
|
@@ -2009,6 +1946,44 @@ var securitycenter_v1;
|
|
|
2009
1946
|
}
|
|
2010
1947
|
}
|
|
2011
1948
|
securitycenter_v1.Resource$Organizations$Assets = Resource$Organizations$Assets;
|
|
1949
|
+
class Resource$Organizations$Attackpaths {
|
|
1950
|
+
constructor(context) {
|
|
1951
|
+
this.context = context;
|
|
1952
|
+
}
|
|
1953
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
1954
|
+
let params = (paramsOrCallback ||
|
|
1955
|
+
{});
|
|
1956
|
+
let options = (optionsOrCallback || {});
|
|
1957
|
+
if (typeof paramsOrCallback === 'function') {
|
|
1958
|
+
callback = paramsOrCallback;
|
|
1959
|
+
params = {};
|
|
1960
|
+
options = {};
|
|
1961
|
+
}
|
|
1962
|
+
if (typeof optionsOrCallback === 'function') {
|
|
1963
|
+
callback = optionsOrCallback;
|
|
1964
|
+
options = {};
|
|
1965
|
+
}
|
|
1966
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
1967
|
+
const parameters = {
|
|
1968
|
+
options: Object.assign({
|
|
1969
|
+
url: (rootUrl + '/v1/{+parent}/attackPaths').replace(/([^:]\/)\/+/g, '$1'),
|
|
1970
|
+
method: 'GET',
|
|
1971
|
+
apiVersion: '',
|
|
1972
|
+
}, options),
|
|
1973
|
+
params,
|
|
1974
|
+
requiredParams: ['parent'],
|
|
1975
|
+
pathParams: ['parent'],
|
|
1976
|
+
context: this.context,
|
|
1977
|
+
};
|
|
1978
|
+
if (callback) {
|
|
1979
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
1980
|
+
}
|
|
1981
|
+
else {
|
|
1982
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1983
|
+
}
|
|
1984
|
+
}
|
|
1985
|
+
}
|
|
1986
|
+
securitycenter_v1.Resource$Organizations$Attackpaths = Resource$Organizations$Attackpaths;
|
|
2012
1987
|
class Resource$Organizations$Bigqueryexports {
|
|
2013
1988
|
constructor(context) {
|
|
2014
1989
|
this.context = context;
|
|
@@ -2543,39 +2518,6 @@ var securitycenter_v1;
|
|
|
2543
2518
|
constructor(context) {
|
|
2544
2519
|
this.context = context;
|
|
2545
2520
|
}
|
|
2546
|
-
create(paramsOrCallback, optionsOrCallback, callback) {
|
|
2547
|
-
let params = (paramsOrCallback ||
|
|
2548
|
-
{});
|
|
2549
|
-
let options = (optionsOrCallback || {});
|
|
2550
|
-
if (typeof paramsOrCallback === 'function') {
|
|
2551
|
-
callback = paramsOrCallback;
|
|
2552
|
-
params =
|
|
2553
|
-
{};
|
|
2554
|
-
options = {};
|
|
2555
|
-
}
|
|
2556
|
-
if (typeof optionsOrCallback === 'function') {
|
|
2557
|
-
callback = optionsOrCallback;
|
|
2558
|
-
options = {};
|
|
2559
|
-
}
|
|
2560
|
-
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
2561
|
-
const parameters = {
|
|
2562
|
-
options: Object.assign({
|
|
2563
|
-
url: (rootUrl + '/v1/{+parent}/muteConfigs').replace(/([^:]\/)\/+/g, '$1'),
|
|
2564
|
-
method: 'POST',
|
|
2565
|
-
apiVersion: '',
|
|
2566
|
-
}, options),
|
|
2567
|
-
params,
|
|
2568
|
-
requiredParams: ['parent'],
|
|
2569
|
-
pathParams: ['parent'],
|
|
2570
|
-
context: this.context,
|
|
2571
|
-
};
|
|
2572
|
-
if (callback) {
|
|
2573
|
-
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
2574
|
-
}
|
|
2575
|
-
else {
|
|
2576
|
-
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
2577
|
-
}
|
|
2578
|
-
}
|
|
2579
2521
|
delete(paramsOrCallback, optionsOrCallback, callback) {
|
|
2580
2522
|
let params = (paramsOrCallback ||
|
|
2581
2523
|
{});
|
|
@@ -2641,38 +2583,6 @@ var securitycenter_v1;
|
|
|
2641
2583
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
2642
2584
|
}
|
|
2643
2585
|
}
|
|
2644
|
-
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
2645
|
-
let params = (paramsOrCallback ||
|
|
2646
|
-
{});
|
|
2647
|
-
let options = (optionsOrCallback || {});
|
|
2648
|
-
if (typeof paramsOrCallback === 'function') {
|
|
2649
|
-
callback = paramsOrCallback;
|
|
2650
|
-
params = {};
|
|
2651
|
-
options = {};
|
|
2652
|
-
}
|
|
2653
|
-
if (typeof optionsOrCallback === 'function') {
|
|
2654
|
-
callback = optionsOrCallback;
|
|
2655
|
-
options = {};
|
|
2656
|
-
}
|
|
2657
|
-
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
2658
|
-
const parameters = {
|
|
2659
|
-
options: Object.assign({
|
|
2660
|
-
url: (rootUrl + '/v1/{+parent}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2661
|
-
method: 'GET',
|
|
2662
|
-
apiVersion: '',
|
|
2663
|
-
}, options),
|
|
2664
|
-
params,
|
|
2665
|
-
requiredParams: ['parent'],
|
|
2666
|
-
pathParams: ['parent'],
|
|
2667
|
-
context: this.context,
|
|
2668
|
-
};
|
|
2669
|
-
if (callback) {
|
|
2670
|
-
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
2671
|
-
}
|
|
2672
|
-
else {
|
|
2673
|
-
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
2674
|
-
}
|
|
2675
|
-
}
|
|
2676
2586
|
patch(paramsOrCallback, optionsOrCallback, callback) {
|
|
2677
2587
|
let params = (paramsOrCallback ||
|
|
2678
2588
|
{});
|
|
@@ -5138,38 +5048,6 @@ var securitycenter_v1;
|
|
|
5138
5048
|
constructor(context) {
|
|
5139
5049
|
this.context = context;
|
|
5140
5050
|
}
|
|
5141
|
-
create(paramsOrCallback, optionsOrCallback, callback) {
|
|
5142
|
-
let params = (paramsOrCallback ||
|
|
5143
|
-
{});
|
|
5144
|
-
let options = (optionsOrCallback || {});
|
|
5145
|
-
if (typeof paramsOrCallback === 'function') {
|
|
5146
|
-
callback = paramsOrCallback;
|
|
5147
|
-
params = {};
|
|
5148
|
-
options = {};
|
|
5149
|
-
}
|
|
5150
|
-
if (typeof optionsOrCallback === 'function') {
|
|
5151
|
-
callback = optionsOrCallback;
|
|
5152
|
-
options = {};
|
|
5153
|
-
}
|
|
5154
|
-
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
5155
|
-
const parameters = {
|
|
5156
|
-
options: Object.assign({
|
|
5157
|
-
url: (rootUrl + '/v1/{+parent}/muteConfigs').replace(/([^:]\/)\/+/g, '$1'),
|
|
5158
|
-
method: 'POST',
|
|
5159
|
-
apiVersion: '',
|
|
5160
|
-
}, options),
|
|
5161
|
-
params,
|
|
5162
|
-
requiredParams: ['parent'],
|
|
5163
|
-
pathParams: ['parent'],
|
|
5164
|
-
context: this.context,
|
|
5165
|
-
};
|
|
5166
|
-
if (callback) {
|
|
5167
|
-
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
5168
|
-
}
|
|
5169
|
-
else {
|
|
5170
|
-
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
5171
|
-
}
|
|
5172
|
-
}
|
|
5173
5051
|
delete(paramsOrCallback, optionsOrCallback, callback) {
|
|
5174
5052
|
let params = (paramsOrCallback ||
|
|
5175
5053
|
{});
|
|
@@ -5234,38 +5112,6 @@ var securitycenter_v1;
|
|
|
5234
5112
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
5235
5113
|
}
|
|
5236
5114
|
}
|
|
5237
|
-
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
5238
|
-
let params = (paramsOrCallback ||
|
|
5239
|
-
{});
|
|
5240
|
-
let options = (optionsOrCallback || {});
|
|
5241
|
-
if (typeof paramsOrCallback === 'function') {
|
|
5242
|
-
callback = paramsOrCallback;
|
|
5243
|
-
params = {};
|
|
5244
|
-
options = {};
|
|
5245
|
-
}
|
|
5246
|
-
if (typeof optionsOrCallback === 'function') {
|
|
5247
|
-
callback = optionsOrCallback;
|
|
5248
|
-
options = {};
|
|
5249
|
-
}
|
|
5250
|
-
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
5251
|
-
const parameters = {
|
|
5252
|
-
options: Object.assign({
|
|
5253
|
-
url: (rootUrl + '/v1/{+parent}').replace(/([^:]\/)\/+/g, '$1'),
|
|
5254
|
-
method: 'GET',
|
|
5255
|
-
apiVersion: '',
|
|
5256
|
-
}, options),
|
|
5257
|
-
params,
|
|
5258
|
-
requiredParams: ['parent'],
|
|
5259
|
-
pathParams: ['parent'],
|
|
5260
|
-
context: this.context,
|
|
5261
|
-
};
|
|
5262
|
-
if (callback) {
|
|
5263
|
-
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
5264
|
-
}
|
|
5265
|
-
else {
|
|
5266
|
-
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
5267
|
-
}
|
|
5268
|
-
}
|
|
5269
5115
|
patch(paramsOrCallback, optionsOrCallback, callback) {
|
|
5270
5116
|
let params = (paramsOrCallback ||
|
|
5271
5117
|
{});
|