@googleapis/securitycenter 12.0.0 → 13.0.1

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/v1beta2.ts CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  Compute,
24
24
  UserRefreshClient,
25
25
  BaseExternalAccountClient,
26
- GaxiosPromise,
26
+ GaxiosResponseWithHTTP2,
27
27
  GoogleConfigurable,
28
28
  createAPIRequest,
29
29
  MethodOptions,
@@ -5389,11 +5389,13 @@ export namespace securitycenter_v1beta2 {
5389
5389
  getContainerThreatDetectionSettings(
5390
5390
  params: Params$Resource$Folders$Getcontainerthreatdetectionsettings,
5391
5391
  options: StreamMethodOptions
5392
- ): GaxiosPromise<Readable>;
5392
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5393
5393
  getContainerThreatDetectionSettings(
5394
5394
  params?: Params$Resource$Folders$Getcontainerthreatdetectionsettings,
5395
5395
  options?: MethodOptions
5396
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
5396
+ ): Promise<
5397
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
5398
+ >;
5397
5399
  getContainerThreatDetectionSettings(
5398
5400
  params: Params$Resource$Folders$Getcontainerthreatdetectionsettings,
5399
5401
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5428,8 +5430,10 @@ export namespace securitycenter_v1beta2 {
5428
5430
  | BodyResponseCallback<Readable>
5429
5431
  ):
5430
5432
  | void
5431
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
5432
- | GaxiosPromise<Readable> {
5433
+ | Promise<
5434
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
5435
+ >
5436
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5433
5437
  let params = (paramsOrCallback ||
5434
5438
  {}) as Params$Resource$Folders$Getcontainerthreatdetectionsettings;
5435
5439
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5485,11 +5489,11 @@ export namespace securitycenter_v1beta2 {
5485
5489
  getEventThreatDetectionSettings(
5486
5490
  params: Params$Resource$Folders$Geteventthreatdetectionsettings,
5487
5491
  options: StreamMethodOptions
5488
- ): GaxiosPromise<Readable>;
5492
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5489
5493
  getEventThreatDetectionSettings(
5490
5494
  params?: Params$Resource$Folders$Geteventthreatdetectionsettings,
5491
5495
  options?: MethodOptions
5492
- ): GaxiosPromise<Schema$EventThreatDetectionSettings>;
5496
+ ): Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>;
5493
5497
  getEventThreatDetectionSettings(
5494
5498
  params: Params$Resource$Folders$Geteventthreatdetectionsettings,
5495
5499
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5524,8 +5528,8 @@ export namespace securitycenter_v1beta2 {
5524
5528
  | BodyResponseCallback<Readable>
5525
5529
  ):
5526
5530
  | void
5527
- | GaxiosPromise<Schema$EventThreatDetectionSettings>
5528
- | GaxiosPromise<Readable> {
5531
+ | Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>
5532
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5529
5533
  let params = (paramsOrCallback ||
5530
5534
  {}) as Params$Resource$Folders$Geteventthreatdetectionsettings;
5531
5535
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5580,11 +5584,13 @@ export namespace securitycenter_v1beta2 {
5580
5584
  getRapidVulnerabilityDetectionSettings(
5581
5585
  params: Params$Resource$Folders$Getrapidvulnerabilitydetectionsettings,
5582
5586
  options: StreamMethodOptions
5583
- ): GaxiosPromise<Readable>;
5587
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5584
5588
  getRapidVulnerabilityDetectionSettings(
5585
5589
  params?: Params$Resource$Folders$Getrapidvulnerabilitydetectionsettings,
5586
5590
  options?: MethodOptions
5587
- ): GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>;
5591
+ ): Promise<
5592
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
5593
+ >;
5588
5594
  getRapidVulnerabilityDetectionSettings(
5589
5595
  params: Params$Resource$Folders$Getrapidvulnerabilitydetectionsettings,
5590
5596
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5619,8 +5625,10 @@ export namespace securitycenter_v1beta2 {
5619
5625
  | BodyResponseCallback<Readable>
5620
5626
  ):
5621
5627
  | void
5622
- | GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>
5623
- | GaxiosPromise<Readable> {
5628
+ | Promise<
5629
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
5630
+ >
5631
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5624
5632
  let params = (paramsOrCallback ||
5625
5633
  {}) as Params$Resource$Folders$Getrapidvulnerabilitydetectionsettings;
5626
5634
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5676,11 +5684,11 @@ export namespace securitycenter_v1beta2 {
5676
5684
  getSecurityCenterSettings(
5677
5685
  params: Params$Resource$Folders$Getsecuritycentersettings,
5678
5686
  options: StreamMethodOptions
5679
- ): GaxiosPromise<Readable>;
5687
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5680
5688
  getSecurityCenterSettings(
5681
5689
  params?: Params$Resource$Folders$Getsecuritycentersettings,
5682
5690
  options?: MethodOptions
5683
- ): GaxiosPromise<Schema$SecurityCenterSettings>;
5691
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityCenterSettings>>;
5684
5692
  getSecurityCenterSettings(
5685
5693
  params: Params$Resource$Folders$Getsecuritycentersettings,
5686
5694
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5715,8 +5723,8 @@ export namespace securitycenter_v1beta2 {
5715
5723
  | BodyResponseCallback<Readable>
5716
5724
  ):
5717
5725
  | void
5718
- | GaxiosPromise<Schema$SecurityCenterSettings>
5719
- | GaxiosPromise<Readable> {
5726
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityCenterSettings>>
5727
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5720
5728
  let params = (paramsOrCallback ||
5721
5729
  {}) as Params$Resource$Folders$Getsecuritycentersettings;
5722
5730
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5769,11 +5777,11 @@ export namespace securitycenter_v1beta2 {
5769
5777
  getSecurityHealthAnalyticsSettings(
5770
5778
  params: Params$Resource$Folders$Getsecurityhealthanalyticssettings,
5771
5779
  options: StreamMethodOptions
5772
- ): GaxiosPromise<Readable>;
5780
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5773
5781
  getSecurityHealthAnalyticsSettings(
5774
5782
  params?: Params$Resource$Folders$Getsecurityhealthanalyticssettings,
5775
5783
  options?: MethodOptions
5776
- ): GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>;
5784
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>;
5777
5785
  getSecurityHealthAnalyticsSettings(
5778
5786
  params: Params$Resource$Folders$Getsecurityhealthanalyticssettings,
5779
5787
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5808,8 +5816,8 @@ export namespace securitycenter_v1beta2 {
5808
5816
  | BodyResponseCallback<Readable>
5809
5817
  ):
5810
5818
  | void
5811
- | GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>
5812
- | GaxiosPromise<Readable> {
5819
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>
5820
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5813
5821
  let params = (paramsOrCallback ||
5814
5822
  {}) as Params$Resource$Folders$Getsecurityhealthanalyticssettings;
5815
5823
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5865,11 +5873,13 @@ export namespace securitycenter_v1beta2 {
5865
5873
  getVirtualMachineThreatDetectionSettings(
5866
5874
  params: Params$Resource$Folders$Getvirtualmachinethreatdetectionsettings,
5867
5875
  options: StreamMethodOptions
5868
- ): GaxiosPromise<Readable>;
5876
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5869
5877
  getVirtualMachineThreatDetectionSettings(
5870
5878
  params?: Params$Resource$Folders$Getvirtualmachinethreatdetectionsettings,
5871
5879
  options?: MethodOptions
5872
- ): GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>;
5880
+ ): Promise<
5881
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
5882
+ >;
5873
5883
  getVirtualMachineThreatDetectionSettings(
5874
5884
  params: Params$Resource$Folders$Getvirtualmachinethreatdetectionsettings,
5875
5885
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5904,8 +5914,10 @@ export namespace securitycenter_v1beta2 {
5904
5914
  | BodyResponseCallback<Readable>
5905
5915
  ):
5906
5916
  | void
5907
- | GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>
5908
- | GaxiosPromise<Readable> {
5917
+ | Promise<
5918
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
5919
+ >
5920
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5909
5921
  let params = (paramsOrCallback ||
5910
5922
  {}) as Params$Resource$Folders$Getvirtualmachinethreatdetectionsettings;
5911
5923
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5961,11 +5973,11 @@ export namespace securitycenter_v1beta2 {
5961
5973
  getWebSecurityScannerSettings(
5962
5974
  params: Params$Resource$Folders$Getwebsecurityscannersettings,
5963
5975
  options: StreamMethodOptions
5964
- ): GaxiosPromise<Readable>;
5976
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5965
5977
  getWebSecurityScannerSettings(
5966
5978
  params?: Params$Resource$Folders$Getwebsecurityscannersettings,
5967
5979
  options?: MethodOptions
5968
- ): GaxiosPromise<Schema$WebSecurityScannerSettings>;
5980
+ ): Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>;
5969
5981
  getWebSecurityScannerSettings(
5970
5982
  params: Params$Resource$Folders$Getwebsecurityscannersettings,
5971
5983
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6000,8 +6012,8 @@ export namespace securitycenter_v1beta2 {
6000
6012
  | BodyResponseCallback<Readable>
6001
6013
  ):
6002
6014
  | void
6003
- | GaxiosPromise<Schema$WebSecurityScannerSettings>
6004
- | GaxiosPromise<Readable> {
6015
+ | Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>
6016
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6005
6017
  let params = (paramsOrCallback ||
6006
6018
  {}) as Params$Resource$Folders$Getwebsecurityscannersettings;
6007
6019
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6054,11 +6066,13 @@ export namespace securitycenter_v1beta2 {
6054
6066
  updateContainerThreatDetectionSettings(
6055
6067
  params: Params$Resource$Folders$Updatecontainerthreatdetectionsettings,
6056
6068
  options: StreamMethodOptions
6057
- ): GaxiosPromise<Readable>;
6069
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6058
6070
  updateContainerThreatDetectionSettings(
6059
6071
  params?: Params$Resource$Folders$Updatecontainerthreatdetectionsettings,
6060
6072
  options?: MethodOptions
6061
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
6073
+ ): Promise<
6074
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
6075
+ >;
6062
6076
  updateContainerThreatDetectionSettings(
6063
6077
  params: Params$Resource$Folders$Updatecontainerthreatdetectionsettings,
6064
6078
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6093,8 +6107,10 @@ export namespace securitycenter_v1beta2 {
6093
6107
  | BodyResponseCallback<Readable>
6094
6108
  ):
6095
6109
  | void
6096
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
6097
- | GaxiosPromise<Readable> {
6110
+ | Promise<
6111
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
6112
+ >
6113
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6098
6114
  let params = (paramsOrCallback ||
6099
6115
  {}) as Params$Resource$Folders$Updatecontainerthreatdetectionsettings;
6100
6116
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6150,11 +6166,11 @@ export namespace securitycenter_v1beta2 {
6150
6166
  updateEventThreatDetectionSettings(
6151
6167
  params: Params$Resource$Folders$Updateeventthreatdetectionsettings,
6152
6168
  options: StreamMethodOptions
6153
- ): GaxiosPromise<Readable>;
6169
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6154
6170
  updateEventThreatDetectionSettings(
6155
6171
  params?: Params$Resource$Folders$Updateeventthreatdetectionsettings,
6156
6172
  options?: MethodOptions
6157
- ): GaxiosPromise<Schema$EventThreatDetectionSettings>;
6173
+ ): Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>;
6158
6174
  updateEventThreatDetectionSettings(
6159
6175
  params: Params$Resource$Folders$Updateeventthreatdetectionsettings,
6160
6176
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6189,8 +6205,8 @@ export namespace securitycenter_v1beta2 {
6189
6205
  | BodyResponseCallback<Readable>
6190
6206
  ):
6191
6207
  | void
6192
- | GaxiosPromise<Schema$EventThreatDetectionSettings>
6193
- | GaxiosPromise<Readable> {
6208
+ | Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>
6209
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6194
6210
  let params = (paramsOrCallback ||
6195
6211
  {}) as Params$Resource$Folders$Updateeventthreatdetectionsettings;
6196
6212
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6246,11 +6262,13 @@ export namespace securitycenter_v1beta2 {
6246
6262
  updateRapidVulnerabilityDetectionSettings(
6247
6263
  params: Params$Resource$Folders$Updaterapidvulnerabilitydetectionsettings,
6248
6264
  options: StreamMethodOptions
6249
- ): GaxiosPromise<Readable>;
6265
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6250
6266
  updateRapidVulnerabilityDetectionSettings(
6251
6267
  params?: Params$Resource$Folders$Updaterapidvulnerabilitydetectionsettings,
6252
6268
  options?: MethodOptions
6253
- ): GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>;
6269
+ ): Promise<
6270
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
6271
+ >;
6254
6272
  updateRapidVulnerabilityDetectionSettings(
6255
6273
  params: Params$Resource$Folders$Updaterapidvulnerabilitydetectionsettings,
6256
6274
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6285,8 +6303,10 @@ export namespace securitycenter_v1beta2 {
6285
6303
  | BodyResponseCallback<Readable>
6286
6304
  ):
6287
6305
  | void
6288
- | GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>
6289
- | GaxiosPromise<Readable> {
6306
+ | Promise<
6307
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
6308
+ >
6309
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6290
6310
  let params = (paramsOrCallback ||
6291
6311
  {}) as Params$Resource$Folders$Updaterapidvulnerabilitydetectionsettings;
6292
6312
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6342,11 +6362,11 @@ export namespace securitycenter_v1beta2 {
6342
6362
  updateSecurityHealthAnalyticsSettings(
6343
6363
  params: Params$Resource$Folders$Updatesecurityhealthanalyticssettings,
6344
6364
  options: StreamMethodOptions
6345
- ): GaxiosPromise<Readable>;
6365
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6346
6366
  updateSecurityHealthAnalyticsSettings(
6347
6367
  params?: Params$Resource$Folders$Updatesecurityhealthanalyticssettings,
6348
6368
  options?: MethodOptions
6349
- ): GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>;
6369
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>;
6350
6370
  updateSecurityHealthAnalyticsSettings(
6351
6371
  params: Params$Resource$Folders$Updatesecurityhealthanalyticssettings,
6352
6372
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6381,8 +6401,8 @@ export namespace securitycenter_v1beta2 {
6381
6401
  | BodyResponseCallback<Readable>
6382
6402
  ):
6383
6403
  | void
6384
- | GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>
6385
- | GaxiosPromise<Readable> {
6404
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>
6405
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6386
6406
  let params = (paramsOrCallback ||
6387
6407
  {}) as Params$Resource$Folders$Updatesecurityhealthanalyticssettings;
6388
6408
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6438,11 +6458,13 @@ export namespace securitycenter_v1beta2 {
6438
6458
  updateVirtualMachineThreatDetectionSettings(
6439
6459
  params: Params$Resource$Folders$Updatevirtualmachinethreatdetectionsettings,
6440
6460
  options: StreamMethodOptions
6441
- ): GaxiosPromise<Readable>;
6461
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6442
6462
  updateVirtualMachineThreatDetectionSettings(
6443
6463
  params?: Params$Resource$Folders$Updatevirtualmachinethreatdetectionsettings,
6444
6464
  options?: MethodOptions
6445
- ): GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>;
6465
+ ): Promise<
6466
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
6467
+ >;
6446
6468
  updateVirtualMachineThreatDetectionSettings(
6447
6469
  params: Params$Resource$Folders$Updatevirtualmachinethreatdetectionsettings,
6448
6470
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6477,8 +6499,10 @@ export namespace securitycenter_v1beta2 {
6477
6499
  | BodyResponseCallback<Readable>
6478
6500
  ):
6479
6501
  | void
6480
- | GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>
6481
- | GaxiosPromise<Readable> {
6502
+ | Promise<
6503
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
6504
+ >
6505
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6482
6506
  let params = (paramsOrCallback ||
6483
6507
  {}) as Params$Resource$Folders$Updatevirtualmachinethreatdetectionsettings;
6484
6508
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6534,11 +6558,11 @@ export namespace securitycenter_v1beta2 {
6534
6558
  updateWebSecurityScannerSettings(
6535
6559
  params: Params$Resource$Folders$Updatewebsecurityscannersettings,
6536
6560
  options: StreamMethodOptions
6537
- ): GaxiosPromise<Readable>;
6561
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6538
6562
  updateWebSecurityScannerSettings(
6539
6563
  params?: Params$Resource$Folders$Updatewebsecurityscannersettings,
6540
6564
  options?: MethodOptions
6541
- ): GaxiosPromise<Schema$WebSecurityScannerSettings>;
6565
+ ): Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>;
6542
6566
  updateWebSecurityScannerSettings(
6543
6567
  params: Params$Resource$Folders$Updatewebsecurityscannersettings,
6544
6568
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6573,8 +6597,8 @@ export namespace securitycenter_v1beta2 {
6573
6597
  | BodyResponseCallback<Readable>
6574
6598
  ):
6575
6599
  | void
6576
- | GaxiosPromise<Schema$WebSecurityScannerSettings>
6577
- | GaxiosPromise<Readable> {
6600
+ | Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>
6601
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6578
6602
  let params = (paramsOrCallback ||
6579
6603
  {}) as Params$Resource$Folders$Updatewebsecurityscannersettings;
6580
6604
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6780,11 +6804,13 @@ export namespace securitycenter_v1beta2 {
6780
6804
  calculate(
6781
6805
  params: Params$Resource$Folders$Containerthreatdetectionsettings$Calculate,
6782
6806
  options: StreamMethodOptions
6783
- ): GaxiosPromise<Readable>;
6807
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6784
6808
  calculate(
6785
6809
  params?: Params$Resource$Folders$Containerthreatdetectionsettings$Calculate,
6786
6810
  options?: MethodOptions
6787
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
6811
+ ): Promise<
6812
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
6813
+ >;
6788
6814
  calculate(
6789
6815
  params: Params$Resource$Folders$Containerthreatdetectionsettings$Calculate,
6790
6816
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6819,8 +6845,10 @@ export namespace securitycenter_v1beta2 {
6819
6845
  | BodyResponseCallback<Readable>
6820
6846
  ):
6821
6847
  | void
6822
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
6823
- | GaxiosPromise<Readable> {
6848
+ | Promise<
6849
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
6850
+ >
6851
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6824
6852
  let params = (paramsOrCallback ||
6825
6853
  {}) as Params$Resource$Folders$Containerthreatdetectionsettings$Calculate;
6826
6854
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6898,11 +6926,11 @@ export namespace securitycenter_v1beta2 {
6898
6926
  calculate(
6899
6927
  params: Params$Resource$Folders$Eventthreatdetectionsettings$Calculate,
6900
6928
  options: StreamMethodOptions
6901
- ): GaxiosPromise<Readable>;
6929
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6902
6930
  calculate(
6903
6931
  params?: Params$Resource$Folders$Eventthreatdetectionsettings$Calculate,
6904
6932
  options?: MethodOptions
6905
- ): GaxiosPromise<Schema$EventThreatDetectionSettings>;
6933
+ ): Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>;
6906
6934
  calculate(
6907
6935
  params: Params$Resource$Folders$Eventthreatdetectionsettings$Calculate,
6908
6936
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6937,8 +6965,8 @@ export namespace securitycenter_v1beta2 {
6937
6965
  | BodyResponseCallback<Readable>
6938
6966
  ):
6939
6967
  | void
6940
- | GaxiosPromise<Schema$EventThreatDetectionSettings>
6941
- | GaxiosPromise<Readable> {
6968
+ | Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>
6969
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6942
6970
  let params = (paramsOrCallback ||
6943
6971
  {}) as Params$Resource$Folders$Eventthreatdetectionsettings$Calculate;
6944
6972
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7016,11 +7044,13 @@ export namespace securitycenter_v1beta2 {
7016
7044
  calculate(
7017
7045
  params: Params$Resource$Folders$Rapidvulnerabilitydetectionsettings$Calculate,
7018
7046
  options: StreamMethodOptions
7019
- ): GaxiosPromise<Readable>;
7047
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7020
7048
  calculate(
7021
7049
  params?: Params$Resource$Folders$Rapidvulnerabilitydetectionsettings$Calculate,
7022
7050
  options?: MethodOptions
7023
- ): GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>;
7051
+ ): Promise<
7052
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
7053
+ >;
7024
7054
  calculate(
7025
7055
  params: Params$Resource$Folders$Rapidvulnerabilitydetectionsettings$Calculate,
7026
7056
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7055,8 +7085,10 @@ export namespace securitycenter_v1beta2 {
7055
7085
  | BodyResponseCallback<Readable>
7056
7086
  ):
7057
7087
  | void
7058
- | GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>
7059
- | GaxiosPromise<Readable> {
7088
+ | Promise<
7089
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
7090
+ >
7091
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7060
7092
  let params = (paramsOrCallback ||
7061
7093
  {}) as Params$Resource$Folders$Rapidvulnerabilitydetectionsettings$Calculate;
7062
7094
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7130,11 +7162,11 @@ export namespace securitycenter_v1beta2 {
7130
7162
  calculate(
7131
7163
  params: Params$Resource$Folders$Securityhealthanalyticssettings$Calculate,
7132
7164
  options: StreamMethodOptions
7133
- ): GaxiosPromise<Readable>;
7165
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7134
7166
  calculate(
7135
7167
  params?: Params$Resource$Folders$Securityhealthanalyticssettings$Calculate,
7136
7168
  options?: MethodOptions
7137
- ): GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>;
7169
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>;
7138
7170
  calculate(
7139
7171
  params: Params$Resource$Folders$Securityhealthanalyticssettings$Calculate,
7140
7172
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7169,8 +7201,8 @@ export namespace securitycenter_v1beta2 {
7169
7201
  | BodyResponseCallback<Readable>
7170
7202
  ):
7171
7203
  | void
7172
- | GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>
7173
- | GaxiosPromise<Readable> {
7204
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>
7205
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7174
7206
  let params = (paramsOrCallback ||
7175
7207
  {}) as Params$Resource$Folders$Securityhealthanalyticssettings$Calculate;
7176
7208
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7248,11 +7280,13 @@ export namespace securitycenter_v1beta2 {
7248
7280
  calculate(
7249
7281
  params: Params$Resource$Folders$Virtualmachinethreatdetectionsettings$Calculate,
7250
7282
  options: StreamMethodOptions
7251
- ): GaxiosPromise<Readable>;
7283
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7252
7284
  calculate(
7253
7285
  params?: Params$Resource$Folders$Virtualmachinethreatdetectionsettings$Calculate,
7254
7286
  options?: MethodOptions
7255
- ): GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>;
7287
+ ): Promise<
7288
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
7289
+ >;
7256
7290
  calculate(
7257
7291
  params: Params$Resource$Folders$Virtualmachinethreatdetectionsettings$Calculate,
7258
7292
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7287,8 +7321,10 @@ export namespace securitycenter_v1beta2 {
7287
7321
  | BodyResponseCallback<Readable>
7288
7322
  ):
7289
7323
  | void
7290
- | GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>
7291
- | GaxiosPromise<Readable> {
7324
+ | Promise<
7325
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
7326
+ >
7327
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7292
7328
  let params = (paramsOrCallback ||
7293
7329
  {}) as Params$Resource$Folders$Virtualmachinethreatdetectionsettings$Calculate;
7294
7330
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7366,11 +7402,11 @@ export namespace securitycenter_v1beta2 {
7366
7402
  calculate(
7367
7403
  params: Params$Resource$Folders$Websecurityscannersettings$Calculate,
7368
7404
  options: StreamMethodOptions
7369
- ): GaxiosPromise<Readable>;
7405
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7370
7406
  calculate(
7371
7407
  params?: Params$Resource$Folders$Websecurityscannersettings$Calculate,
7372
7408
  options?: MethodOptions
7373
- ): GaxiosPromise<Schema$WebSecurityScannerSettings>;
7409
+ ): Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>;
7374
7410
  calculate(
7375
7411
  params: Params$Resource$Folders$Websecurityscannersettings$Calculate,
7376
7412
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7405,8 +7441,8 @@ export namespace securitycenter_v1beta2 {
7405
7441
  | BodyResponseCallback<Readable>
7406
7442
  ):
7407
7443
  | void
7408
- | GaxiosPromise<Schema$WebSecurityScannerSettings>
7409
- | GaxiosPromise<Readable> {
7444
+ | Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>
7445
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7410
7446
  let params = (paramsOrCallback ||
7411
7447
  {}) as Params$Resource$Folders$Websecurityscannersettings$Calculate;
7412
7448
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7508,11 +7544,13 @@ export namespace securitycenter_v1beta2 {
7508
7544
  getContainerThreatDetectionSettings(
7509
7545
  params: Params$Resource$Organizations$Getcontainerthreatdetectionsettings,
7510
7546
  options: StreamMethodOptions
7511
- ): GaxiosPromise<Readable>;
7547
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7512
7548
  getContainerThreatDetectionSettings(
7513
7549
  params?: Params$Resource$Organizations$Getcontainerthreatdetectionsettings,
7514
7550
  options?: MethodOptions
7515
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
7551
+ ): Promise<
7552
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
7553
+ >;
7516
7554
  getContainerThreatDetectionSettings(
7517
7555
  params: Params$Resource$Organizations$Getcontainerthreatdetectionsettings,
7518
7556
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7547,8 +7585,10 @@ export namespace securitycenter_v1beta2 {
7547
7585
  | BodyResponseCallback<Readable>
7548
7586
  ):
7549
7587
  | void
7550
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
7551
- | GaxiosPromise<Readable> {
7588
+ | Promise<
7589
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
7590
+ >
7591
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7552
7592
  let params = (paramsOrCallback ||
7553
7593
  {}) as Params$Resource$Organizations$Getcontainerthreatdetectionsettings;
7554
7594
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7604,11 +7644,11 @@ export namespace securitycenter_v1beta2 {
7604
7644
  getEventThreatDetectionSettings(
7605
7645
  params: Params$Resource$Organizations$Geteventthreatdetectionsettings,
7606
7646
  options: StreamMethodOptions
7607
- ): GaxiosPromise<Readable>;
7647
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7608
7648
  getEventThreatDetectionSettings(
7609
7649
  params?: Params$Resource$Organizations$Geteventthreatdetectionsettings,
7610
7650
  options?: MethodOptions
7611
- ): GaxiosPromise<Schema$EventThreatDetectionSettings>;
7651
+ ): Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>;
7612
7652
  getEventThreatDetectionSettings(
7613
7653
  params: Params$Resource$Organizations$Geteventthreatdetectionsettings,
7614
7654
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7643,8 +7683,8 @@ export namespace securitycenter_v1beta2 {
7643
7683
  | BodyResponseCallback<Readable>
7644
7684
  ):
7645
7685
  | void
7646
- | GaxiosPromise<Schema$EventThreatDetectionSettings>
7647
- | GaxiosPromise<Readable> {
7686
+ | Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>
7687
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7648
7688
  let params = (paramsOrCallback ||
7649
7689
  {}) as Params$Resource$Organizations$Geteventthreatdetectionsettings;
7650
7690
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7700,11 +7740,13 @@ export namespace securitycenter_v1beta2 {
7700
7740
  getRapidVulnerabilityDetectionSettings(
7701
7741
  params: Params$Resource$Organizations$Getrapidvulnerabilitydetectionsettings,
7702
7742
  options: StreamMethodOptions
7703
- ): GaxiosPromise<Readable>;
7743
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7704
7744
  getRapidVulnerabilityDetectionSettings(
7705
7745
  params?: Params$Resource$Organizations$Getrapidvulnerabilitydetectionsettings,
7706
7746
  options?: MethodOptions
7707
- ): GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>;
7747
+ ): Promise<
7748
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
7749
+ >;
7708
7750
  getRapidVulnerabilityDetectionSettings(
7709
7751
  params: Params$Resource$Organizations$Getrapidvulnerabilitydetectionsettings,
7710
7752
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7739,8 +7781,10 @@ export namespace securitycenter_v1beta2 {
7739
7781
  | BodyResponseCallback<Readable>
7740
7782
  ):
7741
7783
  | void
7742
- | GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>
7743
- | GaxiosPromise<Readable> {
7784
+ | Promise<
7785
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
7786
+ >
7787
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7744
7788
  let params = (paramsOrCallback ||
7745
7789
  {}) as Params$Resource$Organizations$Getrapidvulnerabilitydetectionsettings;
7746
7790
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7796,11 +7840,11 @@ export namespace securitycenter_v1beta2 {
7796
7840
  getSecurityCenterSettings(
7797
7841
  params: Params$Resource$Organizations$Getsecuritycentersettings,
7798
7842
  options: StreamMethodOptions
7799
- ): GaxiosPromise<Readable>;
7843
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7800
7844
  getSecurityCenterSettings(
7801
7845
  params?: Params$Resource$Organizations$Getsecuritycentersettings,
7802
7846
  options?: MethodOptions
7803
- ): GaxiosPromise<Schema$SecurityCenterSettings>;
7847
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityCenterSettings>>;
7804
7848
  getSecurityCenterSettings(
7805
7849
  params: Params$Resource$Organizations$Getsecuritycentersettings,
7806
7850
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7835,8 +7879,8 @@ export namespace securitycenter_v1beta2 {
7835
7879
  | BodyResponseCallback<Readable>
7836
7880
  ):
7837
7881
  | void
7838
- | GaxiosPromise<Schema$SecurityCenterSettings>
7839
- | GaxiosPromise<Readable> {
7882
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityCenterSettings>>
7883
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7840
7884
  let params = (paramsOrCallback ||
7841
7885
  {}) as Params$Resource$Organizations$Getsecuritycentersettings;
7842
7886
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7889,11 +7933,11 @@ export namespace securitycenter_v1beta2 {
7889
7933
  getSecurityHealthAnalyticsSettings(
7890
7934
  params: Params$Resource$Organizations$Getsecurityhealthanalyticssettings,
7891
7935
  options: StreamMethodOptions
7892
- ): GaxiosPromise<Readable>;
7936
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7893
7937
  getSecurityHealthAnalyticsSettings(
7894
7938
  params?: Params$Resource$Organizations$Getsecurityhealthanalyticssettings,
7895
7939
  options?: MethodOptions
7896
- ): GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>;
7940
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>;
7897
7941
  getSecurityHealthAnalyticsSettings(
7898
7942
  params: Params$Resource$Organizations$Getsecurityhealthanalyticssettings,
7899
7943
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7928,8 +7972,8 @@ export namespace securitycenter_v1beta2 {
7928
7972
  | BodyResponseCallback<Readable>
7929
7973
  ):
7930
7974
  | void
7931
- | GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>
7932
- | GaxiosPromise<Readable> {
7975
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>
7976
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7933
7977
  let params = (paramsOrCallback ||
7934
7978
  {}) as Params$Resource$Organizations$Getsecurityhealthanalyticssettings;
7935
7979
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7985,11 +8029,11 @@ export namespace securitycenter_v1beta2 {
7985
8029
  getSubscription(
7986
8030
  params: Params$Resource$Organizations$Getsubscription,
7987
8031
  options: StreamMethodOptions
7988
- ): GaxiosPromise<Readable>;
8032
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7989
8033
  getSubscription(
7990
8034
  params?: Params$Resource$Organizations$Getsubscription,
7991
8035
  options?: MethodOptions
7992
- ): GaxiosPromise<Schema$Subscription>;
8036
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Subscription>>;
7993
8037
  getSubscription(
7994
8038
  params: Params$Resource$Organizations$Getsubscription,
7995
8039
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8018,7 +8062,10 @@ export namespace securitycenter_v1beta2 {
8018
8062
  callback?:
8019
8063
  | BodyResponseCallback<Schema$Subscription>
8020
8064
  | BodyResponseCallback<Readable>
8021
- ): void | GaxiosPromise<Schema$Subscription> | GaxiosPromise<Readable> {
8065
+ ):
8066
+ | void
8067
+ | Promise<GaxiosResponseWithHTTP2<Schema$Subscription>>
8068
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8022
8069
  let params = (paramsOrCallback ||
8023
8070
  {}) as Params$Resource$Organizations$Getsubscription;
8024
8071
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8071,11 +8118,13 @@ export namespace securitycenter_v1beta2 {
8071
8118
  getVirtualMachineThreatDetectionSettings(
8072
8119
  params: Params$Resource$Organizations$Getvirtualmachinethreatdetectionsettings,
8073
8120
  options: StreamMethodOptions
8074
- ): GaxiosPromise<Readable>;
8121
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8075
8122
  getVirtualMachineThreatDetectionSettings(
8076
8123
  params?: Params$Resource$Organizations$Getvirtualmachinethreatdetectionsettings,
8077
8124
  options?: MethodOptions
8078
- ): GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>;
8125
+ ): Promise<
8126
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
8127
+ >;
8079
8128
  getVirtualMachineThreatDetectionSettings(
8080
8129
  params: Params$Resource$Organizations$Getvirtualmachinethreatdetectionsettings,
8081
8130
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8110,8 +8159,10 @@ export namespace securitycenter_v1beta2 {
8110
8159
  | BodyResponseCallback<Readable>
8111
8160
  ):
8112
8161
  | void
8113
- | GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>
8114
- | GaxiosPromise<Readable> {
8162
+ | Promise<
8163
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
8164
+ >
8165
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8115
8166
  let params = (paramsOrCallback ||
8116
8167
  {}) as Params$Resource$Organizations$Getvirtualmachinethreatdetectionsettings;
8117
8168
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8167,11 +8218,11 @@ export namespace securitycenter_v1beta2 {
8167
8218
  getWebSecurityScannerSettings(
8168
8219
  params: Params$Resource$Organizations$Getwebsecurityscannersettings,
8169
8220
  options: StreamMethodOptions
8170
- ): GaxiosPromise<Readable>;
8221
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8171
8222
  getWebSecurityScannerSettings(
8172
8223
  params?: Params$Resource$Organizations$Getwebsecurityscannersettings,
8173
8224
  options?: MethodOptions
8174
- ): GaxiosPromise<Schema$WebSecurityScannerSettings>;
8225
+ ): Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>;
8175
8226
  getWebSecurityScannerSettings(
8176
8227
  params: Params$Resource$Organizations$Getwebsecurityscannersettings,
8177
8228
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8206,8 +8257,8 @@ export namespace securitycenter_v1beta2 {
8206
8257
  | BodyResponseCallback<Readable>
8207
8258
  ):
8208
8259
  | void
8209
- | GaxiosPromise<Schema$WebSecurityScannerSettings>
8210
- | GaxiosPromise<Readable> {
8260
+ | Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>
8261
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8211
8262
  let params = (paramsOrCallback ||
8212
8263
  {}) as Params$Resource$Organizations$Getwebsecurityscannersettings;
8213
8264
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8261,11 +8312,13 @@ export namespace securitycenter_v1beta2 {
8261
8312
  updateContainerThreatDetectionSettings(
8262
8313
  params: Params$Resource$Organizations$Updatecontainerthreatdetectionsettings,
8263
8314
  options: StreamMethodOptions
8264
- ): GaxiosPromise<Readable>;
8315
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8265
8316
  updateContainerThreatDetectionSettings(
8266
8317
  params?: Params$Resource$Organizations$Updatecontainerthreatdetectionsettings,
8267
8318
  options?: MethodOptions
8268
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
8319
+ ): Promise<
8320
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
8321
+ >;
8269
8322
  updateContainerThreatDetectionSettings(
8270
8323
  params: Params$Resource$Organizations$Updatecontainerthreatdetectionsettings,
8271
8324
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8300,8 +8353,10 @@ export namespace securitycenter_v1beta2 {
8300
8353
  | BodyResponseCallback<Readable>
8301
8354
  ):
8302
8355
  | void
8303
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
8304
- | GaxiosPromise<Readable> {
8356
+ | Promise<
8357
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
8358
+ >
8359
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8305
8360
  let params = (paramsOrCallback ||
8306
8361
  {}) as Params$Resource$Organizations$Updatecontainerthreatdetectionsettings;
8307
8362
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8357,11 +8412,11 @@ export namespace securitycenter_v1beta2 {
8357
8412
  updateEventThreatDetectionSettings(
8358
8413
  params: Params$Resource$Organizations$Updateeventthreatdetectionsettings,
8359
8414
  options: StreamMethodOptions
8360
- ): GaxiosPromise<Readable>;
8415
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8361
8416
  updateEventThreatDetectionSettings(
8362
8417
  params?: Params$Resource$Organizations$Updateeventthreatdetectionsettings,
8363
8418
  options?: MethodOptions
8364
- ): GaxiosPromise<Schema$EventThreatDetectionSettings>;
8419
+ ): Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>;
8365
8420
  updateEventThreatDetectionSettings(
8366
8421
  params: Params$Resource$Organizations$Updateeventthreatdetectionsettings,
8367
8422
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8396,8 +8451,8 @@ export namespace securitycenter_v1beta2 {
8396
8451
  | BodyResponseCallback<Readable>
8397
8452
  ):
8398
8453
  | void
8399
- | GaxiosPromise<Schema$EventThreatDetectionSettings>
8400
- | GaxiosPromise<Readable> {
8454
+ | Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>
8455
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8401
8456
  let params = (paramsOrCallback ||
8402
8457
  {}) as Params$Resource$Organizations$Updateeventthreatdetectionsettings;
8403
8458
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8453,11 +8508,13 @@ export namespace securitycenter_v1beta2 {
8453
8508
  updateRapidVulnerabilityDetectionSettings(
8454
8509
  params: Params$Resource$Organizations$Updaterapidvulnerabilitydetectionsettings,
8455
8510
  options: StreamMethodOptions
8456
- ): GaxiosPromise<Readable>;
8511
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8457
8512
  updateRapidVulnerabilityDetectionSettings(
8458
8513
  params?: Params$Resource$Organizations$Updaterapidvulnerabilitydetectionsettings,
8459
8514
  options?: MethodOptions
8460
- ): GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>;
8515
+ ): Promise<
8516
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
8517
+ >;
8461
8518
  updateRapidVulnerabilityDetectionSettings(
8462
8519
  params: Params$Resource$Organizations$Updaterapidvulnerabilitydetectionsettings,
8463
8520
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8492,8 +8549,10 @@ export namespace securitycenter_v1beta2 {
8492
8549
  | BodyResponseCallback<Readable>
8493
8550
  ):
8494
8551
  | void
8495
- | GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>
8496
- | GaxiosPromise<Readable> {
8552
+ | Promise<
8553
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
8554
+ >
8555
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8497
8556
  let params = (paramsOrCallback ||
8498
8557
  {}) as Params$Resource$Organizations$Updaterapidvulnerabilitydetectionsettings;
8499
8558
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8549,11 +8608,11 @@ export namespace securitycenter_v1beta2 {
8549
8608
  updateSecurityHealthAnalyticsSettings(
8550
8609
  params: Params$Resource$Organizations$Updatesecurityhealthanalyticssettings,
8551
8610
  options: StreamMethodOptions
8552
- ): GaxiosPromise<Readable>;
8611
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8553
8612
  updateSecurityHealthAnalyticsSettings(
8554
8613
  params?: Params$Resource$Organizations$Updatesecurityhealthanalyticssettings,
8555
8614
  options?: MethodOptions
8556
- ): GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>;
8615
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>;
8557
8616
  updateSecurityHealthAnalyticsSettings(
8558
8617
  params: Params$Resource$Organizations$Updatesecurityhealthanalyticssettings,
8559
8618
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8588,8 +8647,8 @@ export namespace securitycenter_v1beta2 {
8588
8647
  | BodyResponseCallback<Readable>
8589
8648
  ):
8590
8649
  | void
8591
- | GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>
8592
- | GaxiosPromise<Readable> {
8650
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>
8651
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8593
8652
  let params = (paramsOrCallback ||
8594
8653
  {}) as Params$Resource$Organizations$Updatesecurityhealthanalyticssettings;
8595
8654
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8645,11 +8704,13 @@ export namespace securitycenter_v1beta2 {
8645
8704
  updateVirtualMachineThreatDetectionSettings(
8646
8705
  params: Params$Resource$Organizations$Updatevirtualmachinethreatdetectionsettings,
8647
8706
  options: StreamMethodOptions
8648
- ): GaxiosPromise<Readable>;
8707
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8649
8708
  updateVirtualMachineThreatDetectionSettings(
8650
8709
  params?: Params$Resource$Organizations$Updatevirtualmachinethreatdetectionsettings,
8651
8710
  options?: MethodOptions
8652
- ): GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>;
8711
+ ): Promise<
8712
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
8713
+ >;
8653
8714
  updateVirtualMachineThreatDetectionSettings(
8654
8715
  params: Params$Resource$Organizations$Updatevirtualmachinethreatdetectionsettings,
8655
8716
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8684,8 +8745,10 @@ export namespace securitycenter_v1beta2 {
8684
8745
  | BodyResponseCallback<Readable>
8685
8746
  ):
8686
8747
  | void
8687
- | GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>
8688
- | GaxiosPromise<Readable> {
8748
+ | Promise<
8749
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
8750
+ >
8751
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8689
8752
  let params = (paramsOrCallback ||
8690
8753
  {}) as Params$Resource$Organizations$Updatevirtualmachinethreatdetectionsettings;
8691
8754
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8741,11 +8804,11 @@ export namespace securitycenter_v1beta2 {
8741
8804
  updateWebSecurityScannerSettings(
8742
8805
  params: Params$Resource$Organizations$Updatewebsecurityscannersettings,
8743
8806
  options: StreamMethodOptions
8744
- ): GaxiosPromise<Readable>;
8807
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8745
8808
  updateWebSecurityScannerSettings(
8746
8809
  params?: Params$Resource$Organizations$Updatewebsecurityscannersettings,
8747
8810
  options?: MethodOptions
8748
- ): GaxiosPromise<Schema$WebSecurityScannerSettings>;
8811
+ ): Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>;
8749
8812
  updateWebSecurityScannerSettings(
8750
8813
  params: Params$Resource$Organizations$Updatewebsecurityscannersettings,
8751
8814
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8780,8 +8843,8 @@ export namespace securitycenter_v1beta2 {
8780
8843
  | BodyResponseCallback<Readable>
8781
8844
  ):
8782
8845
  | void
8783
- | GaxiosPromise<Schema$WebSecurityScannerSettings>
8784
- | GaxiosPromise<Readable> {
8846
+ | Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>
8847
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8785
8848
  let params = (paramsOrCallback ||
8786
8849
  {}) as Params$Resource$Organizations$Updatewebsecurityscannersettings;
8787
8850
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8995,11 +9058,13 @@ export namespace securitycenter_v1beta2 {
8995
9058
  calculate(
8996
9059
  params: Params$Resource$Organizations$Containerthreatdetectionsettings$Calculate,
8997
9060
  options: StreamMethodOptions
8998
- ): GaxiosPromise<Readable>;
9061
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8999
9062
  calculate(
9000
9063
  params?: Params$Resource$Organizations$Containerthreatdetectionsettings$Calculate,
9001
9064
  options?: MethodOptions
9002
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
9065
+ ): Promise<
9066
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
9067
+ >;
9003
9068
  calculate(
9004
9069
  params: Params$Resource$Organizations$Containerthreatdetectionsettings$Calculate,
9005
9070
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9034,8 +9099,10 @@ export namespace securitycenter_v1beta2 {
9034
9099
  | BodyResponseCallback<Readable>
9035
9100
  ):
9036
9101
  | void
9037
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
9038
- | GaxiosPromise<Readable> {
9102
+ | Promise<
9103
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
9104
+ >
9105
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9039
9106
  let params = (paramsOrCallback ||
9040
9107
  {}) as Params$Resource$Organizations$Containerthreatdetectionsettings$Calculate;
9041
9108
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9113,11 +9180,11 @@ export namespace securitycenter_v1beta2 {
9113
9180
  calculate(
9114
9181
  params: Params$Resource$Organizations$Eventthreatdetectionsettings$Calculate,
9115
9182
  options: StreamMethodOptions
9116
- ): GaxiosPromise<Readable>;
9183
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9117
9184
  calculate(
9118
9185
  params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Calculate,
9119
9186
  options?: MethodOptions
9120
- ): GaxiosPromise<Schema$EventThreatDetectionSettings>;
9187
+ ): Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>;
9121
9188
  calculate(
9122
9189
  params: Params$Resource$Organizations$Eventthreatdetectionsettings$Calculate,
9123
9190
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9152,8 +9219,8 @@ export namespace securitycenter_v1beta2 {
9152
9219
  | BodyResponseCallback<Readable>
9153
9220
  ):
9154
9221
  | void
9155
- | GaxiosPromise<Schema$EventThreatDetectionSettings>
9156
- | GaxiosPromise<Readable> {
9222
+ | Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>
9223
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9157
9224
  let params = (paramsOrCallback ||
9158
9225
  {}) as Params$Resource$Organizations$Eventthreatdetectionsettings$Calculate;
9159
9226
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9231,11 +9298,13 @@ export namespace securitycenter_v1beta2 {
9231
9298
  calculate(
9232
9299
  params: Params$Resource$Organizations$Rapidvulnerabilitydetectionsettings$Calculate,
9233
9300
  options: StreamMethodOptions
9234
- ): GaxiosPromise<Readable>;
9301
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9235
9302
  calculate(
9236
9303
  params?: Params$Resource$Organizations$Rapidvulnerabilitydetectionsettings$Calculate,
9237
9304
  options?: MethodOptions
9238
- ): GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>;
9305
+ ): Promise<
9306
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
9307
+ >;
9239
9308
  calculate(
9240
9309
  params: Params$Resource$Organizations$Rapidvulnerabilitydetectionsettings$Calculate,
9241
9310
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9270,8 +9339,10 @@ export namespace securitycenter_v1beta2 {
9270
9339
  | BodyResponseCallback<Readable>
9271
9340
  ):
9272
9341
  | void
9273
- | GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>
9274
- | GaxiosPromise<Readable> {
9342
+ | Promise<
9343
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
9344
+ >
9345
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9275
9346
  let params = (paramsOrCallback ||
9276
9347
  {}) as Params$Resource$Organizations$Rapidvulnerabilitydetectionsettings$Calculate;
9277
9348
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9345,11 +9416,11 @@ export namespace securitycenter_v1beta2 {
9345
9416
  calculate(
9346
9417
  params: Params$Resource$Organizations$Securityhealthanalyticssettings$Calculate,
9347
9418
  options: StreamMethodOptions
9348
- ): GaxiosPromise<Readable>;
9419
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9349
9420
  calculate(
9350
9421
  params?: Params$Resource$Organizations$Securityhealthanalyticssettings$Calculate,
9351
9422
  options?: MethodOptions
9352
- ): GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>;
9423
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>;
9353
9424
  calculate(
9354
9425
  params: Params$Resource$Organizations$Securityhealthanalyticssettings$Calculate,
9355
9426
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9384,8 +9455,8 @@ export namespace securitycenter_v1beta2 {
9384
9455
  | BodyResponseCallback<Readable>
9385
9456
  ):
9386
9457
  | void
9387
- | GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>
9388
- | GaxiosPromise<Readable> {
9458
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>
9459
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9389
9460
  let params = (paramsOrCallback ||
9390
9461
  {}) as Params$Resource$Organizations$Securityhealthanalyticssettings$Calculate;
9391
9462
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9463,11 +9534,13 @@ export namespace securitycenter_v1beta2 {
9463
9534
  calculate(
9464
9535
  params: Params$Resource$Organizations$Virtualmachinethreatdetectionsettings$Calculate,
9465
9536
  options: StreamMethodOptions
9466
- ): GaxiosPromise<Readable>;
9537
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9467
9538
  calculate(
9468
9539
  params?: Params$Resource$Organizations$Virtualmachinethreatdetectionsettings$Calculate,
9469
9540
  options?: MethodOptions
9470
- ): GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>;
9541
+ ): Promise<
9542
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
9543
+ >;
9471
9544
  calculate(
9472
9545
  params: Params$Resource$Organizations$Virtualmachinethreatdetectionsettings$Calculate,
9473
9546
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9502,8 +9575,10 @@ export namespace securitycenter_v1beta2 {
9502
9575
  | BodyResponseCallback<Readable>
9503
9576
  ):
9504
9577
  | void
9505
- | GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>
9506
- | GaxiosPromise<Readable> {
9578
+ | Promise<
9579
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
9580
+ >
9581
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9507
9582
  let params = (paramsOrCallback ||
9508
9583
  {}) as Params$Resource$Organizations$Virtualmachinethreatdetectionsettings$Calculate;
9509
9584
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9581,11 +9656,11 @@ export namespace securitycenter_v1beta2 {
9581
9656
  calculate(
9582
9657
  params: Params$Resource$Organizations$Websecurityscannersettings$Calculate,
9583
9658
  options: StreamMethodOptions
9584
- ): GaxiosPromise<Readable>;
9659
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9585
9660
  calculate(
9586
9661
  params?: Params$Resource$Organizations$Websecurityscannersettings$Calculate,
9587
9662
  options?: MethodOptions
9588
- ): GaxiosPromise<Schema$WebSecurityScannerSettings>;
9663
+ ): Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>;
9589
9664
  calculate(
9590
9665
  params: Params$Resource$Organizations$Websecurityscannersettings$Calculate,
9591
9666
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9620,8 +9695,8 @@ export namespace securitycenter_v1beta2 {
9620
9695
  | BodyResponseCallback<Readable>
9621
9696
  ):
9622
9697
  | void
9623
- | GaxiosPromise<Schema$WebSecurityScannerSettings>
9624
- | GaxiosPromise<Readable> {
9698
+ | Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>
9699
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9625
9700
  let params = (paramsOrCallback ||
9626
9701
  {}) as Params$Resource$Organizations$Websecurityscannersettings$Calculate;
9627
9702
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9719,11 +9794,13 @@ export namespace securitycenter_v1beta2 {
9719
9794
  getContainerThreatDetectionSettings(
9720
9795
  params: Params$Resource$Projects$Getcontainerthreatdetectionsettings,
9721
9796
  options: StreamMethodOptions
9722
- ): GaxiosPromise<Readable>;
9797
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9723
9798
  getContainerThreatDetectionSettings(
9724
9799
  params?: Params$Resource$Projects$Getcontainerthreatdetectionsettings,
9725
9800
  options?: MethodOptions
9726
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
9801
+ ): Promise<
9802
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
9803
+ >;
9727
9804
  getContainerThreatDetectionSettings(
9728
9805
  params: Params$Resource$Projects$Getcontainerthreatdetectionsettings,
9729
9806
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9758,8 +9835,10 @@ export namespace securitycenter_v1beta2 {
9758
9835
  | BodyResponseCallback<Readable>
9759
9836
  ):
9760
9837
  | void
9761
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
9762
- | GaxiosPromise<Readable> {
9838
+ | Promise<
9839
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
9840
+ >
9841
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9763
9842
  let params = (paramsOrCallback ||
9764
9843
  {}) as Params$Resource$Projects$Getcontainerthreatdetectionsettings;
9765
9844
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9815,11 +9894,11 @@ export namespace securitycenter_v1beta2 {
9815
9894
  getEventThreatDetectionSettings(
9816
9895
  params: Params$Resource$Projects$Geteventthreatdetectionsettings,
9817
9896
  options: StreamMethodOptions
9818
- ): GaxiosPromise<Readable>;
9897
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9819
9898
  getEventThreatDetectionSettings(
9820
9899
  params?: Params$Resource$Projects$Geteventthreatdetectionsettings,
9821
9900
  options?: MethodOptions
9822
- ): GaxiosPromise<Schema$EventThreatDetectionSettings>;
9901
+ ): Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>;
9823
9902
  getEventThreatDetectionSettings(
9824
9903
  params: Params$Resource$Projects$Geteventthreatdetectionsettings,
9825
9904
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9854,8 +9933,8 @@ export namespace securitycenter_v1beta2 {
9854
9933
  | BodyResponseCallback<Readable>
9855
9934
  ):
9856
9935
  | void
9857
- | GaxiosPromise<Schema$EventThreatDetectionSettings>
9858
- | GaxiosPromise<Readable> {
9936
+ | Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>
9937
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9859
9938
  let params = (paramsOrCallback ||
9860
9939
  {}) as Params$Resource$Projects$Geteventthreatdetectionsettings;
9861
9940
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9910,11 +9989,13 @@ export namespace securitycenter_v1beta2 {
9910
9989
  getRapidVulnerabilityDetectionSettings(
9911
9990
  params: Params$Resource$Projects$Getrapidvulnerabilitydetectionsettings,
9912
9991
  options: StreamMethodOptions
9913
- ): GaxiosPromise<Readable>;
9992
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9914
9993
  getRapidVulnerabilityDetectionSettings(
9915
9994
  params?: Params$Resource$Projects$Getrapidvulnerabilitydetectionsettings,
9916
9995
  options?: MethodOptions
9917
- ): GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>;
9996
+ ): Promise<
9997
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
9998
+ >;
9918
9999
  getRapidVulnerabilityDetectionSettings(
9919
10000
  params: Params$Resource$Projects$Getrapidvulnerabilitydetectionsettings,
9920
10001
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9949,8 +10030,10 @@ export namespace securitycenter_v1beta2 {
9949
10030
  | BodyResponseCallback<Readable>
9950
10031
  ):
9951
10032
  | void
9952
- | GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>
9953
- | GaxiosPromise<Readable> {
10033
+ | Promise<
10034
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
10035
+ >
10036
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9954
10037
  let params = (paramsOrCallback ||
9955
10038
  {}) as Params$Resource$Projects$Getrapidvulnerabilitydetectionsettings;
9956
10039
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10006,11 +10089,11 @@ export namespace securitycenter_v1beta2 {
10006
10089
  getSecurityCenterSettings(
10007
10090
  params: Params$Resource$Projects$Getsecuritycentersettings,
10008
10091
  options: StreamMethodOptions
10009
- ): GaxiosPromise<Readable>;
10092
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10010
10093
  getSecurityCenterSettings(
10011
10094
  params?: Params$Resource$Projects$Getsecuritycentersettings,
10012
10095
  options?: MethodOptions
10013
- ): GaxiosPromise<Schema$SecurityCenterSettings>;
10096
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityCenterSettings>>;
10014
10097
  getSecurityCenterSettings(
10015
10098
  params: Params$Resource$Projects$Getsecuritycentersettings,
10016
10099
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10045,8 +10128,8 @@ export namespace securitycenter_v1beta2 {
10045
10128
  | BodyResponseCallback<Readable>
10046
10129
  ):
10047
10130
  | void
10048
- | GaxiosPromise<Schema$SecurityCenterSettings>
10049
- | GaxiosPromise<Readable> {
10131
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityCenterSettings>>
10132
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10050
10133
  let params = (paramsOrCallback ||
10051
10134
  {}) as Params$Resource$Projects$Getsecuritycentersettings;
10052
10135
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10099,11 +10182,11 @@ export namespace securitycenter_v1beta2 {
10099
10182
  getSecurityHealthAnalyticsSettings(
10100
10183
  params: Params$Resource$Projects$Getsecurityhealthanalyticssettings,
10101
10184
  options: StreamMethodOptions
10102
- ): GaxiosPromise<Readable>;
10185
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10103
10186
  getSecurityHealthAnalyticsSettings(
10104
10187
  params?: Params$Resource$Projects$Getsecurityhealthanalyticssettings,
10105
10188
  options?: MethodOptions
10106
- ): GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>;
10189
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>;
10107
10190
  getSecurityHealthAnalyticsSettings(
10108
10191
  params: Params$Resource$Projects$Getsecurityhealthanalyticssettings,
10109
10192
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10138,8 +10221,8 @@ export namespace securitycenter_v1beta2 {
10138
10221
  | BodyResponseCallback<Readable>
10139
10222
  ):
10140
10223
  | void
10141
- | GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>
10142
- | GaxiosPromise<Readable> {
10224
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>
10225
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10143
10226
  let params = (paramsOrCallback ||
10144
10227
  {}) as Params$Resource$Projects$Getsecurityhealthanalyticssettings;
10145
10228
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10195,11 +10278,13 @@ export namespace securitycenter_v1beta2 {
10195
10278
  getVirtualMachineThreatDetectionSettings(
10196
10279
  params: Params$Resource$Projects$Getvirtualmachinethreatdetectionsettings,
10197
10280
  options: StreamMethodOptions
10198
- ): GaxiosPromise<Readable>;
10281
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10199
10282
  getVirtualMachineThreatDetectionSettings(
10200
10283
  params?: Params$Resource$Projects$Getvirtualmachinethreatdetectionsettings,
10201
10284
  options?: MethodOptions
10202
- ): GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>;
10285
+ ): Promise<
10286
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
10287
+ >;
10203
10288
  getVirtualMachineThreatDetectionSettings(
10204
10289
  params: Params$Resource$Projects$Getvirtualmachinethreatdetectionsettings,
10205
10290
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10234,8 +10319,10 @@ export namespace securitycenter_v1beta2 {
10234
10319
  | BodyResponseCallback<Readable>
10235
10320
  ):
10236
10321
  | void
10237
- | GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>
10238
- | GaxiosPromise<Readable> {
10322
+ | Promise<
10323
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
10324
+ >
10325
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10239
10326
  let params = (paramsOrCallback ||
10240
10327
  {}) as Params$Resource$Projects$Getvirtualmachinethreatdetectionsettings;
10241
10328
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10291,11 +10378,11 @@ export namespace securitycenter_v1beta2 {
10291
10378
  getWebSecurityScannerSettings(
10292
10379
  params: Params$Resource$Projects$Getwebsecurityscannersettings,
10293
10380
  options: StreamMethodOptions
10294
- ): GaxiosPromise<Readable>;
10381
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10295
10382
  getWebSecurityScannerSettings(
10296
10383
  params?: Params$Resource$Projects$Getwebsecurityscannersettings,
10297
10384
  options?: MethodOptions
10298
- ): GaxiosPromise<Schema$WebSecurityScannerSettings>;
10385
+ ): Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>;
10299
10386
  getWebSecurityScannerSettings(
10300
10387
  params: Params$Resource$Projects$Getwebsecurityscannersettings,
10301
10388
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10330,8 +10417,8 @@ export namespace securitycenter_v1beta2 {
10330
10417
  | BodyResponseCallback<Readable>
10331
10418
  ):
10332
10419
  | void
10333
- | GaxiosPromise<Schema$WebSecurityScannerSettings>
10334
- | GaxiosPromise<Readable> {
10420
+ | Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>
10421
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10335
10422
  let params = (paramsOrCallback ||
10336
10423
  {}) as Params$Resource$Projects$Getwebsecurityscannersettings;
10337
10424
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10384,11 +10471,13 @@ export namespace securitycenter_v1beta2 {
10384
10471
  updateContainerThreatDetectionSettings(
10385
10472
  params: Params$Resource$Projects$Updatecontainerthreatdetectionsettings,
10386
10473
  options: StreamMethodOptions
10387
- ): GaxiosPromise<Readable>;
10474
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10388
10475
  updateContainerThreatDetectionSettings(
10389
10476
  params?: Params$Resource$Projects$Updatecontainerthreatdetectionsettings,
10390
10477
  options?: MethodOptions
10391
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
10478
+ ): Promise<
10479
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
10480
+ >;
10392
10481
  updateContainerThreatDetectionSettings(
10393
10482
  params: Params$Resource$Projects$Updatecontainerthreatdetectionsettings,
10394
10483
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10423,8 +10512,10 @@ export namespace securitycenter_v1beta2 {
10423
10512
  | BodyResponseCallback<Readable>
10424
10513
  ):
10425
10514
  | void
10426
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
10427
- | GaxiosPromise<Readable> {
10515
+ | Promise<
10516
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
10517
+ >
10518
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10428
10519
  let params = (paramsOrCallback ||
10429
10520
  {}) as Params$Resource$Projects$Updatecontainerthreatdetectionsettings;
10430
10521
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10480,11 +10571,11 @@ export namespace securitycenter_v1beta2 {
10480
10571
  updateEventThreatDetectionSettings(
10481
10572
  params: Params$Resource$Projects$Updateeventthreatdetectionsettings,
10482
10573
  options: StreamMethodOptions
10483
- ): GaxiosPromise<Readable>;
10574
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10484
10575
  updateEventThreatDetectionSettings(
10485
10576
  params?: Params$Resource$Projects$Updateeventthreatdetectionsettings,
10486
10577
  options?: MethodOptions
10487
- ): GaxiosPromise<Schema$EventThreatDetectionSettings>;
10578
+ ): Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>;
10488
10579
  updateEventThreatDetectionSettings(
10489
10580
  params: Params$Resource$Projects$Updateeventthreatdetectionsettings,
10490
10581
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10519,8 +10610,8 @@ export namespace securitycenter_v1beta2 {
10519
10610
  | BodyResponseCallback<Readable>
10520
10611
  ):
10521
10612
  | void
10522
- | GaxiosPromise<Schema$EventThreatDetectionSettings>
10523
- | GaxiosPromise<Readable> {
10613
+ | Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>
10614
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10524
10615
  let params = (paramsOrCallback ||
10525
10616
  {}) as Params$Resource$Projects$Updateeventthreatdetectionsettings;
10526
10617
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10576,11 +10667,13 @@ export namespace securitycenter_v1beta2 {
10576
10667
  updateRapidVulnerabilityDetectionSettings(
10577
10668
  params: Params$Resource$Projects$Updaterapidvulnerabilitydetectionsettings,
10578
10669
  options: StreamMethodOptions
10579
- ): GaxiosPromise<Readable>;
10670
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10580
10671
  updateRapidVulnerabilityDetectionSettings(
10581
10672
  params?: Params$Resource$Projects$Updaterapidvulnerabilitydetectionsettings,
10582
10673
  options?: MethodOptions
10583
- ): GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>;
10674
+ ): Promise<
10675
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
10676
+ >;
10584
10677
  updateRapidVulnerabilityDetectionSettings(
10585
10678
  params: Params$Resource$Projects$Updaterapidvulnerabilitydetectionsettings,
10586
10679
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10615,8 +10708,10 @@ export namespace securitycenter_v1beta2 {
10615
10708
  | BodyResponseCallback<Readable>
10616
10709
  ):
10617
10710
  | void
10618
- | GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>
10619
- | GaxiosPromise<Readable> {
10711
+ | Promise<
10712
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
10713
+ >
10714
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10620
10715
  let params = (paramsOrCallback ||
10621
10716
  {}) as Params$Resource$Projects$Updaterapidvulnerabilitydetectionsettings;
10622
10717
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10672,11 +10767,11 @@ export namespace securitycenter_v1beta2 {
10672
10767
  updateSecurityHealthAnalyticsSettings(
10673
10768
  params: Params$Resource$Projects$Updatesecurityhealthanalyticssettings,
10674
10769
  options: StreamMethodOptions
10675
- ): GaxiosPromise<Readable>;
10770
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10676
10771
  updateSecurityHealthAnalyticsSettings(
10677
10772
  params?: Params$Resource$Projects$Updatesecurityhealthanalyticssettings,
10678
10773
  options?: MethodOptions
10679
- ): GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>;
10774
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>;
10680
10775
  updateSecurityHealthAnalyticsSettings(
10681
10776
  params: Params$Resource$Projects$Updatesecurityhealthanalyticssettings,
10682
10777
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10711,8 +10806,8 @@ export namespace securitycenter_v1beta2 {
10711
10806
  | BodyResponseCallback<Readable>
10712
10807
  ):
10713
10808
  | void
10714
- | GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>
10715
- | GaxiosPromise<Readable> {
10809
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>
10810
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10716
10811
  let params = (paramsOrCallback ||
10717
10812
  {}) as Params$Resource$Projects$Updatesecurityhealthanalyticssettings;
10718
10813
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10768,11 +10863,13 @@ export namespace securitycenter_v1beta2 {
10768
10863
  updateVirtualMachineThreatDetectionSettings(
10769
10864
  params: Params$Resource$Projects$Updatevirtualmachinethreatdetectionsettings,
10770
10865
  options: StreamMethodOptions
10771
- ): GaxiosPromise<Readable>;
10866
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10772
10867
  updateVirtualMachineThreatDetectionSettings(
10773
10868
  params?: Params$Resource$Projects$Updatevirtualmachinethreatdetectionsettings,
10774
10869
  options?: MethodOptions
10775
- ): GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>;
10870
+ ): Promise<
10871
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
10872
+ >;
10776
10873
  updateVirtualMachineThreatDetectionSettings(
10777
10874
  params: Params$Resource$Projects$Updatevirtualmachinethreatdetectionsettings,
10778
10875
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10807,8 +10904,10 @@ export namespace securitycenter_v1beta2 {
10807
10904
  | BodyResponseCallback<Readable>
10808
10905
  ):
10809
10906
  | void
10810
- | GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>
10811
- | GaxiosPromise<Readable> {
10907
+ | Promise<
10908
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
10909
+ >
10910
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10812
10911
  let params = (paramsOrCallback ||
10813
10912
  {}) as Params$Resource$Projects$Updatevirtualmachinethreatdetectionsettings;
10814
10913
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10864,11 +10963,11 @@ export namespace securitycenter_v1beta2 {
10864
10963
  updateWebSecurityScannerSettings(
10865
10964
  params: Params$Resource$Projects$Updatewebsecurityscannersettings,
10866
10965
  options: StreamMethodOptions
10867
- ): GaxiosPromise<Readable>;
10966
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10868
10967
  updateWebSecurityScannerSettings(
10869
10968
  params?: Params$Resource$Projects$Updatewebsecurityscannersettings,
10870
10969
  options?: MethodOptions
10871
- ): GaxiosPromise<Schema$WebSecurityScannerSettings>;
10970
+ ): Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>;
10872
10971
  updateWebSecurityScannerSettings(
10873
10972
  params: Params$Resource$Projects$Updatewebsecurityscannersettings,
10874
10973
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10903,8 +11002,8 @@ export namespace securitycenter_v1beta2 {
10903
11002
  | BodyResponseCallback<Readable>
10904
11003
  ):
10905
11004
  | void
10906
- | GaxiosPromise<Schema$WebSecurityScannerSettings>
10907
- | GaxiosPromise<Readable> {
11005
+ | Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>
11006
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10908
11007
  let params = (paramsOrCallback ||
10909
11008
  {}) as Params$Resource$Projects$Updatewebsecurityscannersettings;
10910
11009
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11111,11 +11210,13 @@ export namespace securitycenter_v1beta2 {
11111
11210
  calculate(
11112
11211
  params: Params$Resource$Projects$Containerthreatdetectionsettings$Calculate,
11113
11212
  options: StreamMethodOptions
11114
- ): GaxiosPromise<Readable>;
11213
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11115
11214
  calculate(
11116
11215
  params?: Params$Resource$Projects$Containerthreatdetectionsettings$Calculate,
11117
11216
  options?: MethodOptions
11118
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
11217
+ ): Promise<
11218
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
11219
+ >;
11119
11220
  calculate(
11120
11221
  params: Params$Resource$Projects$Containerthreatdetectionsettings$Calculate,
11121
11222
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11150,8 +11251,10 @@ export namespace securitycenter_v1beta2 {
11150
11251
  | BodyResponseCallback<Readable>
11151
11252
  ):
11152
11253
  | void
11153
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
11154
- | GaxiosPromise<Readable> {
11254
+ | Promise<
11255
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
11256
+ >
11257
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11155
11258
  let params = (paramsOrCallback ||
11156
11259
  {}) as Params$Resource$Projects$Containerthreatdetectionsettings$Calculate;
11157
11260
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11229,11 +11332,11 @@ export namespace securitycenter_v1beta2 {
11229
11332
  calculate(
11230
11333
  params: Params$Resource$Projects$Eventthreatdetectionsettings$Calculate,
11231
11334
  options: StreamMethodOptions
11232
- ): GaxiosPromise<Readable>;
11335
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11233
11336
  calculate(
11234
11337
  params?: Params$Resource$Projects$Eventthreatdetectionsettings$Calculate,
11235
11338
  options?: MethodOptions
11236
- ): GaxiosPromise<Schema$EventThreatDetectionSettings>;
11339
+ ): Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>;
11237
11340
  calculate(
11238
11341
  params: Params$Resource$Projects$Eventthreatdetectionsettings$Calculate,
11239
11342
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11268,8 +11371,8 @@ export namespace securitycenter_v1beta2 {
11268
11371
  | BodyResponseCallback<Readable>
11269
11372
  ):
11270
11373
  | void
11271
- | GaxiosPromise<Schema$EventThreatDetectionSettings>
11272
- | GaxiosPromise<Readable> {
11374
+ | Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>
11375
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11273
11376
  let params = (paramsOrCallback ||
11274
11377
  {}) as Params$Resource$Projects$Eventthreatdetectionsettings$Calculate;
11275
11378
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11361,11 +11464,13 @@ export namespace securitycenter_v1beta2 {
11361
11464
  getContainerThreatDetectionSettings(
11362
11465
  params: Params$Resource$Projects$Locations$Clusters$Getcontainerthreatdetectionsettings,
11363
11466
  options: StreamMethodOptions
11364
- ): GaxiosPromise<Readable>;
11467
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11365
11468
  getContainerThreatDetectionSettings(
11366
11469
  params?: Params$Resource$Projects$Locations$Clusters$Getcontainerthreatdetectionsettings,
11367
11470
  options?: MethodOptions
11368
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
11471
+ ): Promise<
11472
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
11473
+ >;
11369
11474
  getContainerThreatDetectionSettings(
11370
11475
  params: Params$Resource$Projects$Locations$Clusters$Getcontainerthreatdetectionsettings,
11371
11476
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11400,8 +11505,10 @@ export namespace securitycenter_v1beta2 {
11400
11505
  | BodyResponseCallback<Readable>
11401
11506
  ):
11402
11507
  | void
11403
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
11404
- | GaxiosPromise<Readable> {
11508
+ | Promise<
11509
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
11510
+ >
11511
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11405
11512
  let params = (paramsOrCallback ||
11406
11513
  {}) as Params$Resource$Projects$Locations$Clusters$Getcontainerthreatdetectionsettings;
11407
11514
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11457,11 +11564,13 @@ export namespace securitycenter_v1beta2 {
11457
11564
  updateContainerThreatDetectionSettings(
11458
11565
  params: Params$Resource$Projects$Locations$Clusters$Updatecontainerthreatdetectionsettings,
11459
11566
  options: StreamMethodOptions
11460
- ): GaxiosPromise<Readable>;
11567
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11461
11568
  updateContainerThreatDetectionSettings(
11462
11569
  params?: Params$Resource$Projects$Locations$Clusters$Updatecontainerthreatdetectionsettings,
11463
11570
  options?: MethodOptions
11464
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
11571
+ ): Promise<
11572
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
11573
+ >;
11465
11574
  updateContainerThreatDetectionSettings(
11466
11575
  params: Params$Resource$Projects$Locations$Clusters$Updatecontainerthreatdetectionsettings,
11467
11576
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11496,8 +11605,10 @@ export namespace securitycenter_v1beta2 {
11496
11605
  | BodyResponseCallback<Readable>
11497
11606
  ):
11498
11607
  | void
11499
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
11500
- | GaxiosPromise<Readable> {
11608
+ | Promise<
11609
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
11610
+ >
11611
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11501
11612
  let params = (paramsOrCallback ||
11502
11613
  {}) as Params$Resource$Projects$Locations$Clusters$Updatecontainerthreatdetectionsettings;
11503
11614
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11584,11 +11695,13 @@ export namespace securitycenter_v1beta2 {
11584
11695
  calculate(
11585
11696
  params: Params$Resource$Projects$Locations$Clusters$Containerthreatdetectionsettings$Calculate,
11586
11697
  options: StreamMethodOptions
11587
- ): GaxiosPromise<Readable>;
11698
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11588
11699
  calculate(
11589
11700
  params?: Params$Resource$Projects$Locations$Clusters$Containerthreatdetectionsettings$Calculate,
11590
11701
  options?: MethodOptions
11591
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
11702
+ ): Promise<
11703
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
11704
+ >;
11592
11705
  calculate(
11593
11706
  params: Params$Resource$Projects$Locations$Clusters$Containerthreatdetectionsettings$Calculate,
11594
11707
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11623,8 +11736,10 @@ export namespace securitycenter_v1beta2 {
11623
11736
  | BodyResponseCallback<Readable>
11624
11737
  ):
11625
11738
  | void
11626
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
11627
- | GaxiosPromise<Readable> {
11739
+ | Promise<
11740
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
11741
+ >
11742
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11628
11743
  let params = (paramsOrCallback ||
11629
11744
  {}) as Params$Resource$Projects$Locations$Clusters$Containerthreatdetectionsettings$Calculate;
11630
11745
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11702,11 +11817,13 @@ export namespace securitycenter_v1beta2 {
11702
11817
  calculate(
11703
11818
  params: Params$Resource$Projects$Rapidvulnerabilitydetectionsettings$Calculate,
11704
11819
  options: StreamMethodOptions
11705
- ): GaxiosPromise<Readable>;
11820
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11706
11821
  calculate(
11707
11822
  params?: Params$Resource$Projects$Rapidvulnerabilitydetectionsettings$Calculate,
11708
11823
  options?: MethodOptions
11709
- ): GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>;
11824
+ ): Promise<
11825
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
11826
+ >;
11710
11827
  calculate(
11711
11828
  params: Params$Resource$Projects$Rapidvulnerabilitydetectionsettings$Calculate,
11712
11829
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11741,8 +11858,10 @@ export namespace securitycenter_v1beta2 {
11741
11858
  | BodyResponseCallback<Readable>
11742
11859
  ):
11743
11860
  | void
11744
- | GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>
11745
- | GaxiosPromise<Readable> {
11861
+ | Promise<
11862
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
11863
+ >
11864
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11746
11865
  let params = (paramsOrCallback ||
11747
11866
  {}) as Params$Resource$Projects$Rapidvulnerabilitydetectionsettings$Calculate;
11748
11867
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11816,11 +11935,11 @@ export namespace securitycenter_v1beta2 {
11816
11935
  calculate(
11817
11936
  params: Params$Resource$Projects$Securityhealthanalyticssettings$Calculate,
11818
11937
  options: StreamMethodOptions
11819
- ): GaxiosPromise<Readable>;
11938
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11820
11939
  calculate(
11821
11940
  params?: Params$Resource$Projects$Securityhealthanalyticssettings$Calculate,
11822
11941
  options?: MethodOptions
11823
- ): GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>;
11942
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>;
11824
11943
  calculate(
11825
11944
  params: Params$Resource$Projects$Securityhealthanalyticssettings$Calculate,
11826
11945
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11855,8 +11974,8 @@ export namespace securitycenter_v1beta2 {
11855
11974
  | BodyResponseCallback<Readable>
11856
11975
  ):
11857
11976
  | void
11858
- | GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>
11859
- | GaxiosPromise<Readable> {
11977
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>
11978
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11860
11979
  let params = (paramsOrCallback ||
11861
11980
  {}) as Params$Resource$Projects$Securityhealthanalyticssettings$Calculate;
11862
11981
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11934,11 +12053,13 @@ export namespace securitycenter_v1beta2 {
11934
12053
  calculate(
11935
12054
  params: Params$Resource$Projects$Virtualmachinethreatdetectionsettings$Calculate,
11936
12055
  options: StreamMethodOptions
11937
- ): GaxiosPromise<Readable>;
12056
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11938
12057
  calculate(
11939
12058
  params?: Params$Resource$Projects$Virtualmachinethreatdetectionsettings$Calculate,
11940
12059
  options?: MethodOptions
11941
- ): GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>;
12060
+ ): Promise<
12061
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
12062
+ >;
11942
12063
  calculate(
11943
12064
  params: Params$Resource$Projects$Virtualmachinethreatdetectionsettings$Calculate,
11944
12065
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11973,8 +12094,10 @@ export namespace securitycenter_v1beta2 {
11973
12094
  | BodyResponseCallback<Readable>
11974
12095
  ):
11975
12096
  | void
11976
- | GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>
11977
- | GaxiosPromise<Readable> {
12097
+ | Promise<
12098
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
12099
+ >
12100
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11978
12101
  let params = (paramsOrCallback ||
11979
12102
  {}) as Params$Resource$Projects$Virtualmachinethreatdetectionsettings$Calculate;
11980
12103
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -12052,11 +12175,11 @@ export namespace securitycenter_v1beta2 {
12052
12175
  calculate(
12053
12176
  params: Params$Resource$Projects$Websecurityscannersettings$Calculate,
12054
12177
  options: StreamMethodOptions
12055
- ): GaxiosPromise<Readable>;
12178
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
12056
12179
  calculate(
12057
12180
  params?: Params$Resource$Projects$Websecurityscannersettings$Calculate,
12058
12181
  options?: MethodOptions
12059
- ): GaxiosPromise<Schema$WebSecurityScannerSettings>;
12182
+ ): Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>;
12060
12183
  calculate(
12061
12184
  params: Params$Resource$Projects$Websecurityscannersettings$Calculate,
12062
12185
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -12091,8 +12214,8 @@ export namespace securitycenter_v1beta2 {
12091
12214
  | BodyResponseCallback<Readable>
12092
12215
  ):
12093
12216
  | void
12094
- | GaxiosPromise<Schema$WebSecurityScannerSettings>
12095
- | GaxiosPromise<Readable> {
12217
+ | Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>
12218
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
12096
12219
  let params = (paramsOrCallback ||
12097
12220
  {}) as Params$Resource$Projects$Websecurityscannersettings$Calculate;
12098
12221
  let options = (optionsOrCallback || {}) as MethodOptions;