@googleapis/securitycenter 3.0.0 → 3.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 +7 -0
- package/build/v1.d.ts +792 -23
- package/build/v1.js +1449 -689
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +139 -2
- package/build/v1beta1.js.map +1 -1
- package/build/v1beta2.d.ts +138 -1
- package/build/v1beta2.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +7449 -4814
- package/v1beta1.ts +139 -2
- package/v1beta2.ts +138 -1
package/build/v1.js
CHANGED
|
@@ -49,6 +49,8 @@ var securitycenter_v1;
|
|
|
49
49
|
this.context = context;
|
|
50
50
|
this.assets = new Resource$Folders$Assets(this.context);
|
|
51
51
|
this.bigQueryExports = new Resource$Folders$Bigqueryexports(this.context);
|
|
52
|
+
this.eventThreatDetectionSettings =
|
|
53
|
+
new Resource$Folders$Eventthreatdetectionsettings(this.context);
|
|
52
54
|
this.findings = new Resource$Folders$Findings(this.context);
|
|
53
55
|
this.locations = new Resource$Folders$Locations(this.context);
|
|
54
56
|
this.muteConfigs = new Resource$Folders$Muteconfigs(this.context);
|
|
@@ -319,17 +321,22 @@ var securitycenter_v1;
|
|
|
319
321
|
}
|
|
320
322
|
}
|
|
321
323
|
securitycenter_v1.Resource$Folders$Bigqueryexports = Resource$Folders$Bigqueryexports;
|
|
322
|
-
class Resource$Folders$
|
|
324
|
+
class Resource$Folders$Eventthreatdetectionsettings {
|
|
323
325
|
constructor(context) {
|
|
324
326
|
this.context = context;
|
|
327
|
+
this.customModules =
|
|
328
|
+
new Resource$Folders$Eventthreatdetectionsettings$Custommodules(this.context);
|
|
329
|
+
this.effectiveCustomModules =
|
|
330
|
+
new Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules(this.context);
|
|
325
331
|
}
|
|
326
|
-
|
|
332
|
+
validateCustomModule(paramsOrCallback, optionsOrCallback, callback) {
|
|
327
333
|
let params = (paramsOrCallback ||
|
|
328
334
|
{});
|
|
329
335
|
let options = (optionsOrCallback || {});
|
|
330
336
|
if (typeof paramsOrCallback === 'function') {
|
|
331
337
|
callback = paramsOrCallback;
|
|
332
|
-
params =
|
|
338
|
+
params =
|
|
339
|
+
{};
|
|
333
340
|
options = {};
|
|
334
341
|
}
|
|
335
342
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -339,7 +346,7 @@ var securitycenter_v1;
|
|
|
339
346
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
340
347
|
const parameters = {
|
|
341
348
|
options: Object.assign({
|
|
342
|
-
url: (rootUrl + '/v1/{+parent}
|
|
349
|
+
url: (rootUrl + '/v1/{+parent}:validateCustomModule').replace(/([^:]\/)\/+/g, '$1'),
|
|
343
350
|
method: 'POST',
|
|
344
351
|
}, options),
|
|
345
352
|
params,
|
|
@@ -355,25 +362,19 @@ var securitycenter_v1;
|
|
|
355
362
|
}
|
|
356
363
|
}
|
|
357
364
|
}
|
|
358
|
-
securitycenter_v1.Resource$Folders$
|
|
359
|
-
class Resource$Folders$
|
|
360
|
-
constructor(context) {
|
|
361
|
-
this.context = context;
|
|
362
|
-
this.muteConfigs = new Resource$Folders$Locations$Muteconfigs(this.context);
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
securitycenter_v1.Resource$Folders$Locations = Resource$Folders$Locations;
|
|
366
|
-
class Resource$Folders$Locations$Muteconfigs {
|
|
365
|
+
securitycenter_v1.Resource$Folders$Eventthreatdetectionsettings = Resource$Folders$Eventthreatdetectionsettings;
|
|
366
|
+
class Resource$Folders$Eventthreatdetectionsettings$Custommodules {
|
|
367
367
|
constructor(context) {
|
|
368
368
|
this.context = context;
|
|
369
369
|
}
|
|
370
|
-
|
|
370
|
+
create(paramsOrCallback, optionsOrCallback, callback) {
|
|
371
371
|
let params = (paramsOrCallback ||
|
|
372
372
|
{});
|
|
373
373
|
let options = (optionsOrCallback || {});
|
|
374
374
|
if (typeof paramsOrCallback === 'function') {
|
|
375
375
|
callback = paramsOrCallback;
|
|
376
|
-
params =
|
|
376
|
+
params =
|
|
377
|
+
{};
|
|
377
378
|
options = {};
|
|
378
379
|
}
|
|
379
380
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -383,12 +384,12 @@ var securitycenter_v1;
|
|
|
383
384
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
384
385
|
const parameters = {
|
|
385
386
|
options: Object.assign({
|
|
386
|
-
url: (rootUrl + '/v1/{+
|
|
387
|
-
method: '
|
|
387
|
+
url: (rootUrl + '/v1/{+parent}/customModules').replace(/([^:]\/)\/+/g, '$1'),
|
|
388
|
+
method: 'POST',
|
|
388
389
|
}, options),
|
|
389
390
|
params,
|
|
390
|
-
requiredParams: ['
|
|
391
|
-
pathParams: ['
|
|
391
|
+
requiredParams: ['parent'],
|
|
392
|
+
pathParams: ['parent'],
|
|
392
393
|
context: this.context,
|
|
393
394
|
};
|
|
394
395
|
if (callback) {
|
|
@@ -398,13 +399,14 @@ var securitycenter_v1;
|
|
|
398
399
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
399
400
|
}
|
|
400
401
|
}
|
|
401
|
-
|
|
402
|
+
delete(paramsOrCallback, optionsOrCallback, callback) {
|
|
402
403
|
let params = (paramsOrCallback ||
|
|
403
404
|
{});
|
|
404
405
|
let options = (optionsOrCallback || {});
|
|
405
406
|
if (typeof paramsOrCallback === 'function') {
|
|
406
407
|
callback = paramsOrCallback;
|
|
407
|
-
params =
|
|
408
|
+
params =
|
|
409
|
+
{};
|
|
408
410
|
options = {};
|
|
409
411
|
}
|
|
410
412
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -415,7 +417,7 @@ var securitycenter_v1;
|
|
|
415
417
|
const parameters = {
|
|
416
418
|
options: Object.assign({
|
|
417
419
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
418
|
-
method: '
|
|
420
|
+
method: 'DELETE',
|
|
419
421
|
}, options),
|
|
420
422
|
params,
|
|
421
423
|
requiredParams: ['name'],
|
|
@@ -429,13 +431,14 @@ var securitycenter_v1;
|
|
|
429
431
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
430
432
|
}
|
|
431
433
|
}
|
|
432
|
-
|
|
434
|
+
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
433
435
|
let params = (paramsOrCallback ||
|
|
434
436
|
{});
|
|
435
437
|
let options = (optionsOrCallback || {});
|
|
436
438
|
if (typeof paramsOrCallback === 'function') {
|
|
437
439
|
callback = paramsOrCallback;
|
|
438
|
-
params =
|
|
440
|
+
params =
|
|
441
|
+
{};
|
|
439
442
|
options = {};
|
|
440
443
|
}
|
|
441
444
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -446,7 +449,7 @@ var securitycenter_v1;
|
|
|
446
449
|
const parameters = {
|
|
447
450
|
options: Object.assign({
|
|
448
451
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
449
|
-
method: '
|
|
452
|
+
method: 'GET',
|
|
450
453
|
}, options),
|
|
451
454
|
params,
|
|
452
455
|
requiredParams: ['name'],
|
|
@@ -460,19 +463,14 @@ var securitycenter_v1;
|
|
|
460
463
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
461
464
|
}
|
|
462
465
|
}
|
|
463
|
-
|
|
464
|
-
securitycenter_v1.Resource$Folders$Locations$Muteconfigs = Resource$Folders$Locations$Muteconfigs;
|
|
465
|
-
class Resource$Folders$Muteconfigs {
|
|
466
|
-
constructor(context) {
|
|
467
|
-
this.context = context;
|
|
468
|
-
}
|
|
469
|
-
create(paramsOrCallback, optionsOrCallback, callback) {
|
|
466
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
470
467
|
let params = (paramsOrCallback ||
|
|
471
468
|
{});
|
|
472
469
|
let options = (optionsOrCallback || {});
|
|
473
470
|
if (typeof paramsOrCallback === 'function') {
|
|
474
471
|
callback = paramsOrCallback;
|
|
475
|
-
params =
|
|
472
|
+
params =
|
|
473
|
+
{};
|
|
476
474
|
options = {};
|
|
477
475
|
}
|
|
478
476
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -482,8 +480,8 @@ var securitycenter_v1;
|
|
|
482
480
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
483
481
|
const parameters = {
|
|
484
482
|
options: Object.assign({
|
|
485
|
-
url: (rootUrl + '/v1/{+parent}/
|
|
486
|
-
method: '
|
|
483
|
+
url: (rootUrl + '/v1/{+parent}/customModules').replace(/([^:]\/)\/+/g, '$1'),
|
|
484
|
+
method: 'GET',
|
|
487
485
|
}, options),
|
|
488
486
|
params,
|
|
489
487
|
requiredParams: ['parent'],
|
|
@@ -497,13 +495,14 @@ var securitycenter_v1;
|
|
|
497
495
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
498
496
|
}
|
|
499
497
|
}
|
|
500
|
-
|
|
498
|
+
listDescendant(paramsOrCallback, optionsOrCallback, callback) {
|
|
501
499
|
let params = (paramsOrCallback ||
|
|
502
500
|
{});
|
|
503
501
|
let options = (optionsOrCallback || {});
|
|
504
502
|
if (typeof paramsOrCallback === 'function') {
|
|
505
503
|
callback = paramsOrCallback;
|
|
506
|
-
params =
|
|
504
|
+
params =
|
|
505
|
+
{};
|
|
507
506
|
options = {};
|
|
508
507
|
}
|
|
509
508
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -513,12 +512,12 @@ var securitycenter_v1;
|
|
|
513
512
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
514
513
|
const parameters = {
|
|
515
514
|
options: Object.assign({
|
|
516
|
-
url: (rootUrl + '/v1/{+
|
|
517
|
-
method: '
|
|
515
|
+
url: (rootUrl + '/v1/{+parent}/customModules:listDescendant').replace(/([^:]\/)\/+/g, '$1'),
|
|
516
|
+
method: 'GET',
|
|
518
517
|
}, options),
|
|
519
518
|
params,
|
|
520
|
-
requiredParams: ['
|
|
521
|
-
pathParams: ['
|
|
519
|
+
requiredParams: ['parent'],
|
|
520
|
+
pathParams: ['parent'],
|
|
522
521
|
context: this.context,
|
|
523
522
|
};
|
|
524
523
|
if (callback) {
|
|
@@ -528,13 +527,14 @@ var securitycenter_v1;
|
|
|
528
527
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
529
528
|
}
|
|
530
529
|
}
|
|
531
|
-
|
|
530
|
+
patch(paramsOrCallback, optionsOrCallback, callback) {
|
|
532
531
|
let params = (paramsOrCallback ||
|
|
533
532
|
{});
|
|
534
533
|
let options = (optionsOrCallback || {});
|
|
535
534
|
if (typeof paramsOrCallback === 'function') {
|
|
536
535
|
callback = paramsOrCallback;
|
|
537
|
-
params =
|
|
536
|
+
params =
|
|
537
|
+
{};
|
|
538
538
|
options = {};
|
|
539
539
|
}
|
|
540
540
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -545,7 +545,7 @@ var securitycenter_v1;
|
|
|
545
545
|
const parameters = {
|
|
546
546
|
options: Object.assign({
|
|
547
547
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
548
|
-
method: '
|
|
548
|
+
method: 'PATCH',
|
|
549
549
|
}, options),
|
|
550
550
|
params,
|
|
551
551
|
requiredParams: ['name'],
|
|
@@ -559,13 +559,20 @@ var securitycenter_v1;
|
|
|
559
559
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
560
560
|
}
|
|
561
561
|
}
|
|
562
|
-
|
|
562
|
+
}
|
|
563
|
+
securitycenter_v1.Resource$Folders$Eventthreatdetectionsettings$Custommodules = Resource$Folders$Eventthreatdetectionsettings$Custommodules;
|
|
564
|
+
class Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules {
|
|
565
|
+
constructor(context) {
|
|
566
|
+
this.context = context;
|
|
567
|
+
}
|
|
568
|
+
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
563
569
|
let params = (paramsOrCallback ||
|
|
564
570
|
{});
|
|
565
571
|
let options = (optionsOrCallback || {});
|
|
566
572
|
if (typeof paramsOrCallback === 'function') {
|
|
567
573
|
callback = paramsOrCallback;
|
|
568
|
-
params =
|
|
574
|
+
params =
|
|
575
|
+
{};
|
|
569
576
|
options = {};
|
|
570
577
|
}
|
|
571
578
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -575,12 +582,12 @@ var securitycenter_v1;
|
|
|
575
582
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
576
583
|
const parameters = {
|
|
577
584
|
options: Object.assign({
|
|
578
|
-
url: (rootUrl + '/v1/{+
|
|
585
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
579
586
|
method: 'GET',
|
|
580
587
|
}, options),
|
|
581
588
|
params,
|
|
582
|
-
requiredParams: ['
|
|
583
|
-
pathParams: ['
|
|
589
|
+
requiredParams: ['name'],
|
|
590
|
+
pathParams: ['name'],
|
|
584
591
|
context: this.context,
|
|
585
592
|
};
|
|
586
593
|
if (callback) {
|
|
@@ -590,13 +597,14 @@ var securitycenter_v1;
|
|
|
590
597
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
591
598
|
}
|
|
592
599
|
}
|
|
593
|
-
|
|
600
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
594
601
|
let params = (paramsOrCallback ||
|
|
595
602
|
{});
|
|
596
603
|
let options = (optionsOrCallback || {});
|
|
597
604
|
if (typeof paramsOrCallback === 'function') {
|
|
598
605
|
callback = paramsOrCallback;
|
|
599
|
-
params =
|
|
606
|
+
params =
|
|
607
|
+
{};
|
|
600
608
|
options = {};
|
|
601
609
|
}
|
|
602
610
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -606,12 +614,12 @@ var securitycenter_v1;
|
|
|
606
614
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
607
615
|
const parameters = {
|
|
608
616
|
options: Object.assign({
|
|
609
|
-
url: (rootUrl + '/v1/{+
|
|
610
|
-
method: '
|
|
617
|
+
url: (rootUrl + '/v1/{+parent}/effectiveCustomModules').replace(/([^:]\/)\/+/g, '$1'),
|
|
618
|
+
method: 'GET',
|
|
611
619
|
}, options),
|
|
612
620
|
params,
|
|
613
|
-
requiredParams: ['
|
|
614
|
-
pathParams: ['
|
|
621
|
+
requiredParams: ['parent'],
|
|
622
|
+
pathParams: ['parent'],
|
|
615
623
|
context: this.context,
|
|
616
624
|
};
|
|
617
625
|
if (callback) {
|
|
@@ -622,12 +630,12 @@ var securitycenter_v1;
|
|
|
622
630
|
}
|
|
623
631
|
}
|
|
624
632
|
}
|
|
625
|
-
securitycenter_v1.Resource$Folders$
|
|
626
|
-
class Resource$Folders$
|
|
633
|
+
securitycenter_v1.Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules = Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules;
|
|
634
|
+
class Resource$Folders$Findings {
|
|
627
635
|
constructor(context) {
|
|
628
636
|
this.context = context;
|
|
629
637
|
}
|
|
630
|
-
|
|
638
|
+
bulkMute(paramsOrCallback, optionsOrCallback, callback) {
|
|
631
639
|
let params = (paramsOrCallback ||
|
|
632
640
|
{});
|
|
633
641
|
let options = (optionsOrCallback || {});
|
|
@@ -643,7 +651,7 @@ var securitycenter_v1;
|
|
|
643
651
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
644
652
|
const parameters = {
|
|
645
653
|
options: Object.assign({
|
|
646
|
-
url: (rootUrl + '/v1/{+parent}/
|
|
654
|
+
url: (rootUrl + '/v1/{+parent}/findings:bulkMute').replace(/([^:]\/)\/+/g, '$1'),
|
|
647
655
|
method: 'POST',
|
|
648
656
|
}, options),
|
|
649
657
|
params,
|
|
@@ -658,6 +666,19 @@ var securitycenter_v1;
|
|
|
658
666
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
659
667
|
}
|
|
660
668
|
}
|
|
669
|
+
}
|
|
670
|
+
securitycenter_v1.Resource$Folders$Findings = Resource$Folders$Findings;
|
|
671
|
+
class Resource$Folders$Locations {
|
|
672
|
+
constructor(context) {
|
|
673
|
+
this.context = context;
|
|
674
|
+
this.muteConfigs = new Resource$Folders$Locations$Muteconfigs(this.context);
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
securitycenter_v1.Resource$Folders$Locations = Resource$Folders$Locations;
|
|
678
|
+
class Resource$Folders$Locations$Muteconfigs {
|
|
679
|
+
constructor(context) {
|
|
680
|
+
this.context = context;
|
|
681
|
+
}
|
|
661
682
|
delete(paramsOrCallback, optionsOrCallback, callback) {
|
|
662
683
|
let params = (paramsOrCallback ||
|
|
663
684
|
{});
|
|
@@ -720,37 +741,6 @@ var securitycenter_v1;
|
|
|
720
741
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
721
742
|
}
|
|
722
743
|
}
|
|
723
|
-
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
724
|
-
let params = (paramsOrCallback ||
|
|
725
|
-
{});
|
|
726
|
-
let options = (optionsOrCallback || {});
|
|
727
|
-
if (typeof paramsOrCallback === 'function') {
|
|
728
|
-
callback = paramsOrCallback;
|
|
729
|
-
params = {};
|
|
730
|
-
options = {};
|
|
731
|
-
}
|
|
732
|
-
if (typeof optionsOrCallback === 'function') {
|
|
733
|
-
callback = optionsOrCallback;
|
|
734
|
-
options = {};
|
|
735
|
-
}
|
|
736
|
-
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
737
|
-
const parameters = {
|
|
738
|
-
options: Object.assign({
|
|
739
|
-
url: (rootUrl + '/v1/{+parent}/notificationConfigs').replace(/([^:]\/)\/+/g, '$1'),
|
|
740
|
-
method: 'GET',
|
|
741
|
-
}, options),
|
|
742
|
-
params,
|
|
743
|
-
requiredParams: ['parent'],
|
|
744
|
-
pathParams: ['parent'],
|
|
745
|
-
context: this.context,
|
|
746
|
-
};
|
|
747
|
-
if (callback) {
|
|
748
|
-
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
749
|
-
}
|
|
750
|
-
else {
|
|
751
|
-
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
752
|
-
}
|
|
753
|
-
}
|
|
754
744
|
patch(paramsOrCallback, optionsOrCallback, callback) {
|
|
755
745
|
let params = (paramsOrCallback ||
|
|
756
746
|
{});
|
|
@@ -783,18 +773,8 @@ var securitycenter_v1;
|
|
|
783
773
|
}
|
|
784
774
|
}
|
|
785
775
|
}
|
|
786
|
-
securitycenter_v1.Resource$Folders$
|
|
787
|
-
class Resource$Folders$
|
|
788
|
-
constructor(context) {
|
|
789
|
-
this.context = context;
|
|
790
|
-
this.customModules =
|
|
791
|
-
new Resource$Folders$Securityhealthanalyticssettings$Custommodules(this.context);
|
|
792
|
-
this.effectiveCustomModules =
|
|
793
|
-
new Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules(this.context);
|
|
794
|
-
}
|
|
795
|
-
}
|
|
796
|
-
securitycenter_v1.Resource$Folders$Securityhealthanalyticssettings = Resource$Folders$Securityhealthanalyticssettings;
|
|
797
|
-
class Resource$Folders$Securityhealthanalyticssettings$Custommodules {
|
|
776
|
+
securitycenter_v1.Resource$Folders$Locations$Muteconfigs = Resource$Folders$Locations$Muteconfigs;
|
|
777
|
+
class Resource$Folders$Muteconfigs {
|
|
798
778
|
constructor(context) {
|
|
799
779
|
this.context = context;
|
|
800
780
|
}
|
|
@@ -804,8 +784,7 @@ var securitycenter_v1;
|
|
|
804
784
|
let options = (optionsOrCallback || {});
|
|
805
785
|
if (typeof paramsOrCallback === 'function') {
|
|
806
786
|
callback = paramsOrCallback;
|
|
807
|
-
params =
|
|
808
|
-
{};
|
|
787
|
+
params = {};
|
|
809
788
|
options = {};
|
|
810
789
|
}
|
|
811
790
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -815,7 +794,7 @@ var securitycenter_v1;
|
|
|
815
794
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
816
795
|
const parameters = {
|
|
817
796
|
options: Object.assign({
|
|
818
|
-
url: (rootUrl + '/v1/{+parent}/
|
|
797
|
+
url: (rootUrl + '/v1/{+parent}/muteConfigs').replace(/([^:]\/)\/+/g, '$1'),
|
|
819
798
|
method: 'POST',
|
|
820
799
|
}, options),
|
|
821
800
|
params,
|
|
@@ -836,8 +815,7 @@ var securitycenter_v1;
|
|
|
836
815
|
let options = (optionsOrCallback || {});
|
|
837
816
|
if (typeof paramsOrCallback === 'function') {
|
|
838
817
|
callback = paramsOrCallback;
|
|
839
|
-
params =
|
|
840
|
-
{};
|
|
818
|
+
params = {};
|
|
841
819
|
options = {};
|
|
842
820
|
}
|
|
843
821
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -868,8 +846,7 @@ var securitycenter_v1;
|
|
|
868
846
|
let options = (optionsOrCallback || {});
|
|
869
847
|
if (typeof paramsOrCallback === 'function') {
|
|
870
848
|
callback = paramsOrCallback;
|
|
871
|
-
params =
|
|
872
|
-
{};
|
|
849
|
+
params = {};
|
|
873
850
|
options = {};
|
|
874
851
|
}
|
|
875
852
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -900,8 +877,7 @@ var securitycenter_v1;
|
|
|
900
877
|
let options = (optionsOrCallback || {});
|
|
901
878
|
if (typeof paramsOrCallback === 'function') {
|
|
902
879
|
callback = paramsOrCallback;
|
|
903
|
-
params =
|
|
904
|
-
{};
|
|
880
|
+
params = {};
|
|
905
881
|
options = {};
|
|
906
882
|
}
|
|
907
883
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -911,7 +887,7 @@ var securitycenter_v1;
|
|
|
911
887
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
912
888
|
const parameters = {
|
|
913
889
|
options: Object.assign({
|
|
914
|
-
url: (rootUrl + '/v1/{+parent}/
|
|
890
|
+
url: (rootUrl + '/v1/{+parent}/muteConfigs').replace(/([^:]\/)\/+/g, '$1'),
|
|
915
891
|
method: 'GET',
|
|
916
892
|
}, options),
|
|
917
893
|
params,
|
|
@@ -926,14 +902,13 @@ var securitycenter_v1;
|
|
|
926
902
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
927
903
|
}
|
|
928
904
|
}
|
|
929
|
-
|
|
905
|
+
patch(paramsOrCallback, optionsOrCallback, callback) {
|
|
930
906
|
let params = (paramsOrCallback ||
|
|
931
907
|
{});
|
|
932
908
|
let options = (optionsOrCallback || {});
|
|
933
909
|
if (typeof paramsOrCallback === 'function') {
|
|
934
910
|
callback = paramsOrCallback;
|
|
935
|
-
params =
|
|
936
|
-
{};
|
|
911
|
+
params = {};
|
|
937
912
|
options = {};
|
|
938
913
|
}
|
|
939
914
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -943,12 +918,12 @@ var securitycenter_v1;
|
|
|
943
918
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
944
919
|
const parameters = {
|
|
945
920
|
options: Object.assign({
|
|
946
|
-
url: (rootUrl + '/v1/{+
|
|
947
|
-
method: '
|
|
921
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
922
|
+
method: 'PATCH',
|
|
948
923
|
}, options),
|
|
949
924
|
params,
|
|
950
|
-
requiredParams: ['
|
|
951
|
-
pathParams: ['
|
|
925
|
+
requiredParams: ['name'],
|
|
926
|
+
pathParams: ['name'],
|
|
952
927
|
context: this.context,
|
|
953
928
|
};
|
|
954
929
|
if (callback) {
|
|
@@ -958,14 +933,19 @@ var securitycenter_v1;
|
|
|
958
933
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
959
934
|
}
|
|
960
935
|
}
|
|
961
|
-
|
|
936
|
+
}
|
|
937
|
+
securitycenter_v1.Resource$Folders$Muteconfigs = Resource$Folders$Muteconfigs;
|
|
938
|
+
class Resource$Folders$Notificationconfigs {
|
|
939
|
+
constructor(context) {
|
|
940
|
+
this.context = context;
|
|
941
|
+
}
|
|
942
|
+
create(paramsOrCallback, optionsOrCallback, callback) {
|
|
962
943
|
let params = (paramsOrCallback ||
|
|
963
944
|
{});
|
|
964
945
|
let options = (optionsOrCallback || {});
|
|
965
946
|
if (typeof paramsOrCallback === 'function') {
|
|
966
947
|
callback = paramsOrCallback;
|
|
967
|
-
params =
|
|
968
|
-
{};
|
|
948
|
+
params = {};
|
|
969
949
|
options = {};
|
|
970
950
|
}
|
|
971
951
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -975,12 +955,12 @@ var securitycenter_v1;
|
|
|
975
955
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
976
956
|
const parameters = {
|
|
977
957
|
options: Object.assign({
|
|
978
|
-
url: (rootUrl + '/v1/{+
|
|
979
|
-
method: '
|
|
958
|
+
url: (rootUrl + '/v1/{+parent}/notificationConfigs').replace(/([^:]\/)\/+/g, '$1'),
|
|
959
|
+
method: 'POST',
|
|
980
960
|
}, options),
|
|
981
961
|
params,
|
|
982
|
-
requiredParams: ['
|
|
983
|
-
pathParams: ['
|
|
962
|
+
requiredParams: ['parent'],
|
|
963
|
+
pathParams: ['parent'],
|
|
984
964
|
context: this.context,
|
|
985
965
|
};
|
|
986
966
|
if (callback) {
|
|
@@ -990,14 +970,13 @@ var securitycenter_v1;
|
|
|
990
970
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
991
971
|
}
|
|
992
972
|
}
|
|
993
|
-
|
|
973
|
+
delete(paramsOrCallback, optionsOrCallback, callback) {
|
|
994
974
|
let params = (paramsOrCallback ||
|
|
995
975
|
{});
|
|
996
976
|
let options = (optionsOrCallback || {});
|
|
997
977
|
if (typeof paramsOrCallback === 'function') {
|
|
998
978
|
callback = paramsOrCallback;
|
|
999
|
-
params =
|
|
1000
|
-
{};
|
|
979
|
+
params = {};
|
|
1001
980
|
options = {};
|
|
1002
981
|
}
|
|
1003
982
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -1007,12 +986,12 @@ var securitycenter_v1;
|
|
|
1007
986
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
1008
987
|
const parameters = {
|
|
1009
988
|
options: Object.assign({
|
|
1010
|
-
url: (rootUrl + '/v1/{+
|
|
1011
|
-
method: '
|
|
989
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
990
|
+
method: 'DELETE',
|
|
1012
991
|
}, options),
|
|
1013
992
|
params,
|
|
1014
|
-
requiredParams: ['
|
|
1015
|
-
pathParams: ['
|
|
993
|
+
requiredParams: ['name'],
|
|
994
|
+
pathParams: ['name'],
|
|
1016
995
|
context: this.context,
|
|
1017
996
|
};
|
|
1018
997
|
if (callback) {
|
|
@@ -1022,20 +1001,13 @@ var securitycenter_v1;
|
|
|
1022
1001
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1023
1002
|
}
|
|
1024
1003
|
}
|
|
1025
|
-
}
|
|
1026
|
-
securitycenter_v1.Resource$Folders$Securityhealthanalyticssettings$Custommodules = Resource$Folders$Securityhealthanalyticssettings$Custommodules;
|
|
1027
|
-
class Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules {
|
|
1028
|
-
constructor(context) {
|
|
1029
|
-
this.context = context;
|
|
1030
|
-
}
|
|
1031
1004
|
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
1032
1005
|
let params = (paramsOrCallback ||
|
|
1033
1006
|
{});
|
|
1034
1007
|
let options = (optionsOrCallback || {});
|
|
1035
1008
|
if (typeof paramsOrCallback === 'function') {
|
|
1036
1009
|
callback = paramsOrCallback;
|
|
1037
|
-
params =
|
|
1038
|
-
{};
|
|
1010
|
+
params = {};
|
|
1039
1011
|
options = {};
|
|
1040
1012
|
}
|
|
1041
1013
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -1066,8 +1038,7 @@ var securitycenter_v1;
|
|
|
1066
1038
|
let options = (optionsOrCallback || {});
|
|
1067
1039
|
if (typeof paramsOrCallback === 'function') {
|
|
1068
1040
|
callback = paramsOrCallback;
|
|
1069
|
-
params =
|
|
1070
|
-
{};
|
|
1041
|
+
params = {};
|
|
1071
1042
|
options = {};
|
|
1072
1043
|
}
|
|
1073
1044
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -1077,7 +1048,7 @@ var securitycenter_v1;
|
|
|
1077
1048
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
1078
1049
|
const parameters = {
|
|
1079
1050
|
options: Object.assign({
|
|
1080
|
-
url: (rootUrl + '/v1/{+parent}/
|
|
1051
|
+
url: (rootUrl + '/v1/{+parent}/notificationConfigs').replace(/([^:]\/)\/+/g, '$1'),
|
|
1081
1052
|
method: 'GET',
|
|
1082
1053
|
}, options),
|
|
1083
1054
|
params,
|
|
@@ -1092,14 +1063,7 @@ var securitycenter_v1;
|
|
|
1092
1063
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1093
1064
|
}
|
|
1094
1065
|
}
|
|
1095
|
-
|
|
1096
|
-
securitycenter_v1.Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules = Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules;
|
|
1097
|
-
class Resource$Folders$Sources {
|
|
1098
|
-
constructor(context) {
|
|
1099
|
-
this.context = context;
|
|
1100
|
-
this.findings = new Resource$Folders$Sources$Findings(this.context);
|
|
1101
|
-
}
|
|
1102
|
-
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
1066
|
+
patch(paramsOrCallback, optionsOrCallback, callback) {
|
|
1103
1067
|
let params = (paramsOrCallback ||
|
|
1104
1068
|
{});
|
|
1105
1069
|
let options = (optionsOrCallback || {});
|
|
@@ -1115,12 +1079,12 @@ var securitycenter_v1;
|
|
|
1115
1079
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
1116
1080
|
const parameters = {
|
|
1117
1081
|
options: Object.assign({
|
|
1118
|
-
url: (rootUrl + '/v1/{+
|
|
1119
|
-
method: '
|
|
1082
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
1083
|
+
method: 'PATCH',
|
|
1120
1084
|
}, options),
|
|
1121
1085
|
params,
|
|
1122
|
-
requiredParams: ['
|
|
1123
|
-
pathParams: ['
|
|
1086
|
+
requiredParams: ['name'],
|
|
1087
|
+
pathParams: ['name'],
|
|
1124
1088
|
context: this.context,
|
|
1125
1089
|
};
|
|
1126
1090
|
if (callback) {
|
|
@@ -1131,20 +1095,29 @@ var securitycenter_v1;
|
|
|
1131
1095
|
}
|
|
1132
1096
|
}
|
|
1133
1097
|
}
|
|
1134
|
-
securitycenter_v1.Resource$Folders$
|
|
1135
|
-
class Resource$Folders$
|
|
1098
|
+
securitycenter_v1.Resource$Folders$Notificationconfigs = Resource$Folders$Notificationconfigs;
|
|
1099
|
+
class Resource$Folders$Securityhealthanalyticssettings {
|
|
1136
1100
|
constructor(context) {
|
|
1137
1101
|
this.context = context;
|
|
1138
|
-
this.
|
|
1139
|
-
new Resource$Folders$
|
|
1102
|
+
this.customModules =
|
|
1103
|
+
new Resource$Folders$Securityhealthanalyticssettings$Custommodules(this.context);
|
|
1104
|
+
this.effectiveCustomModules =
|
|
1105
|
+
new Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules(this.context);
|
|
1140
1106
|
}
|
|
1141
|
-
|
|
1107
|
+
}
|
|
1108
|
+
securitycenter_v1.Resource$Folders$Securityhealthanalyticssettings = Resource$Folders$Securityhealthanalyticssettings;
|
|
1109
|
+
class Resource$Folders$Securityhealthanalyticssettings$Custommodules {
|
|
1110
|
+
constructor(context) {
|
|
1111
|
+
this.context = context;
|
|
1112
|
+
}
|
|
1113
|
+
create(paramsOrCallback, optionsOrCallback, callback) {
|
|
1142
1114
|
let params = (paramsOrCallback ||
|
|
1143
1115
|
{});
|
|
1144
1116
|
let options = (optionsOrCallback || {});
|
|
1145
1117
|
if (typeof paramsOrCallback === 'function') {
|
|
1146
1118
|
callback = paramsOrCallback;
|
|
1147
|
-
params =
|
|
1119
|
+
params =
|
|
1120
|
+
{};
|
|
1148
1121
|
options = {};
|
|
1149
1122
|
}
|
|
1150
1123
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -1154,7 +1127,7 @@ var securitycenter_v1;
|
|
|
1154
1127
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
1155
1128
|
const parameters = {
|
|
1156
1129
|
options: Object.assign({
|
|
1157
|
-
url: (rootUrl + '/v1/{+parent}/
|
|
1130
|
+
url: (rootUrl + '/v1/{+parent}/customModules').replace(/([^:]\/)\/+/g, '$1'),
|
|
1158
1131
|
method: 'POST',
|
|
1159
1132
|
}, options),
|
|
1160
1133
|
params,
|
|
@@ -1169,13 +1142,14 @@ var securitycenter_v1;
|
|
|
1169
1142
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1170
1143
|
}
|
|
1171
1144
|
}
|
|
1172
|
-
|
|
1145
|
+
delete(paramsOrCallback, optionsOrCallback, callback) {
|
|
1173
1146
|
let params = (paramsOrCallback ||
|
|
1174
1147
|
{});
|
|
1175
1148
|
let options = (optionsOrCallback || {});
|
|
1176
1149
|
if (typeof paramsOrCallback === 'function') {
|
|
1177
1150
|
callback = paramsOrCallback;
|
|
1178
|
-
params =
|
|
1151
|
+
params =
|
|
1152
|
+
{};
|
|
1179
1153
|
options = {};
|
|
1180
1154
|
}
|
|
1181
1155
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -1185,12 +1159,12 @@ var securitycenter_v1;
|
|
|
1185
1159
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
1186
1160
|
const parameters = {
|
|
1187
1161
|
options: Object.assign({
|
|
1188
|
-
url: (rootUrl + '/v1/{+
|
|
1189
|
-
method: '
|
|
1162
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
1163
|
+
method: 'DELETE',
|
|
1190
1164
|
}, options),
|
|
1191
1165
|
params,
|
|
1192
|
-
requiredParams: ['
|
|
1193
|
-
pathParams: ['
|
|
1166
|
+
requiredParams: ['name'],
|
|
1167
|
+
pathParams: ['name'],
|
|
1194
1168
|
context: this.context,
|
|
1195
1169
|
};
|
|
1196
1170
|
if (callback) {
|
|
@@ -1200,13 +1174,14 @@ var securitycenter_v1;
|
|
|
1200
1174
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1201
1175
|
}
|
|
1202
1176
|
}
|
|
1203
|
-
|
|
1177
|
+
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
1204
1178
|
let params = (paramsOrCallback ||
|
|
1205
1179
|
{});
|
|
1206
1180
|
let options = (optionsOrCallback || {});
|
|
1207
1181
|
if (typeof paramsOrCallback === 'function') {
|
|
1208
1182
|
callback = paramsOrCallback;
|
|
1209
|
-
params =
|
|
1183
|
+
params =
|
|
1184
|
+
{};
|
|
1210
1185
|
options = {};
|
|
1211
1186
|
}
|
|
1212
1187
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -1217,7 +1192,7 @@ var securitycenter_v1;
|
|
|
1217
1192
|
const parameters = {
|
|
1218
1193
|
options: Object.assign({
|
|
1219
1194
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
1220
|
-
method: '
|
|
1195
|
+
method: 'GET',
|
|
1221
1196
|
}, options),
|
|
1222
1197
|
params,
|
|
1223
1198
|
requiredParams: ['name'],
|
|
@@ -1231,13 +1206,14 @@ var securitycenter_v1;
|
|
|
1231
1206
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1232
1207
|
}
|
|
1233
1208
|
}
|
|
1234
|
-
|
|
1209
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
1235
1210
|
let params = (paramsOrCallback ||
|
|
1236
1211
|
{});
|
|
1237
1212
|
let options = (optionsOrCallback || {});
|
|
1238
1213
|
if (typeof paramsOrCallback === 'function') {
|
|
1239
1214
|
callback = paramsOrCallback;
|
|
1240
|
-
params =
|
|
1215
|
+
params =
|
|
1216
|
+
{};
|
|
1241
1217
|
options = {};
|
|
1242
1218
|
}
|
|
1243
1219
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -1247,12 +1223,12 @@ var securitycenter_v1;
|
|
|
1247
1223
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
1248
1224
|
const parameters = {
|
|
1249
1225
|
options: Object.assign({
|
|
1250
|
-
url: (rootUrl + '/v1/{+
|
|
1251
|
-
method: '
|
|
1226
|
+
url: (rootUrl + '/v1/{+parent}/customModules').replace(/([^:]\/)\/+/g, '$1'),
|
|
1227
|
+
method: 'GET',
|
|
1252
1228
|
}, options),
|
|
1253
1229
|
params,
|
|
1254
|
-
requiredParams: ['
|
|
1255
|
-
pathParams: ['
|
|
1230
|
+
requiredParams: ['parent'],
|
|
1231
|
+
pathParams: ['parent'],
|
|
1256
1232
|
context: this.context,
|
|
1257
1233
|
};
|
|
1258
1234
|
if (callback) {
|
|
@@ -1262,13 +1238,14 @@ var securitycenter_v1;
|
|
|
1262
1238
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1263
1239
|
}
|
|
1264
1240
|
}
|
|
1265
|
-
|
|
1241
|
+
listDescendant(paramsOrCallback, optionsOrCallback, callback) {
|
|
1266
1242
|
let params = (paramsOrCallback ||
|
|
1267
1243
|
{});
|
|
1268
1244
|
let options = (optionsOrCallback || {});
|
|
1269
1245
|
if (typeof paramsOrCallback === 'function') {
|
|
1270
1246
|
callback = paramsOrCallback;
|
|
1271
|
-
params =
|
|
1247
|
+
params =
|
|
1248
|
+
{};
|
|
1272
1249
|
options = {};
|
|
1273
1250
|
}
|
|
1274
1251
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -1278,12 +1255,12 @@ var securitycenter_v1;
|
|
|
1278
1255
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
1279
1256
|
const parameters = {
|
|
1280
1257
|
options: Object.assign({
|
|
1281
|
-
url: (rootUrl + '/v1/{+
|
|
1282
|
-
method: '
|
|
1258
|
+
url: (rootUrl + '/v1/{+parent}/customModules:listDescendant').replace(/([^:]\/)\/+/g, '$1'),
|
|
1259
|
+
method: 'GET',
|
|
1283
1260
|
}, options),
|
|
1284
1261
|
params,
|
|
1285
|
-
requiredParams: ['
|
|
1286
|
-
pathParams: ['
|
|
1262
|
+
requiredParams: ['parent'],
|
|
1263
|
+
pathParams: ['parent'],
|
|
1287
1264
|
context: this.context,
|
|
1288
1265
|
};
|
|
1289
1266
|
if (callback) {
|
|
@@ -1293,7 +1270,7 @@ var securitycenter_v1;
|
|
|
1293
1270
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1294
1271
|
}
|
|
1295
1272
|
}
|
|
1296
|
-
|
|
1273
|
+
patch(paramsOrCallback, optionsOrCallback, callback) {
|
|
1297
1274
|
let params = (paramsOrCallback ||
|
|
1298
1275
|
{});
|
|
1299
1276
|
let options = (optionsOrCallback || {});
|
|
@@ -1325,13 +1302,7 @@ var securitycenter_v1;
|
|
|
1325
1302
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1326
1303
|
}
|
|
1327
1304
|
}
|
|
1328
|
-
|
|
1329
|
-
securitycenter_v1.Resource$Folders$Sources$Findings = Resource$Folders$Sources$Findings;
|
|
1330
|
-
class Resource$Folders$Sources$Findings$Externalsystems {
|
|
1331
|
-
constructor(context) {
|
|
1332
|
-
this.context = context;
|
|
1333
|
-
}
|
|
1334
|
-
patch(paramsOrCallback, optionsOrCallback, callback) {
|
|
1305
|
+
simulate(paramsOrCallback, optionsOrCallback, callback) {
|
|
1335
1306
|
let params = (paramsOrCallback ||
|
|
1336
1307
|
{});
|
|
1337
1308
|
let options = (optionsOrCallback || {});
|
|
@@ -1348,12 +1319,12 @@ var securitycenter_v1;
|
|
|
1348
1319
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
1349
1320
|
const parameters = {
|
|
1350
1321
|
options: Object.assign({
|
|
1351
|
-
url: (rootUrl + '/v1/{+
|
|
1352
|
-
method: '
|
|
1322
|
+
url: (rootUrl + '/v1/{+parent}/customModules:simulate').replace(/([^:]\/)\/+/g, '$1'),
|
|
1323
|
+
method: 'POST',
|
|
1353
1324
|
}, options),
|
|
1354
1325
|
params,
|
|
1355
|
-
requiredParams: ['
|
|
1356
|
-
pathParams: ['
|
|
1326
|
+
requiredParams: ['parent'],
|
|
1327
|
+
pathParams: ['parent'],
|
|
1357
1328
|
context: this.context,
|
|
1358
1329
|
};
|
|
1359
1330
|
if (callback) {
|
|
@@ -1364,33 +1335,19 @@ var securitycenter_v1;
|
|
|
1364
1335
|
}
|
|
1365
1336
|
}
|
|
1366
1337
|
}
|
|
1367
|
-
securitycenter_v1.Resource$Folders$
|
|
1368
|
-
class Resource$
|
|
1338
|
+
securitycenter_v1.Resource$Folders$Securityhealthanalyticssettings$Custommodules = Resource$Folders$Securityhealthanalyticssettings$Custommodules;
|
|
1339
|
+
class Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules {
|
|
1369
1340
|
constructor(context) {
|
|
1370
1341
|
this.context = context;
|
|
1371
|
-
this.assets = new Resource$Organizations$Assets(this.context);
|
|
1372
|
-
this.bigQueryExports = new Resource$Organizations$Bigqueryexports(this.context);
|
|
1373
|
-
this.eventThreatDetectionSettings =
|
|
1374
|
-
new Resource$Organizations$Eventthreatdetectionsettings(this.context);
|
|
1375
|
-
this.findings = new Resource$Organizations$Findings(this.context);
|
|
1376
|
-
this.locations = new Resource$Organizations$Locations(this.context);
|
|
1377
|
-
this.muteConfigs = new Resource$Organizations$Muteconfigs(this.context);
|
|
1378
|
-
this.notificationConfigs = new Resource$Organizations$Notificationconfigs(this.context);
|
|
1379
|
-
this.operations = new Resource$Organizations$Operations(this.context);
|
|
1380
|
-
this.resourceValueConfigs =
|
|
1381
|
-
new Resource$Organizations$Resourcevalueconfigs(this.context);
|
|
1382
|
-
this.securityHealthAnalyticsSettings =
|
|
1383
|
-
new Resource$Organizations$Securityhealthanalyticssettings(this.context);
|
|
1384
|
-
this.simulations = new Resource$Organizations$Simulations(this.context);
|
|
1385
|
-
this.sources = new Resource$Organizations$Sources(this.context);
|
|
1386
1342
|
}
|
|
1387
|
-
|
|
1343
|
+
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
1388
1344
|
let params = (paramsOrCallback ||
|
|
1389
1345
|
{});
|
|
1390
1346
|
let options = (optionsOrCallback || {});
|
|
1391
1347
|
if (typeof paramsOrCallback === 'function') {
|
|
1392
1348
|
callback = paramsOrCallback;
|
|
1393
|
-
params =
|
|
1349
|
+
params =
|
|
1350
|
+
{};
|
|
1394
1351
|
options = {};
|
|
1395
1352
|
}
|
|
1396
1353
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -1415,13 +1372,14 @@ var securitycenter_v1;
|
|
|
1415
1372
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1416
1373
|
}
|
|
1417
1374
|
}
|
|
1418
|
-
|
|
1375
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
1419
1376
|
let params = (paramsOrCallback ||
|
|
1420
1377
|
{});
|
|
1421
1378
|
let options = (optionsOrCallback || {});
|
|
1422
1379
|
if (typeof paramsOrCallback === 'function') {
|
|
1423
1380
|
callback = paramsOrCallback;
|
|
1424
|
-
params =
|
|
1381
|
+
params =
|
|
1382
|
+
{};
|
|
1425
1383
|
options = {};
|
|
1426
1384
|
}
|
|
1427
1385
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -1431,12 +1389,12 @@ var securitycenter_v1;
|
|
|
1431
1389
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
1432
1390
|
const parameters = {
|
|
1433
1391
|
options: Object.assign({
|
|
1434
|
-
url: (rootUrl + '/v1/{+
|
|
1435
|
-
method: '
|
|
1392
|
+
url: (rootUrl + '/v1/{+parent}/effectiveCustomModules').replace(/([^:]\/)\/+/g, '$1'),
|
|
1393
|
+
method: 'GET',
|
|
1436
1394
|
}, options),
|
|
1437
1395
|
params,
|
|
1438
|
-
requiredParams: ['
|
|
1439
|
-
pathParams: ['
|
|
1396
|
+
requiredParams: ['parent'],
|
|
1397
|
+
pathParams: ['parent'],
|
|
1440
1398
|
context: this.context,
|
|
1441
1399
|
};
|
|
1442
1400
|
if (callback) {
|
|
@@ -1447,12 +1405,13 @@ var securitycenter_v1;
|
|
|
1447
1405
|
}
|
|
1448
1406
|
}
|
|
1449
1407
|
}
|
|
1450
|
-
securitycenter_v1.Resource$
|
|
1451
|
-
class Resource$
|
|
1408
|
+
securitycenter_v1.Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules = Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules;
|
|
1409
|
+
class Resource$Folders$Sources {
|
|
1452
1410
|
constructor(context) {
|
|
1453
1411
|
this.context = context;
|
|
1412
|
+
this.findings = new Resource$Folders$Sources$Findings(this.context);
|
|
1454
1413
|
}
|
|
1455
|
-
|
|
1414
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
1456
1415
|
let params = (paramsOrCallback ||
|
|
1457
1416
|
{});
|
|
1458
1417
|
let options = (optionsOrCallback || {});
|
|
@@ -1468,8 +1427,8 @@ var securitycenter_v1;
|
|
|
1468
1427
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
1469
1428
|
const parameters = {
|
|
1470
1429
|
options: Object.assign({
|
|
1471
|
-
url: (rootUrl + '/v1/{+parent}/
|
|
1472
|
-
method: '
|
|
1430
|
+
url: (rootUrl + '/v1/{+parent}/sources').replace(/([^:]\/)\/+/g, '$1'),
|
|
1431
|
+
method: 'GET',
|
|
1473
1432
|
}, options),
|
|
1474
1433
|
params,
|
|
1475
1434
|
requiredParams: ['parent'],
|
|
@@ -1483,7 +1442,15 @@ var securitycenter_v1;
|
|
|
1483
1442
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1484
1443
|
}
|
|
1485
1444
|
}
|
|
1486
|
-
|
|
1445
|
+
}
|
|
1446
|
+
securitycenter_v1.Resource$Folders$Sources = Resource$Folders$Sources;
|
|
1447
|
+
class Resource$Folders$Sources$Findings {
|
|
1448
|
+
constructor(context) {
|
|
1449
|
+
this.context = context;
|
|
1450
|
+
this.externalSystems =
|
|
1451
|
+
new Resource$Folders$Sources$Findings$Externalsystems(this.context);
|
|
1452
|
+
}
|
|
1453
|
+
group(paramsOrCallback, optionsOrCallback, callback) {
|
|
1487
1454
|
let params = (paramsOrCallback ||
|
|
1488
1455
|
{});
|
|
1489
1456
|
let options = (optionsOrCallback || {});
|
|
@@ -1499,8 +1466,8 @@ var securitycenter_v1;
|
|
|
1499
1466
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
1500
1467
|
const parameters = {
|
|
1501
1468
|
options: Object.assign({
|
|
1502
|
-
url: (rootUrl + '/v1/{+parent}/
|
|
1503
|
-
method: '
|
|
1469
|
+
url: (rootUrl + '/v1/{+parent}/findings:group').replace(/([^:]\/)\/+/g, '$1'),
|
|
1470
|
+
method: 'POST',
|
|
1504
1471
|
}, options),
|
|
1505
1472
|
params,
|
|
1506
1473
|
requiredParams: ['parent'],
|
|
@@ -1514,7 +1481,7 @@ var securitycenter_v1;
|
|
|
1514
1481
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1515
1482
|
}
|
|
1516
1483
|
}
|
|
1517
|
-
|
|
1484
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
1518
1485
|
let params = (paramsOrCallback ||
|
|
1519
1486
|
{});
|
|
1520
1487
|
let options = (optionsOrCallback || {});
|
|
@@ -1530,8 +1497,8 @@ var securitycenter_v1;
|
|
|
1530
1497
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
1531
1498
|
const parameters = {
|
|
1532
1499
|
options: Object.assign({
|
|
1533
|
-
url: (rootUrl + '/v1/{+parent}/
|
|
1534
|
-
method: '
|
|
1500
|
+
url: (rootUrl + '/v1/{+parent}/findings').replace(/([^:]\/)\/+/g, '$1'),
|
|
1501
|
+
method: 'GET',
|
|
1535
1502
|
}, options),
|
|
1536
1503
|
params,
|
|
1537
1504
|
requiredParams: ['parent'],
|
|
@@ -1545,7 +1512,7 @@ var securitycenter_v1;
|
|
|
1545
1512
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1546
1513
|
}
|
|
1547
1514
|
}
|
|
1548
|
-
|
|
1515
|
+
patch(paramsOrCallback, optionsOrCallback, callback) {
|
|
1549
1516
|
let params = (paramsOrCallback ||
|
|
1550
1517
|
{});
|
|
1551
1518
|
let options = (optionsOrCallback || {});
|
|
@@ -1576,13 +1543,7 @@ var securitycenter_v1;
|
|
|
1576
1543
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1577
1544
|
}
|
|
1578
1545
|
}
|
|
1579
|
-
|
|
1580
|
-
securitycenter_v1.Resource$Organizations$Assets = Resource$Organizations$Assets;
|
|
1581
|
-
class Resource$Organizations$Bigqueryexports {
|
|
1582
|
-
constructor(context) {
|
|
1583
|
-
this.context = context;
|
|
1584
|
-
}
|
|
1585
|
-
create(paramsOrCallback, optionsOrCallback, callback) {
|
|
1546
|
+
setMute(paramsOrCallback, optionsOrCallback, callback) {
|
|
1586
1547
|
let params = (paramsOrCallback ||
|
|
1587
1548
|
{});
|
|
1588
1549
|
let options = (optionsOrCallback || {});
|
|
@@ -1598,12 +1559,12 @@ var securitycenter_v1;
|
|
|
1598
1559
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
1599
1560
|
const parameters = {
|
|
1600
1561
|
options: Object.assign({
|
|
1601
|
-
url: (rootUrl + '/v1/{+
|
|
1562
|
+
url: (rootUrl + '/v1/{+name}:setMute').replace(/([^:]\/)\/+/g, '$1'),
|
|
1602
1563
|
method: 'POST',
|
|
1603
1564
|
}, options),
|
|
1604
1565
|
params,
|
|
1605
|
-
requiredParams: ['
|
|
1606
|
-
pathParams: ['
|
|
1566
|
+
requiredParams: ['name'],
|
|
1567
|
+
pathParams: ['name'],
|
|
1607
1568
|
context: this.context,
|
|
1608
1569
|
};
|
|
1609
1570
|
if (callback) {
|
|
@@ -1613,7 +1574,7 @@ var securitycenter_v1;
|
|
|
1613
1574
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1614
1575
|
}
|
|
1615
1576
|
}
|
|
1616
|
-
|
|
1577
|
+
setState(paramsOrCallback, optionsOrCallback, callback) {
|
|
1617
1578
|
let params = (paramsOrCallback ||
|
|
1618
1579
|
{});
|
|
1619
1580
|
let options = (optionsOrCallback || {});
|
|
@@ -1629,8 +1590,8 @@ var securitycenter_v1;
|
|
|
1629
1590
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
1630
1591
|
const parameters = {
|
|
1631
1592
|
options: Object.assign({
|
|
1632
|
-
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
1633
|
-
method: '
|
|
1593
|
+
url: (rootUrl + '/v1/{+name}:setState').replace(/([^:]\/)\/+/g, '$1'),
|
|
1594
|
+
method: 'POST',
|
|
1634
1595
|
}, options),
|
|
1635
1596
|
params,
|
|
1636
1597
|
requiredParams: ['name'],
|
|
@@ -1644,13 +1605,14 @@ var securitycenter_v1;
|
|
|
1644
1605
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1645
1606
|
}
|
|
1646
1607
|
}
|
|
1647
|
-
|
|
1608
|
+
updateSecurityMarks(paramsOrCallback, optionsOrCallback, callback) {
|
|
1648
1609
|
let params = (paramsOrCallback ||
|
|
1649
1610
|
{});
|
|
1650
1611
|
let options = (optionsOrCallback || {});
|
|
1651
1612
|
if (typeof paramsOrCallback === 'function') {
|
|
1652
1613
|
callback = paramsOrCallback;
|
|
1653
|
-
params =
|
|
1614
|
+
params =
|
|
1615
|
+
{};
|
|
1654
1616
|
options = {};
|
|
1655
1617
|
}
|
|
1656
1618
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -1661,7 +1623,7 @@ var securitycenter_v1;
|
|
|
1661
1623
|
const parameters = {
|
|
1662
1624
|
options: Object.assign({
|
|
1663
1625
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
1664
|
-
method: '
|
|
1626
|
+
method: 'PATCH',
|
|
1665
1627
|
}, options),
|
|
1666
1628
|
params,
|
|
1667
1629
|
requiredParams: ['name'],
|
|
@@ -1675,13 +1637,20 @@ var securitycenter_v1;
|
|
|
1675
1637
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1676
1638
|
}
|
|
1677
1639
|
}
|
|
1678
|
-
|
|
1640
|
+
}
|
|
1641
|
+
securitycenter_v1.Resource$Folders$Sources$Findings = Resource$Folders$Sources$Findings;
|
|
1642
|
+
class Resource$Folders$Sources$Findings$Externalsystems {
|
|
1643
|
+
constructor(context) {
|
|
1644
|
+
this.context = context;
|
|
1645
|
+
}
|
|
1646
|
+
patch(paramsOrCallback, optionsOrCallback, callback) {
|
|
1679
1647
|
let params = (paramsOrCallback ||
|
|
1680
1648
|
{});
|
|
1681
1649
|
let options = (optionsOrCallback || {});
|
|
1682
1650
|
if (typeof paramsOrCallback === 'function') {
|
|
1683
1651
|
callback = paramsOrCallback;
|
|
1684
|
-
params =
|
|
1652
|
+
params =
|
|
1653
|
+
{};
|
|
1685
1654
|
options = {};
|
|
1686
1655
|
}
|
|
1687
1656
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -1691,12 +1660,12 @@ var securitycenter_v1;
|
|
|
1691
1660
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
1692
1661
|
const parameters = {
|
|
1693
1662
|
options: Object.assign({
|
|
1694
|
-
url: (rootUrl + '/v1/{+
|
|
1695
|
-
method: '
|
|
1663
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
1664
|
+
method: 'PATCH',
|
|
1696
1665
|
}, options),
|
|
1697
1666
|
params,
|
|
1698
|
-
requiredParams: ['
|
|
1699
|
-
pathParams: ['
|
|
1667
|
+
requiredParams: ['name'],
|
|
1668
|
+
pathParams: ['name'],
|
|
1700
1669
|
context: this.context,
|
|
1701
1670
|
};
|
|
1702
1671
|
if (callback) {
|
|
@@ -1706,7 +1675,28 @@ var securitycenter_v1;
|
|
|
1706
1675
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1707
1676
|
}
|
|
1708
1677
|
}
|
|
1709
|
-
|
|
1678
|
+
}
|
|
1679
|
+
securitycenter_v1.Resource$Folders$Sources$Findings$Externalsystems = Resource$Folders$Sources$Findings$Externalsystems;
|
|
1680
|
+
class Resource$Organizations {
|
|
1681
|
+
constructor(context) {
|
|
1682
|
+
this.context = context;
|
|
1683
|
+
this.assets = new Resource$Organizations$Assets(this.context);
|
|
1684
|
+
this.bigQueryExports = new Resource$Organizations$Bigqueryexports(this.context);
|
|
1685
|
+
this.eventThreatDetectionSettings =
|
|
1686
|
+
new Resource$Organizations$Eventthreatdetectionsettings(this.context);
|
|
1687
|
+
this.findings = new Resource$Organizations$Findings(this.context);
|
|
1688
|
+
this.locations = new Resource$Organizations$Locations(this.context);
|
|
1689
|
+
this.muteConfigs = new Resource$Organizations$Muteconfigs(this.context);
|
|
1690
|
+
this.notificationConfigs = new Resource$Organizations$Notificationconfigs(this.context);
|
|
1691
|
+
this.operations = new Resource$Organizations$Operations(this.context);
|
|
1692
|
+
this.resourceValueConfigs =
|
|
1693
|
+
new Resource$Organizations$Resourcevalueconfigs(this.context);
|
|
1694
|
+
this.securityHealthAnalyticsSettings =
|
|
1695
|
+
new Resource$Organizations$Securityhealthanalyticssettings(this.context);
|
|
1696
|
+
this.simulations = new Resource$Organizations$Simulations(this.context);
|
|
1697
|
+
this.sources = new Resource$Organizations$Sources(this.context);
|
|
1698
|
+
}
|
|
1699
|
+
getOrganizationSettings(paramsOrCallback, optionsOrCallback, callback) {
|
|
1710
1700
|
let params = (paramsOrCallback ||
|
|
1711
1701
|
{});
|
|
1712
1702
|
let options = (optionsOrCallback || {});
|
|
@@ -1723,7 +1713,7 @@ var securitycenter_v1;
|
|
|
1723
1713
|
const parameters = {
|
|
1724
1714
|
options: Object.assign({
|
|
1725
1715
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
1726
|
-
method: '
|
|
1716
|
+
method: 'GET',
|
|
1727
1717
|
}, options),
|
|
1728
1718
|
params,
|
|
1729
1719
|
requiredParams: ['name'],
|
|
@@ -1737,22 +1727,13 @@ var securitycenter_v1;
|
|
|
1737
1727
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1738
1728
|
}
|
|
1739
1729
|
}
|
|
1740
|
-
|
|
1741
|
-
securitycenter_v1.Resource$Organizations$Bigqueryexports = Resource$Organizations$Bigqueryexports;
|
|
1742
|
-
class Resource$Organizations$Eventthreatdetectionsettings {
|
|
1743
|
-
constructor(context) {
|
|
1744
|
-
this.context = context;
|
|
1745
|
-
this.customModules =
|
|
1746
|
-
new Resource$Organizations$Eventthreatdetectionsettings$Custommodules(this.context);
|
|
1747
|
-
}
|
|
1748
|
-
validateCustomModule(paramsOrCallback, optionsOrCallback, callback) {
|
|
1730
|
+
updateOrganizationSettings(paramsOrCallback, optionsOrCallback, callback) {
|
|
1749
1731
|
let params = (paramsOrCallback ||
|
|
1750
1732
|
{});
|
|
1751
1733
|
let options = (optionsOrCallback || {});
|
|
1752
1734
|
if (typeof paramsOrCallback === 'function') {
|
|
1753
1735
|
callback = paramsOrCallback;
|
|
1754
|
-
params =
|
|
1755
|
-
{};
|
|
1736
|
+
params = {};
|
|
1756
1737
|
options = {};
|
|
1757
1738
|
}
|
|
1758
1739
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -1762,12 +1743,12 @@ var securitycenter_v1;
|
|
|
1762
1743
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
1763
1744
|
const parameters = {
|
|
1764
1745
|
options: Object.assign({
|
|
1765
|
-
url: (rootUrl + '/v1/{+
|
|
1766
|
-
method: '
|
|
1746
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
1747
|
+
method: 'PATCH',
|
|
1767
1748
|
}, options),
|
|
1768
1749
|
params,
|
|
1769
|
-
requiredParams: ['
|
|
1770
|
-
pathParams: ['
|
|
1750
|
+
requiredParams: ['name'],
|
|
1751
|
+
pathParams: ['name'],
|
|
1771
1752
|
context: this.context,
|
|
1772
1753
|
};
|
|
1773
1754
|
if (callback) {
|
|
@@ -1778,19 +1759,18 @@ var securitycenter_v1;
|
|
|
1778
1759
|
}
|
|
1779
1760
|
}
|
|
1780
1761
|
}
|
|
1781
|
-
securitycenter_v1.Resource$Organizations
|
|
1782
|
-
class Resource$Organizations$
|
|
1762
|
+
securitycenter_v1.Resource$Organizations = Resource$Organizations;
|
|
1763
|
+
class Resource$Organizations$Assets {
|
|
1783
1764
|
constructor(context) {
|
|
1784
1765
|
this.context = context;
|
|
1785
1766
|
}
|
|
1786
|
-
|
|
1767
|
+
group(paramsOrCallback, optionsOrCallback, callback) {
|
|
1787
1768
|
let params = (paramsOrCallback ||
|
|
1788
1769
|
{});
|
|
1789
1770
|
let options = (optionsOrCallback || {});
|
|
1790
1771
|
if (typeof paramsOrCallback === 'function') {
|
|
1791
1772
|
callback = paramsOrCallback;
|
|
1792
|
-
params =
|
|
1793
|
-
{};
|
|
1773
|
+
params = {};
|
|
1794
1774
|
options = {};
|
|
1795
1775
|
}
|
|
1796
1776
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -1800,7 +1780,7 @@ var securitycenter_v1;
|
|
|
1800
1780
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
1801
1781
|
const parameters = {
|
|
1802
1782
|
options: Object.assign({
|
|
1803
|
-
url: (rootUrl + '/v1/{+parent}/
|
|
1783
|
+
url: (rootUrl + '/v1/{+parent}/assets:group').replace(/([^:]\/)\/+/g, '$1'),
|
|
1804
1784
|
method: 'POST',
|
|
1805
1785
|
}, options),
|
|
1806
1786
|
params,
|
|
@@ -1815,14 +1795,13 @@ var securitycenter_v1;
|
|
|
1815
1795
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1816
1796
|
}
|
|
1817
1797
|
}
|
|
1818
|
-
|
|
1798
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
1819
1799
|
let params = (paramsOrCallback ||
|
|
1820
1800
|
{});
|
|
1821
1801
|
let options = (optionsOrCallback || {});
|
|
1822
1802
|
if (typeof paramsOrCallback === 'function') {
|
|
1823
1803
|
callback = paramsOrCallback;
|
|
1824
|
-
params =
|
|
1825
|
-
{};
|
|
1804
|
+
params = {};
|
|
1826
1805
|
options = {};
|
|
1827
1806
|
}
|
|
1828
1807
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -1832,12 +1811,12 @@ var securitycenter_v1;
|
|
|
1832
1811
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
1833
1812
|
const parameters = {
|
|
1834
1813
|
options: Object.assign({
|
|
1835
|
-
url: (rootUrl + '/v1/{+
|
|
1836
|
-
method: '
|
|
1814
|
+
url: (rootUrl + '/v1/{+parent}/assets').replace(/([^:]\/)\/+/g, '$1'),
|
|
1815
|
+
method: 'GET',
|
|
1837
1816
|
}, options),
|
|
1838
1817
|
params,
|
|
1839
|
-
requiredParams: ['
|
|
1840
|
-
pathParams: ['
|
|
1818
|
+
requiredParams: ['parent'],
|
|
1819
|
+
pathParams: ['parent'],
|
|
1841
1820
|
context: this.context,
|
|
1842
1821
|
};
|
|
1843
1822
|
if (callback) {
|
|
@@ -1847,14 +1826,13 @@ var securitycenter_v1;
|
|
|
1847
1826
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1848
1827
|
}
|
|
1849
1828
|
}
|
|
1850
|
-
|
|
1829
|
+
runDiscovery(paramsOrCallback, optionsOrCallback, callback) {
|
|
1851
1830
|
let params = (paramsOrCallback ||
|
|
1852
1831
|
{});
|
|
1853
1832
|
let options = (optionsOrCallback || {});
|
|
1854
1833
|
if (typeof paramsOrCallback === 'function') {
|
|
1855
1834
|
callback = paramsOrCallback;
|
|
1856
|
-
params =
|
|
1857
|
-
{};
|
|
1835
|
+
params = {};
|
|
1858
1836
|
options = {};
|
|
1859
1837
|
}
|
|
1860
1838
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -1864,12 +1842,12 @@ var securitycenter_v1;
|
|
|
1864
1842
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
1865
1843
|
const parameters = {
|
|
1866
1844
|
options: Object.assign({
|
|
1867
|
-
url: (rootUrl + '/v1/{+
|
|
1868
|
-
method: '
|
|
1845
|
+
url: (rootUrl + '/v1/{+parent}/assets:runDiscovery').replace(/([^:]\/)\/+/g, '$1'),
|
|
1846
|
+
method: 'POST',
|
|
1869
1847
|
}, options),
|
|
1870
1848
|
params,
|
|
1871
|
-
requiredParams: ['
|
|
1872
|
-
pathParams: ['
|
|
1849
|
+
requiredParams: ['parent'],
|
|
1850
|
+
pathParams: ['parent'],
|
|
1873
1851
|
context: this.context,
|
|
1874
1852
|
};
|
|
1875
1853
|
if (callback) {
|
|
@@ -1879,14 +1857,13 @@ var securitycenter_v1;
|
|
|
1879
1857
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1880
1858
|
}
|
|
1881
1859
|
}
|
|
1882
|
-
|
|
1860
|
+
updateSecurityMarks(paramsOrCallback, optionsOrCallback, callback) {
|
|
1883
1861
|
let params = (paramsOrCallback ||
|
|
1884
1862
|
{});
|
|
1885
1863
|
let options = (optionsOrCallback || {});
|
|
1886
1864
|
if (typeof paramsOrCallback === 'function') {
|
|
1887
1865
|
callback = paramsOrCallback;
|
|
1888
|
-
params =
|
|
1889
|
-
{};
|
|
1866
|
+
params = {};
|
|
1890
1867
|
options = {};
|
|
1891
1868
|
}
|
|
1892
1869
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -1896,12 +1873,12 @@ var securitycenter_v1;
|
|
|
1896
1873
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
1897
1874
|
const parameters = {
|
|
1898
1875
|
options: Object.assign({
|
|
1899
|
-
url: (rootUrl + '/v1/{+
|
|
1900
|
-
method: '
|
|
1876
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
1877
|
+
method: 'PATCH',
|
|
1901
1878
|
}, options),
|
|
1902
1879
|
params,
|
|
1903
|
-
requiredParams: ['
|
|
1904
|
-
pathParams: ['
|
|
1880
|
+
requiredParams: ['name'],
|
|
1881
|
+
pathParams: ['name'],
|
|
1905
1882
|
context: this.context,
|
|
1906
1883
|
};
|
|
1907
1884
|
if (callback) {
|
|
@@ -1911,14 +1888,19 @@ var securitycenter_v1;
|
|
|
1911
1888
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1912
1889
|
}
|
|
1913
1890
|
}
|
|
1914
|
-
|
|
1891
|
+
}
|
|
1892
|
+
securitycenter_v1.Resource$Organizations$Assets = Resource$Organizations$Assets;
|
|
1893
|
+
class Resource$Organizations$Bigqueryexports {
|
|
1894
|
+
constructor(context) {
|
|
1895
|
+
this.context = context;
|
|
1896
|
+
}
|
|
1897
|
+
create(paramsOrCallback, optionsOrCallback, callback) {
|
|
1915
1898
|
let params = (paramsOrCallback ||
|
|
1916
1899
|
{});
|
|
1917
1900
|
let options = (optionsOrCallback || {});
|
|
1918
1901
|
if (typeof paramsOrCallback === 'function') {
|
|
1919
1902
|
callback = paramsOrCallback;
|
|
1920
|
-
params =
|
|
1921
|
-
{};
|
|
1903
|
+
params = {};
|
|
1922
1904
|
options = {};
|
|
1923
1905
|
}
|
|
1924
1906
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -1928,12 +1910,12 @@ var securitycenter_v1;
|
|
|
1928
1910
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
1929
1911
|
const parameters = {
|
|
1930
1912
|
options: Object.assign({
|
|
1931
|
-
url: (rootUrl + '/v1/{+
|
|
1932
|
-
method: '
|
|
1913
|
+
url: (rootUrl + '/v1/{+parent}/bigQueryExports').replace(/([^:]\/)\/+/g, '$1'),
|
|
1914
|
+
method: 'POST',
|
|
1933
1915
|
}, options),
|
|
1934
1916
|
params,
|
|
1935
|
-
requiredParams: ['
|
|
1936
|
-
pathParams: ['
|
|
1917
|
+
requiredParams: ['parent'],
|
|
1918
|
+
pathParams: ['parent'],
|
|
1937
1919
|
context: this.context,
|
|
1938
1920
|
};
|
|
1939
1921
|
if (callback) {
|
|
@@ -1943,13 +1925,7 @@ var securitycenter_v1;
|
|
|
1943
1925
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1944
1926
|
}
|
|
1945
1927
|
}
|
|
1946
|
-
|
|
1947
|
-
securitycenter_v1.Resource$Organizations$Eventthreatdetectionsettings$Custommodules = Resource$Organizations$Eventthreatdetectionsettings$Custommodules;
|
|
1948
|
-
class Resource$Organizations$Findings {
|
|
1949
|
-
constructor(context) {
|
|
1950
|
-
this.context = context;
|
|
1951
|
-
}
|
|
1952
|
-
bulkMute(paramsOrCallback, optionsOrCallback, callback) {
|
|
1928
|
+
delete(paramsOrCallback, optionsOrCallback, callback) {
|
|
1953
1929
|
let params = (paramsOrCallback ||
|
|
1954
1930
|
{});
|
|
1955
1931
|
let options = (optionsOrCallback || {});
|
|
@@ -1965,12 +1941,12 @@ var securitycenter_v1;
|
|
|
1965
1941
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
1966
1942
|
const parameters = {
|
|
1967
1943
|
options: Object.assign({
|
|
1968
|
-
url: (rootUrl + '/v1/{+
|
|
1969
|
-
method: '
|
|
1944
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
1945
|
+
method: 'DELETE',
|
|
1970
1946
|
}, options),
|
|
1971
1947
|
params,
|
|
1972
|
-
requiredParams: ['
|
|
1973
|
-
pathParams: ['
|
|
1948
|
+
requiredParams: ['name'],
|
|
1949
|
+
pathParams: ['name'],
|
|
1974
1950
|
context: this.context,
|
|
1975
1951
|
};
|
|
1976
1952
|
if (callback) {
|
|
@@ -1980,27 +1956,13 @@ var securitycenter_v1;
|
|
|
1980
1956
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1981
1957
|
}
|
|
1982
1958
|
}
|
|
1983
|
-
|
|
1984
|
-
securitycenter_v1.Resource$Organizations$Findings = Resource$Organizations$Findings;
|
|
1985
|
-
class Resource$Organizations$Locations {
|
|
1986
|
-
constructor(context) {
|
|
1987
|
-
this.context = context;
|
|
1988
|
-
this.muteConfigs = new Resource$Organizations$Locations$Muteconfigs(this.context);
|
|
1989
|
-
}
|
|
1990
|
-
}
|
|
1991
|
-
securitycenter_v1.Resource$Organizations$Locations = Resource$Organizations$Locations;
|
|
1992
|
-
class Resource$Organizations$Locations$Muteconfigs {
|
|
1993
|
-
constructor(context) {
|
|
1994
|
-
this.context = context;
|
|
1995
|
-
}
|
|
1996
|
-
delete(paramsOrCallback, optionsOrCallback, callback) {
|
|
1959
|
+
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
1997
1960
|
let params = (paramsOrCallback ||
|
|
1998
1961
|
{});
|
|
1999
1962
|
let options = (optionsOrCallback || {});
|
|
2000
1963
|
if (typeof paramsOrCallback === 'function') {
|
|
2001
1964
|
callback = paramsOrCallback;
|
|
2002
|
-
params =
|
|
2003
|
-
{};
|
|
1965
|
+
params = {};
|
|
2004
1966
|
options = {};
|
|
2005
1967
|
}
|
|
2006
1968
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2011,7 +1973,7 @@ var securitycenter_v1;
|
|
|
2011
1973
|
const parameters = {
|
|
2012
1974
|
options: Object.assign({
|
|
2013
1975
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2014
|
-
method: '
|
|
1976
|
+
method: 'GET',
|
|
2015
1977
|
}, options),
|
|
2016
1978
|
params,
|
|
2017
1979
|
requiredParams: ['name'],
|
|
@@ -2025,7 +1987,7 @@ var securitycenter_v1;
|
|
|
2025
1987
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
2026
1988
|
}
|
|
2027
1989
|
}
|
|
2028
|
-
|
|
1990
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
2029
1991
|
let params = (paramsOrCallback ||
|
|
2030
1992
|
{});
|
|
2031
1993
|
let options = (optionsOrCallback || {});
|
|
@@ -2041,12 +2003,12 @@ var securitycenter_v1;
|
|
|
2041
2003
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
2042
2004
|
const parameters = {
|
|
2043
2005
|
options: Object.assign({
|
|
2044
|
-
url: (rootUrl + '/v1/{+
|
|
2006
|
+
url: (rootUrl + '/v1/{+parent}/bigQueryExports').replace(/([^:]\/)\/+/g, '$1'),
|
|
2045
2007
|
method: 'GET',
|
|
2046
2008
|
}, options),
|
|
2047
2009
|
params,
|
|
2048
|
-
requiredParams: ['
|
|
2049
|
-
pathParams: ['
|
|
2010
|
+
requiredParams: ['parent'],
|
|
2011
|
+
pathParams: ['parent'],
|
|
2050
2012
|
context: this.context,
|
|
2051
2013
|
};
|
|
2052
2014
|
if (callback) {
|
|
@@ -2062,8 +2024,7 @@ var securitycenter_v1;
|
|
|
2062
2024
|
let options = (optionsOrCallback || {});
|
|
2063
2025
|
if (typeof paramsOrCallback === 'function') {
|
|
2064
2026
|
callback = paramsOrCallback;
|
|
2065
|
-
params =
|
|
2066
|
-
{};
|
|
2027
|
+
params = {};
|
|
2067
2028
|
options = {};
|
|
2068
2029
|
}
|
|
2069
2030
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2089,18 +2050,23 @@ var securitycenter_v1;
|
|
|
2089
2050
|
}
|
|
2090
2051
|
}
|
|
2091
2052
|
}
|
|
2092
|
-
securitycenter_v1.Resource$Organizations$
|
|
2093
|
-
class Resource$Organizations$
|
|
2053
|
+
securitycenter_v1.Resource$Organizations$Bigqueryexports = Resource$Organizations$Bigqueryexports;
|
|
2054
|
+
class Resource$Organizations$Eventthreatdetectionsettings {
|
|
2094
2055
|
constructor(context) {
|
|
2095
2056
|
this.context = context;
|
|
2057
|
+
this.customModules =
|
|
2058
|
+
new Resource$Organizations$Eventthreatdetectionsettings$Custommodules(this.context);
|
|
2059
|
+
this.effectiveCustomModules =
|
|
2060
|
+
new Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules(this.context);
|
|
2096
2061
|
}
|
|
2097
|
-
|
|
2062
|
+
validateCustomModule(paramsOrCallback, optionsOrCallback, callback) {
|
|
2098
2063
|
let params = (paramsOrCallback ||
|
|
2099
2064
|
{});
|
|
2100
2065
|
let options = (optionsOrCallback || {});
|
|
2101
2066
|
if (typeof paramsOrCallback === 'function') {
|
|
2102
2067
|
callback = paramsOrCallback;
|
|
2103
|
-
params =
|
|
2068
|
+
params =
|
|
2069
|
+
{};
|
|
2104
2070
|
options = {};
|
|
2105
2071
|
}
|
|
2106
2072
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2110,7 +2076,7 @@ var securitycenter_v1;
|
|
|
2110
2076
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
2111
2077
|
const parameters = {
|
|
2112
2078
|
options: Object.assign({
|
|
2113
|
-
url: (rootUrl + '/v1/{+parent}
|
|
2079
|
+
url: (rootUrl + '/v1/{+parent}:validateCustomModule').replace(/([^:]\/)\/+/g, '$1'),
|
|
2114
2080
|
method: 'POST',
|
|
2115
2081
|
}, options),
|
|
2116
2082
|
params,
|
|
@@ -2125,13 +2091,20 @@ var securitycenter_v1;
|
|
|
2125
2091
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
2126
2092
|
}
|
|
2127
2093
|
}
|
|
2128
|
-
|
|
2094
|
+
}
|
|
2095
|
+
securitycenter_v1.Resource$Organizations$Eventthreatdetectionsettings = Resource$Organizations$Eventthreatdetectionsettings;
|
|
2096
|
+
class Resource$Organizations$Eventthreatdetectionsettings$Custommodules {
|
|
2097
|
+
constructor(context) {
|
|
2098
|
+
this.context = context;
|
|
2099
|
+
}
|
|
2100
|
+
create(paramsOrCallback, optionsOrCallback, callback) {
|
|
2129
2101
|
let params = (paramsOrCallback ||
|
|
2130
2102
|
{});
|
|
2131
2103
|
let options = (optionsOrCallback || {});
|
|
2132
2104
|
if (typeof paramsOrCallback === 'function') {
|
|
2133
2105
|
callback = paramsOrCallback;
|
|
2134
|
-
params =
|
|
2106
|
+
params =
|
|
2107
|
+
{};
|
|
2135
2108
|
options = {};
|
|
2136
2109
|
}
|
|
2137
2110
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2141,12 +2114,12 @@ var securitycenter_v1;
|
|
|
2141
2114
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
2142
2115
|
const parameters = {
|
|
2143
2116
|
options: Object.assign({
|
|
2144
|
-
url: (rootUrl + '/v1/{+
|
|
2145
|
-
method: '
|
|
2117
|
+
url: (rootUrl + '/v1/{+parent}/customModules').replace(/([^:]\/)\/+/g, '$1'),
|
|
2118
|
+
method: 'POST',
|
|
2146
2119
|
}, options),
|
|
2147
2120
|
params,
|
|
2148
|
-
requiredParams: ['
|
|
2149
|
-
pathParams: ['
|
|
2121
|
+
requiredParams: ['parent'],
|
|
2122
|
+
pathParams: ['parent'],
|
|
2150
2123
|
context: this.context,
|
|
2151
2124
|
};
|
|
2152
2125
|
if (callback) {
|
|
@@ -2156,13 +2129,14 @@ var securitycenter_v1;
|
|
|
2156
2129
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
2157
2130
|
}
|
|
2158
2131
|
}
|
|
2159
|
-
|
|
2132
|
+
delete(paramsOrCallback, optionsOrCallback, callback) {
|
|
2160
2133
|
let params = (paramsOrCallback ||
|
|
2161
2134
|
{});
|
|
2162
2135
|
let options = (optionsOrCallback || {});
|
|
2163
2136
|
if (typeof paramsOrCallback === 'function') {
|
|
2164
2137
|
callback = paramsOrCallback;
|
|
2165
|
-
params =
|
|
2138
|
+
params =
|
|
2139
|
+
{};
|
|
2166
2140
|
options = {};
|
|
2167
2141
|
}
|
|
2168
2142
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2173,7 +2147,7 @@ var securitycenter_v1;
|
|
|
2173
2147
|
const parameters = {
|
|
2174
2148
|
options: Object.assign({
|
|
2175
2149
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2176
|
-
method: '
|
|
2150
|
+
method: 'DELETE',
|
|
2177
2151
|
}, options),
|
|
2178
2152
|
params,
|
|
2179
2153
|
requiredParams: ['name'],
|
|
@@ -2187,13 +2161,14 @@ var securitycenter_v1;
|
|
|
2187
2161
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
2188
2162
|
}
|
|
2189
2163
|
}
|
|
2190
|
-
|
|
2164
|
+
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
2191
2165
|
let params = (paramsOrCallback ||
|
|
2192
2166
|
{});
|
|
2193
2167
|
let options = (optionsOrCallback || {});
|
|
2194
2168
|
if (typeof paramsOrCallback === 'function') {
|
|
2195
2169
|
callback = paramsOrCallback;
|
|
2196
|
-
params =
|
|
2170
|
+
params =
|
|
2171
|
+
{};
|
|
2197
2172
|
options = {};
|
|
2198
2173
|
}
|
|
2199
2174
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2203,12 +2178,12 @@ var securitycenter_v1;
|
|
|
2203
2178
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
2204
2179
|
const parameters = {
|
|
2205
2180
|
options: Object.assign({
|
|
2206
|
-
url: (rootUrl + '/v1/{+
|
|
2181
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2207
2182
|
method: 'GET',
|
|
2208
2183
|
}, options),
|
|
2209
2184
|
params,
|
|
2210
|
-
requiredParams: ['
|
|
2211
|
-
pathParams: ['
|
|
2185
|
+
requiredParams: ['name'],
|
|
2186
|
+
pathParams: ['name'],
|
|
2212
2187
|
context: this.context,
|
|
2213
2188
|
};
|
|
2214
2189
|
if (callback) {
|
|
@@ -2218,13 +2193,14 @@ var securitycenter_v1;
|
|
|
2218
2193
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
2219
2194
|
}
|
|
2220
2195
|
}
|
|
2221
|
-
|
|
2196
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
2222
2197
|
let params = (paramsOrCallback ||
|
|
2223
2198
|
{});
|
|
2224
2199
|
let options = (optionsOrCallback || {});
|
|
2225
2200
|
if (typeof paramsOrCallback === 'function') {
|
|
2226
2201
|
callback = paramsOrCallback;
|
|
2227
|
-
params =
|
|
2202
|
+
params =
|
|
2203
|
+
{};
|
|
2228
2204
|
options = {};
|
|
2229
2205
|
}
|
|
2230
2206
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2234,12 +2210,12 @@ var securitycenter_v1;
|
|
|
2234
2210
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
2235
2211
|
const parameters = {
|
|
2236
2212
|
options: Object.assign({
|
|
2237
|
-
url: (rootUrl + '/v1/{+
|
|
2238
|
-
method: '
|
|
2213
|
+
url: (rootUrl + '/v1/{+parent}/customModules').replace(/([^:]\/)\/+/g, '$1'),
|
|
2214
|
+
method: 'GET',
|
|
2239
2215
|
}, options),
|
|
2240
2216
|
params,
|
|
2241
|
-
requiredParams: ['
|
|
2242
|
-
pathParams: ['
|
|
2217
|
+
requiredParams: ['parent'],
|
|
2218
|
+
pathParams: ['parent'],
|
|
2243
2219
|
context: this.context,
|
|
2244
2220
|
};
|
|
2245
2221
|
if (callback) {
|
|
@@ -2249,19 +2225,14 @@ var securitycenter_v1;
|
|
|
2249
2225
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
2250
2226
|
}
|
|
2251
2227
|
}
|
|
2252
|
-
|
|
2253
|
-
securitycenter_v1.Resource$Organizations$Muteconfigs = Resource$Organizations$Muteconfigs;
|
|
2254
|
-
class Resource$Organizations$Notificationconfigs {
|
|
2255
|
-
constructor(context) {
|
|
2256
|
-
this.context = context;
|
|
2257
|
-
}
|
|
2258
|
-
create(paramsOrCallback, optionsOrCallback, callback) {
|
|
2228
|
+
listDescendant(paramsOrCallback, optionsOrCallback, callback) {
|
|
2259
2229
|
let params = (paramsOrCallback ||
|
|
2260
2230
|
{});
|
|
2261
2231
|
let options = (optionsOrCallback || {});
|
|
2262
2232
|
if (typeof paramsOrCallback === 'function') {
|
|
2263
2233
|
callback = paramsOrCallback;
|
|
2264
|
-
params =
|
|
2234
|
+
params =
|
|
2235
|
+
{};
|
|
2265
2236
|
options = {};
|
|
2266
2237
|
}
|
|
2267
2238
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2271,8 +2242,8 @@ var securitycenter_v1;
|
|
|
2271
2242
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
2272
2243
|
const parameters = {
|
|
2273
2244
|
options: Object.assign({
|
|
2274
|
-
url: (rootUrl + '/v1/{+parent}/
|
|
2275
|
-
method: '
|
|
2245
|
+
url: (rootUrl + '/v1/{+parent}/customModules:listDescendant').replace(/([^:]\/)\/+/g, '$1'),
|
|
2246
|
+
method: 'GET',
|
|
2276
2247
|
}, options),
|
|
2277
2248
|
params,
|
|
2278
2249
|
requiredParams: ['parent'],
|
|
@@ -2286,13 +2257,14 @@ var securitycenter_v1;
|
|
|
2286
2257
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
2287
2258
|
}
|
|
2288
2259
|
}
|
|
2289
|
-
|
|
2260
|
+
patch(paramsOrCallback, optionsOrCallback, callback) {
|
|
2290
2261
|
let params = (paramsOrCallback ||
|
|
2291
2262
|
{});
|
|
2292
2263
|
let options = (optionsOrCallback || {});
|
|
2293
2264
|
if (typeof paramsOrCallback === 'function') {
|
|
2294
2265
|
callback = paramsOrCallback;
|
|
2295
|
-
params =
|
|
2266
|
+
params =
|
|
2267
|
+
{};
|
|
2296
2268
|
options = {};
|
|
2297
2269
|
}
|
|
2298
2270
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2303,7 +2275,7 @@ var securitycenter_v1;
|
|
|
2303
2275
|
const parameters = {
|
|
2304
2276
|
options: Object.assign({
|
|
2305
2277
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2306
|
-
method: '
|
|
2278
|
+
method: 'PATCH',
|
|
2307
2279
|
}, options),
|
|
2308
2280
|
params,
|
|
2309
2281
|
requiredParams: ['name'],
|
|
@@ -2317,13 +2289,20 @@ var securitycenter_v1;
|
|
|
2317
2289
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
2318
2290
|
}
|
|
2319
2291
|
}
|
|
2292
|
+
}
|
|
2293
|
+
securitycenter_v1.Resource$Organizations$Eventthreatdetectionsettings$Custommodules = Resource$Organizations$Eventthreatdetectionsettings$Custommodules;
|
|
2294
|
+
class Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules {
|
|
2295
|
+
constructor(context) {
|
|
2296
|
+
this.context = context;
|
|
2297
|
+
}
|
|
2320
2298
|
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
2321
2299
|
let params = (paramsOrCallback ||
|
|
2322
2300
|
{});
|
|
2323
2301
|
let options = (optionsOrCallback || {});
|
|
2324
2302
|
if (typeof paramsOrCallback === 'function') {
|
|
2325
2303
|
callback = paramsOrCallback;
|
|
2326
|
-
params =
|
|
2304
|
+
params =
|
|
2305
|
+
{};
|
|
2327
2306
|
options = {};
|
|
2328
2307
|
}
|
|
2329
2308
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2354,7 +2333,8 @@ var securitycenter_v1;
|
|
|
2354
2333
|
let options = (optionsOrCallback || {});
|
|
2355
2334
|
if (typeof paramsOrCallback === 'function') {
|
|
2356
2335
|
callback = paramsOrCallback;
|
|
2357
|
-
params =
|
|
2336
|
+
params =
|
|
2337
|
+
{};
|
|
2358
2338
|
options = {};
|
|
2359
2339
|
}
|
|
2360
2340
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2364,7 +2344,7 @@ var securitycenter_v1;
|
|
|
2364
2344
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
2365
2345
|
const parameters = {
|
|
2366
2346
|
options: Object.assign({
|
|
2367
|
-
url: (rootUrl + '/v1/{+parent}/
|
|
2347
|
+
url: (rootUrl + '/v1/{+parent}/effectiveCustomModules').replace(/([^:]\/)\/+/g, '$1'),
|
|
2368
2348
|
method: 'GET',
|
|
2369
2349
|
}, options),
|
|
2370
2350
|
params,
|
|
@@ -2379,7 +2359,13 @@ var securitycenter_v1;
|
|
|
2379
2359
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
2380
2360
|
}
|
|
2381
2361
|
}
|
|
2382
|
-
|
|
2362
|
+
}
|
|
2363
|
+
securitycenter_v1.Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules = Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules;
|
|
2364
|
+
class Resource$Organizations$Findings {
|
|
2365
|
+
constructor(context) {
|
|
2366
|
+
this.context = context;
|
|
2367
|
+
}
|
|
2368
|
+
bulkMute(paramsOrCallback, optionsOrCallback, callback) {
|
|
2383
2369
|
let params = (paramsOrCallback ||
|
|
2384
2370
|
{});
|
|
2385
2371
|
let options = (optionsOrCallback || {});
|
|
@@ -2395,12 +2381,12 @@ var securitycenter_v1;
|
|
|
2395
2381
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
2396
2382
|
const parameters = {
|
|
2397
2383
|
options: Object.assign({
|
|
2398
|
-
url: (rootUrl + '/v1/{+
|
|
2399
|
-
method: '
|
|
2384
|
+
url: (rootUrl + '/v1/{+parent}/findings:bulkMute').replace(/([^:]\/)\/+/g, '$1'),
|
|
2385
|
+
method: 'POST',
|
|
2400
2386
|
}, options),
|
|
2401
2387
|
params,
|
|
2402
|
-
requiredParams: ['
|
|
2403
|
-
pathParams: ['
|
|
2388
|
+
requiredParams: ['parent'],
|
|
2389
|
+
pathParams: ['parent'],
|
|
2404
2390
|
context: this.context,
|
|
2405
2391
|
};
|
|
2406
2392
|
if (callback) {
|
|
@@ -2411,18 +2397,26 @@ var securitycenter_v1;
|
|
|
2411
2397
|
}
|
|
2412
2398
|
}
|
|
2413
2399
|
}
|
|
2414
|
-
securitycenter_v1.Resource$Organizations$
|
|
2415
|
-
class Resource$Organizations$
|
|
2400
|
+
securitycenter_v1.Resource$Organizations$Findings = Resource$Organizations$Findings;
|
|
2401
|
+
class Resource$Organizations$Locations {
|
|
2416
2402
|
constructor(context) {
|
|
2417
2403
|
this.context = context;
|
|
2404
|
+
this.muteConfigs = new Resource$Organizations$Locations$Muteconfigs(this.context);
|
|
2418
2405
|
}
|
|
2419
|
-
|
|
2406
|
+
}
|
|
2407
|
+
securitycenter_v1.Resource$Organizations$Locations = Resource$Organizations$Locations;
|
|
2408
|
+
class Resource$Organizations$Locations$Muteconfigs {
|
|
2409
|
+
constructor(context) {
|
|
2410
|
+
this.context = context;
|
|
2411
|
+
}
|
|
2412
|
+
delete(paramsOrCallback, optionsOrCallback, callback) {
|
|
2420
2413
|
let params = (paramsOrCallback ||
|
|
2421
2414
|
{});
|
|
2422
2415
|
let options = (optionsOrCallback || {});
|
|
2423
2416
|
if (typeof paramsOrCallback === 'function') {
|
|
2424
2417
|
callback = paramsOrCallback;
|
|
2425
|
-
params =
|
|
2418
|
+
params =
|
|
2419
|
+
{};
|
|
2426
2420
|
options = {};
|
|
2427
2421
|
}
|
|
2428
2422
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2432,8 +2426,8 @@ var securitycenter_v1;
|
|
|
2432
2426
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
2433
2427
|
const parameters = {
|
|
2434
2428
|
options: Object.assign({
|
|
2435
|
-
url: (rootUrl + '/v1/{+name}
|
|
2436
|
-
method: '
|
|
2429
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2430
|
+
method: 'DELETE',
|
|
2437
2431
|
}, options),
|
|
2438
2432
|
params,
|
|
2439
2433
|
requiredParams: ['name'],
|
|
@@ -2447,38 +2441,7 @@ var securitycenter_v1;
|
|
|
2447
2441
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
2448
2442
|
}
|
|
2449
2443
|
}
|
|
2450
|
-
|
|
2451
|
-
let params = (paramsOrCallback ||
|
|
2452
|
-
{});
|
|
2453
|
-
let options = (optionsOrCallback || {});
|
|
2454
|
-
if (typeof paramsOrCallback === 'function') {
|
|
2455
|
-
callback = paramsOrCallback;
|
|
2456
|
-
params = {};
|
|
2457
|
-
options = {};
|
|
2458
|
-
}
|
|
2459
|
-
if (typeof optionsOrCallback === 'function') {
|
|
2460
|
-
callback = optionsOrCallback;
|
|
2461
|
-
options = {};
|
|
2462
|
-
}
|
|
2463
|
-
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
2464
|
-
const parameters = {
|
|
2465
|
-
options: Object.assign({
|
|
2466
|
-
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2467
|
-
method: 'DELETE',
|
|
2468
|
-
}, options),
|
|
2469
|
-
params,
|
|
2470
|
-
requiredParams: ['name'],
|
|
2471
|
-
pathParams: ['name'],
|
|
2472
|
-
context: this.context,
|
|
2473
|
-
};
|
|
2474
|
-
if (callback) {
|
|
2475
|
-
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
2476
|
-
}
|
|
2477
|
-
else {
|
|
2478
|
-
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
2479
|
-
}
|
|
2480
|
-
}
|
|
2481
|
-
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
2444
|
+
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
2482
2445
|
let params = (paramsOrCallback ||
|
|
2483
2446
|
{});
|
|
2484
2447
|
let options = (optionsOrCallback || {});
|
|
@@ -2509,13 +2472,14 @@ var securitycenter_v1;
|
|
|
2509
2472
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
2510
2473
|
}
|
|
2511
2474
|
}
|
|
2512
|
-
|
|
2475
|
+
patch(paramsOrCallback, optionsOrCallback, callback) {
|
|
2513
2476
|
let params = (paramsOrCallback ||
|
|
2514
2477
|
{});
|
|
2515
2478
|
let options = (optionsOrCallback || {});
|
|
2516
2479
|
if (typeof paramsOrCallback === 'function') {
|
|
2517
2480
|
callback = paramsOrCallback;
|
|
2518
|
-
params =
|
|
2481
|
+
params =
|
|
2482
|
+
{};
|
|
2519
2483
|
options = {};
|
|
2520
2484
|
}
|
|
2521
2485
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2526,7 +2490,7 @@ var securitycenter_v1;
|
|
|
2526
2490
|
const parameters = {
|
|
2527
2491
|
options: Object.assign({
|
|
2528
2492
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2529
|
-
method: '
|
|
2493
|
+
method: 'PATCH',
|
|
2530
2494
|
}, options),
|
|
2531
2495
|
params,
|
|
2532
2496
|
requiredParams: ['name'],
|
|
@@ -2541,19 +2505,18 @@ var securitycenter_v1;
|
|
|
2541
2505
|
}
|
|
2542
2506
|
}
|
|
2543
2507
|
}
|
|
2544
|
-
securitycenter_v1.Resource$Organizations$
|
|
2545
|
-
class Resource$Organizations$
|
|
2508
|
+
securitycenter_v1.Resource$Organizations$Locations$Muteconfigs = Resource$Organizations$Locations$Muteconfigs;
|
|
2509
|
+
class Resource$Organizations$Muteconfigs {
|
|
2546
2510
|
constructor(context) {
|
|
2547
2511
|
this.context = context;
|
|
2548
2512
|
}
|
|
2549
|
-
|
|
2513
|
+
create(paramsOrCallback, optionsOrCallback, callback) {
|
|
2550
2514
|
let params = (paramsOrCallback ||
|
|
2551
2515
|
{});
|
|
2552
2516
|
let options = (optionsOrCallback || {});
|
|
2553
2517
|
if (typeof paramsOrCallback === 'function') {
|
|
2554
2518
|
callback = paramsOrCallback;
|
|
2555
|
-
params =
|
|
2556
|
-
{};
|
|
2519
|
+
params = {};
|
|
2557
2520
|
options = {};
|
|
2558
2521
|
}
|
|
2559
2522
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2563,7 +2526,7 @@ var securitycenter_v1;
|
|
|
2563
2526
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
2564
2527
|
const parameters = {
|
|
2565
2528
|
options: Object.assign({
|
|
2566
|
-
url: (rootUrl + '/v1/{+parent}/
|
|
2529
|
+
url: (rootUrl + '/v1/{+parent}/muteConfigs').replace(/([^:]\/)\/+/g, '$1'),
|
|
2567
2530
|
method: 'POST',
|
|
2568
2531
|
}, options),
|
|
2569
2532
|
params,
|
|
@@ -2584,8 +2547,7 @@ var securitycenter_v1;
|
|
|
2584
2547
|
let options = (optionsOrCallback || {});
|
|
2585
2548
|
if (typeof paramsOrCallback === 'function') {
|
|
2586
2549
|
callback = paramsOrCallback;
|
|
2587
|
-
params =
|
|
2588
|
-
{};
|
|
2550
|
+
params = {};
|
|
2589
2551
|
options = {};
|
|
2590
2552
|
}
|
|
2591
2553
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2657,7 +2619,7 @@ var securitycenter_v1;
|
|
|
2657
2619
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
2658
2620
|
const parameters = {
|
|
2659
2621
|
options: Object.assign({
|
|
2660
|
-
url: (rootUrl + '/v1/{+parent}/
|
|
2622
|
+
url: (rootUrl + '/v1/{+parent}/muteConfigs').replace(/([^:]\/)\/+/g, '$1'),
|
|
2661
2623
|
method: 'GET',
|
|
2662
2624
|
}, options),
|
|
2663
2625
|
params,
|
|
@@ -2704,18 +2666,8 @@ var securitycenter_v1;
|
|
|
2704
2666
|
}
|
|
2705
2667
|
}
|
|
2706
2668
|
}
|
|
2707
|
-
securitycenter_v1.Resource$Organizations$
|
|
2708
|
-
class Resource$Organizations$
|
|
2709
|
-
constructor(context) {
|
|
2710
|
-
this.context = context;
|
|
2711
|
-
this.customModules =
|
|
2712
|
-
new Resource$Organizations$Securityhealthanalyticssettings$Custommodules(this.context);
|
|
2713
|
-
this.effectiveCustomModules =
|
|
2714
|
-
new Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules(this.context);
|
|
2715
|
-
}
|
|
2716
|
-
}
|
|
2717
|
-
securitycenter_v1.Resource$Organizations$Securityhealthanalyticssettings = Resource$Organizations$Securityhealthanalyticssettings;
|
|
2718
|
-
class Resource$Organizations$Securityhealthanalyticssettings$Custommodules {
|
|
2669
|
+
securitycenter_v1.Resource$Organizations$Muteconfigs = Resource$Organizations$Muteconfigs;
|
|
2670
|
+
class Resource$Organizations$Notificationconfigs {
|
|
2719
2671
|
constructor(context) {
|
|
2720
2672
|
this.context = context;
|
|
2721
2673
|
}
|
|
@@ -2725,8 +2677,7 @@ var securitycenter_v1;
|
|
|
2725
2677
|
let options = (optionsOrCallback || {});
|
|
2726
2678
|
if (typeof paramsOrCallback === 'function') {
|
|
2727
2679
|
callback = paramsOrCallback;
|
|
2728
|
-
params =
|
|
2729
|
-
{};
|
|
2680
|
+
params = {};
|
|
2730
2681
|
options = {};
|
|
2731
2682
|
}
|
|
2732
2683
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2736,7 +2687,7 @@ var securitycenter_v1;
|
|
|
2736
2687
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
2737
2688
|
const parameters = {
|
|
2738
2689
|
options: Object.assign({
|
|
2739
|
-
url: (rootUrl + '/v1/{+parent}/
|
|
2690
|
+
url: (rootUrl + '/v1/{+parent}/notificationConfigs').replace(/([^:]\/)\/+/g, '$1'),
|
|
2740
2691
|
method: 'POST',
|
|
2741
2692
|
}, options),
|
|
2742
2693
|
params,
|
|
@@ -2757,8 +2708,7 @@ var securitycenter_v1;
|
|
|
2757
2708
|
let options = (optionsOrCallback || {});
|
|
2758
2709
|
if (typeof paramsOrCallback === 'function') {
|
|
2759
2710
|
callback = paramsOrCallback;
|
|
2760
|
-
params =
|
|
2761
|
-
{};
|
|
2711
|
+
params = {};
|
|
2762
2712
|
options = {};
|
|
2763
2713
|
}
|
|
2764
2714
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2789,8 +2739,7 @@ var securitycenter_v1;
|
|
|
2789
2739
|
let options = (optionsOrCallback || {});
|
|
2790
2740
|
if (typeof paramsOrCallback === 'function') {
|
|
2791
2741
|
callback = paramsOrCallback;
|
|
2792
|
-
params =
|
|
2793
|
-
{};
|
|
2742
|
+
params = {};
|
|
2794
2743
|
options = {};
|
|
2795
2744
|
}
|
|
2796
2745
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2821,8 +2770,7 @@ var securitycenter_v1;
|
|
|
2821
2770
|
let options = (optionsOrCallback || {});
|
|
2822
2771
|
if (typeof paramsOrCallback === 'function') {
|
|
2823
2772
|
callback = paramsOrCallback;
|
|
2824
|
-
params =
|
|
2825
|
-
{};
|
|
2773
|
+
params = {};
|
|
2826
2774
|
options = {};
|
|
2827
2775
|
}
|
|
2828
2776
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2832,7 +2780,7 @@ var securitycenter_v1;
|
|
|
2832
2780
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
2833
2781
|
const parameters = {
|
|
2834
2782
|
options: Object.assign({
|
|
2835
|
-
url: (rootUrl + '/v1/{+parent}/
|
|
2783
|
+
url: (rootUrl + '/v1/{+parent}/notificationConfigs').replace(/([^:]\/)\/+/g, '$1'),
|
|
2836
2784
|
method: 'GET',
|
|
2837
2785
|
}, options),
|
|
2838
2786
|
params,
|
|
@@ -2847,14 +2795,13 @@ var securitycenter_v1;
|
|
|
2847
2795
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
2848
2796
|
}
|
|
2849
2797
|
}
|
|
2850
|
-
|
|
2798
|
+
patch(paramsOrCallback, optionsOrCallback, callback) {
|
|
2851
2799
|
let params = (paramsOrCallback ||
|
|
2852
2800
|
{});
|
|
2853
2801
|
let options = (optionsOrCallback || {});
|
|
2854
2802
|
if (typeof paramsOrCallback === 'function') {
|
|
2855
2803
|
callback = paramsOrCallback;
|
|
2856
|
-
params =
|
|
2857
|
-
{};
|
|
2804
|
+
params = {};
|
|
2858
2805
|
options = {};
|
|
2859
2806
|
}
|
|
2860
2807
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2864,12 +2811,12 @@ var securitycenter_v1;
|
|
|
2864
2811
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
2865
2812
|
const parameters = {
|
|
2866
2813
|
options: Object.assign({
|
|
2867
|
-
url: (rootUrl + '/v1/{+
|
|
2868
|
-
method: '
|
|
2814
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2815
|
+
method: 'PATCH',
|
|
2869
2816
|
}, options),
|
|
2870
2817
|
params,
|
|
2871
|
-
requiredParams: ['
|
|
2872
|
-
pathParams: ['
|
|
2818
|
+
requiredParams: ['name'],
|
|
2819
|
+
pathParams: ['name'],
|
|
2873
2820
|
context: this.context,
|
|
2874
2821
|
};
|
|
2875
2822
|
if (callback) {
|
|
@@ -2879,14 +2826,19 @@ var securitycenter_v1;
|
|
|
2879
2826
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
2880
2827
|
}
|
|
2881
2828
|
}
|
|
2882
|
-
|
|
2829
|
+
}
|
|
2830
|
+
securitycenter_v1.Resource$Organizations$Notificationconfigs = Resource$Organizations$Notificationconfigs;
|
|
2831
|
+
class Resource$Organizations$Operations {
|
|
2832
|
+
constructor(context) {
|
|
2833
|
+
this.context = context;
|
|
2834
|
+
}
|
|
2835
|
+
cancel(paramsOrCallback, optionsOrCallback, callback) {
|
|
2883
2836
|
let params = (paramsOrCallback ||
|
|
2884
2837
|
{});
|
|
2885
2838
|
let options = (optionsOrCallback || {});
|
|
2886
2839
|
if (typeof paramsOrCallback === 'function') {
|
|
2887
2840
|
callback = paramsOrCallback;
|
|
2888
|
-
params =
|
|
2889
|
-
{};
|
|
2841
|
+
params = {};
|
|
2890
2842
|
options = {};
|
|
2891
2843
|
}
|
|
2892
2844
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2896,8 +2848,8 @@ var securitycenter_v1;
|
|
|
2896
2848
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
2897
2849
|
const parameters = {
|
|
2898
2850
|
options: Object.assign({
|
|
2899
|
-
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2900
|
-
method: '
|
|
2851
|
+
url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'),
|
|
2852
|
+
method: 'POST',
|
|
2901
2853
|
}, options),
|
|
2902
2854
|
params,
|
|
2903
2855
|
requiredParams: ['name'],
|
|
@@ -2911,14 +2863,13 @@ var securitycenter_v1;
|
|
|
2911
2863
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
2912
2864
|
}
|
|
2913
2865
|
}
|
|
2914
|
-
|
|
2866
|
+
delete(paramsOrCallback, optionsOrCallback, callback) {
|
|
2915
2867
|
let params = (paramsOrCallback ||
|
|
2916
2868
|
{});
|
|
2917
2869
|
let options = (optionsOrCallback || {});
|
|
2918
2870
|
if (typeof paramsOrCallback === 'function') {
|
|
2919
2871
|
callback = paramsOrCallback;
|
|
2920
|
-
params =
|
|
2921
|
-
{};
|
|
2872
|
+
params = {};
|
|
2922
2873
|
options = {};
|
|
2923
2874
|
}
|
|
2924
2875
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2928,12 +2879,12 @@ var securitycenter_v1;
|
|
|
2928
2879
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
2929
2880
|
const parameters = {
|
|
2930
2881
|
options: Object.assign({
|
|
2931
|
-
url: (rootUrl + '/v1/{+
|
|
2932
|
-
method: '
|
|
2882
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2883
|
+
method: 'DELETE',
|
|
2933
2884
|
}, options),
|
|
2934
2885
|
params,
|
|
2935
|
-
requiredParams: ['
|
|
2936
|
-
pathParams: ['
|
|
2886
|
+
requiredParams: ['name'],
|
|
2887
|
+
pathParams: ['name'],
|
|
2937
2888
|
context: this.context,
|
|
2938
2889
|
};
|
|
2939
2890
|
if (callback) {
|
|
@@ -2943,20 +2894,13 @@ var securitycenter_v1;
|
|
|
2943
2894
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
2944
2895
|
}
|
|
2945
2896
|
}
|
|
2946
|
-
}
|
|
2947
|
-
securitycenter_v1.Resource$Organizations$Securityhealthanalyticssettings$Custommodules = Resource$Organizations$Securityhealthanalyticssettings$Custommodules;
|
|
2948
|
-
class Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules {
|
|
2949
|
-
constructor(context) {
|
|
2950
|
-
this.context = context;
|
|
2951
|
-
}
|
|
2952
2897
|
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
2953
2898
|
let params = (paramsOrCallback ||
|
|
2954
2899
|
{});
|
|
2955
2900
|
let options = (optionsOrCallback || {});
|
|
2956
2901
|
if (typeof paramsOrCallback === 'function') {
|
|
2957
2902
|
callback = paramsOrCallback;
|
|
2958
|
-
params =
|
|
2959
|
-
{};
|
|
2903
|
+
params = {};
|
|
2960
2904
|
options = {};
|
|
2961
2905
|
}
|
|
2962
2906
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2987,8 +2931,7 @@ var securitycenter_v1;
|
|
|
2987
2931
|
let options = (optionsOrCallback || {});
|
|
2988
2932
|
if (typeof paramsOrCallback === 'function') {
|
|
2989
2933
|
callback = paramsOrCallback;
|
|
2990
|
-
params =
|
|
2991
|
-
{};
|
|
2934
|
+
params = {};
|
|
2992
2935
|
options = {};
|
|
2993
2936
|
}
|
|
2994
2937
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -2998,12 +2941,12 @@ var securitycenter_v1;
|
|
|
2998
2941
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
2999
2942
|
const parameters = {
|
|
3000
2943
|
options: Object.assign({
|
|
3001
|
-
url: (rootUrl + '/v1/{+
|
|
2944
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3002
2945
|
method: 'GET',
|
|
3003
2946
|
}, options),
|
|
3004
2947
|
params,
|
|
3005
|
-
requiredParams: ['
|
|
3006
|
-
pathParams: ['
|
|
2948
|
+
requiredParams: ['name'],
|
|
2949
|
+
pathParams: ['name'],
|
|
3007
2950
|
context: this.context,
|
|
3008
2951
|
};
|
|
3009
2952
|
if (callback) {
|
|
@@ -3014,23 +2957,19 @@ var securitycenter_v1;
|
|
|
3014
2957
|
}
|
|
3015
2958
|
}
|
|
3016
2959
|
}
|
|
3017
|
-
securitycenter_v1.Resource$Organizations$
|
|
3018
|
-
class Resource$Organizations$
|
|
2960
|
+
securitycenter_v1.Resource$Organizations$Operations = Resource$Organizations$Operations;
|
|
2961
|
+
class Resource$Organizations$Resourcevalueconfigs {
|
|
3019
2962
|
constructor(context) {
|
|
3020
2963
|
this.context = context;
|
|
3021
|
-
this.attackExposureResults =
|
|
3022
|
-
new Resource$Organizations$Simulations$Attackexposureresults(this.context);
|
|
3023
|
-
this.attackPaths = new Resource$Organizations$Simulations$Attackpaths(this.context);
|
|
3024
|
-
this.valuedResources =
|
|
3025
|
-
new Resource$Organizations$Simulations$Valuedresources(this.context);
|
|
3026
2964
|
}
|
|
3027
|
-
|
|
2965
|
+
batchCreate(paramsOrCallback, optionsOrCallback, callback) {
|
|
3028
2966
|
let params = (paramsOrCallback ||
|
|
3029
2967
|
{});
|
|
3030
2968
|
let options = (optionsOrCallback || {});
|
|
3031
2969
|
if (typeof paramsOrCallback === 'function') {
|
|
3032
2970
|
callback = paramsOrCallback;
|
|
3033
|
-
params =
|
|
2971
|
+
params =
|
|
2972
|
+
{};
|
|
3034
2973
|
options = {};
|
|
3035
2974
|
}
|
|
3036
2975
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -3040,12 +2979,12 @@ var securitycenter_v1;
|
|
|
3040
2979
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3041
2980
|
const parameters = {
|
|
3042
2981
|
options: Object.assign({
|
|
3043
|
-
url: (rootUrl + '/v1/{+
|
|
3044
|
-
method: '
|
|
2982
|
+
url: (rootUrl + '/v1/{+parent}/resourceValueConfigs:batchCreate').replace(/([^:]\/)\/+/g, '$1'),
|
|
2983
|
+
method: 'POST',
|
|
3045
2984
|
}, options),
|
|
3046
2985
|
params,
|
|
3047
|
-
requiredParams: ['
|
|
3048
|
-
pathParams: ['
|
|
2986
|
+
requiredParams: ['parent'],
|
|
2987
|
+
pathParams: ['parent'],
|
|
3049
2988
|
context: this.context,
|
|
3050
2989
|
};
|
|
3051
2990
|
if (callback) {
|
|
@@ -3055,23 +2994,7 @@ var securitycenter_v1;
|
|
|
3055
2994
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3056
2995
|
}
|
|
3057
2996
|
}
|
|
3058
|
-
|
|
3059
|
-
securitycenter_v1.Resource$Organizations$Simulations = Resource$Organizations$Simulations;
|
|
3060
|
-
class Resource$Organizations$Simulations$Attackexposureresults {
|
|
3061
|
-
constructor(context) {
|
|
3062
|
-
this.context = context;
|
|
3063
|
-
this.attackPaths =
|
|
3064
|
-
new Resource$Organizations$Simulations$Attackexposureresults$Attackpaths(this.context);
|
|
3065
|
-
this.valuedResources =
|
|
3066
|
-
new Resource$Organizations$Simulations$Attackexposureresults$Valuedresources(this.context);
|
|
3067
|
-
}
|
|
3068
|
-
}
|
|
3069
|
-
securitycenter_v1.Resource$Organizations$Simulations$Attackexposureresults = Resource$Organizations$Simulations$Attackexposureresults;
|
|
3070
|
-
class Resource$Organizations$Simulations$Attackexposureresults$Attackpaths {
|
|
3071
|
-
constructor(context) {
|
|
3072
|
-
this.context = context;
|
|
3073
|
-
}
|
|
3074
|
-
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
2997
|
+
delete(paramsOrCallback, optionsOrCallback, callback) {
|
|
3075
2998
|
let params = (paramsOrCallback ||
|
|
3076
2999
|
{});
|
|
3077
3000
|
let options = (optionsOrCallback || {});
|
|
@@ -3088,12 +3011,12 @@ var securitycenter_v1;
|
|
|
3088
3011
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3089
3012
|
const parameters = {
|
|
3090
3013
|
options: Object.assign({
|
|
3091
|
-
url: (rootUrl + '/v1/{+
|
|
3092
|
-
method: '
|
|
3014
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3015
|
+
method: 'DELETE',
|
|
3093
3016
|
}, options),
|
|
3094
3017
|
params,
|
|
3095
|
-
requiredParams: ['
|
|
3096
|
-
pathParams: ['
|
|
3018
|
+
requiredParams: ['name'],
|
|
3019
|
+
pathParams: ['name'],
|
|
3097
3020
|
context: this.context,
|
|
3098
3021
|
};
|
|
3099
3022
|
if (callback) {
|
|
@@ -3103,20 +3026,13 @@ var securitycenter_v1;
|
|
|
3103
3026
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3104
3027
|
}
|
|
3105
3028
|
}
|
|
3106
|
-
|
|
3107
|
-
securitycenter_v1.Resource$Organizations$Simulations$Attackexposureresults$Attackpaths = Resource$Organizations$Simulations$Attackexposureresults$Attackpaths;
|
|
3108
|
-
class Resource$Organizations$Simulations$Attackexposureresults$Valuedresources {
|
|
3109
|
-
constructor(context) {
|
|
3110
|
-
this.context = context;
|
|
3111
|
-
}
|
|
3112
|
-
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
3029
|
+
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
3113
3030
|
let params = (paramsOrCallback ||
|
|
3114
3031
|
{});
|
|
3115
3032
|
let options = (optionsOrCallback || {});
|
|
3116
3033
|
if (typeof paramsOrCallback === 'function') {
|
|
3117
3034
|
callback = paramsOrCallback;
|
|
3118
|
-
params =
|
|
3119
|
-
{};
|
|
3035
|
+
params = {};
|
|
3120
3036
|
options = {};
|
|
3121
3037
|
}
|
|
3122
3038
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -3126,12 +3042,12 @@ var securitycenter_v1;
|
|
|
3126
3042
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3127
3043
|
const parameters = {
|
|
3128
3044
|
options: Object.assign({
|
|
3129
|
-
url: (rootUrl + '/v1/{+
|
|
3045
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3130
3046
|
method: 'GET',
|
|
3131
3047
|
}, options),
|
|
3132
3048
|
params,
|
|
3133
|
-
requiredParams: ['
|
|
3134
|
-
pathParams: ['
|
|
3049
|
+
requiredParams: ['name'],
|
|
3050
|
+
pathParams: ['name'],
|
|
3135
3051
|
context: this.context,
|
|
3136
3052
|
};
|
|
3137
3053
|
if (callback) {
|
|
@@ -3141,20 +3057,13 @@ var securitycenter_v1;
|
|
|
3141
3057
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3142
3058
|
}
|
|
3143
3059
|
}
|
|
3144
|
-
}
|
|
3145
|
-
securitycenter_v1.Resource$Organizations$Simulations$Attackexposureresults$Valuedresources = Resource$Organizations$Simulations$Attackexposureresults$Valuedresources;
|
|
3146
|
-
class Resource$Organizations$Simulations$Attackpaths {
|
|
3147
|
-
constructor(context) {
|
|
3148
|
-
this.context = context;
|
|
3149
|
-
}
|
|
3150
3060
|
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
3151
3061
|
let params = (paramsOrCallback ||
|
|
3152
3062
|
{});
|
|
3153
3063
|
let options = (optionsOrCallback || {});
|
|
3154
3064
|
if (typeof paramsOrCallback === 'function') {
|
|
3155
3065
|
callback = paramsOrCallback;
|
|
3156
|
-
params =
|
|
3157
|
-
{};
|
|
3066
|
+
params = {};
|
|
3158
3067
|
options = {};
|
|
3159
3068
|
}
|
|
3160
3069
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -3164,7 +3073,7 @@ var securitycenter_v1;
|
|
|
3164
3073
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3165
3074
|
const parameters = {
|
|
3166
3075
|
options: Object.assign({
|
|
3167
|
-
url: (rootUrl + '/v1/{+parent}/
|
|
3076
|
+
url: (rootUrl + '/v1/{+parent}/resourceValueConfigs').replace(/([^:]\/)\/+/g, '$1'),
|
|
3168
3077
|
method: 'GET',
|
|
3169
3078
|
}, options),
|
|
3170
3079
|
params,
|
|
@@ -3179,22 +3088,13 @@ var securitycenter_v1;
|
|
|
3179
3088
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3180
3089
|
}
|
|
3181
3090
|
}
|
|
3182
|
-
|
|
3183
|
-
securitycenter_v1.Resource$Organizations$Simulations$Attackpaths = Resource$Organizations$Simulations$Attackpaths;
|
|
3184
|
-
class Resource$Organizations$Simulations$Valuedresources {
|
|
3185
|
-
constructor(context) {
|
|
3186
|
-
this.context = context;
|
|
3187
|
-
this.attackPaths =
|
|
3188
|
-
new Resource$Organizations$Simulations$Valuedresources$Attackpaths(this.context);
|
|
3189
|
-
}
|
|
3190
|
-
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
3091
|
+
patch(paramsOrCallback, optionsOrCallback, callback) {
|
|
3191
3092
|
let params = (paramsOrCallback ||
|
|
3192
3093
|
{});
|
|
3193
3094
|
let options = (optionsOrCallback || {});
|
|
3194
3095
|
if (typeof paramsOrCallback === 'function') {
|
|
3195
3096
|
callback = paramsOrCallback;
|
|
3196
|
-
params =
|
|
3197
|
-
{};
|
|
3097
|
+
params = {};
|
|
3198
3098
|
options = {};
|
|
3199
3099
|
}
|
|
3200
3100
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -3204,12 +3104,12 @@ var securitycenter_v1;
|
|
|
3204
3104
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3205
3105
|
const parameters = {
|
|
3206
3106
|
options: Object.assign({
|
|
3207
|
-
url: (rootUrl + '/v1/{+
|
|
3208
|
-
method: '
|
|
3107
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3108
|
+
method: 'PATCH',
|
|
3209
3109
|
}, options),
|
|
3210
3110
|
params,
|
|
3211
|
-
requiredParams: ['
|
|
3212
|
-
pathParams: ['
|
|
3111
|
+
requiredParams: ['name'],
|
|
3112
|
+
pathParams: ['name'],
|
|
3213
3113
|
context: this.context,
|
|
3214
3114
|
};
|
|
3215
3115
|
if (callback) {
|
|
@@ -3220,12 +3120,560 @@ var securitycenter_v1;
|
|
|
3220
3120
|
}
|
|
3221
3121
|
}
|
|
3222
3122
|
}
|
|
3223
|
-
securitycenter_v1.Resource$Organizations$
|
|
3224
|
-
class Resource$Organizations$
|
|
3123
|
+
securitycenter_v1.Resource$Organizations$Resourcevalueconfigs = Resource$Organizations$Resourcevalueconfigs;
|
|
3124
|
+
class Resource$Organizations$Securityhealthanalyticssettings {
|
|
3125
|
+
constructor(context) {
|
|
3126
|
+
this.context = context;
|
|
3127
|
+
this.customModules =
|
|
3128
|
+
new Resource$Organizations$Securityhealthanalyticssettings$Custommodules(this.context);
|
|
3129
|
+
this.effectiveCustomModules =
|
|
3130
|
+
new Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules(this.context);
|
|
3131
|
+
}
|
|
3132
|
+
}
|
|
3133
|
+
securitycenter_v1.Resource$Organizations$Securityhealthanalyticssettings = Resource$Organizations$Securityhealthanalyticssettings;
|
|
3134
|
+
class Resource$Organizations$Securityhealthanalyticssettings$Custommodules {
|
|
3225
3135
|
constructor(context) {
|
|
3226
3136
|
this.context = context;
|
|
3227
3137
|
}
|
|
3228
|
-
|
|
3138
|
+
create(paramsOrCallback, optionsOrCallback, callback) {
|
|
3139
|
+
let params = (paramsOrCallback ||
|
|
3140
|
+
{});
|
|
3141
|
+
let options = (optionsOrCallback || {});
|
|
3142
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3143
|
+
callback = paramsOrCallback;
|
|
3144
|
+
params =
|
|
3145
|
+
{};
|
|
3146
|
+
options = {};
|
|
3147
|
+
}
|
|
3148
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3149
|
+
callback = optionsOrCallback;
|
|
3150
|
+
options = {};
|
|
3151
|
+
}
|
|
3152
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3153
|
+
const parameters = {
|
|
3154
|
+
options: Object.assign({
|
|
3155
|
+
url: (rootUrl + '/v1/{+parent}/customModules').replace(/([^:]\/)\/+/g, '$1'),
|
|
3156
|
+
method: 'POST',
|
|
3157
|
+
}, options),
|
|
3158
|
+
params,
|
|
3159
|
+
requiredParams: ['parent'],
|
|
3160
|
+
pathParams: ['parent'],
|
|
3161
|
+
context: this.context,
|
|
3162
|
+
};
|
|
3163
|
+
if (callback) {
|
|
3164
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
3165
|
+
}
|
|
3166
|
+
else {
|
|
3167
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3168
|
+
}
|
|
3169
|
+
}
|
|
3170
|
+
delete(paramsOrCallback, optionsOrCallback, callback) {
|
|
3171
|
+
let params = (paramsOrCallback ||
|
|
3172
|
+
{});
|
|
3173
|
+
let options = (optionsOrCallback || {});
|
|
3174
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3175
|
+
callback = paramsOrCallback;
|
|
3176
|
+
params =
|
|
3177
|
+
{};
|
|
3178
|
+
options = {};
|
|
3179
|
+
}
|
|
3180
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3181
|
+
callback = optionsOrCallback;
|
|
3182
|
+
options = {};
|
|
3183
|
+
}
|
|
3184
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3185
|
+
const parameters = {
|
|
3186
|
+
options: Object.assign({
|
|
3187
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3188
|
+
method: 'DELETE',
|
|
3189
|
+
}, options),
|
|
3190
|
+
params,
|
|
3191
|
+
requiredParams: ['name'],
|
|
3192
|
+
pathParams: ['name'],
|
|
3193
|
+
context: this.context,
|
|
3194
|
+
};
|
|
3195
|
+
if (callback) {
|
|
3196
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
3197
|
+
}
|
|
3198
|
+
else {
|
|
3199
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3200
|
+
}
|
|
3201
|
+
}
|
|
3202
|
+
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
3203
|
+
let params = (paramsOrCallback ||
|
|
3204
|
+
{});
|
|
3205
|
+
let options = (optionsOrCallback || {});
|
|
3206
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3207
|
+
callback = paramsOrCallback;
|
|
3208
|
+
params =
|
|
3209
|
+
{};
|
|
3210
|
+
options = {};
|
|
3211
|
+
}
|
|
3212
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3213
|
+
callback = optionsOrCallback;
|
|
3214
|
+
options = {};
|
|
3215
|
+
}
|
|
3216
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3217
|
+
const parameters = {
|
|
3218
|
+
options: Object.assign({
|
|
3219
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3220
|
+
method: 'GET',
|
|
3221
|
+
}, options),
|
|
3222
|
+
params,
|
|
3223
|
+
requiredParams: ['name'],
|
|
3224
|
+
pathParams: ['name'],
|
|
3225
|
+
context: this.context,
|
|
3226
|
+
};
|
|
3227
|
+
if (callback) {
|
|
3228
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
3229
|
+
}
|
|
3230
|
+
else {
|
|
3231
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3232
|
+
}
|
|
3233
|
+
}
|
|
3234
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
3235
|
+
let params = (paramsOrCallback ||
|
|
3236
|
+
{});
|
|
3237
|
+
let options = (optionsOrCallback || {});
|
|
3238
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3239
|
+
callback = paramsOrCallback;
|
|
3240
|
+
params =
|
|
3241
|
+
{};
|
|
3242
|
+
options = {};
|
|
3243
|
+
}
|
|
3244
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3245
|
+
callback = optionsOrCallback;
|
|
3246
|
+
options = {};
|
|
3247
|
+
}
|
|
3248
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3249
|
+
const parameters = {
|
|
3250
|
+
options: Object.assign({
|
|
3251
|
+
url: (rootUrl + '/v1/{+parent}/customModules').replace(/([^:]\/)\/+/g, '$1'),
|
|
3252
|
+
method: 'GET',
|
|
3253
|
+
}, options),
|
|
3254
|
+
params,
|
|
3255
|
+
requiredParams: ['parent'],
|
|
3256
|
+
pathParams: ['parent'],
|
|
3257
|
+
context: this.context,
|
|
3258
|
+
};
|
|
3259
|
+
if (callback) {
|
|
3260
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
3261
|
+
}
|
|
3262
|
+
else {
|
|
3263
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3264
|
+
}
|
|
3265
|
+
}
|
|
3266
|
+
listDescendant(paramsOrCallback, optionsOrCallback, callback) {
|
|
3267
|
+
let params = (paramsOrCallback ||
|
|
3268
|
+
{});
|
|
3269
|
+
let options = (optionsOrCallback || {});
|
|
3270
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3271
|
+
callback = paramsOrCallback;
|
|
3272
|
+
params =
|
|
3273
|
+
{};
|
|
3274
|
+
options = {};
|
|
3275
|
+
}
|
|
3276
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3277
|
+
callback = optionsOrCallback;
|
|
3278
|
+
options = {};
|
|
3279
|
+
}
|
|
3280
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3281
|
+
const parameters = {
|
|
3282
|
+
options: Object.assign({
|
|
3283
|
+
url: (rootUrl + '/v1/{+parent}/customModules:listDescendant').replace(/([^:]\/)\/+/g, '$1'),
|
|
3284
|
+
method: 'GET',
|
|
3285
|
+
}, options),
|
|
3286
|
+
params,
|
|
3287
|
+
requiredParams: ['parent'],
|
|
3288
|
+
pathParams: ['parent'],
|
|
3289
|
+
context: this.context,
|
|
3290
|
+
};
|
|
3291
|
+
if (callback) {
|
|
3292
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
3293
|
+
}
|
|
3294
|
+
else {
|
|
3295
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3296
|
+
}
|
|
3297
|
+
}
|
|
3298
|
+
patch(paramsOrCallback, optionsOrCallback, callback) {
|
|
3299
|
+
let params = (paramsOrCallback ||
|
|
3300
|
+
{});
|
|
3301
|
+
let options = (optionsOrCallback || {});
|
|
3302
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3303
|
+
callback = paramsOrCallback;
|
|
3304
|
+
params =
|
|
3305
|
+
{};
|
|
3306
|
+
options = {};
|
|
3307
|
+
}
|
|
3308
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3309
|
+
callback = optionsOrCallback;
|
|
3310
|
+
options = {};
|
|
3311
|
+
}
|
|
3312
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3313
|
+
const parameters = {
|
|
3314
|
+
options: Object.assign({
|
|
3315
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3316
|
+
method: 'PATCH',
|
|
3317
|
+
}, options),
|
|
3318
|
+
params,
|
|
3319
|
+
requiredParams: ['name'],
|
|
3320
|
+
pathParams: ['name'],
|
|
3321
|
+
context: this.context,
|
|
3322
|
+
};
|
|
3323
|
+
if (callback) {
|
|
3324
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
3325
|
+
}
|
|
3326
|
+
else {
|
|
3327
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3328
|
+
}
|
|
3329
|
+
}
|
|
3330
|
+
simulate(paramsOrCallback, optionsOrCallback, callback) {
|
|
3331
|
+
let params = (paramsOrCallback ||
|
|
3332
|
+
{});
|
|
3333
|
+
let options = (optionsOrCallback || {});
|
|
3334
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3335
|
+
callback = paramsOrCallback;
|
|
3336
|
+
params =
|
|
3337
|
+
{};
|
|
3338
|
+
options = {};
|
|
3339
|
+
}
|
|
3340
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3341
|
+
callback = optionsOrCallback;
|
|
3342
|
+
options = {};
|
|
3343
|
+
}
|
|
3344
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3345
|
+
const parameters = {
|
|
3346
|
+
options: Object.assign({
|
|
3347
|
+
url: (rootUrl + '/v1/{+parent}/customModules:simulate').replace(/([^:]\/)\/+/g, '$1'),
|
|
3348
|
+
method: 'POST',
|
|
3349
|
+
}, options),
|
|
3350
|
+
params,
|
|
3351
|
+
requiredParams: ['parent'],
|
|
3352
|
+
pathParams: ['parent'],
|
|
3353
|
+
context: this.context,
|
|
3354
|
+
};
|
|
3355
|
+
if (callback) {
|
|
3356
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
3357
|
+
}
|
|
3358
|
+
else {
|
|
3359
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3360
|
+
}
|
|
3361
|
+
}
|
|
3362
|
+
}
|
|
3363
|
+
securitycenter_v1.Resource$Organizations$Securityhealthanalyticssettings$Custommodules = Resource$Organizations$Securityhealthanalyticssettings$Custommodules;
|
|
3364
|
+
class Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules {
|
|
3365
|
+
constructor(context) {
|
|
3366
|
+
this.context = context;
|
|
3367
|
+
}
|
|
3368
|
+
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
3369
|
+
let params = (paramsOrCallback ||
|
|
3370
|
+
{});
|
|
3371
|
+
let options = (optionsOrCallback || {});
|
|
3372
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3373
|
+
callback = paramsOrCallback;
|
|
3374
|
+
params =
|
|
3375
|
+
{};
|
|
3376
|
+
options = {};
|
|
3377
|
+
}
|
|
3378
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3379
|
+
callback = optionsOrCallback;
|
|
3380
|
+
options = {};
|
|
3381
|
+
}
|
|
3382
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3383
|
+
const parameters = {
|
|
3384
|
+
options: Object.assign({
|
|
3385
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3386
|
+
method: 'GET',
|
|
3387
|
+
}, options),
|
|
3388
|
+
params,
|
|
3389
|
+
requiredParams: ['name'],
|
|
3390
|
+
pathParams: ['name'],
|
|
3391
|
+
context: this.context,
|
|
3392
|
+
};
|
|
3393
|
+
if (callback) {
|
|
3394
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
3395
|
+
}
|
|
3396
|
+
else {
|
|
3397
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3398
|
+
}
|
|
3399
|
+
}
|
|
3400
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
3401
|
+
let params = (paramsOrCallback ||
|
|
3402
|
+
{});
|
|
3403
|
+
let options = (optionsOrCallback || {});
|
|
3404
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3405
|
+
callback = paramsOrCallback;
|
|
3406
|
+
params =
|
|
3407
|
+
{};
|
|
3408
|
+
options = {};
|
|
3409
|
+
}
|
|
3410
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3411
|
+
callback = optionsOrCallback;
|
|
3412
|
+
options = {};
|
|
3413
|
+
}
|
|
3414
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3415
|
+
const parameters = {
|
|
3416
|
+
options: Object.assign({
|
|
3417
|
+
url: (rootUrl + '/v1/{+parent}/effectiveCustomModules').replace(/([^:]\/)\/+/g, '$1'),
|
|
3418
|
+
method: 'GET',
|
|
3419
|
+
}, options),
|
|
3420
|
+
params,
|
|
3421
|
+
requiredParams: ['parent'],
|
|
3422
|
+
pathParams: ['parent'],
|
|
3423
|
+
context: this.context,
|
|
3424
|
+
};
|
|
3425
|
+
if (callback) {
|
|
3426
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
3427
|
+
}
|
|
3428
|
+
else {
|
|
3429
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3430
|
+
}
|
|
3431
|
+
}
|
|
3432
|
+
}
|
|
3433
|
+
securitycenter_v1.Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules = Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules;
|
|
3434
|
+
class Resource$Organizations$Simulations {
|
|
3435
|
+
constructor(context) {
|
|
3436
|
+
this.context = context;
|
|
3437
|
+
this.attackExposureResults =
|
|
3438
|
+
new Resource$Organizations$Simulations$Attackexposureresults(this.context);
|
|
3439
|
+
this.attackPaths = new Resource$Organizations$Simulations$Attackpaths(this.context);
|
|
3440
|
+
this.valuedResources =
|
|
3441
|
+
new Resource$Organizations$Simulations$Valuedresources(this.context);
|
|
3442
|
+
}
|
|
3443
|
+
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
3444
|
+
let params = (paramsOrCallback ||
|
|
3445
|
+
{});
|
|
3446
|
+
let options = (optionsOrCallback || {});
|
|
3447
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3448
|
+
callback = paramsOrCallback;
|
|
3449
|
+
params = {};
|
|
3450
|
+
options = {};
|
|
3451
|
+
}
|
|
3452
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3453
|
+
callback = optionsOrCallback;
|
|
3454
|
+
options = {};
|
|
3455
|
+
}
|
|
3456
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3457
|
+
const parameters = {
|
|
3458
|
+
options: Object.assign({
|
|
3459
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3460
|
+
method: 'GET',
|
|
3461
|
+
}, options),
|
|
3462
|
+
params,
|
|
3463
|
+
requiredParams: ['name'],
|
|
3464
|
+
pathParams: ['name'],
|
|
3465
|
+
context: this.context,
|
|
3466
|
+
};
|
|
3467
|
+
if (callback) {
|
|
3468
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
3469
|
+
}
|
|
3470
|
+
else {
|
|
3471
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3472
|
+
}
|
|
3473
|
+
}
|
|
3474
|
+
}
|
|
3475
|
+
securitycenter_v1.Resource$Organizations$Simulations = Resource$Organizations$Simulations;
|
|
3476
|
+
class Resource$Organizations$Simulations$Attackexposureresults {
|
|
3477
|
+
constructor(context) {
|
|
3478
|
+
this.context = context;
|
|
3479
|
+
this.attackPaths =
|
|
3480
|
+
new Resource$Organizations$Simulations$Attackexposureresults$Attackpaths(this.context);
|
|
3481
|
+
this.valuedResources =
|
|
3482
|
+
new Resource$Organizations$Simulations$Attackexposureresults$Valuedresources(this.context);
|
|
3483
|
+
}
|
|
3484
|
+
}
|
|
3485
|
+
securitycenter_v1.Resource$Organizations$Simulations$Attackexposureresults = Resource$Organizations$Simulations$Attackexposureresults;
|
|
3486
|
+
class Resource$Organizations$Simulations$Attackexposureresults$Attackpaths {
|
|
3487
|
+
constructor(context) {
|
|
3488
|
+
this.context = context;
|
|
3489
|
+
}
|
|
3490
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
3491
|
+
let params = (paramsOrCallback ||
|
|
3492
|
+
{});
|
|
3493
|
+
let options = (optionsOrCallback || {});
|
|
3494
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3495
|
+
callback = paramsOrCallback;
|
|
3496
|
+
params =
|
|
3497
|
+
{};
|
|
3498
|
+
options = {};
|
|
3499
|
+
}
|
|
3500
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3501
|
+
callback = optionsOrCallback;
|
|
3502
|
+
options = {};
|
|
3503
|
+
}
|
|
3504
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3505
|
+
const parameters = {
|
|
3506
|
+
options: Object.assign({
|
|
3507
|
+
url: (rootUrl + '/v1/{+parent}/attackPaths').replace(/([^:]\/)\/+/g, '$1'),
|
|
3508
|
+
method: 'GET',
|
|
3509
|
+
}, options),
|
|
3510
|
+
params,
|
|
3511
|
+
requiredParams: ['parent'],
|
|
3512
|
+
pathParams: ['parent'],
|
|
3513
|
+
context: this.context,
|
|
3514
|
+
};
|
|
3515
|
+
if (callback) {
|
|
3516
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
3517
|
+
}
|
|
3518
|
+
else {
|
|
3519
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3520
|
+
}
|
|
3521
|
+
}
|
|
3522
|
+
}
|
|
3523
|
+
securitycenter_v1.Resource$Organizations$Simulations$Attackexposureresults$Attackpaths = Resource$Organizations$Simulations$Attackexposureresults$Attackpaths;
|
|
3524
|
+
class Resource$Organizations$Simulations$Attackexposureresults$Valuedresources {
|
|
3525
|
+
constructor(context) {
|
|
3526
|
+
this.context = context;
|
|
3527
|
+
}
|
|
3528
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
3529
|
+
let params = (paramsOrCallback ||
|
|
3530
|
+
{});
|
|
3531
|
+
let options = (optionsOrCallback || {});
|
|
3532
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3533
|
+
callback = paramsOrCallback;
|
|
3534
|
+
params =
|
|
3535
|
+
{};
|
|
3536
|
+
options = {};
|
|
3537
|
+
}
|
|
3538
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3539
|
+
callback = optionsOrCallback;
|
|
3540
|
+
options = {};
|
|
3541
|
+
}
|
|
3542
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3543
|
+
const parameters = {
|
|
3544
|
+
options: Object.assign({
|
|
3545
|
+
url: (rootUrl + '/v1/{+parent}/valuedResources').replace(/([^:]\/)\/+/g, '$1'),
|
|
3546
|
+
method: 'GET',
|
|
3547
|
+
}, options),
|
|
3548
|
+
params,
|
|
3549
|
+
requiredParams: ['parent'],
|
|
3550
|
+
pathParams: ['parent'],
|
|
3551
|
+
context: this.context,
|
|
3552
|
+
};
|
|
3553
|
+
if (callback) {
|
|
3554
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
3555
|
+
}
|
|
3556
|
+
else {
|
|
3557
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3558
|
+
}
|
|
3559
|
+
}
|
|
3560
|
+
}
|
|
3561
|
+
securitycenter_v1.Resource$Organizations$Simulations$Attackexposureresults$Valuedresources = Resource$Organizations$Simulations$Attackexposureresults$Valuedresources;
|
|
3562
|
+
class Resource$Organizations$Simulations$Attackpaths {
|
|
3563
|
+
constructor(context) {
|
|
3564
|
+
this.context = context;
|
|
3565
|
+
}
|
|
3566
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
3567
|
+
let params = (paramsOrCallback ||
|
|
3568
|
+
{});
|
|
3569
|
+
let options = (optionsOrCallback || {});
|
|
3570
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3571
|
+
callback = paramsOrCallback;
|
|
3572
|
+
params =
|
|
3573
|
+
{};
|
|
3574
|
+
options = {};
|
|
3575
|
+
}
|
|
3576
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3577
|
+
callback = optionsOrCallback;
|
|
3578
|
+
options = {};
|
|
3579
|
+
}
|
|
3580
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3581
|
+
const parameters = {
|
|
3582
|
+
options: Object.assign({
|
|
3583
|
+
url: (rootUrl + '/v1/{+parent}/attackPaths').replace(/([^:]\/)\/+/g, '$1'),
|
|
3584
|
+
method: 'GET',
|
|
3585
|
+
}, options),
|
|
3586
|
+
params,
|
|
3587
|
+
requiredParams: ['parent'],
|
|
3588
|
+
pathParams: ['parent'],
|
|
3589
|
+
context: this.context,
|
|
3590
|
+
};
|
|
3591
|
+
if (callback) {
|
|
3592
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
3593
|
+
}
|
|
3594
|
+
else {
|
|
3595
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3596
|
+
}
|
|
3597
|
+
}
|
|
3598
|
+
}
|
|
3599
|
+
securitycenter_v1.Resource$Organizations$Simulations$Attackpaths = Resource$Organizations$Simulations$Attackpaths;
|
|
3600
|
+
class Resource$Organizations$Simulations$Valuedresources {
|
|
3601
|
+
constructor(context) {
|
|
3602
|
+
this.context = context;
|
|
3603
|
+
this.attackPaths =
|
|
3604
|
+
new Resource$Organizations$Simulations$Valuedresources$Attackpaths(this.context);
|
|
3605
|
+
}
|
|
3606
|
+
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
3607
|
+
let params = (paramsOrCallback ||
|
|
3608
|
+
{});
|
|
3609
|
+
let options = (optionsOrCallback || {});
|
|
3610
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3611
|
+
callback = paramsOrCallback;
|
|
3612
|
+
params =
|
|
3613
|
+
{};
|
|
3614
|
+
options = {};
|
|
3615
|
+
}
|
|
3616
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3617
|
+
callback = optionsOrCallback;
|
|
3618
|
+
options = {};
|
|
3619
|
+
}
|
|
3620
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3621
|
+
const parameters = {
|
|
3622
|
+
options: Object.assign({
|
|
3623
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3624
|
+
method: 'GET',
|
|
3625
|
+
}, options),
|
|
3626
|
+
params,
|
|
3627
|
+
requiredParams: ['name'],
|
|
3628
|
+
pathParams: ['name'],
|
|
3629
|
+
context: this.context,
|
|
3630
|
+
};
|
|
3631
|
+
if (callback) {
|
|
3632
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
3633
|
+
}
|
|
3634
|
+
else {
|
|
3635
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3636
|
+
}
|
|
3637
|
+
}
|
|
3638
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
3639
|
+
let params = (paramsOrCallback ||
|
|
3640
|
+
{});
|
|
3641
|
+
let options = (optionsOrCallback || {});
|
|
3642
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3643
|
+
callback = paramsOrCallback;
|
|
3644
|
+
params =
|
|
3645
|
+
{};
|
|
3646
|
+
options = {};
|
|
3647
|
+
}
|
|
3648
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3649
|
+
callback = optionsOrCallback;
|
|
3650
|
+
options = {};
|
|
3651
|
+
}
|
|
3652
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3653
|
+
const parameters = {
|
|
3654
|
+
options: Object.assign({
|
|
3655
|
+
url: (rootUrl + '/v1/{+parent}/valuedResources').replace(/([^:]\/)\/+/g, '$1'),
|
|
3656
|
+
method: 'GET',
|
|
3657
|
+
}, options),
|
|
3658
|
+
params,
|
|
3659
|
+
requiredParams: ['parent'],
|
|
3660
|
+
pathParams: ['parent'],
|
|
3661
|
+
context: this.context,
|
|
3662
|
+
};
|
|
3663
|
+
if (callback) {
|
|
3664
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
3665
|
+
}
|
|
3666
|
+
else {
|
|
3667
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3668
|
+
}
|
|
3669
|
+
}
|
|
3670
|
+
}
|
|
3671
|
+
securitycenter_v1.Resource$Organizations$Simulations$Valuedresources = Resource$Organizations$Simulations$Valuedresources;
|
|
3672
|
+
class Resource$Organizations$Simulations$Valuedresources$Attackpaths {
|
|
3673
|
+
constructor(context) {
|
|
3674
|
+
this.context = context;
|
|
3675
|
+
}
|
|
3676
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
3229
3677
|
let params = (paramsOrCallback ||
|
|
3230
3678
|
{});
|
|
3231
3679
|
let options = (optionsOrCallback || {});
|
|
@@ -3258,11 +3706,236 @@ var securitycenter_v1;
|
|
|
3258
3706
|
}
|
|
3259
3707
|
}
|
|
3260
3708
|
}
|
|
3261
|
-
securitycenter_v1.Resource$Organizations$Simulations$Valuedresources$Attackpaths = Resource$Organizations$Simulations$Valuedresources$Attackpaths;
|
|
3262
|
-
class Resource$Organizations$Sources {
|
|
3709
|
+
securitycenter_v1.Resource$Organizations$Simulations$Valuedresources$Attackpaths = Resource$Organizations$Simulations$Valuedresources$Attackpaths;
|
|
3710
|
+
class Resource$Organizations$Sources {
|
|
3711
|
+
constructor(context) {
|
|
3712
|
+
this.context = context;
|
|
3713
|
+
this.findings = new Resource$Organizations$Sources$Findings(this.context);
|
|
3714
|
+
}
|
|
3715
|
+
create(paramsOrCallback, optionsOrCallback, callback) {
|
|
3716
|
+
let params = (paramsOrCallback ||
|
|
3717
|
+
{});
|
|
3718
|
+
let options = (optionsOrCallback || {});
|
|
3719
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3720
|
+
callback = paramsOrCallback;
|
|
3721
|
+
params = {};
|
|
3722
|
+
options = {};
|
|
3723
|
+
}
|
|
3724
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3725
|
+
callback = optionsOrCallback;
|
|
3726
|
+
options = {};
|
|
3727
|
+
}
|
|
3728
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3729
|
+
const parameters = {
|
|
3730
|
+
options: Object.assign({
|
|
3731
|
+
url: (rootUrl + '/v1/{+parent}/sources').replace(/([^:]\/)\/+/g, '$1'),
|
|
3732
|
+
method: 'POST',
|
|
3733
|
+
}, options),
|
|
3734
|
+
params,
|
|
3735
|
+
requiredParams: ['parent'],
|
|
3736
|
+
pathParams: ['parent'],
|
|
3737
|
+
context: this.context,
|
|
3738
|
+
};
|
|
3739
|
+
if (callback) {
|
|
3740
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
3741
|
+
}
|
|
3742
|
+
else {
|
|
3743
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3744
|
+
}
|
|
3745
|
+
}
|
|
3746
|
+
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
3747
|
+
let params = (paramsOrCallback ||
|
|
3748
|
+
{});
|
|
3749
|
+
let options = (optionsOrCallback || {});
|
|
3750
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3751
|
+
callback = paramsOrCallback;
|
|
3752
|
+
params = {};
|
|
3753
|
+
options = {};
|
|
3754
|
+
}
|
|
3755
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3756
|
+
callback = optionsOrCallback;
|
|
3757
|
+
options = {};
|
|
3758
|
+
}
|
|
3759
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3760
|
+
const parameters = {
|
|
3761
|
+
options: Object.assign({
|
|
3762
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3763
|
+
method: 'GET',
|
|
3764
|
+
}, options),
|
|
3765
|
+
params,
|
|
3766
|
+
requiredParams: ['name'],
|
|
3767
|
+
pathParams: ['name'],
|
|
3768
|
+
context: this.context,
|
|
3769
|
+
};
|
|
3770
|
+
if (callback) {
|
|
3771
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
3772
|
+
}
|
|
3773
|
+
else {
|
|
3774
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3775
|
+
}
|
|
3776
|
+
}
|
|
3777
|
+
getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {
|
|
3778
|
+
let params = (paramsOrCallback ||
|
|
3779
|
+
{});
|
|
3780
|
+
let options = (optionsOrCallback || {});
|
|
3781
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3782
|
+
callback = paramsOrCallback;
|
|
3783
|
+
params = {};
|
|
3784
|
+
options = {};
|
|
3785
|
+
}
|
|
3786
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3787
|
+
callback = optionsOrCallback;
|
|
3788
|
+
options = {};
|
|
3789
|
+
}
|
|
3790
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3791
|
+
const parameters = {
|
|
3792
|
+
options: Object.assign({
|
|
3793
|
+
url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'),
|
|
3794
|
+
method: 'POST',
|
|
3795
|
+
}, options),
|
|
3796
|
+
params,
|
|
3797
|
+
requiredParams: ['resource'],
|
|
3798
|
+
pathParams: ['resource'],
|
|
3799
|
+
context: this.context,
|
|
3800
|
+
};
|
|
3801
|
+
if (callback) {
|
|
3802
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
3803
|
+
}
|
|
3804
|
+
else {
|
|
3805
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3806
|
+
}
|
|
3807
|
+
}
|
|
3808
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
3809
|
+
let params = (paramsOrCallback ||
|
|
3810
|
+
{});
|
|
3811
|
+
let options = (optionsOrCallback || {});
|
|
3812
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3813
|
+
callback = paramsOrCallback;
|
|
3814
|
+
params = {};
|
|
3815
|
+
options = {};
|
|
3816
|
+
}
|
|
3817
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3818
|
+
callback = optionsOrCallback;
|
|
3819
|
+
options = {};
|
|
3820
|
+
}
|
|
3821
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3822
|
+
const parameters = {
|
|
3823
|
+
options: Object.assign({
|
|
3824
|
+
url: (rootUrl + '/v1/{+parent}/sources').replace(/([^:]\/)\/+/g, '$1'),
|
|
3825
|
+
method: 'GET',
|
|
3826
|
+
}, options),
|
|
3827
|
+
params,
|
|
3828
|
+
requiredParams: ['parent'],
|
|
3829
|
+
pathParams: ['parent'],
|
|
3830
|
+
context: this.context,
|
|
3831
|
+
};
|
|
3832
|
+
if (callback) {
|
|
3833
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
3834
|
+
}
|
|
3835
|
+
else {
|
|
3836
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3837
|
+
}
|
|
3838
|
+
}
|
|
3839
|
+
patch(paramsOrCallback, optionsOrCallback, callback) {
|
|
3840
|
+
let params = (paramsOrCallback ||
|
|
3841
|
+
{});
|
|
3842
|
+
let options = (optionsOrCallback || {});
|
|
3843
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3844
|
+
callback = paramsOrCallback;
|
|
3845
|
+
params = {};
|
|
3846
|
+
options = {};
|
|
3847
|
+
}
|
|
3848
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3849
|
+
callback = optionsOrCallback;
|
|
3850
|
+
options = {};
|
|
3851
|
+
}
|
|
3852
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3853
|
+
const parameters = {
|
|
3854
|
+
options: Object.assign({
|
|
3855
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3856
|
+
method: 'PATCH',
|
|
3857
|
+
}, options),
|
|
3858
|
+
params,
|
|
3859
|
+
requiredParams: ['name'],
|
|
3860
|
+
pathParams: ['name'],
|
|
3861
|
+
context: this.context,
|
|
3862
|
+
};
|
|
3863
|
+
if (callback) {
|
|
3864
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
3865
|
+
}
|
|
3866
|
+
else {
|
|
3867
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3868
|
+
}
|
|
3869
|
+
}
|
|
3870
|
+
setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {
|
|
3871
|
+
let params = (paramsOrCallback ||
|
|
3872
|
+
{});
|
|
3873
|
+
let options = (optionsOrCallback || {});
|
|
3874
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3875
|
+
callback = paramsOrCallback;
|
|
3876
|
+
params = {};
|
|
3877
|
+
options = {};
|
|
3878
|
+
}
|
|
3879
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3880
|
+
callback = optionsOrCallback;
|
|
3881
|
+
options = {};
|
|
3882
|
+
}
|
|
3883
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3884
|
+
const parameters = {
|
|
3885
|
+
options: Object.assign({
|
|
3886
|
+
url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'),
|
|
3887
|
+
method: 'POST',
|
|
3888
|
+
}, options),
|
|
3889
|
+
params,
|
|
3890
|
+
requiredParams: ['resource'],
|
|
3891
|
+
pathParams: ['resource'],
|
|
3892
|
+
context: this.context,
|
|
3893
|
+
};
|
|
3894
|
+
if (callback) {
|
|
3895
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
3896
|
+
}
|
|
3897
|
+
else {
|
|
3898
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3899
|
+
}
|
|
3900
|
+
}
|
|
3901
|
+
testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {
|
|
3902
|
+
let params = (paramsOrCallback ||
|
|
3903
|
+
{});
|
|
3904
|
+
let options = (optionsOrCallback || {});
|
|
3905
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3906
|
+
callback = paramsOrCallback;
|
|
3907
|
+
params = {};
|
|
3908
|
+
options = {};
|
|
3909
|
+
}
|
|
3910
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3911
|
+
callback = optionsOrCallback;
|
|
3912
|
+
options = {};
|
|
3913
|
+
}
|
|
3914
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3915
|
+
const parameters = {
|
|
3916
|
+
options: Object.assign({
|
|
3917
|
+
url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'),
|
|
3918
|
+
method: 'POST',
|
|
3919
|
+
}, options),
|
|
3920
|
+
params,
|
|
3921
|
+
requiredParams: ['resource'],
|
|
3922
|
+
pathParams: ['resource'],
|
|
3923
|
+
context: this.context,
|
|
3924
|
+
};
|
|
3925
|
+
if (callback) {
|
|
3926
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
3927
|
+
}
|
|
3928
|
+
else {
|
|
3929
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3930
|
+
}
|
|
3931
|
+
}
|
|
3932
|
+
}
|
|
3933
|
+
securitycenter_v1.Resource$Organizations$Sources = Resource$Organizations$Sources;
|
|
3934
|
+
class Resource$Organizations$Sources$Findings {
|
|
3263
3935
|
constructor(context) {
|
|
3264
3936
|
this.context = context;
|
|
3265
|
-
this.
|
|
3937
|
+
this.externalSystems =
|
|
3938
|
+
new Resource$Organizations$Sources$Findings$Externalsystems(this.context);
|
|
3266
3939
|
}
|
|
3267
3940
|
create(paramsOrCallback, optionsOrCallback, callback) {
|
|
3268
3941
|
let params = (paramsOrCallback ||
|
|
@@ -3280,7 +3953,7 @@ var securitycenter_v1;
|
|
|
3280
3953
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3281
3954
|
const parameters = {
|
|
3282
3955
|
options: Object.assign({
|
|
3283
|
-
url: (rootUrl + '/v1/{+parent}/
|
|
3956
|
+
url: (rootUrl + '/v1/{+parent}/findings').replace(/([^:]\/)\/+/g, '$1'),
|
|
3284
3957
|
method: 'POST',
|
|
3285
3958
|
}, options),
|
|
3286
3959
|
params,
|
|
@@ -3295,7 +3968,7 @@ var securitycenter_v1;
|
|
|
3295
3968
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3296
3969
|
}
|
|
3297
3970
|
}
|
|
3298
|
-
|
|
3971
|
+
group(paramsOrCallback, optionsOrCallback, callback) {
|
|
3299
3972
|
let params = (paramsOrCallback ||
|
|
3300
3973
|
{});
|
|
3301
3974
|
let options = (optionsOrCallback || {});
|
|
@@ -3311,10 +3984,72 @@ var securitycenter_v1;
|
|
|
3311
3984
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3312
3985
|
const parameters = {
|
|
3313
3986
|
options: Object.assign({
|
|
3314
|
-
url: (rootUrl + '/v1/{+
|
|
3987
|
+
url: (rootUrl + '/v1/{+parent}/findings:group').replace(/([^:]\/)\/+/g, '$1'),
|
|
3988
|
+
method: 'POST',
|
|
3989
|
+
}, options),
|
|
3990
|
+
params,
|
|
3991
|
+
requiredParams: ['parent'],
|
|
3992
|
+
pathParams: ['parent'],
|
|
3993
|
+
context: this.context,
|
|
3994
|
+
};
|
|
3995
|
+
if (callback) {
|
|
3996
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
3997
|
+
}
|
|
3998
|
+
else {
|
|
3999
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
4000
|
+
}
|
|
4001
|
+
}
|
|
4002
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
4003
|
+
let params = (paramsOrCallback ||
|
|
4004
|
+
{});
|
|
4005
|
+
let options = (optionsOrCallback || {});
|
|
4006
|
+
if (typeof paramsOrCallback === 'function') {
|
|
4007
|
+
callback = paramsOrCallback;
|
|
4008
|
+
params = {};
|
|
4009
|
+
options = {};
|
|
4010
|
+
}
|
|
4011
|
+
if (typeof optionsOrCallback === 'function') {
|
|
4012
|
+
callback = optionsOrCallback;
|
|
4013
|
+
options = {};
|
|
4014
|
+
}
|
|
4015
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
4016
|
+
const parameters = {
|
|
4017
|
+
options: Object.assign({
|
|
4018
|
+
url: (rootUrl + '/v1/{+parent}/findings').replace(/([^:]\/)\/+/g, '$1'),
|
|
3315
4019
|
method: 'GET',
|
|
3316
4020
|
}, options),
|
|
3317
4021
|
params,
|
|
4022
|
+
requiredParams: ['parent'],
|
|
4023
|
+
pathParams: ['parent'],
|
|
4024
|
+
context: this.context,
|
|
4025
|
+
};
|
|
4026
|
+
if (callback) {
|
|
4027
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
4028
|
+
}
|
|
4029
|
+
else {
|
|
4030
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
4031
|
+
}
|
|
4032
|
+
}
|
|
4033
|
+
patch(paramsOrCallback, optionsOrCallback, callback) {
|
|
4034
|
+
let params = (paramsOrCallback ||
|
|
4035
|
+
{});
|
|
4036
|
+
let options = (optionsOrCallback || {});
|
|
4037
|
+
if (typeof paramsOrCallback === 'function') {
|
|
4038
|
+
callback = paramsOrCallback;
|
|
4039
|
+
params = {};
|
|
4040
|
+
options = {};
|
|
4041
|
+
}
|
|
4042
|
+
if (typeof optionsOrCallback === 'function') {
|
|
4043
|
+
callback = optionsOrCallback;
|
|
4044
|
+
options = {};
|
|
4045
|
+
}
|
|
4046
|
+
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
4047
|
+
const parameters = {
|
|
4048
|
+
options: Object.assign({
|
|
4049
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
4050
|
+
method: 'PATCH',
|
|
4051
|
+
}, options),
|
|
4052
|
+
params,
|
|
3318
4053
|
requiredParams: ['name'],
|
|
3319
4054
|
pathParams: ['name'],
|
|
3320
4055
|
context: this.context,
|
|
@@ -3326,7 +4061,7 @@ var securitycenter_v1;
|
|
|
3326
4061
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3327
4062
|
}
|
|
3328
4063
|
}
|
|
3329
|
-
|
|
4064
|
+
setMute(paramsOrCallback, optionsOrCallback, callback) {
|
|
3330
4065
|
let params = (paramsOrCallback ||
|
|
3331
4066
|
{});
|
|
3332
4067
|
let options = (optionsOrCallback || {});
|
|
@@ -3342,12 +4077,12 @@ var securitycenter_v1;
|
|
|
3342
4077
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3343
4078
|
const parameters = {
|
|
3344
4079
|
options: Object.assign({
|
|
3345
|
-
url: (rootUrl + '/v1/{+
|
|
4080
|
+
url: (rootUrl + '/v1/{+name}:setMute').replace(/([^:]\/)\/+/g, '$1'),
|
|
3346
4081
|
method: 'POST',
|
|
3347
4082
|
}, options),
|
|
3348
4083
|
params,
|
|
3349
|
-
requiredParams: ['
|
|
3350
|
-
pathParams: ['
|
|
4084
|
+
requiredParams: ['name'],
|
|
4085
|
+
pathParams: ['name'],
|
|
3351
4086
|
context: this.context,
|
|
3352
4087
|
};
|
|
3353
4088
|
if (callback) {
|
|
@@ -3357,7 +4092,7 @@ var securitycenter_v1;
|
|
|
3357
4092
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3358
4093
|
}
|
|
3359
4094
|
}
|
|
3360
|
-
|
|
4095
|
+
setState(paramsOrCallback, optionsOrCallback, callback) {
|
|
3361
4096
|
let params = (paramsOrCallback ||
|
|
3362
4097
|
{});
|
|
3363
4098
|
let options = (optionsOrCallback || {});
|
|
@@ -3373,12 +4108,12 @@ var securitycenter_v1;
|
|
|
3373
4108
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3374
4109
|
const parameters = {
|
|
3375
4110
|
options: Object.assign({
|
|
3376
|
-
url: (rootUrl + '/v1/{+
|
|
3377
|
-
method: '
|
|
4111
|
+
url: (rootUrl + '/v1/{+name}:setState').replace(/([^:]\/)\/+/g, '$1'),
|
|
4112
|
+
method: 'POST',
|
|
3378
4113
|
}, options),
|
|
3379
4114
|
params,
|
|
3380
|
-
requiredParams: ['
|
|
3381
|
-
pathParams: ['
|
|
4115
|
+
requiredParams: ['name'],
|
|
4116
|
+
pathParams: ['name'],
|
|
3382
4117
|
context: this.context,
|
|
3383
4118
|
};
|
|
3384
4119
|
if (callback) {
|
|
@@ -3388,13 +4123,14 @@ var securitycenter_v1;
|
|
|
3388
4123
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3389
4124
|
}
|
|
3390
4125
|
}
|
|
3391
|
-
|
|
4126
|
+
updateSecurityMarks(paramsOrCallback, optionsOrCallback, callback) {
|
|
3392
4127
|
let params = (paramsOrCallback ||
|
|
3393
4128
|
{});
|
|
3394
4129
|
let options = (optionsOrCallback || {});
|
|
3395
4130
|
if (typeof paramsOrCallback === 'function') {
|
|
3396
4131
|
callback = paramsOrCallback;
|
|
3397
|
-
params =
|
|
4132
|
+
params =
|
|
4133
|
+
{};
|
|
3398
4134
|
options = {};
|
|
3399
4135
|
}
|
|
3400
4136
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -3419,13 +4155,20 @@ var securitycenter_v1;
|
|
|
3419
4155
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3420
4156
|
}
|
|
3421
4157
|
}
|
|
3422
|
-
|
|
4158
|
+
}
|
|
4159
|
+
securitycenter_v1.Resource$Organizations$Sources$Findings = Resource$Organizations$Sources$Findings;
|
|
4160
|
+
class Resource$Organizations$Sources$Findings$Externalsystems {
|
|
4161
|
+
constructor(context) {
|
|
4162
|
+
this.context = context;
|
|
4163
|
+
}
|
|
4164
|
+
patch(paramsOrCallback, optionsOrCallback, callback) {
|
|
3423
4165
|
let params = (paramsOrCallback ||
|
|
3424
4166
|
{});
|
|
3425
4167
|
let options = (optionsOrCallback || {});
|
|
3426
4168
|
if (typeof paramsOrCallback === 'function') {
|
|
3427
4169
|
callback = paramsOrCallback;
|
|
3428
|
-
params =
|
|
4170
|
+
params =
|
|
4171
|
+
{};
|
|
3429
4172
|
options = {};
|
|
3430
4173
|
}
|
|
3431
4174
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -3435,12 +4178,12 @@ var securitycenter_v1;
|
|
|
3435
4178
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3436
4179
|
const parameters = {
|
|
3437
4180
|
options: Object.assign({
|
|
3438
|
-
url: (rootUrl + '/v1/{+
|
|
3439
|
-
method: '
|
|
4181
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
4182
|
+
method: 'PATCH',
|
|
3440
4183
|
}, options),
|
|
3441
4184
|
params,
|
|
3442
|
-
requiredParams: ['
|
|
3443
|
-
pathParams: ['
|
|
4185
|
+
requiredParams: ['name'],
|
|
4186
|
+
pathParams: ['name'],
|
|
3444
4187
|
context: this.context,
|
|
3445
4188
|
};
|
|
3446
4189
|
if (callback) {
|
|
@@ -3450,7 +4193,30 @@ var securitycenter_v1;
|
|
|
3450
4193
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3451
4194
|
}
|
|
3452
4195
|
}
|
|
3453
|
-
|
|
4196
|
+
}
|
|
4197
|
+
securitycenter_v1.Resource$Organizations$Sources$Findings$Externalsystems = Resource$Organizations$Sources$Findings$Externalsystems;
|
|
4198
|
+
class Resource$Projects {
|
|
4199
|
+
constructor(context) {
|
|
4200
|
+
this.context = context;
|
|
4201
|
+
this.assets = new Resource$Projects$Assets(this.context);
|
|
4202
|
+
this.bigQueryExports = new Resource$Projects$Bigqueryexports(this.context);
|
|
4203
|
+
this.eventThreatDetectionSettings =
|
|
4204
|
+
new Resource$Projects$Eventthreatdetectionsettings(this.context);
|
|
4205
|
+
this.findings = new Resource$Projects$Findings(this.context);
|
|
4206
|
+
this.locations = new Resource$Projects$Locations(this.context);
|
|
4207
|
+
this.muteConfigs = new Resource$Projects$Muteconfigs(this.context);
|
|
4208
|
+
this.notificationConfigs = new Resource$Projects$Notificationconfigs(this.context);
|
|
4209
|
+
this.securityHealthAnalyticsSettings =
|
|
4210
|
+
new Resource$Projects$Securityhealthanalyticssettings(this.context);
|
|
4211
|
+
this.sources = new Resource$Projects$Sources(this.context);
|
|
4212
|
+
}
|
|
4213
|
+
}
|
|
4214
|
+
securitycenter_v1.Resource$Projects = Resource$Projects;
|
|
4215
|
+
class Resource$Projects$Assets {
|
|
4216
|
+
constructor(context) {
|
|
4217
|
+
this.context = context;
|
|
4218
|
+
}
|
|
4219
|
+
group(paramsOrCallback, optionsOrCallback, callback) {
|
|
3454
4220
|
let params = (paramsOrCallback ||
|
|
3455
4221
|
{});
|
|
3456
4222
|
let options = (optionsOrCallback || {});
|
|
@@ -3466,12 +4232,12 @@ var securitycenter_v1;
|
|
|
3466
4232
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3467
4233
|
const parameters = {
|
|
3468
4234
|
options: Object.assign({
|
|
3469
|
-
url: (rootUrl + '/v1/{+
|
|
4235
|
+
url: (rootUrl + '/v1/{+parent}/assets:group').replace(/([^:]\/)\/+/g, '$1'),
|
|
3470
4236
|
method: 'POST',
|
|
3471
4237
|
}, options),
|
|
3472
4238
|
params,
|
|
3473
|
-
requiredParams: ['
|
|
3474
|
-
pathParams: ['
|
|
4239
|
+
requiredParams: ['parent'],
|
|
4240
|
+
pathParams: ['parent'],
|
|
3475
4241
|
context: this.context,
|
|
3476
4242
|
};
|
|
3477
4243
|
if (callback) {
|
|
@@ -3481,15 +4247,7 @@ var securitycenter_v1;
|
|
|
3481
4247
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3482
4248
|
}
|
|
3483
4249
|
}
|
|
3484
|
-
|
|
3485
|
-
securitycenter_v1.Resource$Organizations$Sources = Resource$Organizations$Sources;
|
|
3486
|
-
class Resource$Organizations$Sources$Findings {
|
|
3487
|
-
constructor(context) {
|
|
3488
|
-
this.context = context;
|
|
3489
|
-
this.externalSystems =
|
|
3490
|
-
new Resource$Organizations$Sources$Findings$Externalsystems(this.context);
|
|
3491
|
-
}
|
|
3492
|
-
create(paramsOrCallback, optionsOrCallback, callback) {
|
|
4250
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
3493
4251
|
let params = (paramsOrCallback ||
|
|
3494
4252
|
{});
|
|
3495
4253
|
let options = (optionsOrCallback || {});
|
|
@@ -3505,8 +4263,8 @@ var securitycenter_v1;
|
|
|
3505
4263
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3506
4264
|
const parameters = {
|
|
3507
4265
|
options: Object.assign({
|
|
3508
|
-
url: (rootUrl + '/v1/{+parent}/
|
|
3509
|
-
method: '
|
|
4266
|
+
url: (rootUrl + '/v1/{+parent}/assets').replace(/([^:]\/)\/+/g, '$1'),
|
|
4267
|
+
method: 'GET',
|
|
3510
4268
|
}, options),
|
|
3511
4269
|
params,
|
|
3512
4270
|
requiredParams: ['parent'],
|
|
@@ -3520,7 +4278,7 @@ var securitycenter_v1;
|
|
|
3520
4278
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3521
4279
|
}
|
|
3522
4280
|
}
|
|
3523
|
-
|
|
4281
|
+
updateSecurityMarks(paramsOrCallback, optionsOrCallback, callback) {
|
|
3524
4282
|
let params = (paramsOrCallback ||
|
|
3525
4283
|
{});
|
|
3526
4284
|
let options = (optionsOrCallback || {});
|
|
@@ -3536,12 +4294,12 @@ var securitycenter_v1;
|
|
|
3536
4294
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3537
4295
|
const parameters = {
|
|
3538
4296
|
options: Object.assign({
|
|
3539
|
-
url: (rootUrl + '/v1/{+
|
|
3540
|
-
method: '
|
|
4297
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
4298
|
+
method: 'PATCH',
|
|
3541
4299
|
}, options),
|
|
3542
4300
|
params,
|
|
3543
|
-
requiredParams: ['
|
|
3544
|
-
pathParams: ['
|
|
4301
|
+
requiredParams: ['name'],
|
|
4302
|
+
pathParams: ['name'],
|
|
3545
4303
|
context: this.context,
|
|
3546
4304
|
};
|
|
3547
4305
|
if (callback) {
|
|
@@ -3551,7 +4309,13 @@ var securitycenter_v1;
|
|
|
3551
4309
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3552
4310
|
}
|
|
3553
4311
|
}
|
|
3554
|
-
|
|
4312
|
+
}
|
|
4313
|
+
securitycenter_v1.Resource$Projects$Assets = Resource$Projects$Assets;
|
|
4314
|
+
class Resource$Projects$Bigqueryexports {
|
|
4315
|
+
constructor(context) {
|
|
4316
|
+
this.context = context;
|
|
4317
|
+
}
|
|
4318
|
+
create(paramsOrCallback, optionsOrCallback, callback) {
|
|
3555
4319
|
let params = (paramsOrCallback ||
|
|
3556
4320
|
{});
|
|
3557
4321
|
let options = (optionsOrCallback || {});
|
|
@@ -3567,8 +4331,8 @@ var securitycenter_v1;
|
|
|
3567
4331
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3568
4332
|
const parameters = {
|
|
3569
4333
|
options: Object.assign({
|
|
3570
|
-
url: (rootUrl + '/v1/{+parent}/
|
|
3571
|
-
method: '
|
|
4334
|
+
url: (rootUrl + '/v1/{+parent}/bigQueryExports').replace(/([^:]\/)\/+/g, '$1'),
|
|
4335
|
+
method: 'POST',
|
|
3572
4336
|
}, options),
|
|
3573
4337
|
params,
|
|
3574
4338
|
requiredParams: ['parent'],
|
|
@@ -3582,7 +4346,7 @@ var securitycenter_v1;
|
|
|
3582
4346
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3583
4347
|
}
|
|
3584
4348
|
}
|
|
3585
|
-
|
|
4349
|
+
delete(paramsOrCallback, optionsOrCallback, callback) {
|
|
3586
4350
|
let params = (paramsOrCallback ||
|
|
3587
4351
|
{});
|
|
3588
4352
|
let options = (optionsOrCallback || {});
|
|
@@ -3599,7 +4363,7 @@ var securitycenter_v1;
|
|
|
3599
4363
|
const parameters = {
|
|
3600
4364
|
options: Object.assign({
|
|
3601
4365
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3602
|
-
method: '
|
|
4366
|
+
method: 'DELETE',
|
|
3603
4367
|
}, options),
|
|
3604
4368
|
params,
|
|
3605
4369
|
requiredParams: ['name'],
|
|
@@ -3613,7 +4377,7 @@ var securitycenter_v1;
|
|
|
3613
4377
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3614
4378
|
}
|
|
3615
4379
|
}
|
|
3616
|
-
|
|
4380
|
+
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
3617
4381
|
let params = (paramsOrCallback ||
|
|
3618
4382
|
{});
|
|
3619
4383
|
let options = (optionsOrCallback || {});
|
|
@@ -3629,8 +4393,8 @@ var securitycenter_v1;
|
|
|
3629
4393
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3630
4394
|
const parameters = {
|
|
3631
4395
|
options: Object.assign({
|
|
3632
|
-
url: (rootUrl + '/v1/{+name}
|
|
3633
|
-
method: '
|
|
4396
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
4397
|
+
method: 'GET',
|
|
3634
4398
|
}, options),
|
|
3635
4399
|
params,
|
|
3636
4400
|
requiredParams: ['name'],
|
|
@@ -3644,7 +4408,7 @@ var securitycenter_v1;
|
|
|
3644
4408
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3645
4409
|
}
|
|
3646
4410
|
}
|
|
3647
|
-
|
|
4411
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
3648
4412
|
let params = (paramsOrCallback ||
|
|
3649
4413
|
{});
|
|
3650
4414
|
let options = (optionsOrCallback || {});
|
|
@@ -3660,12 +4424,12 @@ var securitycenter_v1;
|
|
|
3660
4424
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3661
4425
|
const parameters = {
|
|
3662
4426
|
options: Object.assign({
|
|
3663
|
-
url: (rootUrl + '/v1/{+
|
|
3664
|
-
method: '
|
|
4427
|
+
url: (rootUrl + '/v1/{+parent}/bigQueryExports').replace(/([^:]\/)\/+/g, '$1'),
|
|
4428
|
+
method: 'GET',
|
|
3665
4429
|
}, options),
|
|
3666
4430
|
params,
|
|
3667
|
-
requiredParams: ['
|
|
3668
|
-
pathParams: ['
|
|
4431
|
+
requiredParams: ['parent'],
|
|
4432
|
+
pathParams: ['parent'],
|
|
3669
4433
|
context: this.context,
|
|
3670
4434
|
};
|
|
3671
4435
|
if (callback) {
|
|
@@ -3675,14 +4439,13 @@ var securitycenter_v1;
|
|
|
3675
4439
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3676
4440
|
}
|
|
3677
4441
|
}
|
|
3678
|
-
|
|
4442
|
+
patch(paramsOrCallback, optionsOrCallback, callback) {
|
|
3679
4443
|
let params = (paramsOrCallback ||
|
|
3680
4444
|
{});
|
|
3681
4445
|
let options = (optionsOrCallback || {});
|
|
3682
4446
|
if (typeof paramsOrCallback === 'function') {
|
|
3683
4447
|
callback = paramsOrCallback;
|
|
3684
|
-
params =
|
|
3685
|
-
{};
|
|
4448
|
+
params = {};
|
|
3686
4449
|
options = {};
|
|
3687
4450
|
}
|
|
3688
4451
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -3708,12 +4471,16 @@ var securitycenter_v1;
|
|
|
3708
4471
|
}
|
|
3709
4472
|
}
|
|
3710
4473
|
}
|
|
3711
|
-
securitycenter_v1.Resource$
|
|
3712
|
-
class Resource$
|
|
4474
|
+
securitycenter_v1.Resource$Projects$Bigqueryexports = Resource$Projects$Bigqueryexports;
|
|
4475
|
+
class Resource$Projects$Eventthreatdetectionsettings {
|
|
3713
4476
|
constructor(context) {
|
|
3714
4477
|
this.context = context;
|
|
4478
|
+
this.customModules =
|
|
4479
|
+
new Resource$Projects$Eventthreatdetectionsettings$Custommodules(this.context);
|
|
4480
|
+
this.effectiveCustomModules =
|
|
4481
|
+
new Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules(this.context);
|
|
3715
4482
|
}
|
|
3716
|
-
|
|
4483
|
+
validateCustomModule(paramsOrCallback, optionsOrCallback, callback) {
|
|
3717
4484
|
let params = (paramsOrCallback ||
|
|
3718
4485
|
{});
|
|
3719
4486
|
let options = (optionsOrCallback || {});
|
|
@@ -3730,12 +4497,12 @@ var securitycenter_v1;
|
|
|
3730
4497
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3731
4498
|
const parameters = {
|
|
3732
4499
|
options: Object.assign({
|
|
3733
|
-
url: (rootUrl + '/v1/{+
|
|
3734
|
-
method: '
|
|
4500
|
+
url: (rootUrl + '/v1/{+parent}:validateCustomModule').replace(/([^:]\/)\/+/g, '$1'),
|
|
4501
|
+
method: 'POST',
|
|
3735
4502
|
}, options),
|
|
3736
4503
|
params,
|
|
3737
|
-
requiredParams: ['
|
|
3738
|
-
pathParams: ['
|
|
4504
|
+
requiredParams: ['parent'],
|
|
4505
|
+
pathParams: ['parent'],
|
|
3739
4506
|
context: this.context,
|
|
3740
4507
|
};
|
|
3741
4508
|
if (callback) {
|
|
@@ -3746,33 +4513,19 @@ var securitycenter_v1;
|
|
|
3746
4513
|
}
|
|
3747
4514
|
}
|
|
3748
4515
|
}
|
|
3749
|
-
securitycenter_v1.Resource$
|
|
3750
|
-
class Resource$Projects {
|
|
3751
|
-
constructor(context) {
|
|
3752
|
-
this.context = context;
|
|
3753
|
-
this.assets = new Resource$Projects$Assets(this.context);
|
|
3754
|
-
this.bigQueryExports = new Resource$Projects$Bigqueryexports(this.context);
|
|
3755
|
-
this.findings = new Resource$Projects$Findings(this.context);
|
|
3756
|
-
this.locations = new Resource$Projects$Locations(this.context);
|
|
3757
|
-
this.muteConfigs = new Resource$Projects$Muteconfigs(this.context);
|
|
3758
|
-
this.notificationConfigs = new Resource$Projects$Notificationconfigs(this.context);
|
|
3759
|
-
this.securityHealthAnalyticsSettings =
|
|
3760
|
-
new Resource$Projects$Securityhealthanalyticssettings(this.context);
|
|
3761
|
-
this.sources = new Resource$Projects$Sources(this.context);
|
|
3762
|
-
}
|
|
3763
|
-
}
|
|
3764
|
-
securitycenter_v1.Resource$Projects = Resource$Projects;
|
|
3765
|
-
class Resource$Projects$Assets {
|
|
4516
|
+
securitycenter_v1.Resource$Projects$Eventthreatdetectionsettings = Resource$Projects$Eventthreatdetectionsettings;
|
|
4517
|
+
class Resource$Projects$Eventthreatdetectionsettings$Custommodules {
|
|
3766
4518
|
constructor(context) {
|
|
3767
4519
|
this.context = context;
|
|
3768
4520
|
}
|
|
3769
|
-
|
|
4521
|
+
create(paramsOrCallback, optionsOrCallback, callback) {
|
|
3770
4522
|
let params = (paramsOrCallback ||
|
|
3771
4523
|
{});
|
|
3772
4524
|
let options = (optionsOrCallback || {});
|
|
3773
4525
|
if (typeof paramsOrCallback === 'function') {
|
|
3774
4526
|
callback = paramsOrCallback;
|
|
3775
|
-
params =
|
|
4527
|
+
params =
|
|
4528
|
+
{};
|
|
3776
4529
|
options = {};
|
|
3777
4530
|
}
|
|
3778
4531
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -3782,7 +4535,7 @@ var securitycenter_v1;
|
|
|
3782
4535
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3783
4536
|
const parameters = {
|
|
3784
4537
|
options: Object.assign({
|
|
3785
|
-
url: (rootUrl + '/v1/{+parent}/
|
|
4538
|
+
url: (rootUrl + '/v1/{+parent}/customModules').replace(/([^:]\/)\/+/g, '$1'),
|
|
3786
4539
|
method: 'POST',
|
|
3787
4540
|
}, options),
|
|
3788
4541
|
params,
|
|
@@ -3797,13 +4550,14 @@ var securitycenter_v1;
|
|
|
3797
4550
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3798
4551
|
}
|
|
3799
4552
|
}
|
|
3800
|
-
|
|
4553
|
+
delete(paramsOrCallback, optionsOrCallback, callback) {
|
|
3801
4554
|
let params = (paramsOrCallback ||
|
|
3802
4555
|
{});
|
|
3803
4556
|
let options = (optionsOrCallback || {});
|
|
3804
4557
|
if (typeof paramsOrCallback === 'function') {
|
|
3805
4558
|
callback = paramsOrCallback;
|
|
3806
|
-
params =
|
|
4559
|
+
params =
|
|
4560
|
+
{};
|
|
3807
4561
|
options = {};
|
|
3808
4562
|
}
|
|
3809
4563
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -3813,12 +4567,12 @@ var securitycenter_v1;
|
|
|
3813
4567
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3814
4568
|
const parameters = {
|
|
3815
4569
|
options: Object.assign({
|
|
3816
|
-
url: (rootUrl + '/v1/{+
|
|
3817
|
-
method: '
|
|
4570
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
4571
|
+
method: 'DELETE',
|
|
3818
4572
|
}, options),
|
|
3819
4573
|
params,
|
|
3820
|
-
requiredParams: ['
|
|
3821
|
-
pathParams: ['
|
|
4574
|
+
requiredParams: ['name'],
|
|
4575
|
+
pathParams: ['name'],
|
|
3822
4576
|
context: this.context,
|
|
3823
4577
|
};
|
|
3824
4578
|
if (callback) {
|
|
@@ -3828,13 +4582,14 @@ var securitycenter_v1;
|
|
|
3828
4582
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3829
4583
|
}
|
|
3830
4584
|
}
|
|
3831
|
-
|
|
4585
|
+
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
3832
4586
|
let params = (paramsOrCallback ||
|
|
3833
4587
|
{});
|
|
3834
4588
|
let options = (optionsOrCallback || {});
|
|
3835
4589
|
if (typeof paramsOrCallback === 'function') {
|
|
3836
4590
|
callback = paramsOrCallback;
|
|
3837
|
-
params =
|
|
4591
|
+
params =
|
|
4592
|
+
{};
|
|
3838
4593
|
options = {};
|
|
3839
4594
|
}
|
|
3840
4595
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -3845,7 +4600,7 @@ var securitycenter_v1;
|
|
|
3845
4600
|
const parameters = {
|
|
3846
4601
|
options: Object.assign({
|
|
3847
4602
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3848
|
-
method: '
|
|
4603
|
+
method: 'GET',
|
|
3849
4604
|
}, options),
|
|
3850
4605
|
params,
|
|
3851
4606
|
requiredParams: ['name'],
|
|
@@ -3859,19 +4614,14 @@ var securitycenter_v1;
|
|
|
3859
4614
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3860
4615
|
}
|
|
3861
4616
|
}
|
|
3862
|
-
|
|
3863
|
-
securitycenter_v1.Resource$Projects$Assets = Resource$Projects$Assets;
|
|
3864
|
-
class Resource$Projects$Bigqueryexports {
|
|
3865
|
-
constructor(context) {
|
|
3866
|
-
this.context = context;
|
|
3867
|
-
}
|
|
3868
|
-
create(paramsOrCallback, optionsOrCallback, callback) {
|
|
4617
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
3869
4618
|
let params = (paramsOrCallback ||
|
|
3870
4619
|
{});
|
|
3871
4620
|
let options = (optionsOrCallback || {});
|
|
3872
4621
|
if (typeof paramsOrCallback === 'function') {
|
|
3873
4622
|
callback = paramsOrCallback;
|
|
3874
|
-
params =
|
|
4623
|
+
params =
|
|
4624
|
+
{};
|
|
3875
4625
|
options = {};
|
|
3876
4626
|
}
|
|
3877
4627
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -3881,8 +4631,8 @@ var securitycenter_v1;
|
|
|
3881
4631
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3882
4632
|
const parameters = {
|
|
3883
4633
|
options: Object.assign({
|
|
3884
|
-
url: (rootUrl + '/v1/{+parent}/
|
|
3885
|
-
method: '
|
|
4634
|
+
url: (rootUrl + '/v1/{+parent}/customModules').replace(/([^:]\/)\/+/g, '$1'),
|
|
4635
|
+
method: 'GET',
|
|
3886
4636
|
}, options),
|
|
3887
4637
|
params,
|
|
3888
4638
|
requiredParams: ['parent'],
|
|
@@ -3896,13 +4646,14 @@ var securitycenter_v1;
|
|
|
3896
4646
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3897
4647
|
}
|
|
3898
4648
|
}
|
|
3899
|
-
|
|
4649
|
+
listDescendant(paramsOrCallback, optionsOrCallback, callback) {
|
|
3900
4650
|
let params = (paramsOrCallback ||
|
|
3901
4651
|
{});
|
|
3902
4652
|
let options = (optionsOrCallback || {});
|
|
3903
4653
|
if (typeof paramsOrCallback === 'function') {
|
|
3904
4654
|
callback = paramsOrCallback;
|
|
3905
|
-
params =
|
|
4655
|
+
params =
|
|
4656
|
+
{};
|
|
3906
4657
|
options = {};
|
|
3907
4658
|
}
|
|
3908
4659
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -3912,12 +4663,12 @@ var securitycenter_v1;
|
|
|
3912
4663
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3913
4664
|
const parameters = {
|
|
3914
4665
|
options: Object.assign({
|
|
3915
|
-
url: (rootUrl + '/v1/{+
|
|
3916
|
-
method: '
|
|
4666
|
+
url: (rootUrl + '/v1/{+parent}/customModules:listDescendant').replace(/([^:]\/)\/+/g, '$1'),
|
|
4667
|
+
method: 'GET',
|
|
3917
4668
|
}, options),
|
|
3918
4669
|
params,
|
|
3919
|
-
requiredParams: ['
|
|
3920
|
-
pathParams: ['
|
|
4670
|
+
requiredParams: ['parent'],
|
|
4671
|
+
pathParams: ['parent'],
|
|
3921
4672
|
context: this.context,
|
|
3922
4673
|
};
|
|
3923
4674
|
if (callback) {
|
|
@@ -3927,13 +4678,14 @@ var securitycenter_v1;
|
|
|
3927
4678
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3928
4679
|
}
|
|
3929
4680
|
}
|
|
3930
|
-
|
|
4681
|
+
patch(paramsOrCallback, optionsOrCallback, callback) {
|
|
3931
4682
|
let params = (paramsOrCallback ||
|
|
3932
4683
|
{});
|
|
3933
4684
|
let options = (optionsOrCallback || {});
|
|
3934
4685
|
if (typeof paramsOrCallback === 'function') {
|
|
3935
4686
|
callback = paramsOrCallback;
|
|
3936
|
-
params =
|
|
4687
|
+
params =
|
|
4688
|
+
{};
|
|
3937
4689
|
options = {};
|
|
3938
4690
|
}
|
|
3939
4691
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -3944,7 +4696,7 @@ var securitycenter_v1;
|
|
|
3944
4696
|
const parameters = {
|
|
3945
4697
|
options: Object.assign({
|
|
3946
4698
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3947
|
-
method: '
|
|
4699
|
+
method: 'PATCH',
|
|
3948
4700
|
}, options),
|
|
3949
4701
|
params,
|
|
3950
4702
|
requiredParams: ['name'],
|
|
@@ -3958,13 +4710,20 @@ var securitycenter_v1;
|
|
|
3958
4710
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3959
4711
|
}
|
|
3960
4712
|
}
|
|
3961
|
-
|
|
4713
|
+
}
|
|
4714
|
+
securitycenter_v1.Resource$Projects$Eventthreatdetectionsettings$Custommodules = Resource$Projects$Eventthreatdetectionsettings$Custommodules;
|
|
4715
|
+
class Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules {
|
|
4716
|
+
constructor(context) {
|
|
4717
|
+
this.context = context;
|
|
4718
|
+
}
|
|
4719
|
+
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
3962
4720
|
let params = (paramsOrCallback ||
|
|
3963
4721
|
{});
|
|
3964
4722
|
let options = (optionsOrCallback || {});
|
|
3965
4723
|
if (typeof paramsOrCallback === 'function') {
|
|
3966
4724
|
callback = paramsOrCallback;
|
|
3967
|
-
params =
|
|
4725
|
+
params =
|
|
4726
|
+
{};
|
|
3968
4727
|
options = {};
|
|
3969
4728
|
}
|
|
3970
4729
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -3974,12 +4733,12 @@ var securitycenter_v1;
|
|
|
3974
4733
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
3975
4734
|
const parameters = {
|
|
3976
4735
|
options: Object.assign({
|
|
3977
|
-
url: (rootUrl + '/v1/{+
|
|
4736
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3978
4737
|
method: 'GET',
|
|
3979
4738
|
}, options),
|
|
3980
4739
|
params,
|
|
3981
|
-
requiredParams: ['
|
|
3982
|
-
pathParams: ['
|
|
4740
|
+
requiredParams: ['name'],
|
|
4741
|
+
pathParams: ['name'],
|
|
3983
4742
|
context: this.context,
|
|
3984
4743
|
};
|
|
3985
4744
|
if (callback) {
|
|
@@ -3989,13 +4748,14 @@ var securitycenter_v1;
|
|
|
3989
4748
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
3990
4749
|
}
|
|
3991
4750
|
}
|
|
3992
|
-
|
|
4751
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
3993
4752
|
let params = (paramsOrCallback ||
|
|
3994
4753
|
{});
|
|
3995
4754
|
let options = (optionsOrCallback || {});
|
|
3996
4755
|
if (typeof paramsOrCallback === 'function') {
|
|
3997
4756
|
callback = paramsOrCallback;
|
|
3998
|
-
params =
|
|
4757
|
+
params =
|
|
4758
|
+
{};
|
|
3999
4759
|
options = {};
|
|
4000
4760
|
}
|
|
4001
4761
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -4005,12 +4765,12 @@ var securitycenter_v1;
|
|
|
4005
4765
|
const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';
|
|
4006
4766
|
const parameters = {
|
|
4007
4767
|
options: Object.assign({
|
|
4008
|
-
url: (rootUrl + '/v1/{+
|
|
4009
|
-
method: '
|
|
4768
|
+
url: (rootUrl + '/v1/{+parent}/effectiveCustomModules').replace(/([^:]\/)\/+/g, '$1'),
|
|
4769
|
+
method: 'GET',
|
|
4010
4770
|
}, options),
|
|
4011
4771
|
params,
|
|
4012
|
-
requiredParams: ['
|
|
4013
|
-
pathParams: ['
|
|
4772
|
+
requiredParams: ['parent'],
|
|
4773
|
+
pathParams: ['parent'],
|
|
4014
4774
|
context: this.context,
|
|
4015
4775
|
};
|
|
4016
4776
|
if (callback) {
|
|
@@ -4021,7 +4781,7 @@ var securitycenter_v1;
|
|
|
4021
4781
|
}
|
|
4022
4782
|
}
|
|
4023
4783
|
}
|
|
4024
|
-
securitycenter_v1.Resource$Projects$
|
|
4784
|
+
securitycenter_v1.Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules = Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules;
|
|
4025
4785
|
class Resource$Projects$Findings {
|
|
4026
4786
|
constructor(context) {
|
|
4027
4787
|
this.context = context;
|