@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/v1.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,
@@ -894,7 +894,7 @@ export namespace securitycenter_v1 {
894
894
  */
895
895
  description?: string | null;
896
896
  /**
897
- * The end position of the error in the uploaded text version of the module. This field may be omitted if no specific position applies, or if one could not be computed..
897
+ * The end position of the error in the uploaded text version of the module. This field may be omitted if no specific position applies, or if one could not be computed.
898
898
  */
899
899
  end?: Schema$Position;
900
900
  /**
@@ -910,6 +910,9 @@ export namespace securitycenter_v1 {
910
910
  * A list of zero or more errors encountered while validating the uploaded configuration of an Event Threat Detection Custom Module.
911
911
  */
912
912
  export interface Schema$CustomModuleValidationErrors {
913
+ /**
914
+ * The list of errors.
915
+ */
913
916
  errors?: Schema$CustomModuleValidationError[];
914
917
  }
915
918
  /**
@@ -5606,7 +5609,13 @@ export namespace securitycenter_v1 {
5606
5609
  * A position in the uploaded text version of a module.
5607
5610
  */
5608
5611
  export interface Schema$Position {
5612
+ /**
5613
+ * The column number.
5614
+ */
5609
5615
  columnNumber?: number | null;
5616
+ /**
5617
+ * The line number.
5618
+ */
5610
5619
  lineNumber?: number | null;
5611
5620
  }
5612
5621
  /**
@@ -6395,11 +6404,11 @@ export namespace securitycenter_v1 {
6395
6404
  group(
6396
6405
  params: Params$Resource$Folders$Assets$Group,
6397
6406
  options: StreamMethodOptions
6398
- ): GaxiosPromise<Readable>;
6407
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6399
6408
  group(
6400
6409
  params?: Params$Resource$Folders$Assets$Group,
6401
6410
  options?: MethodOptions
6402
- ): GaxiosPromise<Schema$GroupAssetsResponse>;
6411
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GroupAssetsResponse>>;
6403
6412
  group(
6404
6413
  params: Params$Resource$Folders$Assets$Group,
6405
6414
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6430,8 +6439,8 @@ export namespace securitycenter_v1 {
6430
6439
  | BodyResponseCallback<Readable>
6431
6440
  ):
6432
6441
  | void
6433
- | GaxiosPromise<Schema$GroupAssetsResponse>
6434
- | GaxiosPromise<Readable> {
6442
+ | Promise<GaxiosResponseWithHTTP2<Schema$GroupAssetsResponse>>
6443
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6435
6444
  let params = (paramsOrCallback ||
6436
6445
  {}) as Params$Resource$Folders$Assets$Group;
6437
6446
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6487,11 +6496,11 @@ export namespace securitycenter_v1 {
6487
6496
  list(
6488
6497
  params: Params$Resource$Folders$Assets$List,
6489
6498
  options: StreamMethodOptions
6490
- ): GaxiosPromise<Readable>;
6499
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6491
6500
  list(
6492
6501
  params?: Params$Resource$Folders$Assets$List,
6493
6502
  options?: MethodOptions
6494
- ): GaxiosPromise<Schema$ListAssetsResponse>;
6503
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListAssetsResponse>>;
6495
6504
  list(
6496
6505
  params: Params$Resource$Folders$Assets$List,
6497
6506
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6522,8 +6531,8 @@ export namespace securitycenter_v1 {
6522
6531
  | BodyResponseCallback<Readable>
6523
6532
  ):
6524
6533
  | void
6525
- | GaxiosPromise<Schema$ListAssetsResponse>
6526
- | GaxiosPromise<Readable> {
6534
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListAssetsResponse>>
6535
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6527
6536
  let params = (paramsOrCallback ||
6528
6537
  {}) as Params$Resource$Folders$Assets$List;
6529
6538
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6579,11 +6588,11 @@ export namespace securitycenter_v1 {
6579
6588
  updateSecurityMarks(
6580
6589
  params: Params$Resource$Folders$Assets$Updatesecuritymarks,
6581
6590
  options: StreamMethodOptions
6582
- ): GaxiosPromise<Readable>;
6591
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6583
6592
  updateSecurityMarks(
6584
6593
  params?: Params$Resource$Folders$Assets$Updatesecuritymarks,
6585
6594
  options?: MethodOptions
6586
- ): GaxiosPromise<Schema$SecurityMarks>;
6595
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityMarks>>;
6587
6596
  updateSecurityMarks(
6588
6597
  params: Params$Resource$Folders$Assets$Updatesecuritymarks,
6589
6598
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6614,7 +6623,10 @@ export namespace securitycenter_v1 {
6614
6623
  callback?:
6615
6624
  | BodyResponseCallback<Schema$SecurityMarks>
6616
6625
  | BodyResponseCallback<Readable>
6617
- ): void | GaxiosPromise<Schema$SecurityMarks> | GaxiosPromise<Readable> {
6626
+ ):
6627
+ | void
6628
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityMarks>>
6629
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6618
6630
  let params = (paramsOrCallback ||
6619
6631
  {}) as Params$Resource$Folders$Assets$Updatesecuritymarks;
6620
6632
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6742,11 +6754,13 @@ export namespace securitycenter_v1 {
6742
6754
  create(
6743
6755
  params: Params$Resource$Folders$Bigqueryexports$Create,
6744
6756
  options: StreamMethodOptions
6745
- ): GaxiosPromise<Readable>;
6757
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6746
6758
  create(
6747
6759
  params?: Params$Resource$Folders$Bigqueryexports$Create,
6748
6760
  options?: MethodOptions
6749
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1BigQueryExport>;
6761
+ ): Promise<
6762
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
6763
+ >;
6750
6764
  create(
6751
6765
  params: Params$Resource$Folders$Bigqueryexports$Create,
6752
6766
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6781,8 +6795,10 @@ export namespace securitycenter_v1 {
6781
6795
  | BodyResponseCallback<Readable>
6782
6796
  ):
6783
6797
  | void
6784
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
6785
- | GaxiosPromise<Readable> {
6798
+ | Promise<
6799
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
6800
+ >
6801
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6786
6802
  let params = (paramsOrCallback ||
6787
6803
  {}) as Params$Resource$Folders$Bigqueryexports$Create;
6788
6804
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6840,11 +6856,11 @@ export namespace securitycenter_v1 {
6840
6856
  delete(
6841
6857
  params: Params$Resource$Folders$Bigqueryexports$Delete,
6842
6858
  options: StreamMethodOptions
6843
- ): GaxiosPromise<Readable>;
6859
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6844
6860
  delete(
6845
6861
  params?: Params$Resource$Folders$Bigqueryexports$Delete,
6846
6862
  options?: MethodOptions
6847
- ): GaxiosPromise<Schema$Empty>;
6863
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
6848
6864
  delete(
6849
6865
  params: Params$Resource$Folders$Bigqueryexports$Delete,
6850
6866
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6873,7 +6889,10 @@ export namespace securitycenter_v1 {
6873
6889
  callback?:
6874
6890
  | BodyResponseCallback<Schema$Empty>
6875
6891
  | BodyResponseCallback<Readable>
6876
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
6892
+ ):
6893
+ | void
6894
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
6895
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6877
6896
  let params = (paramsOrCallback ||
6878
6897
  {}) as Params$Resource$Folders$Bigqueryexports$Delete;
6879
6898
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6926,11 +6945,13 @@ export namespace securitycenter_v1 {
6926
6945
  get(
6927
6946
  params: Params$Resource$Folders$Bigqueryexports$Get,
6928
6947
  options: StreamMethodOptions
6929
- ): GaxiosPromise<Readable>;
6948
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6930
6949
  get(
6931
6950
  params?: Params$Resource$Folders$Bigqueryexports$Get,
6932
6951
  options?: MethodOptions
6933
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1BigQueryExport>;
6952
+ ): Promise<
6953
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
6954
+ >;
6934
6955
  get(
6935
6956
  params: Params$Resource$Folders$Bigqueryexports$Get,
6936
6957
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6965,8 +6986,10 @@ export namespace securitycenter_v1 {
6965
6986
  | BodyResponseCallback<Readable>
6966
6987
  ):
6967
6988
  | void
6968
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
6969
- | GaxiosPromise<Readable> {
6989
+ | Promise<
6990
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
6991
+ >
6992
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6970
6993
  let params = (paramsOrCallback ||
6971
6994
  {}) as Params$Resource$Folders$Bigqueryexports$Get;
6972
6995
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7021,11 +7044,11 @@ export namespace securitycenter_v1 {
7021
7044
  list(
7022
7045
  params: Params$Resource$Folders$Bigqueryexports$List,
7023
7046
  options: StreamMethodOptions
7024
- ): GaxiosPromise<Readable>;
7047
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7025
7048
  list(
7026
7049
  params?: Params$Resource$Folders$Bigqueryexports$List,
7027
7050
  options?: MethodOptions
7028
- ): GaxiosPromise<Schema$ListBigQueryExportsResponse>;
7051
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListBigQueryExportsResponse>>;
7029
7052
  list(
7030
7053
  params: Params$Resource$Folders$Bigqueryexports$List,
7031
7054
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7060,8 +7083,8 @@ export namespace securitycenter_v1 {
7060
7083
  | BodyResponseCallback<Readable>
7061
7084
  ):
7062
7085
  | void
7063
- | GaxiosPromise<Schema$ListBigQueryExportsResponse>
7064
- | GaxiosPromise<Readable> {
7086
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListBigQueryExportsResponse>>
7087
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7065
7088
  let params = (paramsOrCallback ||
7066
7089
  {}) as Params$Resource$Folders$Bigqueryexports$List;
7067
7090
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7117,11 +7140,13 @@ export namespace securitycenter_v1 {
7117
7140
  patch(
7118
7141
  params: Params$Resource$Folders$Bigqueryexports$Patch,
7119
7142
  options: StreamMethodOptions
7120
- ): GaxiosPromise<Readable>;
7143
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7121
7144
  patch(
7122
7145
  params?: Params$Resource$Folders$Bigqueryexports$Patch,
7123
7146
  options?: MethodOptions
7124
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1BigQueryExport>;
7147
+ ): Promise<
7148
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
7149
+ >;
7125
7150
  patch(
7126
7151
  params: Params$Resource$Folders$Bigqueryexports$Patch,
7127
7152
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7156,8 +7181,10 @@ export namespace securitycenter_v1 {
7156
7181
  | BodyResponseCallback<Readable>
7157
7182
  ):
7158
7183
  | void
7159
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
7160
- | GaxiosPromise<Readable> {
7184
+ | Promise<
7185
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
7186
+ >
7187
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7161
7188
  let params = (paramsOrCallback ||
7162
7189
  {}) as Params$Resource$Folders$Bigqueryexports$Patch;
7163
7190
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7291,11 +7318,13 @@ export namespace securitycenter_v1 {
7291
7318
  validateCustomModule(
7292
7319
  params: Params$Resource$Folders$Eventthreatdetectionsettings$Validatecustommodule,
7293
7320
  options: StreamMethodOptions
7294
- ): GaxiosPromise<Readable>;
7321
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7295
7322
  validateCustomModule(
7296
7323
  params?: Params$Resource$Folders$Eventthreatdetectionsettings$Validatecustommodule,
7297
7324
  options?: MethodOptions
7298
- ): GaxiosPromise<Schema$ValidateEventThreatDetectionCustomModuleResponse>;
7325
+ ): Promise<
7326
+ GaxiosResponseWithHTTP2<Schema$ValidateEventThreatDetectionCustomModuleResponse>
7327
+ >;
7299
7328
  validateCustomModule(
7300
7329
  params: Params$Resource$Folders$Eventthreatdetectionsettings$Validatecustommodule,
7301
7330
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7330,8 +7359,10 @@ export namespace securitycenter_v1 {
7330
7359
  | BodyResponseCallback<Readable>
7331
7360
  ):
7332
7361
  | void
7333
- | GaxiosPromise<Schema$ValidateEventThreatDetectionCustomModuleResponse>
7334
- | GaxiosPromise<Readable> {
7362
+ | Promise<
7363
+ GaxiosResponseWithHTTP2<Schema$ValidateEventThreatDetectionCustomModuleResponse>
7364
+ >
7365
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7335
7366
  let params = (paramsOrCallback ||
7336
7367
  {}) as Params$Resource$Folders$Eventthreatdetectionsettings$Validatecustommodule;
7337
7368
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7410,11 +7441,13 @@ export namespace securitycenter_v1 {
7410
7441
  create(
7411
7442
  params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Create,
7412
7443
  options: StreamMethodOptions
7413
- ): GaxiosPromise<Readable>;
7444
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7414
7445
  create(
7415
7446
  params?: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Create,
7416
7447
  options?: MethodOptions
7417
- ): GaxiosPromise<Schema$EventThreatDetectionCustomModule>;
7448
+ ): Promise<
7449
+ GaxiosResponseWithHTTP2<Schema$EventThreatDetectionCustomModule>
7450
+ >;
7418
7451
  create(
7419
7452
  params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Create,
7420
7453
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7449,8 +7482,10 @@ export namespace securitycenter_v1 {
7449
7482
  | BodyResponseCallback<Readable>
7450
7483
  ):
7451
7484
  | void
7452
- | GaxiosPromise<Schema$EventThreatDetectionCustomModule>
7453
- | GaxiosPromise<Readable> {
7485
+ | Promise<
7486
+ GaxiosResponseWithHTTP2<Schema$EventThreatDetectionCustomModule>
7487
+ >
7488
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7454
7489
  let params = (paramsOrCallback ||
7455
7490
  {}) as Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Create;
7456
7491
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7509,11 +7544,11 @@ export namespace securitycenter_v1 {
7509
7544
  delete(
7510
7545
  params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Delete,
7511
7546
  options: StreamMethodOptions
7512
- ): GaxiosPromise<Readable>;
7547
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7513
7548
  delete(
7514
7549
  params?: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Delete,
7515
7550
  options?: MethodOptions
7516
- ): GaxiosPromise<Schema$Empty>;
7551
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
7517
7552
  delete(
7518
7553
  params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Delete,
7519
7554
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7542,7 +7577,10 @@ export namespace securitycenter_v1 {
7542
7577
  callback?:
7543
7578
  | BodyResponseCallback<Schema$Empty>
7544
7579
  | BodyResponseCallback<Readable>
7545
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
7580
+ ):
7581
+ | void
7582
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
7583
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7546
7584
  let params = (paramsOrCallback ||
7547
7585
  {}) as Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Delete;
7548
7586
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7596,11 +7634,13 @@ export namespace securitycenter_v1 {
7596
7634
  get(
7597
7635
  params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Get,
7598
7636
  options: StreamMethodOptions
7599
- ): GaxiosPromise<Readable>;
7637
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7600
7638
  get(
7601
7639
  params?: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Get,
7602
7640
  options?: MethodOptions
7603
- ): GaxiosPromise<Schema$EventThreatDetectionCustomModule>;
7641
+ ): Promise<
7642
+ GaxiosResponseWithHTTP2<Schema$EventThreatDetectionCustomModule>
7643
+ >;
7604
7644
  get(
7605
7645
  params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Get,
7606
7646
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7635,8 +7675,10 @@ export namespace securitycenter_v1 {
7635
7675
  | BodyResponseCallback<Readable>
7636
7676
  ):
7637
7677
  | void
7638
- | GaxiosPromise<Schema$EventThreatDetectionCustomModule>
7639
- | GaxiosPromise<Readable> {
7678
+ | Promise<
7679
+ GaxiosResponseWithHTTP2<Schema$EventThreatDetectionCustomModule>
7680
+ >
7681
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7640
7682
  let params = (paramsOrCallback ||
7641
7683
  {}) as Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Get;
7642
7684
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7692,11 +7734,13 @@ export namespace securitycenter_v1 {
7692
7734
  list(
7693
7735
  params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$List,
7694
7736
  options: StreamMethodOptions
7695
- ): GaxiosPromise<Readable>;
7737
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7696
7738
  list(
7697
7739
  params?: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$List,
7698
7740
  options?: MethodOptions
7699
- ): GaxiosPromise<Schema$ListEventThreatDetectionCustomModulesResponse>;
7741
+ ): Promise<
7742
+ GaxiosResponseWithHTTP2<Schema$ListEventThreatDetectionCustomModulesResponse>
7743
+ >;
7700
7744
  list(
7701
7745
  params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$List,
7702
7746
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7731,8 +7775,10 @@ export namespace securitycenter_v1 {
7731
7775
  | BodyResponseCallback<Readable>
7732
7776
  ):
7733
7777
  | void
7734
- | GaxiosPromise<Schema$ListEventThreatDetectionCustomModulesResponse>
7735
- | GaxiosPromise<Readable> {
7778
+ | Promise<
7779
+ GaxiosResponseWithHTTP2<Schema$ListEventThreatDetectionCustomModulesResponse>
7780
+ >
7781
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7736
7782
  let params = (paramsOrCallback ||
7737
7783
  {}) as Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$List;
7738
7784
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7791,11 +7837,13 @@ export namespace securitycenter_v1 {
7791
7837
  listDescendant(
7792
7838
  params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Listdescendant,
7793
7839
  options: StreamMethodOptions
7794
- ): GaxiosPromise<Readable>;
7840
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7795
7841
  listDescendant(
7796
7842
  params?: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Listdescendant,
7797
7843
  options?: MethodOptions
7798
- ): GaxiosPromise<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>;
7844
+ ): Promise<
7845
+ GaxiosResponseWithHTTP2<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>
7846
+ >;
7799
7847
  listDescendant(
7800
7848
  params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Listdescendant,
7801
7849
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7830,8 +7878,10 @@ export namespace securitycenter_v1 {
7830
7878
  | BodyResponseCallback<Readable>
7831
7879
  ):
7832
7880
  | void
7833
- | GaxiosPromise<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>
7834
- | GaxiosPromise<Readable> {
7881
+ | Promise<
7882
+ GaxiosResponseWithHTTP2<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>
7883
+ >
7884
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7835
7885
  let params = (paramsOrCallback ||
7836
7886
  {}) as Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Listdescendant;
7837
7887
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7889,11 +7939,13 @@ export namespace securitycenter_v1 {
7889
7939
  patch(
7890
7940
  params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Patch,
7891
7941
  options: StreamMethodOptions
7892
- ): GaxiosPromise<Readable>;
7942
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7893
7943
  patch(
7894
7944
  params?: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Patch,
7895
7945
  options?: MethodOptions
7896
- ): GaxiosPromise<Schema$EventThreatDetectionCustomModule>;
7946
+ ): Promise<
7947
+ GaxiosResponseWithHTTP2<Schema$EventThreatDetectionCustomModule>
7948
+ >;
7897
7949
  patch(
7898
7950
  params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Patch,
7899
7951
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7928,8 +7980,10 @@ export namespace securitycenter_v1 {
7928
7980
  | BodyResponseCallback<Readable>
7929
7981
  ):
7930
7982
  | void
7931
- | GaxiosPromise<Schema$EventThreatDetectionCustomModule>
7932
- | GaxiosPromise<Readable> {
7983
+ | Promise<
7984
+ GaxiosResponseWithHTTP2<Schema$EventThreatDetectionCustomModule>
7985
+ >
7986
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7933
7987
  let params = (paramsOrCallback ||
7934
7988
  {}) as Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Patch;
7935
7989
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8065,11 +8119,13 @@ export namespace securitycenter_v1 {
8065
8119
  get(
8066
8120
  params: Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$Get,
8067
8121
  options: StreamMethodOptions
8068
- ): GaxiosPromise<Readable>;
8122
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8069
8123
  get(
8070
8124
  params?: Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$Get,
8071
8125
  options?: MethodOptions
8072
- ): GaxiosPromise<Schema$EffectiveEventThreatDetectionCustomModule>;
8126
+ ): Promise<
8127
+ GaxiosResponseWithHTTP2<Schema$EffectiveEventThreatDetectionCustomModule>
8128
+ >;
8073
8129
  get(
8074
8130
  params: Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$Get,
8075
8131
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8104,8 +8160,10 @@ export namespace securitycenter_v1 {
8104
8160
  | BodyResponseCallback<Readable>
8105
8161
  ):
8106
8162
  | void
8107
- | GaxiosPromise<Schema$EffectiveEventThreatDetectionCustomModule>
8108
- | GaxiosPromise<Readable> {
8163
+ | Promise<
8164
+ GaxiosResponseWithHTTP2<Schema$EffectiveEventThreatDetectionCustomModule>
8165
+ >
8166
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8109
8167
  let params = (paramsOrCallback ||
8110
8168
  {}) as Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$Get;
8111
8169
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8161,11 +8219,13 @@ export namespace securitycenter_v1 {
8161
8219
  list(
8162
8220
  params: Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$List,
8163
8221
  options: StreamMethodOptions
8164
- ): GaxiosPromise<Readable>;
8222
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8165
8223
  list(
8166
8224
  params?: Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$List,
8167
8225
  options?: MethodOptions
8168
- ): GaxiosPromise<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>;
8226
+ ): Promise<
8227
+ GaxiosResponseWithHTTP2<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>
8228
+ >;
8169
8229
  list(
8170
8230
  params: Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$List,
8171
8231
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8200,8 +8260,10 @@ export namespace securitycenter_v1 {
8200
8260
  | BodyResponseCallback<Readable>
8201
8261
  ):
8202
8262
  | void
8203
- | GaxiosPromise<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>
8204
- | GaxiosPromise<Readable> {
8263
+ | Promise<
8264
+ GaxiosResponseWithHTTP2<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>
8265
+ >
8266
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8205
8267
  let params = (paramsOrCallback ||
8206
8268
  {}) as Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$List;
8207
8269
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8290,11 +8352,11 @@ export namespace securitycenter_v1 {
8290
8352
  bulkMute(
8291
8353
  params: Params$Resource$Folders$Findings$Bulkmute,
8292
8354
  options: StreamMethodOptions
8293
- ): GaxiosPromise<Readable>;
8355
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8294
8356
  bulkMute(
8295
8357
  params?: Params$Resource$Folders$Findings$Bulkmute,
8296
8358
  options?: MethodOptions
8297
- ): GaxiosPromise<Schema$Operation>;
8359
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
8298
8360
  bulkMute(
8299
8361
  params: Params$Resource$Folders$Findings$Bulkmute,
8300
8362
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8323,7 +8385,10 @@ export namespace securitycenter_v1 {
8323
8385
  callback?:
8324
8386
  | BodyResponseCallback<Schema$Operation>
8325
8387
  | BodyResponseCallback<Readable>
8326
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
8388
+ ):
8389
+ | void
8390
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
8391
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8327
8392
  let params = (paramsOrCallback ||
8328
8393
  {}) as Params$Resource$Folders$Findings$Bulkmute;
8329
8394
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8410,11 +8475,11 @@ export namespace securitycenter_v1 {
8410
8475
  delete(
8411
8476
  params: Params$Resource$Folders$Locations$Muteconfigs$Delete,
8412
8477
  options: StreamMethodOptions
8413
- ): GaxiosPromise<Readable>;
8478
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8414
8479
  delete(
8415
8480
  params?: Params$Resource$Folders$Locations$Muteconfigs$Delete,
8416
8481
  options?: MethodOptions
8417
- ): GaxiosPromise<Schema$Empty>;
8482
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
8418
8483
  delete(
8419
8484
  params: Params$Resource$Folders$Locations$Muteconfigs$Delete,
8420
8485
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8443,7 +8508,10 @@ export namespace securitycenter_v1 {
8443
8508
  callback?:
8444
8509
  | BodyResponseCallback<Schema$Empty>
8445
8510
  | BodyResponseCallback<Readable>
8446
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
8511
+ ):
8512
+ | void
8513
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
8514
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8447
8515
  let params = (paramsOrCallback ||
8448
8516
  {}) as Params$Resource$Folders$Locations$Muteconfigs$Delete;
8449
8517
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8496,11 +8564,13 @@ export namespace securitycenter_v1 {
8496
8564
  get(
8497
8565
  params: Params$Resource$Folders$Locations$Muteconfigs$Get,
8498
8566
  options: StreamMethodOptions
8499
- ): GaxiosPromise<Readable>;
8567
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8500
8568
  get(
8501
8569
  params?: Params$Resource$Folders$Locations$Muteconfigs$Get,
8502
8570
  options?: MethodOptions
8503
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
8571
+ ): Promise<
8572
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
8573
+ >;
8504
8574
  get(
8505
8575
  params: Params$Resource$Folders$Locations$Muteconfigs$Get,
8506
8576
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8535,8 +8605,10 @@ export namespace securitycenter_v1 {
8535
8605
  | BodyResponseCallback<Readable>
8536
8606
  ):
8537
8607
  | void
8538
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
8539
- | GaxiosPromise<Readable> {
8608
+ | Promise<
8609
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
8610
+ >
8611
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8540
8612
  let params = (paramsOrCallback ||
8541
8613
  {}) as Params$Resource$Folders$Locations$Muteconfigs$Get;
8542
8614
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8591,11 +8663,13 @@ export namespace securitycenter_v1 {
8591
8663
  patch(
8592
8664
  params: Params$Resource$Folders$Locations$Muteconfigs$Patch,
8593
8665
  options: StreamMethodOptions
8594
- ): GaxiosPromise<Readable>;
8666
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8595
8667
  patch(
8596
8668
  params?: Params$Resource$Folders$Locations$Muteconfigs$Patch,
8597
8669
  options?: MethodOptions
8598
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
8670
+ ): Promise<
8671
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
8672
+ >;
8599
8673
  patch(
8600
8674
  params: Params$Resource$Folders$Locations$Muteconfigs$Patch,
8601
8675
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8630,8 +8704,10 @@ export namespace securitycenter_v1 {
8630
8704
  | BodyResponseCallback<Readable>
8631
8705
  ):
8632
8706
  | void
8633
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
8634
- | GaxiosPromise<Readable> {
8707
+ | Promise<
8708
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
8709
+ >
8710
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8635
8711
  let params = (paramsOrCallback ||
8636
8712
  {}) as Params$Resource$Folders$Locations$Muteconfigs$Patch;
8637
8713
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8724,11 +8800,13 @@ export namespace securitycenter_v1 {
8724
8800
  create(
8725
8801
  params: Params$Resource$Folders$Muteconfigs$Create,
8726
8802
  options: StreamMethodOptions
8727
- ): GaxiosPromise<Readable>;
8803
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8728
8804
  create(
8729
8805
  params?: Params$Resource$Folders$Muteconfigs$Create,
8730
8806
  options?: MethodOptions
8731
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
8807
+ ): Promise<
8808
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
8809
+ >;
8732
8810
  create(
8733
8811
  params: Params$Resource$Folders$Muteconfigs$Create,
8734
8812
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8763,8 +8841,10 @@ export namespace securitycenter_v1 {
8763
8841
  | BodyResponseCallback<Readable>
8764
8842
  ):
8765
8843
  | void
8766
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
8767
- | GaxiosPromise<Readable> {
8844
+ | Promise<
8845
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
8846
+ >
8847
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8768
8848
  let params = (paramsOrCallback ||
8769
8849
  {}) as Params$Resource$Folders$Muteconfigs$Create;
8770
8850
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8822,11 +8902,11 @@ export namespace securitycenter_v1 {
8822
8902
  delete(
8823
8903
  params: Params$Resource$Folders$Muteconfigs$Delete,
8824
8904
  options: StreamMethodOptions
8825
- ): GaxiosPromise<Readable>;
8905
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8826
8906
  delete(
8827
8907
  params?: Params$Resource$Folders$Muteconfigs$Delete,
8828
8908
  options?: MethodOptions
8829
- ): GaxiosPromise<Schema$Empty>;
8909
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
8830
8910
  delete(
8831
8911
  params: Params$Resource$Folders$Muteconfigs$Delete,
8832
8912
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8855,7 +8935,10 @@ export namespace securitycenter_v1 {
8855
8935
  callback?:
8856
8936
  | BodyResponseCallback<Schema$Empty>
8857
8937
  | BodyResponseCallback<Readable>
8858
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
8938
+ ):
8939
+ | void
8940
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
8941
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8859
8942
  let params = (paramsOrCallback ||
8860
8943
  {}) as Params$Resource$Folders$Muteconfigs$Delete;
8861
8944
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8908,11 +8991,13 @@ export namespace securitycenter_v1 {
8908
8991
  get(
8909
8992
  params: Params$Resource$Folders$Muteconfigs$Get,
8910
8993
  options: StreamMethodOptions
8911
- ): GaxiosPromise<Readable>;
8994
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8912
8995
  get(
8913
8996
  params?: Params$Resource$Folders$Muteconfigs$Get,
8914
8997
  options?: MethodOptions
8915
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
8998
+ ): Promise<
8999
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
9000
+ >;
8916
9001
  get(
8917
9002
  params: Params$Resource$Folders$Muteconfigs$Get,
8918
9003
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8947,8 +9032,10 @@ export namespace securitycenter_v1 {
8947
9032
  | BodyResponseCallback<Readable>
8948
9033
  ):
8949
9034
  | void
8950
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
8951
- | GaxiosPromise<Readable> {
9035
+ | Promise<
9036
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
9037
+ >
9038
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8952
9039
  let params = (paramsOrCallback ||
8953
9040
  {}) as Params$Resource$Folders$Muteconfigs$Get;
8954
9041
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9003,11 +9090,11 @@ export namespace securitycenter_v1 {
9003
9090
  list(
9004
9091
  params: Params$Resource$Folders$Muteconfigs$List,
9005
9092
  options: StreamMethodOptions
9006
- ): GaxiosPromise<Readable>;
9093
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9007
9094
  list(
9008
9095
  params?: Params$Resource$Folders$Muteconfigs$List,
9009
9096
  options?: MethodOptions
9010
- ): GaxiosPromise<Schema$ListMuteConfigsResponse>;
9097
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListMuteConfigsResponse>>;
9011
9098
  list(
9012
9099
  params: Params$Resource$Folders$Muteconfigs$List,
9013
9100
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9040,8 +9127,8 @@ export namespace securitycenter_v1 {
9040
9127
  | BodyResponseCallback<Readable>
9041
9128
  ):
9042
9129
  | void
9043
- | GaxiosPromise<Schema$ListMuteConfigsResponse>
9044
- | GaxiosPromise<Readable> {
9130
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListMuteConfigsResponse>>
9131
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9045
9132
  let params = (paramsOrCallback ||
9046
9133
  {}) as Params$Resource$Folders$Muteconfigs$List;
9047
9134
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9097,11 +9184,13 @@ export namespace securitycenter_v1 {
9097
9184
  patch(
9098
9185
  params: Params$Resource$Folders$Muteconfigs$Patch,
9099
9186
  options: StreamMethodOptions
9100
- ): GaxiosPromise<Readable>;
9187
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9101
9188
  patch(
9102
9189
  params?: Params$Resource$Folders$Muteconfigs$Patch,
9103
9190
  options?: MethodOptions
9104
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
9191
+ ): Promise<
9192
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
9193
+ >;
9105
9194
  patch(
9106
9195
  params: Params$Resource$Folders$Muteconfigs$Patch,
9107
9196
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9136,8 +9225,10 @@ export namespace securitycenter_v1 {
9136
9225
  | BodyResponseCallback<Readable>
9137
9226
  ):
9138
9227
  | void
9139
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
9140
- | GaxiosPromise<Readable> {
9228
+ | Promise<
9229
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
9230
+ >
9231
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9141
9232
  let params = (paramsOrCallback ||
9142
9233
  {}) as Params$Resource$Folders$Muteconfigs$Patch;
9143
9234
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9261,11 +9352,11 @@ export namespace securitycenter_v1 {
9261
9352
  create(
9262
9353
  params: Params$Resource$Folders$Notificationconfigs$Create,
9263
9354
  options: StreamMethodOptions
9264
- ): GaxiosPromise<Readable>;
9355
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9265
9356
  create(
9266
9357
  params?: Params$Resource$Folders$Notificationconfigs$Create,
9267
9358
  options?: MethodOptions
9268
- ): GaxiosPromise<Schema$NotificationConfig>;
9359
+ ): Promise<GaxiosResponseWithHTTP2<Schema$NotificationConfig>>;
9269
9360
  create(
9270
9361
  params: Params$Resource$Folders$Notificationconfigs$Create,
9271
9362
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9296,8 +9387,8 @@ export namespace securitycenter_v1 {
9296
9387
  | BodyResponseCallback<Readable>
9297
9388
  ):
9298
9389
  | void
9299
- | GaxiosPromise<Schema$NotificationConfig>
9300
- | GaxiosPromise<Readable> {
9390
+ | Promise<GaxiosResponseWithHTTP2<Schema$NotificationConfig>>
9391
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9301
9392
  let params = (paramsOrCallback ||
9302
9393
  {}) as Params$Resource$Folders$Notificationconfigs$Create;
9303
9394
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9353,11 +9444,11 @@ export namespace securitycenter_v1 {
9353
9444
  delete(
9354
9445
  params: Params$Resource$Folders$Notificationconfigs$Delete,
9355
9446
  options: StreamMethodOptions
9356
- ): GaxiosPromise<Readable>;
9447
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9357
9448
  delete(
9358
9449
  params?: Params$Resource$Folders$Notificationconfigs$Delete,
9359
9450
  options?: MethodOptions
9360
- ): GaxiosPromise<Schema$Empty>;
9451
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
9361
9452
  delete(
9362
9453
  params: Params$Resource$Folders$Notificationconfigs$Delete,
9363
9454
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9386,7 +9477,10 @@ export namespace securitycenter_v1 {
9386
9477
  callback?:
9387
9478
  | BodyResponseCallback<Schema$Empty>
9388
9479
  | BodyResponseCallback<Readable>
9389
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
9480
+ ):
9481
+ | void
9482
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
9483
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9390
9484
  let params = (paramsOrCallback ||
9391
9485
  {}) as Params$Resource$Folders$Notificationconfigs$Delete;
9392
9486
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9439,11 +9533,11 @@ export namespace securitycenter_v1 {
9439
9533
  get(
9440
9534
  params: Params$Resource$Folders$Notificationconfigs$Get,
9441
9535
  options: StreamMethodOptions
9442
- ): GaxiosPromise<Readable>;
9536
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9443
9537
  get(
9444
9538
  params?: Params$Resource$Folders$Notificationconfigs$Get,
9445
9539
  options?: MethodOptions
9446
- ): GaxiosPromise<Schema$NotificationConfig>;
9540
+ ): Promise<GaxiosResponseWithHTTP2<Schema$NotificationConfig>>;
9447
9541
  get(
9448
9542
  params: Params$Resource$Folders$Notificationconfigs$Get,
9449
9543
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9474,8 +9568,8 @@ export namespace securitycenter_v1 {
9474
9568
  | BodyResponseCallback<Readable>
9475
9569
  ):
9476
9570
  | void
9477
- | GaxiosPromise<Schema$NotificationConfig>
9478
- | GaxiosPromise<Readable> {
9571
+ | Promise<GaxiosResponseWithHTTP2<Schema$NotificationConfig>>
9572
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9479
9573
  let params = (paramsOrCallback ||
9480
9574
  {}) as Params$Resource$Folders$Notificationconfigs$Get;
9481
9575
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9528,11 +9622,11 @@ export namespace securitycenter_v1 {
9528
9622
  list(
9529
9623
  params: Params$Resource$Folders$Notificationconfigs$List,
9530
9624
  options: StreamMethodOptions
9531
- ): GaxiosPromise<Readable>;
9625
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9532
9626
  list(
9533
9627
  params?: Params$Resource$Folders$Notificationconfigs$List,
9534
9628
  options?: MethodOptions
9535
- ): GaxiosPromise<Schema$ListNotificationConfigsResponse>;
9629
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListNotificationConfigsResponse>>;
9536
9630
  list(
9537
9631
  params: Params$Resource$Folders$Notificationconfigs$List,
9538
9632
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9567,8 +9661,8 @@ export namespace securitycenter_v1 {
9567
9661
  | BodyResponseCallback<Readable>
9568
9662
  ):
9569
9663
  | void
9570
- | GaxiosPromise<Schema$ListNotificationConfigsResponse>
9571
- | GaxiosPromise<Readable> {
9664
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListNotificationConfigsResponse>>
9665
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9572
9666
  let params = (paramsOrCallback ||
9573
9667
  {}) as Params$Resource$Folders$Notificationconfigs$List;
9574
9668
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9626,11 +9720,11 @@ export namespace securitycenter_v1 {
9626
9720
  patch(
9627
9721
  params: Params$Resource$Folders$Notificationconfigs$Patch,
9628
9722
  options: StreamMethodOptions
9629
- ): GaxiosPromise<Readable>;
9723
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9630
9724
  patch(
9631
9725
  params?: Params$Resource$Folders$Notificationconfigs$Patch,
9632
9726
  options?: MethodOptions
9633
- ): GaxiosPromise<Schema$NotificationConfig>;
9727
+ ): Promise<GaxiosResponseWithHTTP2<Schema$NotificationConfig>>;
9634
9728
  patch(
9635
9729
  params: Params$Resource$Folders$Notificationconfigs$Patch,
9636
9730
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9661,8 +9755,8 @@ export namespace securitycenter_v1 {
9661
9755
  | BodyResponseCallback<Readable>
9662
9756
  ):
9663
9757
  | void
9664
- | GaxiosPromise<Schema$NotificationConfig>
9665
- | GaxiosPromise<Readable> {
9758
+ | Promise<GaxiosResponseWithHTTP2<Schema$NotificationConfig>>
9759
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9666
9760
  let params = (paramsOrCallback ||
9667
9761
  {}) as Params$Resource$Folders$Notificationconfigs$Patch;
9668
9762
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9801,11 +9895,13 @@ export namespace securitycenter_v1 {
9801
9895
  create(
9802
9896
  params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Create,
9803
9897
  options: StreamMethodOptions
9804
- ): GaxiosPromise<Readable>;
9898
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9805
9899
  create(
9806
9900
  params?: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Create,
9807
9901
  options?: MethodOptions
9808
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>;
9902
+ ): Promise<
9903
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
9904
+ >;
9809
9905
  create(
9810
9906
  params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Create,
9811
9907
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9840,8 +9936,10 @@ export namespace securitycenter_v1 {
9840
9936
  | BodyResponseCallback<Readable>
9841
9937
  ):
9842
9938
  | void
9843
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
9844
- | GaxiosPromise<Readable> {
9939
+ | Promise<
9940
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
9941
+ >
9942
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9845
9943
  let params = (paramsOrCallback ||
9846
9944
  {}) as Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Create;
9847
9945
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9900,11 +9998,11 @@ export namespace securitycenter_v1 {
9900
9998
  delete(
9901
9999
  params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Delete,
9902
10000
  options: StreamMethodOptions
9903
- ): GaxiosPromise<Readable>;
10001
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9904
10002
  delete(
9905
10003
  params?: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Delete,
9906
10004
  options?: MethodOptions
9907
- ): GaxiosPromise<Schema$Empty>;
10005
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
9908
10006
  delete(
9909
10007
  params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Delete,
9910
10008
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9933,7 +10031,10 @@ export namespace securitycenter_v1 {
9933
10031
  callback?:
9934
10032
  | BodyResponseCallback<Schema$Empty>
9935
10033
  | BodyResponseCallback<Readable>
9936
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
10034
+ ):
10035
+ | void
10036
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
10037
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9937
10038
  let params = (paramsOrCallback ||
9938
10039
  {}) as Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Delete;
9939
10040
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9987,11 +10088,13 @@ export namespace securitycenter_v1 {
9987
10088
  get(
9988
10089
  params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Get,
9989
10090
  options: StreamMethodOptions
9990
- ): GaxiosPromise<Readable>;
10091
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9991
10092
  get(
9992
10093
  params?: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Get,
9993
10094
  options?: MethodOptions
9994
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>;
10095
+ ): Promise<
10096
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
10097
+ >;
9995
10098
  get(
9996
10099
  params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Get,
9997
10100
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10026,8 +10129,10 @@ export namespace securitycenter_v1 {
10026
10129
  | BodyResponseCallback<Readable>
10027
10130
  ):
10028
10131
  | void
10029
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
10030
- | GaxiosPromise<Readable> {
10132
+ | Promise<
10133
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
10134
+ >
10135
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10031
10136
  let params = (paramsOrCallback ||
10032
10137
  {}) as Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Get;
10033
10138
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10083,11 +10188,13 @@ export namespace securitycenter_v1 {
10083
10188
  list(
10084
10189
  params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$List,
10085
10190
  options: StreamMethodOptions
10086
- ): GaxiosPromise<Readable>;
10191
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10087
10192
  list(
10088
10193
  params?: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$List,
10089
10194
  options?: MethodOptions
10090
- ): GaxiosPromise<Schema$ListSecurityHealthAnalyticsCustomModulesResponse>;
10195
+ ): Promise<
10196
+ GaxiosResponseWithHTTP2<Schema$ListSecurityHealthAnalyticsCustomModulesResponse>
10197
+ >;
10091
10198
  list(
10092
10199
  params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$List,
10093
10200
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10122,8 +10229,10 @@ export namespace securitycenter_v1 {
10122
10229
  | BodyResponseCallback<Readable>
10123
10230
  ):
10124
10231
  | void
10125
- | GaxiosPromise<Schema$ListSecurityHealthAnalyticsCustomModulesResponse>
10126
- | GaxiosPromise<Readable> {
10232
+ | Promise<
10233
+ GaxiosResponseWithHTTP2<Schema$ListSecurityHealthAnalyticsCustomModulesResponse>
10234
+ >
10235
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10127
10236
  let params = (paramsOrCallback ||
10128
10237
  {}) as Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$List;
10129
10238
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10182,11 +10291,13 @@ export namespace securitycenter_v1 {
10182
10291
  listDescendant(
10183
10292
  params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Listdescendant,
10184
10293
  options: StreamMethodOptions
10185
- ): GaxiosPromise<Readable>;
10294
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10186
10295
  listDescendant(
10187
10296
  params?: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Listdescendant,
10188
10297
  options?: MethodOptions
10189
- ): GaxiosPromise<Schema$ListDescendantSecurityHealthAnalyticsCustomModulesResponse>;
10298
+ ): Promise<
10299
+ GaxiosResponseWithHTTP2<Schema$ListDescendantSecurityHealthAnalyticsCustomModulesResponse>
10300
+ >;
10190
10301
  listDescendant(
10191
10302
  params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Listdescendant,
10192
10303
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10221,8 +10332,10 @@ export namespace securitycenter_v1 {
10221
10332
  | BodyResponseCallback<Readable>
10222
10333
  ):
10223
10334
  | void
10224
- | GaxiosPromise<Schema$ListDescendantSecurityHealthAnalyticsCustomModulesResponse>
10225
- | GaxiosPromise<Readable> {
10335
+ | Promise<
10336
+ GaxiosResponseWithHTTP2<Schema$ListDescendantSecurityHealthAnalyticsCustomModulesResponse>
10337
+ >
10338
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10226
10339
  let params = (paramsOrCallback ||
10227
10340
  {}) as Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Listdescendant;
10228
10341
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10280,11 +10393,13 @@ export namespace securitycenter_v1 {
10280
10393
  patch(
10281
10394
  params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Patch,
10282
10395
  options: StreamMethodOptions
10283
- ): GaxiosPromise<Readable>;
10396
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10284
10397
  patch(
10285
10398
  params?: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Patch,
10286
10399
  options?: MethodOptions
10287
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>;
10400
+ ): Promise<
10401
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
10402
+ >;
10288
10403
  patch(
10289
10404
  params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Patch,
10290
10405
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10319,8 +10434,10 @@ export namespace securitycenter_v1 {
10319
10434
  | BodyResponseCallback<Readable>
10320
10435
  ):
10321
10436
  | void
10322
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
10323
- | GaxiosPromise<Readable> {
10437
+ | Promise<
10438
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
10439
+ >
10440
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10324
10441
  let params = (paramsOrCallback ||
10325
10442
  {}) as Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Patch;
10326
10443
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10376,11 +10493,13 @@ export namespace securitycenter_v1 {
10376
10493
  simulate(
10377
10494
  params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Simulate,
10378
10495
  options: StreamMethodOptions
10379
- ): GaxiosPromise<Readable>;
10496
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10380
10497
  simulate(
10381
10498
  params?: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Simulate,
10382
10499
  options?: MethodOptions
10383
- ): GaxiosPromise<Schema$SimulateSecurityHealthAnalyticsCustomModuleResponse>;
10500
+ ): Promise<
10501
+ GaxiosResponseWithHTTP2<Schema$SimulateSecurityHealthAnalyticsCustomModuleResponse>
10502
+ >;
10384
10503
  simulate(
10385
10504
  params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Simulate,
10386
10505
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10415,8 +10534,10 @@ export namespace securitycenter_v1 {
10415
10534
  | BodyResponseCallback<Readable>
10416
10535
  ):
10417
10536
  | void
10418
- | GaxiosPromise<Schema$SimulateSecurityHealthAnalyticsCustomModuleResponse>
10419
- | GaxiosPromise<Readable> {
10537
+ | Promise<
10538
+ GaxiosResponseWithHTTP2<Schema$SimulateSecurityHealthAnalyticsCustomModuleResponse>
10539
+ >
10540
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10420
10541
  let params = (paramsOrCallback ||
10421
10542
  {}) as Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Simulate;
10422
10543
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10567,11 +10688,13 @@ export namespace securitycenter_v1 {
10567
10688
  get(
10568
10689
  params: Params$Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules$Get,
10569
10690
  options: StreamMethodOptions
10570
- ): GaxiosPromise<Readable>;
10691
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10571
10692
  get(
10572
10693
  params?: Params$Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules$Get,
10573
10694
  options?: MethodOptions
10574
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule>;
10695
+ ): Promise<
10696
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule>
10697
+ >;
10575
10698
  get(
10576
10699
  params: Params$Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules$Get,
10577
10700
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10606,8 +10729,10 @@ export namespace securitycenter_v1 {
10606
10729
  | BodyResponseCallback<Readable>
10607
10730
  ):
10608
10731
  | void
10609
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule>
10610
- | GaxiosPromise<Readable> {
10732
+ | Promise<
10733
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule>
10734
+ >
10735
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10611
10736
  let params = (paramsOrCallback ||
10612
10737
  {}) as Params$Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules$Get;
10613
10738
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10663,11 +10788,13 @@ export namespace securitycenter_v1 {
10663
10788
  list(
10664
10789
  params: Params$Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules$List,
10665
10790
  options: StreamMethodOptions
10666
- ): GaxiosPromise<Readable>;
10791
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10667
10792
  list(
10668
10793
  params?: Params$Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules$List,
10669
10794
  options?: MethodOptions
10670
- ): GaxiosPromise<Schema$ListEffectiveSecurityHealthAnalyticsCustomModulesResponse>;
10795
+ ): Promise<
10796
+ GaxiosResponseWithHTTP2<Schema$ListEffectiveSecurityHealthAnalyticsCustomModulesResponse>
10797
+ >;
10671
10798
  list(
10672
10799
  params: Params$Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules$List,
10673
10800
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10702,8 +10829,10 @@ export namespace securitycenter_v1 {
10702
10829
  | BodyResponseCallback<Readable>
10703
10830
  ):
10704
10831
  | void
10705
- | GaxiosPromise<Schema$ListEffectiveSecurityHealthAnalyticsCustomModulesResponse>
10706
- | GaxiosPromise<Readable> {
10832
+ | Promise<
10833
+ GaxiosResponseWithHTTP2<Schema$ListEffectiveSecurityHealthAnalyticsCustomModulesResponse>
10834
+ >
10835
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10707
10836
  let params = (paramsOrCallback ||
10708
10837
  {}) as Params$Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules$List;
10709
10838
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10794,11 +10923,11 @@ export namespace securitycenter_v1 {
10794
10923
  list(
10795
10924
  params: Params$Resource$Folders$Sources$List,
10796
10925
  options: StreamMethodOptions
10797
- ): GaxiosPromise<Readable>;
10926
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10798
10927
  list(
10799
10928
  params?: Params$Resource$Folders$Sources$List,
10800
10929
  options?: MethodOptions
10801
- ): GaxiosPromise<Schema$ListSourcesResponse>;
10930
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListSourcesResponse>>;
10802
10931
  list(
10803
10932
  params: Params$Resource$Folders$Sources$List,
10804
10933
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10829,8 +10958,8 @@ export namespace securitycenter_v1 {
10829
10958
  | BodyResponseCallback<Readable>
10830
10959
  ):
10831
10960
  | void
10832
- | GaxiosPromise<Schema$ListSourcesResponse>
10833
- | GaxiosPromise<Readable> {
10961
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListSourcesResponse>>
10962
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10834
10963
  let params = (paramsOrCallback ||
10835
10964
  {}) as Params$Resource$Folders$Sources$List;
10836
10965
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10912,11 +11041,11 @@ export namespace securitycenter_v1 {
10912
11041
  group(
10913
11042
  params: Params$Resource$Folders$Sources$Findings$Group,
10914
11043
  options: StreamMethodOptions
10915
- ): GaxiosPromise<Readable>;
11044
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10916
11045
  group(
10917
11046
  params?: Params$Resource$Folders$Sources$Findings$Group,
10918
11047
  options?: MethodOptions
10919
- ): GaxiosPromise<Schema$GroupFindingsResponse>;
11048
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GroupFindingsResponse>>;
10920
11049
  group(
10921
11050
  params: Params$Resource$Folders$Sources$Findings$Group,
10922
11051
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10949,8 +11078,8 @@ export namespace securitycenter_v1 {
10949
11078
  | BodyResponseCallback<Readable>
10950
11079
  ):
10951
11080
  | void
10952
- | GaxiosPromise<Schema$GroupFindingsResponse>
10953
- | GaxiosPromise<Readable> {
11081
+ | Promise<GaxiosResponseWithHTTP2<Schema$GroupFindingsResponse>>
11082
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10954
11083
  let params = (paramsOrCallback ||
10955
11084
  {}) as Params$Resource$Folders$Sources$Findings$Group;
10956
11085
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11006,11 +11135,11 @@ export namespace securitycenter_v1 {
11006
11135
  list(
11007
11136
  params: Params$Resource$Folders$Sources$Findings$List,
11008
11137
  options: StreamMethodOptions
11009
- ): GaxiosPromise<Readable>;
11138
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11010
11139
  list(
11011
11140
  params?: Params$Resource$Folders$Sources$Findings$List,
11012
11141
  options?: MethodOptions
11013
- ): GaxiosPromise<Schema$ListFindingsResponse>;
11142
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListFindingsResponse>>;
11014
11143
  list(
11015
11144
  params: Params$Resource$Folders$Sources$Findings$List,
11016
11145
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11043,8 +11172,8 @@ export namespace securitycenter_v1 {
11043
11172
  | BodyResponseCallback<Readable>
11044
11173
  ):
11045
11174
  | void
11046
- | GaxiosPromise<Schema$ListFindingsResponse>
11047
- | GaxiosPromise<Readable> {
11175
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListFindingsResponse>>
11176
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11048
11177
  let params = (paramsOrCallback ||
11049
11178
  {}) as Params$Resource$Folders$Sources$Findings$List;
11050
11179
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11100,11 +11229,11 @@ export namespace securitycenter_v1 {
11100
11229
  patch(
11101
11230
  params: Params$Resource$Folders$Sources$Findings$Patch,
11102
11231
  options: StreamMethodOptions
11103
- ): GaxiosPromise<Readable>;
11232
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11104
11233
  patch(
11105
11234
  params?: Params$Resource$Folders$Sources$Findings$Patch,
11106
11235
  options?: MethodOptions
11107
- ): GaxiosPromise<Schema$Finding>;
11236
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Finding>>;
11108
11237
  patch(
11109
11238
  params: Params$Resource$Folders$Sources$Findings$Patch,
11110
11239
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11133,7 +11262,10 @@ export namespace securitycenter_v1 {
11133
11262
  callback?:
11134
11263
  | BodyResponseCallback<Schema$Finding>
11135
11264
  | BodyResponseCallback<Readable>
11136
- ): void | GaxiosPromise<Schema$Finding> | GaxiosPromise<Readable> {
11265
+ ):
11266
+ | void
11267
+ | Promise<GaxiosResponseWithHTTP2<Schema$Finding>>
11268
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11137
11269
  let params = (paramsOrCallback ||
11138
11270
  {}) as Params$Resource$Folders$Sources$Findings$Patch;
11139
11271
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11186,11 +11318,11 @@ export namespace securitycenter_v1 {
11186
11318
  setMute(
11187
11319
  params: Params$Resource$Folders$Sources$Findings$Setmute,
11188
11320
  options: StreamMethodOptions
11189
- ): GaxiosPromise<Readable>;
11321
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11190
11322
  setMute(
11191
11323
  params?: Params$Resource$Folders$Sources$Findings$Setmute,
11192
11324
  options?: MethodOptions
11193
- ): GaxiosPromise<Schema$Finding>;
11325
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Finding>>;
11194
11326
  setMute(
11195
11327
  params: Params$Resource$Folders$Sources$Findings$Setmute,
11196
11328
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11219,7 +11351,10 @@ export namespace securitycenter_v1 {
11219
11351
  callback?:
11220
11352
  | BodyResponseCallback<Schema$Finding>
11221
11353
  | BodyResponseCallback<Readable>
11222
- ): void | GaxiosPromise<Schema$Finding> | GaxiosPromise<Readable> {
11354
+ ):
11355
+ | void
11356
+ | Promise<GaxiosResponseWithHTTP2<Schema$Finding>>
11357
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11223
11358
  let params = (paramsOrCallback ||
11224
11359
  {}) as Params$Resource$Folders$Sources$Findings$Setmute;
11225
11360
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11275,11 +11410,11 @@ export namespace securitycenter_v1 {
11275
11410
  setState(
11276
11411
  params: Params$Resource$Folders$Sources$Findings$Setstate,
11277
11412
  options: StreamMethodOptions
11278
- ): GaxiosPromise<Readable>;
11413
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11279
11414
  setState(
11280
11415
  params?: Params$Resource$Folders$Sources$Findings$Setstate,
11281
11416
  options?: MethodOptions
11282
- ): GaxiosPromise<Schema$Finding>;
11417
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Finding>>;
11283
11418
  setState(
11284
11419
  params: Params$Resource$Folders$Sources$Findings$Setstate,
11285
11420
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11308,7 +11443,10 @@ export namespace securitycenter_v1 {
11308
11443
  callback?:
11309
11444
  | BodyResponseCallback<Schema$Finding>
11310
11445
  | BodyResponseCallback<Readable>
11311
- ): void | GaxiosPromise<Schema$Finding> | GaxiosPromise<Readable> {
11446
+ ):
11447
+ | void
11448
+ | Promise<GaxiosResponseWithHTTP2<Schema$Finding>>
11449
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11312
11450
  let params = (paramsOrCallback ||
11313
11451
  {}) as Params$Resource$Folders$Sources$Findings$Setstate;
11314
11452
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11364,11 +11502,11 @@ export namespace securitycenter_v1 {
11364
11502
  updateSecurityMarks(
11365
11503
  params: Params$Resource$Folders$Sources$Findings$Updatesecuritymarks,
11366
11504
  options: StreamMethodOptions
11367
- ): GaxiosPromise<Readable>;
11505
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11368
11506
  updateSecurityMarks(
11369
11507
  params?: Params$Resource$Folders$Sources$Findings$Updatesecuritymarks,
11370
11508
  options?: MethodOptions
11371
- ): GaxiosPromise<Schema$SecurityMarks>;
11509
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityMarks>>;
11372
11510
  updateSecurityMarks(
11373
11511
  params: Params$Resource$Folders$Sources$Findings$Updatesecuritymarks,
11374
11512
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11399,7 +11537,10 @@ export namespace securitycenter_v1 {
11399
11537
  callback?:
11400
11538
  | BodyResponseCallback<Schema$SecurityMarks>
11401
11539
  | BodyResponseCallback<Readable>
11402
- ): void | GaxiosPromise<Schema$SecurityMarks> | GaxiosPromise<Readable> {
11540
+ ):
11541
+ | void
11542
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityMarks>>
11543
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11403
11544
  let params = (paramsOrCallback ||
11404
11545
  {}) as Params$Resource$Folders$Sources$Findings$Updatesecuritymarks;
11405
11546
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11568,11 +11709,13 @@ export namespace securitycenter_v1 {
11568
11709
  patch(
11569
11710
  params: Params$Resource$Folders$Sources$Findings$Externalsystems$Patch,
11570
11711
  options: StreamMethodOptions
11571
- ): GaxiosPromise<Readable>;
11712
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11572
11713
  patch(
11573
11714
  params?: Params$Resource$Folders$Sources$Findings$Externalsystems$Patch,
11574
11715
  options?: MethodOptions
11575
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1ExternalSystem>;
11716
+ ): Promise<
11717
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1ExternalSystem>
11718
+ >;
11576
11719
  patch(
11577
11720
  params: Params$Resource$Folders$Sources$Findings$Externalsystems$Patch,
11578
11721
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11607,8 +11750,10 @@ export namespace securitycenter_v1 {
11607
11750
  | BodyResponseCallback<Readable>
11608
11751
  ):
11609
11752
  | void
11610
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1ExternalSystem>
11611
- | GaxiosPromise<Readable> {
11753
+ | Promise<
11754
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1ExternalSystem>
11755
+ >
11756
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11612
11757
  let params = (paramsOrCallback ||
11613
11758
  {}) as Params$Resource$Folders$Sources$Findings$Externalsystems$Patch;
11614
11759
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11727,11 +11872,11 @@ export namespace securitycenter_v1 {
11727
11872
  getOrganizationSettings(
11728
11873
  params: Params$Resource$Organizations$Getorganizationsettings,
11729
11874
  options: StreamMethodOptions
11730
- ): GaxiosPromise<Readable>;
11875
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11731
11876
  getOrganizationSettings(
11732
11877
  params?: Params$Resource$Organizations$Getorganizationsettings,
11733
11878
  options?: MethodOptions
11734
- ): GaxiosPromise<Schema$OrganizationSettings>;
11879
+ ): Promise<GaxiosResponseWithHTTP2<Schema$OrganizationSettings>>;
11735
11880
  getOrganizationSettings(
11736
11881
  params: Params$Resource$Organizations$Getorganizationsettings,
11737
11882
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11766,8 +11911,8 @@ export namespace securitycenter_v1 {
11766
11911
  | BodyResponseCallback<Readable>
11767
11912
  ):
11768
11913
  | void
11769
- | GaxiosPromise<Schema$OrganizationSettings>
11770
- | GaxiosPromise<Readable> {
11914
+ | Promise<GaxiosResponseWithHTTP2<Schema$OrganizationSettings>>
11915
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11771
11916
  let params = (paramsOrCallback ||
11772
11917
  {}) as Params$Resource$Organizations$Getorganizationsettings;
11773
11918
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11820,11 +11965,11 @@ export namespace securitycenter_v1 {
11820
11965
  updateOrganizationSettings(
11821
11966
  params: Params$Resource$Organizations$Updateorganizationsettings,
11822
11967
  options: StreamMethodOptions
11823
- ): GaxiosPromise<Readable>;
11968
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11824
11969
  updateOrganizationSettings(
11825
11970
  params?: Params$Resource$Organizations$Updateorganizationsettings,
11826
11971
  options?: MethodOptions
11827
- ): GaxiosPromise<Schema$OrganizationSettings>;
11972
+ ): Promise<GaxiosResponseWithHTTP2<Schema$OrganizationSettings>>;
11828
11973
  updateOrganizationSettings(
11829
11974
  params: Params$Resource$Organizations$Updateorganizationsettings,
11830
11975
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11859,8 +12004,8 @@ export namespace securitycenter_v1 {
11859
12004
  | BodyResponseCallback<Readable>
11860
12005
  ):
11861
12006
  | void
11862
- | GaxiosPromise<Schema$OrganizationSettings>
11863
- | GaxiosPromise<Readable> {
12007
+ | Promise<GaxiosResponseWithHTTP2<Schema$OrganizationSettings>>
12008
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11864
12009
  let params = (paramsOrCallback ||
11865
12010
  {}) as Params$Resource$Organizations$Updateorganizationsettings;
11866
12011
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11944,11 +12089,11 @@ export namespace securitycenter_v1 {
11944
12089
  group(
11945
12090
  params: Params$Resource$Organizations$Assets$Group,
11946
12091
  options: StreamMethodOptions
11947
- ): GaxiosPromise<Readable>;
12092
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11948
12093
  group(
11949
12094
  params?: Params$Resource$Organizations$Assets$Group,
11950
12095
  options?: MethodOptions
11951
- ): GaxiosPromise<Schema$GroupAssetsResponse>;
12096
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GroupAssetsResponse>>;
11952
12097
  group(
11953
12098
  params: Params$Resource$Organizations$Assets$Group,
11954
12099
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11979,8 +12124,8 @@ export namespace securitycenter_v1 {
11979
12124
  | BodyResponseCallback<Readable>
11980
12125
  ):
11981
12126
  | void
11982
- | GaxiosPromise<Schema$GroupAssetsResponse>
11983
- | GaxiosPromise<Readable> {
12127
+ | Promise<GaxiosResponseWithHTTP2<Schema$GroupAssetsResponse>>
12128
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11984
12129
  let params = (paramsOrCallback ||
11985
12130
  {}) as Params$Resource$Organizations$Assets$Group;
11986
12131
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -12036,11 +12181,11 @@ export namespace securitycenter_v1 {
12036
12181
  list(
12037
12182
  params: Params$Resource$Organizations$Assets$List,
12038
12183
  options: StreamMethodOptions
12039
- ): GaxiosPromise<Readable>;
12184
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
12040
12185
  list(
12041
12186
  params?: Params$Resource$Organizations$Assets$List,
12042
12187
  options?: MethodOptions
12043
- ): GaxiosPromise<Schema$ListAssetsResponse>;
12188
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListAssetsResponse>>;
12044
12189
  list(
12045
12190
  params: Params$Resource$Organizations$Assets$List,
12046
12191
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -12071,8 +12216,8 @@ export namespace securitycenter_v1 {
12071
12216
  | BodyResponseCallback<Readable>
12072
12217
  ):
12073
12218
  | void
12074
- | GaxiosPromise<Schema$ListAssetsResponse>
12075
- | GaxiosPromise<Readable> {
12219
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListAssetsResponse>>
12220
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
12076
12221
  let params = (paramsOrCallback ||
12077
12222
  {}) as Params$Resource$Organizations$Assets$List;
12078
12223
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -12128,11 +12273,11 @@ export namespace securitycenter_v1 {
12128
12273
  runDiscovery(
12129
12274
  params: Params$Resource$Organizations$Assets$Rundiscovery,
12130
12275
  options: StreamMethodOptions
12131
- ): GaxiosPromise<Readable>;
12276
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
12132
12277
  runDiscovery(
12133
12278
  params?: Params$Resource$Organizations$Assets$Rundiscovery,
12134
12279
  options?: MethodOptions
12135
- ): GaxiosPromise<Schema$Operation>;
12280
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
12136
12281
  runDiscovery(
12137
12282
  params: Params$Resource$Organizations$Assets$Rundiscovery,
12138
12283
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -12161,7 +12306,10 @@ export namespace securitycenter_v1 {
12161
12306
  callback?:
12162
12307
  | BodyResponseCallback<Schema$Operation>
12163
12308
  | BodyResponseCallback<Readable>
12164
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
12309
+ ):
12310
+ | void
12311
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
12312
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
12165
12313
  let params = (paramsOrCallback ||
12166
12314
  {}) as Params$Resource$Organizations$Assets$Rundiscovery;
12167
12315
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -12217,11 +12365,11 @@ export namespace securitycenter_v1 {
12217
12365
  updateSecurityMarks(
12218
12366
  params: Params$Resource$Organizations$Assets$Updatesecuritymarks,
12219
12367
  options: StreamMethodOptions
12220
- ): GaxiosPromise<Readable>;
12368
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
12221
12369
  updateSecurityMarks(
12222
12370
  params?: Params$Resource$Organizations$Assets$Updatesecuritymarks,
12223
12371
  options?: MethodOptions
12224
- ): GaxiosPromise<Schema$SecurityMarks>;
12372
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityMarks>>;
12225
12373
  updateSecurityMarks(
12226
12374
  params: Params$Resource$Organizations$Assets$Updatesecuritymarks,
12227
12375
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -12252,7 +12400,10 @@ export namespace securitycenter_v1 {
12252
12400
  callback?:
12253
12401
  | BodyResponseCallback<Schema$SecurityMarks>
12254
12402
  | BodyResponseCallback<Readable>
12255
- ): void | GaxiosPromise<Schema$SecurityMarks> | GaxiosPromise<Readable> {
12403
+ ):
12404
+ | void
12405
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityMarks>>
12406
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
12256
12407
  let params = (paramsOrCallback ||
12257
12408
  {}) as Params$Resource$Organizations$Assets$Updatesecuritymarks;
12258
12409
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -12392,11 +12543,11 @@ export namespace securitycenter_v1 {
12392
12543
  list(
12393
12544
  params: Params$Resource$Organizations$Attackpaths$List,
12394
12545
  options: StreamMethodOptions
12395
- ): GaxiosPromise<Readable>;
12546
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
12396
12547
  list(
12397
12548
  params?: Params$Resource$Organizations$Attackpaths$List,
12398
12549
  options?: MethodOptions
12399
- ): GaxiosPromise<Schema$ListAttackPathsResponse>;
12550
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListAttackPathsResponse>>;
12400
12551
  list(
12401
12552
  params: Params$Resource$Organizations$Attackpaths$List,
12402
12553
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -12429,8 +12580,8 @@ export namespace securitycenter_v1 {
12429
12580
  | BodyResponseCallback<Readable>
12430
12581
  ):
12431
12582
  | void
12432
- | GaxiosPromise<Schema$ListAttackPathsResponse>
12433
- | GaxiosPromise<Readable> {
12583
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListAttackPathsResponse>>
12584
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
12434
12585
  let params = (paramsOrCallback ||
12435
12586
  {}) as Params$Resource$Organizations$Attackpaths$List;
12436
12587
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -12513,11 +12664,13 @@ export namespace securitycenter_v1 {
12513
12664
  create(
12514
12665
  params: Params$Resource$Organizations$Bigqueryexports$Create,
12515
12666
  options: StreamMethodOptions
12516
- ): GaxiosPromise<Readable>;
12667
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
12517
12668
  create(
12518
12669
  params?: Params$Resource$Organizations$Bigqueryexports$Create,
12519
12670
  options?: MethodOptions
12520
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1BigQueryExport>;
12671
+ ): Promise<
12672
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
12673
+ >;
12521
12674
  create(
12522
12675
  params: Params$Resource$Organizations$Bigqueryexports$Create,
12523
12676
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -12552,8 +12705,10 @@ export namespace securitycenter_v1 {
12552
12705
  | BodyResponseCallback<Readable>
12553
12706
  ):
12554
12707
  | void
12555
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
12556
- | GaxiosPromise<Readable> {
12708
+ | Promise<
12709
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
12710
+ >
12711
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
12557
12712
  let params = (paramsOrCallback ||
12558
12713
  {}) as Params$Resource$Organizations$Bigqueryexports$Create;
12559
12714
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -12611,11 +12766,11 @@ export namespace securitycenter_v1 {
12611
12766
  delete(
12612
12767
  params: Params$Resource$Organizations$Bigqueryexports$Delete,
12613
12768
  options: StreamMethodOptions
12614
- ): GaxiosPromise<Readable>;
12769
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
12615
12770
  delete(
12616
12771
  params?: Params$Resource$Organizations$Bigqueryexports$Delete,
12617
12772
  options?: MethodOptions
12618
- ): GaxiosPromise<Schema$Empty>;
12773
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
12619
12774
  delete(
12620
12775
  params: Params$Resource$Organizations$Bigqueryexports$Delete,
12621
12776
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -12644,7 +12799,10 @@ export namespace securitycenter_v1 {
12644
12799
  callback?:
12645
12800
  | BodyResponseCallback<Schema$Empty>
12646
12801
  | BodyResponseCallback<Readable>
12647
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
12802
+ ):
12803
+ | void
12804
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
12805
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
12648
12806
  let params = (paramsOrCallback ||
12649
12807
  {}) as Params$Resource$Organizations$Bigqueryexports$Delete;
12650
12808
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -12697,11 +12855,13 @@ export namespace securitycenter_v1 {
12697
12855
  get(
12698
12856
  params: Params$Resource$Organizations$Bigqueryexports$Get,
12699
12857
  options: StreamMethodOptions
12700
- ): GaxiosPromise<Readable>;
12858
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
12701
12859
  get(
12702
12860
  params?: Params$Resource$Organizations$Bigqueryexports$Get,
12703
12861
  options?: MethodOptions
12704
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1BigQueryExport>;
12862
+ ): Promise<
12863
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
12864
+ >;
12705
12865
  get(
12706
12866
  params: Params$Resource$Organizations$Bigqueryexports$Get,
12707
12867
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -12736,8 +12896,10 @@ export namespace securitycenter_v1 {
12736
12896
  | BodyResponseCallback<Readable>
12737
12897
  ):
12738
12898
  | void
12739
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
12740
- | GaxiosPromise<Readable> {
12899
+ | Promise<
12900
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
12901
+ >
12902
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
12741
12903
  let params = (paramsOrCallback ||
12742
12904
  {}) as Params$Resource$Organizations$Bigqueryexports$Get;
12743
12905
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -12792,11 +12954,11 @@ export namespace securitycenter_v1 {
12792
12954
  list(
12793
12955
  params: Params$Resource$Organizations$Bigqueryexports$List,
12794
12956
  options: StreamMethodOptions
12795
- ): GaxiosPromise<Readable>;
12957
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
12796
12958
  list(
12797
12959
  params?: Params$Resource$Organizations$Bigqueryexports$List,
12798
12960
  options?: MethodOptions
12799
- ): GaxiosPromise<Schema$ListBigQueryExportsResponse>;
12961
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListBigQueryExportsResponse>>;
12800
12962
  list(
12801
12963
  params: Params$Resource$Organizations$Bigqueryexports$List,
12802
12964
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -12831,8 +12993,8 @@ export namespace securitycenter_v1 {
12831
12993
  | BodyResponseCallback<Readable>
12832
12994
  ):
12833
12995
  | void
12834
- | GaxiosPromise<Schema$ListBigQueryExportsResponse>
12835
- | GaxiosPromise<Readable> {
12996
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListBigQueryExportsResponse>>
12997
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
12836
12998
  let params = (paramsOrCallback ||
12837
12999
  {}) as Params$Resource$Organizations$Bigqueryexports$List;
12838
13000
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -12888,11 +13050,13 @@ export namespace securitycenter_v1 {
12888
13050
  patch(
12889
13051
  params: Params$Resource$Organizations$Bigqueryexports$Patch,
12890
13052
  options: StreamMethodOptions
12891
- ): GaxiosPromise<Readable>;
13053
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
12892
13054
  patch(
12893
13055
  params?: Params$Resource$Organizations$Bigqueryexports$Patch,
12894
13056
  options?: MethodOptions
12895
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1BigQueryExport>;
13057
+ ): Promise<
13058
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
13059
+ >;
12896
13060
  patch(
12897
13061
  params: Params$Resource$Organizations$Bigqueryexports$Patch,
12898
13062
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -12927,8 +13091,10 @@ export namespace securitycenter_v1 {
12927
13091
  | BodyResponseCallback<Readable>
12928
13092
  ):
12929
13093
  | void
12930
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
12931
- | GaxiosPromise<Readable> {
13094
+ | Promise<
13095
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
13096
+ >
13097
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
12932
13098
  let params = (paramsOrCallback ||
12933
13099
  {}) as Params$Resource$Organizations$Bigqueryexports$Patch;
12934
13100
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -13062,11 +13228,13 @@ export namespace securitycenter_v1 {
13062
13228
  validateCustomModule(
13063
13229
  params: Params$Resource$Organizations$Eventthreatdetectionsettings$Validatecustommodule,
13064
13230
  options: StreamMethodOptions
13065
- ): GaxiosPromise<Readable>;
13231
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
13066
13232
  validateCustomModule(
13067
13233
  params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Validatecustommodule,
13068
13234
  options?: MethodOptions
13069
- ): GaxiosPromise<Schema$ValidateEventThreatDetectionCustomModuleResponse>;
13235
+ ): Promise<
13236
+ GaxiosResponseWithHTTP2<Schema$ValidateEventThreatDetectionCustomModuleResponse>
13237
+ >;
13070
13238
  validateCustomModule(
13071
13239
  params: Params$Resource$Organizations$Eventthreatdetectionsettings$Validatecustommodule,
13072
13240
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -13101,8 +13269,10 @@ export namespace securitycenter_v1 {
13101
13269
  | BodyResponseCallback<Readable>
13102
13270
  ):
13103
13271
  | void
13104
- | GaxiosPromise<Schema$ValidateEventThreatDetectionCustomModuleResponse>
13105
- | GaxiosPromise<Readable> {
13272
+ | Promise<
13273
+ GaxiosResponseWithHTTP2<Schema$ValidateEventThreatDetectionCustomModuleResponse>
13274
+ >
13275
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
13106
13276
  let params = (paramsOrCallback ||
13107
13277
  {}) as Params$Resource$Organizations$Eventthreatdetectionsettings$Validatecustommodule;
13108
13278
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -13181,11 +13351,13 @@ export namespace securitycenter_v1 {
13181
13351
  create(
13182
13352
  params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Create,
13183
13353
  options: StreamMethodOptions
13184
- ): GaxiosPromise<Readable>;
13354
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
13185
13355
  create(
13186
13356
  params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Create,
13187
13357
  options?: MethodOptions
13188
- ): GaxiosPromise<Schema$EventThreatDetectionCustomModule>;
13358
+ ): Promise<
13359
+ GaxiosResponseWithHTTP2<Schema$EventThreatDetectionCustomModule>
13360
+ >;
13189
13361
  create(
13190
13362
  params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Create,
13191
13363
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -13220,8 +13392,10 @@ export namespace securitycenter_v1 {
13220
13392
  | BodyResponseCallback<Readable>
13221
13393
  ):
13222
13394
  | void
13223
- | GaxiosPromise<Schema$EventThreatDetectionCustomModule>
13224
- | GaxiosPromise<Readable> {
13395
+ | Promise<
13396
+ GaxiosResponseWithHTTP2<Schema$EventThreatDetectionCustomModule>
13397
+ >
13398
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
13225
13399
  let params = (paramsOrCallback ||
13226
13400
  {}) as Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Create;
13227
13401
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -13280,11 +13454,11 @@ export namespace securitycenter_v1 {
13280
13454
  delete(
13281
13455
  params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Delete,
13282
13456
  options: StreamMethodOptions
13283
- ): GaxiosPromise<Readable>;
13457
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
13284
13458
  delete(
13285
13459
  params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Delete,
13286
13460
  options?: MethodOptions
13287
- ): GaxiosPromise<Schema$Empty>;
13461
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
13288
13462
  delete(
13289
13463
  params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Delete,
13290
13464
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -13313,7 +13487,10 @@ export namespace securitycenter_v1 {
13313
13487
  callback?:
13314
13488
  | BodyResponseCallback<Schema$Empty>
13315
13489
  | BodyResponseCallback<Readable>
13316
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
13490
+ ):
13491
+ | void
13492
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
13493
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
13317
13494
  let params = (paramsOrCallback ||
13318
13495
  {}) as Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Delete;
13319
13496
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -13367,11 +13544,13 @@ export namespace securitycenter_v1 {
13367
13544
  get(
13368
13545
  params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Get,
13369
13546
  options: StreamMethodOptions
13370
- ): GaxiosPromise<Readable>;
13547
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
13371
13548
  get(
13372
13549
  params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Get,
13373
13550
  options?: MethodOptions
13374
- ): GaxiosPromise<Schema$EventThreatDetectionCustomModule>;
13551
+ ): Promise<
13552
+ GaxiosResponseWithHTTP2<Schema$EventThreatDetectionCustomModule>
13553
+ >;
13375
13554
  get(
13376
13555
  params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Get,
13377
13556
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -13406,8 +13585,10 @@ export namespace securitycenter_v1 {
13406
13585
  | BodyResponseCallback<Readable>
13407
13586
  ):
13408
13587
  | void
13409
- | GaxiosPromise<Schema$EventThreatDetectionCustomModule>
13410
- | GaxiosPromise<Readable> {
13588
+ | Promise<
13589
+ GaxiosResponseWithHTTP2<Schema$EventThreatDetectionCustomModule>
13590
+ >
13591
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
13411
13592
  let params = (paramsOrCallback ||
13412
13593
  {}) as Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Get;
13413
13594
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -13463,11 +13644,13 @@ export namespace securitycenter_v1 {
13463
13644
  list(
13464
13645
  params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$List,
13465
13646
  options: StreamMethodOptions
13466
- ): GaxiosPromise<Readable>;
13647
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
13467
13648
  list(
13468
13649
  params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$List,
13469
13650
  options?: MethodOptions
13470
- ): GaxiosPromise<Schema$ListEventThreatDetectionCustomModulesResponse>;
13651
+ ): Promise<
13652
+ GaxiosResponseWithHTTP2<Schema$ListEventThreatDetectionCustomModulesResponse>
13653
+ >;
13471
13654
  list(
13472
13655
  params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$List,
13473
13656
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -13502,8 +13685,10 @@ export namespace securitycenter_v1 {
13502
13685
  | BodyResponseCallback<Readable>
13503
13686
  ):
13504
13687
  | void
13505
- | GaxiosPromise<Schema$ListEventThreatDetectionCustomModulesResponse>
13506
- | GaxiosPromise<Readable> {
13688
+ | Promise<
13689
+ GaxiosResponseWithHTTP2<Schema$ListEventThreatDetectionCustomModulesResponse>
13690
+ >
13691
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
13507
13692
  let params = (paramsOrCallback ||
13508
13693
  {}) as Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$List;
13509
13694
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -13562,11 +13747,13 @@ export namespace securitycenter_v1 {
13562
13747
  listDescendant(
13563
13748
  params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Listdescendant,
13564
13749
  options: StreamMethodOptions
13565
- ): GaxiosPromise<Readable>;
13750
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
13566
13751
  listDescendant(
13567
13752
  params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Listdescendant,
13568
13753
  options?: MethodOptions
13569
- ): GaxiosPromise<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>;
13754
+ ): Promise<
13755
+ GaxiosResponseWithHTTP2<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>
13756
+ >;
13570
13757
  listDescendant(
13571
13758
  params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Listdescendant,
13572
13759
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -13601,8 +13788,10 @@ export namespace securitycenter_v1 {
13601
13788
  | BodyResponseCallback<Readable>
13602
13789
  ):
13603
13790
  | void
13604
- | GaxiosPromise<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>
13605
- | GaxiosPromise<Readable> {
13791
+ | Promise<
13792
+ GaxiosResponseWithHTTP2<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>
13793
+ >
13794
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
13606
13795
  let params = (paramsOrCallback ||
13607
13796
  {}) as Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Listdescendant;
13608
13797
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -13660,11 +13849,13 @@ export namespace securitycenter_v1 {
13660
13849
  patch(
13661
13850
  params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Patch,
13662
13851
  options: StreamMethodOptions
13663
- ): GaxiosPromise<Readable>;
13852
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
13664
13853
  patch(
13665
13854
  params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Patch,
13666
13855
  options?: MethodOptions
13667
- ): GaxiosPromise<Schema$EventThreatDetectionCustomModule>;
13856
+ ): Promise<
13857
+ GaxiosResponseWithHTTP2<Schema$EventThreatDetectionCustomModule>
13858
+ >;
13668
13859
  patch(
13669
13860
  params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Patch,
13670
13861
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -13699,8 +13890,10 @@ export namespace securitycenter_v1 {
13699
13890
  | BodyResponseCallback<Readable>
13700
13891
  ):
13701
13892
  | void
13702
- | GaxiosPromise<Schema$EventThreatDetectionCustomModule>
13703
- | GaxiosPromise<Readable> {
13893
+ | Promise<
13894
+ GaxiosResponseWithHTTP2<Schema$EventThreatDetectionCustomModule>
13895
+ >
13896
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
13704
13897
  let params = (paramsOrCallback ||
13705
13898
  {}) as Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Patch;
13706
13899
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -13836,11 +14029,13 @@ export namespace securitycenter_v1 {
13836
14029
  get(
13837
14030
  params: Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$Get,
13838
14031
  options: StreamMethodOptions
13839
- ): GaxiosPromise<Readable>;
14032
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
13840
14033
  get(
13841
14034
  params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$Get,
13842
14035
  options?: MethodOptions
13843
- ): GaxiosPromise<Schema$EffectiveEventThreatDetectionCustomModule>;
14036
+ ): Promise<
14037
+ GaxiosResponseWithHTTP2<Schema$EffectiveEventThreatDetectionCustomModule>
14038
+ >;
13844
14039
  get(
13845
14040
  params: Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$Get,
13846
14041
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -13875,8 +14070,10 @@ export namespace securitycenter_v1 {
13875
14070
  | BodyResponseCallback<Readable>
13876
14071
  ):
13877
14072
  | void
13878
- | GaxiosPromise<Schema$EffectiveEventThreatDetectionCustomModule>
13879
- | GaxiosPromise<Readable> {
14073
+ | Promise<
14074
+ GaxiosResponseWithHTTP2<Schema$EffectiveEventThreatDetectionCustomModule>
14075
+ >
14076
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
13880
14077
  let params = (paramsOrCallback ||
13881
14078
  {}) as Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$Get;
13882
14079
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -13932,11 +14129,13 @@ export namespace securitycenter_v1 {
13932
14129
  list(
13933
14130
  params: Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$List,
13934
14131
  options: StreamMethodOptions
13935
- ): GaxiosPromise<Readable>;
14132
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
13936
14133
  list(
13937
14134
  params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$List,
13938
14135
  options?: MethodOptions
13939
- ): GaxiosPromise<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>;
14136
+ ): Promise<
14137
+ GaxiosResponseWithHTTP2<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>
14138
+ >;
13940
14139
  list(
13941
14140
  params: Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$List,
13942
14141
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -13971,8 +14170,10 @@ export namespace securitycenter_v1 {
13971
14170
  | BodyResponseCallback<Readable>
13972
14171
  ):
13973
14172
  | void
13974
- | GaxiosPromise<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>
13975
- | GaxiosPromise<Readable> {
14173
+ | Promise<
14174
+ GaxiosResponseWithHTTP2<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>
14175
+ >
14176
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
13976
14177
  let params = (paramsOrCallback ||
13977
14178
  {}) as Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$List;
13978
14179
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -14061,11 +14262,11 @@ export namespace securitycenter_v1 {
14061
14262
  bulkMute(
14062
14263
  params: Params$Resource$Organizations$Findings$Bulkmute,
14063
14264
  options: StreamMethodOptions
14064
- ): GaxiosPromise<Readable>;
14265
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
14065
14266
  bulkMute(
14066
14267
  params?: Params$Resource$Organizations$Findings$Bulkmute,
14067
14268
  options?: MethodOptions
14068
- ): GaxiosPromise<Schema$Operation>;
14269
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
14069
14270
  bulkMute(
14070
14271
  params: Params$Resource$Organizations$Findings$Bulkmute,
14071
14272
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -14094,7 +14295,10 @@ export namespace securitycenter_v1 {
14094
14295
  callback?:
14095
14296
  | BodyResponseCallback<Schema$Operation>
14096
14297
  | BodyResponseCallback<Readable>
14097
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
14298
+ ):
14299
+ | void
14300
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
14301
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
14098
14302
  let params = (paramsOrCallback ||
14099
14303
  {}) as Params$Resource$Organizations$Findings$Bulkmute;
14100
14304
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -14181,11 +14385,11 @@ export namespace securitycenter_v1 {
14181
14385
  delete(
14182
14386
  params: Params$Resource$Organizations$Locations$Muteconfigs$Delete,
14183
14387
  options: StreamMethodOptions
14184
- ): GaxiosPromise<Readable>;
14388
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
14185
14389
  delete(
14186
14390
  params?: Params$Resource$Organizations$Locations$Muteconfigs$Delete,
14187
14391
  options?: MethodOptions
14188
- ): GaxiosPromise<Schema$Empty>;
14392
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
14189
14393
  delete(
14190
14394
  params: Params$Resource$Organizations$Locations$Muteconfigs$Delete,
14191
14395
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -14214,7 +14418,10 @@ export namespace securitycenter_v1 {
14214
14418
  callback?:
14215
14419
  | BodyResponseCallback<Schema$Empty>
14216
14420
  | BodyResponseCallback<Readable>
14217
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
14421
+ ):
14422
+ | void
14423
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
14424
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
14218
14425
  let params = (paramsOrCallback ||
14219
14426
  {}) as Params$Resource$Organizations$Locations$Muteconfigs$Delete;
14220
14427
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -14268,11 +14475,13 @@ export namespace securitycenter_v1 {
14268
14475
  get(
14269
14476
  params: Params$Resource$Organizations$Locations$Muteconfigs$Get,
14270
14477
  options: StreamMethodOptions
14271
- ): GaxiosPromise<Readable>;
14478
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
14272
14479
  get(
14273
14480
  params?: Params$Resource$Organizations$Locations$Muteconfigs$Get,
14274
14481
  options?: MethodOptions
14275
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
14482
+ ): Promise<
14483
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
14484
+ >;
14276
14485
  get(
14277
14486
  params: Params$Resource$Organizations$Locations$Muteconfigs$Get,
14278
14487
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -14307,8 +14516,10 @@ export namespace securitycenter_v1 {
14307
14516
  | BodyResponseCallback<Readable>
14308
14517
  ):
14309
14518
  | void
14310
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
14311
- | GaxiosPromise<Readable> {
14519
+ | Promise<
14520
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
14521
+ >
14522
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
14312
14523
  let params = (paramsOrCallback ||
14313
14524
  {}) as Params$Resource$Organizations$Locations$Muteconfigs$Get;
14314
14525
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -14363,11 +14574,13 @@ export namespace securitycenter_v1 {
14363
14574
  patch(
14364
14575
  params: Params$Resource$Organizations$Locations$Muteconfigs$Patch,
14365
14576
  options: StreamMethodOptions
14366
- ): GaxiosPromise<Readable>;
14577
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
14367
14578
  patch(
14368
14579
  params?: Params$Resource$Organizations$Locations$Muteconfigs$Patch,
14369
14580
  options?: MethodOptions
14370
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
14581
+ ): Promise<
14582
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
14583
+ >;
14371
14584
  patch(
14372
14585
  params: Params$Resource$Organizations$Locations$Muteconfigs$Patch,
14373
14586
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -14402,8 +14615,10 @@ export namespace securitycenter_v1 {
14402
14615
  | BodyResponseCallback<Readable>
14403
14616
  ):
14404
14617
  | void
14405
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
14406
- | GaxiosPromise<Readable> {
14618
+ | Promise<
14619
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
14620
+ >
14621
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
14407
14622
  let params = (paramsOrCallback ||
14408
14623
  {}) as Params$Resource$Organizations$Locations$Muteconfigs$Patch;
14409
14624
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -14497,11 +14712,13 @@ export namespace securitycenter_v1 {
14497
14712
  create(
14498
14713
  params: Params$Resource$Organizations$Muteconfigs$Create,
14499
14714
  options: StreamMethodOptions
14500
- ): GaxiosPromise<Readable>;
14715
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
14501
14716
  create(
14502
14717
  params?: Params$Resource$Organizations$Muteconfigs$Create,
14503
14718
  options?: MethodOptions
14504
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
14719
+ ): Promise<
14720
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
14721
+ >;
14505
14722
  create(
14506
14723
  params: Params$Resource$Organizations$Muteconfigs$Create,
14507
14724
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -14536,8 +14753,10 @@ export namespace securitycenter_v1 {
14536
14753
  | BodyResponseCallback<Readable>
14537
14754
  ):
14538
14755
  | void
14539
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
14540
- | GaxiosPromise<Readable> {
14756
+ | Promise<
14757
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
14758
+ >
14759
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
14541
14760
  let params = (paramsOrCallback ||
14542
14761
  {}) as Params$Resource$Organizations$Muteconfigs$Create;
14543
14762
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -14595,11 +14814,11 @@ export namespace securitycenter_v1 {
14595
14814
  delete(
14596
14815
  params: Params$Resource$Organizations$Muteconfigs$Delete,
14597
14816
  options: StreamMethodOptions
14598
- ): GaxiosPromise<Readable>;
14817
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
14599
14818
  delete(
14600
14819
  params?: Params$Resource$Organizations$Muteconfigs$Delete,
14601
14820
  options?: MethodOptions
14602
- ): GaxiosPromise<Schema$Empty>;
14821
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
14603
14822
  delete(
14604
14823
  params: Params$Resource$Organizations$Muteconfigs$Delete,
14605
14824
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -14628,7 +14847,10 @@ export namespace securitycenter_v1 {
14628
14847
  callback?:
14629
14848
  | BodyResponseCallback<Schema$Empty>
14630
14849
  | BodyResponseCallback<Readable>
14631
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
14850
+ ):
14851
+ | void
14852
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
14853
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
14632
14854
  let params = (paramsOrCallback ||
14633
14855
  {}) as Params$Resource$Organizations$Muteconfigs$Delete;
14634
14856
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -14681,11 +14903,13 @@ export namespace securitycenter_v1 {
14681
14903
  get(
14682
14904
  params: Params$Resource$Organizations$Muteconfigs$Get,
14683
14905
  options: StreamMethodOptions
14684
- ): GaxiosPromise<Readable>;
14906
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
14685
14907
  get(
14686
14908
  params?: Params$Resource$Organizations$Muteconfigs$Get,
14687
14909
  options?: MethodOptions
14688
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
14910
+ ): Promise<
14911
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
14912
+ >;
14689
14913
  get(
14690
14914
  params: Params$Resource$Organizations$Muteconfigs$Get,
14691
14915
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -14720,8 +14944,10 @@ export namespace securitycenter_v1 {
14720
14944
  | BodyResponseCallback<Readable>
14721
14945
  ):
14722
14946
  | void
14723
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
14724
- | GaxiosPromise<Readable> {
14947
+ | Promise<
14948
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
14949
+ >
14950
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
14725
14951
  let params = (paramsOrCallback ||
14726
14952
  {}) as Params$Resource$Organizations$Muteconfigs$Get;
14727
14953
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -14776,11 +15002,11 @@ export namespace securitycenter_v1 {
14776
15002
  list(
14777
15003
  params: Params$Resource$Organizations$Muteconfigs$List,
14778
15004
  options: StreamMethodOptions
14779
- ): GaxiosPromise<Readable>;
15005
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
14780
15006
  list(
14781
15007
  params?: Params$Resource$Organizations$Muteconfigs$List,
14782
15008
  options?: MethodOptions
14783
- ): GaxiosPromise<Schema$ListMuteConfigsResponse>;
15009
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListMuteConfigsResponse>>;
14784
15010
  list(
14785
15011
  params: Params$Resource$Organizations$Muteconfigs$List,
14786
15012
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -14813,8 +15039,8 @@ export namespace securitycenter_v1 {
14813
15039
  | BodyResponseCallback<Readable>
14814
15040
  ):
14815
15041
  | void
14816
- | GaxiosPromise<Schema$ListMuteConfigsResponse>
14817
- | GaxiosPromise<Readable> {
15042
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListMuteConfigsResponse>>
15043
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
14818
15044
  let params = (paramsOrCallback ||
14819
15045
  {}) as Params$Resource$Organizations$Muteconfigs$List;
14820
15046
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -14870,11 +15096,13 @@ export namespace securitycenter_v1 {
14870
15096
  patch(
14871
15097
  params: Params$Resource$Organizations$Muteconfigs$Patch,
14872
15098
  options: StreamMethodOptions
14873
- ): GaxiosPromise<Readable>;
15099
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
14874
15100
  patch(
14875
15101
  params?: Params$Resource$Organizations$Muteconfigs$Patch,
14876
15102
  options?: MethodOptions
14877
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
15103
+ ): Promise<
15104
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
15105
+ >;
14878
15106
  patch(
14879
15107
  params: Params$Resource$Organizations$Muteconfigs$Patch,
14880
15108
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -14909,8 +15137,10 @@ export namespace securitycenter_v1 {
14909
15137
  | BodyResponseCallback<Readable>
14910
15138
  ):
14911
15139
  | void
14912
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
14913
- | GaxiosPromise<Readable> {
15140
+ | Promise<
15141
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
15142
+ >
15143
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
14914
15144
  let params = (paramsOrCallback ||
14915
15145
  {}) as Params$Resource$Organizations$Muteconfigs$Patch;
14916
15146
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -15034,11 +15264,11 @@ export namespace securitycenter_v1 {
15034
15264
  create(
15035
15265
  params: Params$Resource$Organizations$Notificationconfigs$Create,
15036
15266
  options: StreamMethodOptions
15037
- ): GaxiosPromise<Readable>;
15267
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
15038
15268
  create(
15039
15269
  params?: Params$Resource$Organizations$Notificationconfigs$Create,
15040
15270
  options?: MethodOptions
15041
- ): GaxiosPromise<Schema$NotificationConfig>;
15271
+ ): Promise<GaxiosResponseWithHTTP2<Schema$NotificationConfig>>;
15042
15272
  create(
15043
15273
  params: Params$Resource$Organizations$Notificationconfigs$Create,
15044
15274
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -15069,8 +15299,8 @@ export namespace securitycenter_v1 {
15069
15299
  | BodyResponseCallback<Readable>
15070
15300
  ):
15071
15301
  | void
15072
- | GaxiosPromise<Schema$NotificationConfig>
15073
- | GaxiosPromise<Readable> {
15302
+ | Promise<GaxiosResponseWithHTTP2<Schema$NotificationConfig>>
15303
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
15074
15304
  let params = (paramsOrCallback ||
15075
15305
  {}) as Params$Resource$Organizations$Notificationconfigs$Create;
15076
15306
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -15126,11 +15356,11 @@ export namespace securitycenter_v1 {
15126
15356
  delete(
15127
15357
  params: Params$Resource$Organizations$Notificationconfigs$Delete,
15128
15358
  options: StreamMethodOptions
15129
- ): GaxiosPromise<Readable>;
15359
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
15130
15360
  delete(
15131
15361
  params?: Params$Resource$Organizations$Notificationconfigs$Delete,
15132
15362
  options?: MethodOptions
15133
- ): GaxiosPromise<Schema$Empty>;
15363
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
15134
15364
  delete(
15135
15365
  params: Params$Resource$Organizations$Notificationconfigs$Delete,
15136
15366
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -15159,7 +15389,10 @@ export namespace securitycenter_v1 {
15159
15389
  callback?:
15160
15390
  | BodyResponseCallback<Schema$Empty>
15161
15391
  | BodyResponseCallback<Readable>
15162
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
15392
+ ):
15393
+ | void
15394
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
15395
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
15163
15396
  let params = (paramsOrCallback ||
15164
15397
  {}) as Params$Resource$Organizations$Notificationconfigs$Delete;
15165
15398
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -15212,11 +15445,11 @@ export namespace securitycenter_v1 {
15212
15445
  get(
15213
15446
  params: Params$Resource$Organizations$Notificationconfigs$Get,
15214
15447
  options: StreamMethodOptions
15215
- ): GaxiosPromise<Readable>;
15448
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
15216
15449
  get(
15217
15450
  params?: Params$Resource$Organizations$Notificationconfigs$Get,
15218
15451
  options?: MethodOptions
15219
- ): GaxiosPromise<Schema$NotificationConfig>;
15452
+ ): Promise<GaxiosResponseWithHTTP2<Schema$NotificationConfig>>;
15220
15453
  get(
15221
15454
  params: Params$Resource$Organizations$Notificationconfigs$Get,
15222
15455
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -15247,8 +15480,8 @@ export namespace securitycenter_v1 {
15247
15480
  | BodyResponseCallback<Readable>
15248
15481
  ):
15249
15482
  | void
15250
- | GaxiosPromise<Schema$NotificationConfig>
15251
- | GaxiosPromise<Readable> {
15483
+ | Promise<GaxiosResponseWithHTTP2<Schema$NotificationConfig>>
15484
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
15252
15485
  let params = (paramsOrCallback ||
15253
15486
  {}) as Params$Resource$Organizations$Notificationconfigs$Get;
15254
15487
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -15301,11 +15534,11 @@ export namespace securitycenter_v1 {
15301
15534
  list(
15302
15535
  params: Params$Resource$Organizations$Notificationconfigs$List,
15303
15536
  options: StreamMethodOptions
15304
- ): GaxiosPromise<Readable>;
15537
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
15305
15538
  list(
15306
15539
  params?: Params$Resource$Organizations$Notificationconfigs$List,
15307
15540
  options?: MethodOptions
15308
- ): GaxiosPromise<Schema$ListNotificationConfigsResponse>;
15541
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListNotificationConfigsResponse>>;
15309
15542
  list(
15310
15543
  params: Params$Resource$Organizations$Notificationconfigs$List,
15311
15544
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -15340,8 +15573,8 @@ export namespace securitycenter_v1 {
15340
15573
  | BodyResponseCallback<Readable>
15341
15574
  ):
15342
15575
  | void
15343
- | GaxiosPromise<Schema$ListNotificationConfigsResponse>
15344
- | GaxiosPromise<Readable> {
15576
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListNotificationConfigsResponse>>
15577
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
15345
15578
  let params = (paramsOrCallback ||
15346
15579
  {}) as Params$Resource$Organizations$Notificationconfigs$List;
15347
15580
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -15399,11 +15632,11 @@ export namespace securitycenter_v1 {
15399
15632
  patch(
15400
15633
  params: Params$Resource$Organizations$Notificationconfigs$Patch,
15401
15634
  options: StreamMethodOptions
15402
- ): GaxiosPromise<Readable>;
15635
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
15403
15636
  patch(
15404
15637
  params?: Params$Resource$Organizations$Notificationconfigs$Patch,
15405
15638
  options?: MethodOptions
15406
- ): GaxiosPromise<Schema$NotificationConfig>;
15639
+ ): Promise<GaxiosResponseWithHTTP2<Schema$NotificationConfig>>;
15407
15640
  patch(
15408
15641
  params: Params$Resource$Organizations$Notificationconfigs$Patch,
15409
15642
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -15434,8 +15667,8 @@ export namespace securitycenter_v1 {
15434
15667
  | BodyResponseCallback<Readable>
15435
15668
  ):
15436
15669
  | void
15437
- | GaxiosPromise<Schema$NotificationConfig>
15438
- | GaxiosPromise<Readable> {
15670
+ | Promise<GaxiosResponseWithHTTP2<Schema$NotificationConfig>>
15671
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
15439
15672
  let params = (paramsOrCallback ||
15440
15673
  {}) as Params$Resource$Organizations$Notificationconfigs$Patch;
15441
15674
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -15557,11 +15790,11 @@ export namespace securitycenter_v1 {
15557
15790
  cancel(
15558
15791
  params: Params$Resource$Organizations$Operations$Cancel,
15559
15792
  options: StreamMethodOptions
15560
- ): GaxiosPromise<Readable>;
15793
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
15561
15794
  cancel(
15562
15795
  params?: Params$Resource$Organizations$Operations$Cancel,
15563
15796
  options?: MethodOptions
15564
- ): GaxiosPromise<Schema$Empty>;
15797
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
15565
15798
  cancel(
15566
15799
  params: Params$Resource$Organizations$Operations$Cancel,
15567
15800
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -15590,7 +15823,10 @@ export namespace securitycenter_v1 {
15590
15823
  callback?:
15591
15824
  | BodyResponseCallback<Schema$Empty>
15592
15825
  | BodyResponseCallback<Readable>
15593
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
15826
+ ):
15827
+ | void
15828
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
15829
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
15594
15830
  let params = (paramsOrCallback ||
15595
15831
  {}) as Params$Resource$Organizations$Operations$Cancel;
15596
15832
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -15643,11 +15879,11 @@ export namespace securitycenter_v1 {
15643
15879
  delete(
15644
15880
  params: Params$Resource$Organizations$Operations$Delete,
15645
15881
  options: StreamMethodOptions
15646
- ): GaxiosPromise<Readable>;
15882
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
15647
15883
  delete(
15648
15884
  params?: Params$Resource$Organizations$Operations$Delete,
15649
15885
  options?: MethodOptions
15650
- ): GaxiosPromise<Schema$Empty>;
15886
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
15651
15887
  delete(
15652
15888
  params: Params$Resource$Organizations$Operations$Delete,
15653
15889
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -15676,7 +15912,10 @@ export namespace securitycenter_v1 {
15676
15912
  callback?:
15677
15913
  | BodyResponseCallback<Schema$Empty>
15678
15914
  | BodyResponseCallback<Readable>
15679
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
15915
+ ):
15916
+ | void
15917
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
15918
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
15680
15919
  let params = (paramsOrCallback ||
15681
15920
  {}) as Params$Resource$Organizations$Operations$Delete;
15682
15921
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -15729,11 +15968,11 @@ export namespace securitycenter_v1 {
15729
15968
  get(
15730
15969
  params: Params$Resource$Organizations$Operations$Get,
15731
15970
  options: StreamMethodOptions
15732
- ): GaxiosPromise<Readable>;
15971
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
15733
15972
  get(
15734
15973
  params?: Params$Resource$Organizations$Operations$Get,
15735
15974
  options?: MethodOptions
15736
- ): GaxiosPromise<Schema$Operation>;
15975
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
15737
15976
  get(
15738
15977
  params: Params$Resource$Organizations$Operations$Get,
15739
15978
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -15762,7 +16001,10 @@ export namespace securitycenter_v1 {
15762
16001
  callback?:
15763
16002
  | BodyResponseCallback<Schema$Operation>
15764
16003
  | BodyResponseCallback<Readable>
15765
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
16004
+ ):
16005
+ | void
16006
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
16007
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
15766
16008
  let params = (paramsOrCallback ||
15767
16009
  {}) as Params$Resource$Organizations$Operations$Get;
15768
16010
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -15815,11 +16057,11 @@ export namespace securitycenter_v1 {
15815
16057
  list(
15816
16058
  params: Params$Resource$Organizations$Operations$List,
15817
16059
  options: StreamMethodOptions
15818
- ): GaxiosPromise<Readable>;
16060
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
15819
16061
  list(
15820
16062
  params?: Params$Resource$Organizations$Operations$List,
15821
16063
  options?: MethodOptions
15822
- ): GaxiosPromise<Schema$ListOperationsResponse>;
16064
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
15823
16065
  list(
15824
16066
  params: Params$Resource$Organizations$Operations$List,
15825
16067
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -15852,8 +16094,8 @@ export namespace securitycenter_v1 {
15852
16094
  | BodyResponseCallback<Readable>
15853
16095
  ):
15854
16096
  | void
15855
- | GaxiosPromise<Schema$ListOperationsResponse>
15856
- | GaxiosPromise<Readable> {
16097
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>
16098
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
15857
16099
  let params = (paramsOrCallback ||
15858
16100
  {}) as Params$Resource$Organizations$Operations$List;
15859
16101
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -15954,11 +16196,13 @@ export namespace securitycenter_v1 {
15954
16196
  batchCreate(
15955
16197
  params: Params$Resource$Organizations$Resourcevalueconfigs$Batchcreate,
15956
16198
  options: StreamMethodOptions
15957
- ): GaxiosPromise<Readable>;
16199
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
15958
16200
  batchCreate(
15959
16201
  params?: Params$Resource$Organizations$Resourcevalueconfigs$Batchcreate,
15960
16202
  options?: MethodOptions
15961
- ): GaxiosPromise<Schema$BatchCreateResourceValueConfigsResponse>;
16203
+ ): Promise<
16204
+ GaxiosResponseWithHTTP2<Schema$BatchCreateResourceValueConfigsResponse>
16205
+ >;
15962
16206
  batchCreate(
15963
16207
  params: Params$Resource$Organizations$Resourcevalueconfigs$Batchcreate,
15964
16208
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -15993,8 +16237,10 @@ export namespace securitycenter_v1 {
15993
16237
  | BodyResponseCallback<Readable>
15994
16238
  ):
15995
16239
  | void
15996
- | GaxiosPromise<Schema$BatchCreateResourceValueConfigsResponse>
15997
- | GaxiosPromise<Readable> {
16240
+ | Promise<
16241
+ GaxiosResponseWithHTTP2<Schema$BatchCreateResourceValueConfigsResponse>
16242
+ >
16243
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
15998
16244
  let params = (paramsOrCallback ||
15999
16245
  {}) as Params$Resource$Organizations$Resourcevalueconfigs$Batchcreate;
16000
16246
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -16052,11 +16298,11 @@ export namespace securitycenter_v1 {
16052
16298
  delete(
16053
16299
  params: Params$Resource$Organizations$Resourcevalueconfigs$Delete,
16054
16300
  options: StreamMethodOptions
16055
- ): GaxiosPromise<Readable>;
16301
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
16056
16302
  delete(
16057
16303
  params?: Params$Resource$Organizations$Resourcevalueconfigs$Delete,
16058
16304
  options?: MethodOptions
16059
- ): GaxiosPromise<Schema$Empty>;
16305
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
16060
16306
  delete(
16061
16307
  params: Params$Resource$Organizations$Resourcevalueconfigs$Delete,
16062
16308
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -16085,7 +16331,10 @@ export namespace securitycenter_v1 {
16085
16331
  callback?:
16086
16332
  | BodyResponseCallback<Schema$Empty>
16087
16333
  | BodyResponseCallback<Readable>
16088
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
16334
+ ):
16335
+ | void
16336
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
16337
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
16089
16338
  let params = (paramsOrCallback ||
16090
16339
  {}) as Params$Resource$Organizations$Resourcevalueconfigs$Delete;
16091
16340
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -16139,11 +16388,13 @@ export namespace securitycenter_v1 {
16139
16388
  get(
16140
16389
  params: Params$Resource$Organizations$Resourcevalueconfigs$Get,
16141
16390
  options: StreamMethodOptions
16142
- ): GaxiosPromise<Readable>;
16391
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
16143
16392
  get(
16144
16393
  params?: Params$Resource$Organizations$Resourcevalueconfigs$Get,
16145
16394
  options?: MethodOptions
16146
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1ResourceValueConfig>;
16395
+ ): Promise<
16396
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1ResourceValueConfig>
16397
+ >;
16147
16398
  get(
16148
16399
  params: Params$Resource$Organizations$Resourcevalueconfigs$Get,
16149
16400
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -16178,8 +16429,10 @@ export namespace securitycenter_v1 {
16178
16429
  | BodyResponseCallback<Readable>
16179
16430
  ):
16180
16431
  | void
16181
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1ResourceValueConfig>
16182
- | GaxiosPromise<Readable> {
16432
+ | Promise<
16433
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1ResourceValueConfig>
16434
+ >
16435
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
16183
16436
  let params = (paramsOrCallback ||
16184
16437
  {}) as Params$Resource$Organizations$Resourcevalueconfigs$Get;
16185
16438
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -16234,11 +16487,13 @@ export namespace securitycenter_v1 {
16234
16487
  list(
16235
16488
  params: Params$Resource$Organizations$Resourcevalueconfigs$List,
16236
16489
  options: StreamMethodOptions
16237
- ): GaxiosPromise<Readable>;
16490
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
16238
16491
  list(
16239
16492
  params?: Params$Resource$Organizations$Resourcevalueconfigs$List,
16240
16493
  options?: MethodOptions
16241
- ): GaxiosPromise<Schema$ListResourceValueConfigsResponse>;
16494
+ ): Promise<
16495
+ GaxiosResponseWithHTTP2<Schema$ListResourceValueConfigsResponse>
16496
+ >;
16242
16497
  list(
16243
16498
  params: Params$Resource$Organizations$Resourcevalueconfigs$List,
16244
16499
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -16273,8 +16528,10 @@ export namespace securitycenter_v1 {
16273
16528
  | BodyResponseCallback<Readable>
16274
16529
  ):
16275
16530
  | void
16276
- | GaxiosPromise<Schema$ListResourceValueConfigsResponse>
16277
- | GaxiosPromise<Readable> {
16531
+ | Promise<
16532
+ GaxiosResponseWithHTTP2<Schema$ListResourceValueConfigsResponse>
16533
+ >
16534
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
16278
16535
  let params = (paramsOrCallback ||
16279
16536
  {}) as Params$Resource$Organizations$Resourcevalueconfigs$List;
16280
16537
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -16332,11 +16589,13 @@ export namespace securitycenter_v1 {
16332
16589
  patch(
16333
16590
  params: Params$Resource$Organizations$Resourcevalueconfigs$Patch,
16334
16591
  options: StreamMethodOptions
16335
- ): GaxiosPromise<Readable>;
16592
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
16336
16593
  patch(
16337
16594
  params?: Params$Resource$Organizations$Resourcevalueconfigs$Patch,
16338
16595
  options?: MethodOptions
16339
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1ResourceValueConfig>;
16596
+ ): Promise<
16597
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1ResourceValueConfig>
16598
+ >;
16340
16599
  patch(
16341
16600
  params: Params$Resource$Organizations$Resourcevalueconfigs$Patch,
16342
16601
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -16371,8 +16630,10 @@ export namespace securitycenter_v1 {
16371
16630
  | BodyResponseCallback<Readable>
16372
16631
  ):
16373
16632
  | void
16374
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1ResourceValueConfig>
16375
- | GaxiosPromise<Readable> {
16633
+ | Promise<
16634
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1ResourceValueConfig>
16635
+ >
16636
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
16376
16637
  let params = (paramsOrCallback ||
16377
16638
  {}) as Params$Resource$Organizations$Resourcevalueconfigs$Patch;
16378
16639
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -16509,11 +16770,13 @@ export namespace securitycenter_v1 {
16509
16770
  create(
16510
16771
  params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Create,
16511
16772
  options: StreamMethodOptions
16512
- ): GaxiosPromise<Readable>;
16773
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
16513
16774
  create(
16514
16775
  params?: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Create,
16515
16776
  options?: MethodOptions
16516
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>;
16777
+ ): Promise<
16778
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
16779
+ >;
16517
16780
  create(
16518
16781
  params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Create,
16519
16782
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -16548,8 +16811,10 @@ export namespace securitycenter_v1 {
16548
16811
  | BodyResponseCallback<Readable>
16549
16812
  ):
16550
16813
  | void
16551
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
16552
- | GaxiosPromise<Readable> {
16814
+ | Promise<
16815
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
16816
+ >
16817
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
16553
16818
  let params = (paramsOrCallback ||
16554
16819
  {}) as Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Create;
16555
16820
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -16608,11 +16873,11 @@ export namespace securitycenter_v1 {
16608
16873
  delete(
16609
16874
  params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Delete,
16610
16875
  options: StreamMethodOptions
16611
- ): GaxiosPromise<Readable>;
16876
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
16612
16877
  delete(
16613
16878
  params?: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Delete,
16614
16879
  options?: MethodOptions
16615
- ): GaxiosPromise<Schema$Empty>;
16880
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
16616
16881
  delete(
16617
16882
  params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Delete,
16618
16883
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -16641,7 +16906,10 @@ export namespace securitycenter_v1 {
16641
16906
  callback?:
16642
16907
  | BodyResponseCallback<Schema$Empty>
16643
16908
  | BodyResponseCallback<Readable>
16644
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
16909
+ ):
16910
+ | void
16911
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
16912
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
16645
16913
  let params = (paramsOrCallback ||
16646
16914
  {}) as Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Delete;
16647
16915
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -16695,11 +16963,13 @@ export namespace securitycenter_v1 {
16695
16963
  get(
16696
16964
  params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Get,
16697
16965
  options: StreamMethodOptions
16698
- ): GaxiosPromise<Readable>;
16966
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
16699
16967
  get(
16700
16968
  params?: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Get,
16701
16969
  options?: MethodOptions
16702
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>;
16970
+ ): Promise<
16971
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
16972
+ >;
16703
16973
  get(
16704
16974
  params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Get,
16705
16975
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -16734,8 +17004,10 @@ export namespace securitycenter_v1 {
16734
17004
  | BodyResponseCallback<Readable>
16735
17005
  ):
16736
17006
  | void
16737
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
16738
- | GaxiosPromise<Readable> {
17007
+ | Promise<
17008
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
17009
+ >
17010
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
16739
17011
  let params = (paramsOrCallback ||
16740
17012
  {}) as Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Get;
16741
17013
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -16791,11 +17063,13 @@ export namespace securitycenter_v1 {
16791
17063
  list(
16792
17064
  params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$List,
16793
17065
  options: StreamMethodOptions
16794
- ): GaxiosPromise<Readable>;
17066
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
16795
17067
  list(
16796
17068
  params?: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$List,
16797
17069
  options?: MethodOptions
16798
- ): GaxiosPromise<Schema$ListSecurityHealthAnalyticsCustomModulesResponse>;
17070
+ ): Promise<
17071
+ GaxiosResponseWithHTTP2<Schema$ListSecurityHealthAnalyticsCustomModulesResponse>
17072
+ >;
16799
17073
  list(
16800
17074
  params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$List,
16801
17075
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -16830,8 +17104,10 @@ export namespace securitycenter_v1 {
16830
17104
  | BodyResponseCallback<Readable>
16831
17105
  ):
16832
17106
  | void
16833
- | GaxiosPromise<Schema$ListSecurityHealthAnalyticsCustomModulesResponse>
16834
- | GaxiosPromise<Readable> {
17107
+ | Promise<
17108
+ GaxiosResponseWithHTTP2<Schema$ListSecurityHealthAnalyticsCustomModulesResponse>
17109
+ >
17110
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
16835
17111
  let params = (paramsOrCallback ||
16836
17112
  {}) as Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$List;
16837
17113
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -16890,11 +17166,13 @@ export namespace securitycenter_v1 {
16890
17166
  listDescendant(
16891
17167
  params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Listdescendant,
16892
17168
  options: StreamMethodOptions
16893
- ): GaxiosPromise<Readable>;
17169
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
16894
17170
  listDescendant(
16895
17171
  params?: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Listdescendant,
16896
17172
  options?: MethodOptions
16897
- ): GaxiosPromise<Schema$ListDescendantSecurityHealthAnalyticsCustomModulesResponse>;
17173
+ ): Promise<
17174
+ GaxiosResponseWithHTTP2<Schema$ListDescendantSecurityHealthAnalyticsCustomModulesResponse>
17175
+ >;
16898
17176
  listDescendant(
16899
17177
  params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Listdescendant,
16900
17178
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -16929,8 +17207,10 @@ export namespace securitycenter_v1 {
16929
17207
  | BodyResponseCallback<Readable>
16930
17208
  ):
16931
17209
  | void
16932
- | GaxiosPromise<Schema$ListDescendantSecurityHealthAnalyticsCustomModulesResponse>
16933
- | GaxiosPromise<Readable> {
17210
+ | Promise<
17211
+ GaxiosResponseWithHTTP2<Schema$ListDescendantSecurityHealthAnalyticsCustomModulesResponse>
17212
+ >
17213
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
16934
17214
  let params = (paramsOrCallback ||
16935
17215
  {}) as Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Listdescendant;
16936
17216
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -16988,11 +17268,13 @@ export namespace securitycenter_v1 {
16988
17268
  patch(
16989
17269
  params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Patch,
16990
17270
  options: StreamMethodOptions
16991
- ): GaxiosPromise<Readable>;
17271
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
16992
17272
  patch(
16993
17273
  params?: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Patch,
16994
17274
  options?: MethodOptions
16995
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>;
17275
+ ): Promise<
17276
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
17277
+ >;
16996
17278
  patch(
16997
17279
  params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Patch,
16998
17280
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -17027,8 +17309,10 @@ export namespace securitycenter_v1 {
17027
17309
  | BodyResponseCallback<Readable>
17028
17310
  ):
17029
17311
  | void
17030
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
17031
- | GaxiosPromise<Readable> {
17312
+ | Promise<
17313
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
17314
+ >
17315
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
17032
17316
  let params = (paramsOrCallback ||
17033
17317
  {}) as Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Patch;
17034
17318
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -17084,11 +17368,13 @@ export namespace securitycenter_v1 {
17084
17368
  simulate(
17085
17369
  params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Simulate,
17086
17370
  options: StreamMethodOptions
17087
- ): GaxiosPromise<Readable>;
17371
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
17088
17372
  simulate(
17089
17373
  params?: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Simulate,
17090
17374
  options?: MethodOptions
17091
- ): GaxiosPromise<Schema$SimulateSecurityHealthAnalyticsCustomModuleResponse>;
17375
+ ): Promise<
17376
+ GaxiosResponseWithHTTP2<Schema$SimulateSecurityHealthAnalyticsCustomModuleResponse>
17377
+ >;
17092
17378
  simulate(
17093
17379
  params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Simulate,
17094
17380
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -17123,8 +17409,10 @@ export namespace securitycenter_v1 {
17123
17409
  | BodyResponseCallback<Readable>
17124
17410
  ):
17125
17411
  | void
17126
- | GaxiosPromise<Schema$SimulateSecurityHealthAnalyticsCustomModuleResponse>
17127
- | GaxiosPromise<Readable> {
17412
+ | Promise<
17413
+ GaxiosResponseWithHTTP2<Schema$SimulateSecurityHealthAnalyticsCustomModuleResponse>
17414
+ >
17415
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
17128
17416
  let params = (paramsOrCallback ||
17129
17417
  {}) as Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Simulate;
17130
17418
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -17275,11 +17563,13 @@ export namespace securitycenter_v1 {
17275
17563
  get(
17276
17564
  params: Params$Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules$Get,
17277
17565
  options: StreamMethodOptions
17278
- ): GaxiosPromise<Readable>;
17566
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
17279
17567
  get(
17280
17568
  params?: Params$Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules$Get,
17281
17569
  options?: MethodOptions
17282
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule>;
17570
+ ): Promise<
17571
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule>
17572
+ >;
17283
17573
  get(
17284
17574
  params: Params$Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules$Get,
17285
17575
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -17314,8 +17604,10 @@ export namespace securitycenter_v1 {
17314
17604
  | BodyResponseCallback<Readable>
17315
17605
  ):
17316
17606
  | void
17317
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule>
17318
- | GaxiosPromise<Readable> {
17607
+ | Promise<
17608
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule>
17609
+ >
17610
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
17319
17611
  let params = (paramsOrCallback ||
17320
17612
  {}) as Params$Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules$Get;
17321
17613
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -17371,11 +17663,13 @@ export namespace securitycenter_v1 {
17371
17663
  list(
17372
17664
  params: Params$Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules$List,
17373
17665
  options: StreamMethodOptions
17374
- ): GaxiosPromise<Readable>;
17666
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
17375
17667
  list(
17376
17668
  params?: Params$Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules$List,
17377
17669
  options?: MethodOptions
17378
- ): GaxiosPromise<Schema$ListEffectiveSecurityHealthAnalyticsCustomModulesResponse>;
17670
+ ): Promise<
17671
+ GaxiosResponseWithHTTP2<Schema$ListEffectiveSecurityHealthAnalyticsCustomModulesResponse>
17672
+ >;
17379
17673
  list(
17380
17674
  params: Params$Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules$List,
17381
17675
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -17410,8 +17704,10 @@ export namespace securitycenter_v1 {
17410
17704
  | BodyResponseCallback<Readable>
17411
17705
  ):
17412
17706
  | void
17413
- | GaxiosPromise<Schema$ListEffectiveSecurityHealthAnalyticsCustomModulesResponse>
17414
- | GaxiosPromise<Readable> {
17707
+ | Promise<
17708
+ GaxiosResponseWithHTTP2<Schema$ListEffectiveSecurityHealthAnalyticsCustomModulesResponse>
17709
+ >
17710
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
17415
17711
  let params = (paramsOrCallback ||
17416
17712
  {}) as Params$Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules$List;
17417
17713
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -17512,11 +17808,11 @@ export namespace securitycenter_v1 {
17512
17808
  get(
17513
17809
  params: Params$Resource$Organizations$Simulations$Get,
17514
17810
  options: StreamMethodOptions
17515
- ): GaxiosPromise<Readable>;
17811
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
17516
17812
  get(
17517
17813
  params?: Params$Resource$Organizations$Simulations$Get,
17518
17814
  options?: MethodOptions
17519
- ): GaxiosPromise<Schema$Simulation>;
17815
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Simulation>>;
17520
17816
  get(
17521
17817
  params: Params$Resource$Organizations$Simulations$Get,
17522
17818
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -17545,7 +17841,10 @@ export namespace securitycenter_v1 {
17545
17841
  callback?:
17546
17842
  | BodyResponseCallback<Schema$Simulation>
17547
17843
  | BodyResponseCallback<Readable>
17548
- ): void | GaxiosPromise<Schema$Simulation> | GaxiosPromise<Readable> {
17844
+ ):
17845
+ | void
17846
+ | Promise<GaxiosResponseWithHTTP2<Schema$Simulation>>
17847
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
17549
17848
  let params = (paramsOrCallback ||
17550
17849
  {}) as Params$Resource$Organizations$Simulations$Get;
17551
17850
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -17630,11 +17929,11 @@ export namespace securitycenter_v1 {
17630
17929
  list(
17631
17930
  params: Params$Resource$Organizations$Simulations$Attackexposureresults$Attackpaths$List,
17632
17931
  options: StreamMethodOptions
17633
- ): GaxiosPromise<Readable>;
17932
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
17634
17933
  list(
17635
17934
  params?: Params$Resource$Organizations$Simulations$Attackexposureresults$Attackpaths$List,
17636
17935
  options?: MethodOptions
17637
- ): GaxiosPromise<Schema$ListAttackPathsResponse>;
17936
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListAttackPathsResponse>>;
17638
17937
  list(
17639
17938
  params: Params$Resource$Organizations$Simulations$Attackexposureresults$Attackpaths$List,
17640
17939
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -17667,8 +17966,8 @@ export namespace securitycenter_v1 {
17667
17966
  | BodyResponseCallback<Readable>
17668
17967
  ):
17669
17968
  | void
17670
- | GaxiosPromise<Schema$ListAttackPathsResponse>
17671
- | GaxiosPromise<Readable> {
17969
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListAttackPathsResponse>>
17970
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
17672
17971
  let params = (paramsOrCallback ||
17673
17972
  {}) as Params$Resource$Organizations$Simulations$Attackexposureresults$Attackpaths$List;
17674
17973
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -17752,11 +18051,11 @@ export namespace securitycenter_v1 {
17752
18051
  list(
17753
18052
  params: Params$Resource$Organizations$Simulations$Attackexposureresults$Valuedresources$List,
17754
18053
  options: StreamMethodOptions
17755
- ): GaxiosPromise<Readable>;
18054
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
17756
18055
  list(
17757
18056
  params?: Params$Resource$Organizations$Simulations$Attackexposureresults$Valuedresources$List,
17758
18057
  options?: MethodOptions
17759
- ): GaxiosPromise<Schema$ListValuedResourcesResponse>;
18058
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListValuedResourcesResponse>>;
17760
18059
  list(
17761
18060
  params: Params$Resource$Organizations$Simulations$Attackexposureresults$Valuedresources$List,
17762
18061
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -17791,8 +18090,8 @@ export namespace securitycenter_v1 {
17791
18090
  | BodyResponseCallback<Readable>
17792
18091
  ):
17793
18092
  | void
17794
- | GaxiosPromise<Schema$ListValuedResourcesResponse>
17795
- | GaxiosPromise<Readable> {
18093
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListValuedResourcesResponse>>
18094
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
17796
18095
  let params = (paramsOrCallback ||
17797
18096
  {}) as Params$Resource$Organizations$Simulations$Attackexposureresults$Valuedresources$List;
17798
18097
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -17880,11 +18179,11 @@ export namespace securitycenter_v1 {
17880
18179
  list(
17881
18180
  params: Params$Resource$Organizations$Simulations$Attackpaths$List,
17882
18181
  options: StreamMethodOptions
17883
- ): GaxiosPromise<Readable>;
18182
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
17884
18183
  list(
17885
18184
  params?: Params$Resource$Organizations$Simulations$Attackpaths$List,
17886
18185
  options?: MethodOptions
17887
- ): GaxiosPromise<Schema$ListAttackPathsResponse>;
18186
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListAttackPathsResponse>>;
17888
18187
  list(
17889
18188
  params: Params$Resource$Organizations$Simulations$Attackpaths$List,
17890
18189
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -17917,8 +18216,8 @@ export namespace securitycenter_v1 {
17917
18216
  | BodyResponseCallback<Readable>
17918
18217
  ):
17919
18218
  | void
17920
- | GaxiosPromise<Schema$ListAttackPathsResponse>
17921
- | GaxiosPromise<Readable> {
18219
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListAttackPathsResponse>>
18220
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
17922
18221
  let params = (paramsOrCallback ||
17923
18222
  {}) as Params$Resource$Organizations$Simulations$Attackpaths$List;
17924
18223
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -18007,11 +18306,11 @@ export namespace securitycenter_v1 {
18007
18306
  get(
18008
18307
  params: Params$Resource$Organizations$Simulations$Valuedresources$Get,
18009
18308
  options: StreamMethodOptions
18010
- ): GaxiosPromise<Readable>;
18309
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
18011
18310
  get(
18012
18311
  params?: Params$Resource$Organizations$Simulations$Valuedresources$Get,
18013
18312
  options?: MethodOptions
18014
- ): GaxiosPromise<Schema$ValuedResource>;
18313
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ValuedResource>>;
18015
18314
  get(
18016
18315
  params: Params$Resource$Organizations$Simulations$Valuedresources$Get,
18017
18316
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -18040,7 +18339,10 @@ export namespace securitycenter_v1 {
18040
18339
  callback?:
18041
18340
  | BodyResponseCallback<Schema$ValuedResource>
18042
18341
  | BodyResponseCallback<Readable>
18043
- ): void | GaxiosPromise<Schema$ValuedResource> | GaxiosPromise<Readable> {
18342
+ ):
18343
+ | void
18344
+ | Promise<GaxiosResponseWithHTTP2<Schema$ValuedResource>>
18345
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
18044
18346
  let params = (paramsOrCallback ||
18045
18347
  {}) as Params$Resource$Organizations$Simulations$Valuedresources$Get;
18046
18348
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -18094,11 +18396,11 @@ export namespace securitycenter_v1 {
18094
18396
  list(
18095
18397
  params: Params$Resource$Organizations$Simulations$Valuedresources$List,
18096
18398
  options: StreamMethodOptions
18097
- ): GaxiosPromise<Readable>;
18399
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
18098
18400
  list(
18099
18401
  params?: Params$Resource$Organizations$Simulations$Valuedresources$List,
18100
18402
  options?: MethodOptions
18101
- ): GaxiosPromise<Schema$ListValuedResourcesResponse>;
18403
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListValuedResourcesResponse>>;
18102
18404
  list(
18103
18405
  params: Params$Resource$Organizations$Simulations$Valuedresources$List,
18104
18406
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -18133,8 +18435,8 @@ export namespace securitycenter_v1 {
18133
18435
  | BodyResponseCallback<Readable>
18134
18436
  ):
18135
18437
  | void
18136
- | GaxiosPromise<Schema$ListValuedResourcesResponse>
18137
- | GaxiosPromise<Readable> {
18438
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListValuedResourcesResponse>>
18439
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
18138
18440
  let params = (paramsOrCallback ||
18139
18441
  {}) as Params$Resource$Organizations$Simulations$Valuedresources$List;
18140
18442
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -18229,11 +18531,11 @@ export namespace securitycenter_v1 {
18229
18531
  list(
18230
18532
  params: Params$Resource$Organizations$Simulations$Valuedresources$Attackpaths$List,
18231
18533
  options: StreamMethodOptions
18232
- ): GaxiosPromise<Readable>;
18534
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
18233
18535
  list(
18234
18536
  params?: Params$Resource$Organizations$Simulations$Valuedresources$Attackpaths$List,
18235
18537
  options?: MethodOptions
18236
- ): GaxiosPromise<Schema$ListAttackPathsResponse>;
18538
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListAttackPathsResponse>>;
18237
18539
  list(
18238
18540
  params: Params$Resource$Organizations$Simulations$Valuedresources$Attackpaths$List,
18239
18541
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -18266,8 +18568,8 @@ export namespace securitycenter_v1 {
18266
18568
  | BodyResponseCallback<Readable>
18267
18569
  ):
18268
18570
  | void
18269
- | GaxiosPromise<Schema$ListAttackPathsResponse>
18270
- | GaxiosPromise<Readable> {
18571
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListAttackPathsResponse>>
18572
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
18271
18573
  let params = (paramsOrCallback ||
18272
18574
  {}) as Params$Resource$Organizations$Simulations$Valuedresources$Attackpaths$List;
18273
18575
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -18353,11 +18655,11 @@ export namespace securitycenter_v1 {
18353
18655
  create(
18354
18656
  params: Params$Resource$Organizations$Sources$Create,
18355
18657
  options: StreamMethodOptions
18356
- ): GaxiosPromise<Readable>;
18658
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
18357
18659
  create(
18358
18660
  params?: Params$Resource$Organizations$Sources$Create,
18359
18661
  options?: MethodOptions
18360
- ): GaxiosPromise<Schema$Source>;
18662
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Source>>;
18361
18663
  create(
18362
18664
  params: Params$Resource$Organizations$Sources$Create,
18363
18665
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -18386,7 +18688,10 @@ export namespace securitycenter_v1 {
18386
18688
  callback?:
18387
18689
  | BodyResponseCallback<Schema$Source>
18388
18690
  | BodyResponseCallback<Readable>
18389
- ): void | GaxiosPromise<Schema$Source> | GaxiosPromise<Readable> {
18691
+ ):
18692
+ | void
18693
+ | Promise<GaxiosResponseWithHTTP2<Schema$Source>>
18694
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
18390
18695
  let params = (paramsOrCallback ||
18391
18696
  {}) as Params$Resource$Organizations$Sources$Create;
18392
18697
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -18442,11 +18747,11 @@ export namespace securitycenter_v1 {
18442
18747
  get(
18443
18748
  params: Params$Resource$Organizations$Sources$Get,
18444
18749
  options: StreamMethodOptions
18445
- ): GaxiosPromise<Readable>;
18750
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
18446
18751
  get(
18447
18752
  params?: Params$Resource$Organizations$Sources$Get,
18448
18753
  options?: MethodOptions
18449
- ): GaxiosPromise<Schema$Source>;
18754
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Source>>;
18450
18755
  get(
18451
18756
  params: Params$Resource$Organizations$Sources$Get,
18452
18757
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -18475,7 +18780,10 @@ export namespace securitycenter_v1 {
18475
18780
  callback?:
18476
18781
  | BodyResponseCallback<Schema$Source>
18477
18782
  | BodyResponseCallback<Readable>
18478
- ): void | GaxiosPromise<Schema$Source> | GaxiosPromise<Readable> {
18783
+ ):
18784
+ | void
18785
+ | Promise<GaxiosResponseWithHTTP2<Schema$Source>>
18786
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
18479
18787
  let params = (paramsOrCallback ||
18480
18788
  {}) as Params$Resource$Organizations$Sources$Get;
18481
18789
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -18528,11 +18836,11 @@ export namespace securitycenter_v1 {
18528
18836
  getIamPolicy(
18529
18837
  params: Params$Resource$Organizations$Sources$Getiampolicy,
18530
18838
  options: StreamMethodOptions
18531
- ): GaxiosPromise<Readable>;
18839
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
18532
18840
  getIamPolicy(
18533
18841
  params?: Params$Resource$Organizations$Sources$Getiampolicy,
18534
18842
  options?: MethodOptions
18535
- ): GaxiosPromise<Schema$Policy>;
18843
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
18536
18844
  getIamPolicy(
18537
18845
  params: Params$Resource$Organizations$Sources$Getiampolicy,
18538
18846
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -18561,7 +18869,10 @@ export namespace securitycenter_v1 {
18561
18869
  callback?:
18562
18870
  | BodyResponseCallback<Schema$Policy>
18563
18871
  | BodyResponseCallback<Readable>
18564
- ): void | GaxiosPromise<Schema$Policy> | GaxiosPromise<Readable> {
18872
+ ):
18873
+ | void
18874
+ | Promise<GaxiosResponseWithHTTP2<Schema$Policy>>
18875
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
18565
18876
  let params = (paramsOrCallback ||
18566
18877
  {}) as Params$Resource$Organizations$Sources$Getiampolicy;
18567
18878
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -18617,11 +18928,11 @@ export namespace securitycenter_v1 {
18617
18928
  list(
18618
18929
  params: Params$Resource$Organizations$Sources$List,
18619
18930
  options: StreamMethodOptions
18620
- ): GaxiosPromise<Readable>;
18931
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
18621
18932
  list(
18622
18933
  params?: Params$Resource$Organizations$Sources$List,
18623
18934
  options?: MethodOptions
18624
- ): GaxiosPromise<Schema$ListSourcesResponse>;
18935
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListSourcesResponse>>;
18625
18936
  list(
18626
18937
  params: Params$Resource$Organizations$Sources$List,
18627
18938
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -18652,8 +18963,8 @@ export namespace securitycenter_v1 {
18652
18963
  | BodyResponseCallback<Readable>
18653
18964
  ):
18654
18965
  | void
18655
- | GaxiosPromise<Schema$ListSourcesResponse>
18656
- | GaxiosPromise<Readable> {
18966
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListSourcesResponse>>
18967
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
18657
18968
  let params = (paramsOrCallback ||
18658
18969
  {}) as Params$Resource$Organizations$Sources$List;
18659
18970
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -18709,11 +19020,11 @@ export namespace securitycenter_v1 {
18709
19020
  patch(
18710
19021
  params: Params$Resource$Organizations$Sources$Patch,
18711
19022
  options: StreamMethodOptions
18712
- ): GaxiosPromise<Readable>;
19023
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
18713
19024
  patch(
18714
19025
  params?: Params$Resource$Organizations$Sources$Patch,
18715
19026
  options?: MethodOptions
18716
- ): GaxiosPromise<Schema$Source>;
19027
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Source>>;
18717
19028
  patch(
18718
19029
  params: Params$Resource$Organizations$Sources$Patch,
18719
19030
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -18742,7 +19053,10 @@ export namespace securitycenter_v1 {
18742
19053
  callback?:
18743
19054
  | BodyResponseCallback<Schema$Source>
18744
19055
  | BodyResponseCallback<Readable>
18745
- ): void | GaxiosPromise<Schema$Source> | GaxiosPromise<Readable> {
19056
+ ):
19057
+ | void
19058
+ | Promise<GaxiosResponseWithHTTP2<Schema$Source>>
19059
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
18746
19060
  let params = (paramsOrCallback ||
18747
19061
  {}) as Params$Resource$Organizations$Sources$Patch;
18748
19062
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -18795,11 +19109,11 @@ export namespace securitycenter_v1 {
18795
19109
  setIamPolicy(
18796
19110
  params: Params$Resource$Organizations$Sources$Setiampolicy,
18797
19111
  options: StreamMethodOptions
18798
- ): GaxiosPromise<Readable>;
19112
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
18799
19113
  setIamPolicy(
18800
19114
  params?: Params$Resource$Organizations$Sources$Setiampolicy,
18801
19115
  options?: MethodOptions
18802
- ): GaxiosPromise<Schema$Policy>;
19116
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
18803
19117
  setIamPolicy(
18804
19118
  params: Params$Resource$Organizations$Sources$Setiampolicy,
18805
19119
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -18828,7 +19142,10 @@ export namespace securitycenter_v1 {
18828
19142
  callback?:
18829
19143
  | BodyResponseCallback<Schema$Policy>
18830
19144
  | BodyResponseCallback<Readable>
18831
- ): void | GaxiosPromise<Schema$Policy> | GaxiosPromise<Readable> {
19145
+ ):
19146
+ | void
19147
+ | Promise<GaxiosResponseWithHTTP2<Schema$Policy>>
19148
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
18832
19149
  let params = (paramsOrCallback ||
18833
19150
  {}) as Params$Resource$Organizations$Sources$Setiampolicy;
18834
19151
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -18884,11 +19201,11 @@ export namespace securitycenter_v1 {
18884
19201
  testIamPermissions(
18885
19202
  params: Params$Resource$Organizations$Sources$Testiampermissions,
18886
19203
  options: StreamMethodOptions
18887
- ): GaxiosPromise<Readable>;
19204
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
18888
19205
  testIamPermissions(
18889
19206
  params?: Params$Resource$Organizations$Sources$Testiampermissions,
18890
19207
  options?: MethodOptions
18891
- ): GaxiosPromise<Schema$TestIamPermissionsResponse>;
19208
+ ): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
18892
19209
  testIamPermissions(
18893
19210
  params: Params$Resource$Organizations$Sources$Testiampermissions,
18894
19211
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -18923,8 +19240,8 @@ export namespace securitycenter_v1 {
18923
19240
  | BodyResponseCallback<Readable>
18924
19241
  ):
18925
19242
  | void
18926
- | GaxiosPromise<Schema$TestIamPermissionsResponse>
18927
- | GaxiosPromise<Readable> {
19243
+ | Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>
19244
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
18928
19245
  let params = (paramsOrCallback ||
18929
19246
  {}) as Params$Resource$Organizations$Sources$Testiampermissions;
18930
19247
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -19079,11 +19396,11 @@ export namespace securitycenter_v1 {
19079
19396
  create(
19080
19397
  params: Params$Resource$Organizations$Sources$Findings$Create,
19081
19398
  options: StreamMethodOptions
19082
- ): GaxiosPromise<Readable>;
19399
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
19083
19400
  create(
19084
19401
  params?: Params$Resource$Organizations$Sources$Findings$Create,
19085
19402
  options?: MethodOptions
19086
- ): GaxiosPromise<Schema$Finding>;
19403
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Finding>>;
19087
19404
  create(
19088
19405
  params: Params$Resource$Organizations$Sources$Findings$Create,
19089
19406
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -19112,7 +19429,10 @@ export namespace securitycenter_v1 {
19112
19429
  callback?:
19113
19430
  | BodyResponseCallback<Schema$Finding>
19114
19431
  | BodyResponseCallback<Readable>
19115
- ): void | GaxiosPromise<Schema$Finding> | GaxiosPromise<Readable> {
19432
+ ):
19433
+ | void
19434
+ | Promise<GaxiosResponseWithHTTP2<Schema$Finding>>
19435
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
19116
19436
  let params = (paramsOrCallback ||
19117
19437
  {}) as Params$Resource$Organizations$Sources$Findings$Create;
19118
19438
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -19168,11 +19488,11 @@ export namespace securitycenter_v1 {
19168
19488
  group(
19169
19489
  params: Params$Resource$Organizations$Sources$Findings$Group,
19170
19490
  options: StreamMethodOptions
19171
- ): GaxiosPromise<Readable>;
19491
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
19172
19492
  group(
19173
19493
  params?: Params$Resource$Organizations$Sources$Findings$Group,
19174
19494
  options?: MethodOptions
19175
- ): GaxiosPromise<Schema$GroupFindingsResponse>;
19495
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GroupFindingsResponse>>;
19176
19496
  group(
19177
19497
  params: Params$Resource$Organizations$Sources$Findings$Group,
19178
19498
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -19205,8 +19525,8 @@ export namespace securitycenter_v1 {
19205
19525
  | BodyResponseCallback<Readable>
19206
19526
  ):
19207
19527
  | void
19208
- | GaxiosPromise<Schema$GroupFindingsResponse>
19209
- | GaxiosPromise<Readable> {
19528
+ | Promise<GaxiosResponseWithHTTP2<Schema$GroupFindingsResponse>>
19529
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
19210
19530
  let params = (paramsOrCallback ||
19211
19531
  {}) as Params$Resource$Organizations$Sources$Findings$Group;
19212
19532
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -19262,11 +19582,11 @@ export namespace securitycenter_v1 {
19262
19582
  list(
19263
19583
  params: Params$Resource$Organizations$Sources$Findings$List,
19264
19584
  options: StreamMethodOptions
19265
- ): GaxiosPromise<Readable>;
19585
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
19266
19586
  list(
19267
19587
  params?: Params$Resource$Organizations$Sources$Findings$List,
19268
19588
  options?: MethodOptions
19269
- ): GaxiosPromise<Schema$ListFindingsResponse>;
19589
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListFindingsResponse>>;
19270
19590
  list(
19271
19591
  params: Params$Resource$Organizations$Sources$Findings$List,
19272
19592
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -19299,8 +19619,8 @@ export namespace securitycenter_v1 {
19299
19619
  | BodyResponseCallback<Readable>
19300
19620
  ):
19301
19621
  | void
19302
- | GaxiosPromise<Schema$ListFindingsResponse>
19303
- | GaxiosPromise<Readable> {
19622
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListFindingsResponse>>
19623
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
19304
19624
  let params = (paramsOrCallback ||
19305
19625
  {}) as Params$Resource$Organizations$Sources$Findings$List;
19306
19626
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -19356,11 +19676,11 @@ export namespace securitycenter_v1 {
19356
19676
  patch(
19357
19677
  params: Params$Resource$Organizations$Sources$Findings$Patch,
19358
19678
  options: StreamMethodOptions
19359
- ): GaxiosPromise<Readable>;
19679
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
19360
19680
  patch(
19361
19681
  params?: Params$Resource$Organizations$Sources$Findings$Patch,
19362
19682
  options?: MethodOptions
19363
- ): GaxiosPromise<Schema$Finding>;
19683
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Finding>>;
19364
19684
  patch(
19365
19685
  params: Params$Resource$Organizations$Sources$Findings$Patch,
19366
19686
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -19389,7 +19709,10 @@ export namespace securitycenter_v1 {
19389
19709
  callback?:
19390
19710
  | BodyResponseCallback<Schema$Finding>
19391
19711
  | BodyResponseCallback<Readable>
19392
- ): void | GaxiosPromise<Schema$Finding> | GaxiosPromise<Readable> {
19712
+ ):
19713
+ | void
19714
+ | Promise<GaxiosResponseWithHTTP2<Schema$Finding>>
19715
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
19393
19716
  let params = (paramsOrCallback ||
19394
19717
  {}) as Params$Resource$Organizations$Sources$Findings$Patch;
19395
19718
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -19442,11 +19765,11 @@ export namespace securitycenter_v1 {
19442
19765
  setMute(
19443
19766
  params: Params$Resource$Organizations$Sources$Findings$Setmute,
19444
19767
  options: StreamMethodOptions
19445
- ): GaxiosPromise<Readable>;
19768
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
19446
19769
  setMute(
19447
19770
  params?: Params$Resource$Organizations$Sources$Findings$Setmute,
19448
19771
  options?: MethodOptions
19449
- ): GaxiosPromise<Schema$Finding>;
19772
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Finding>>;
19450
19773
  setMute(
19451
19774
  params: Params$Resource$Organizations$Sources$Findings$Setmute,
19452
19775
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -19475,7 +19798,10 @@ export namespace securitycenter_v1 {
19475
19798
  callback?:
19476
19799
  | BodyResponseCallback<Schema$Finding>
19477
19800
  | BodyResponseCallback<Readable>
19478
- ): void | GaxiosPromise<Schema$Finding> | GaxiosPromise<Readable> {
19801
+ ):
19802
+ | void
19803
+ | Promise<GaxiosResponseWithHTTP2<Schema$Finding>>
19804
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
19479
19805
  let params = (paramsOrCallback ||
19480
19806
  {}) as Params$Resource$Organizations$Sources$Findings$Setmute;
19481
19807
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -19531,11 +19857,11 @@ export namespace securitycenter_v1 {
19531
19857
  setState(
19532
19858
  params: Params$Resource$Organizations$Sources$Findings$Setstate,
19533
19859
  options: StreamMethodOptions
19534
- ): GaxiosPromise<Readable>;
19860
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
19535
19861
  setState(
19536
19862
  params?: Params$Resource$Organizations$Sources$Findings$Setstate,
19537
19863
  options?: MethodOptions
19538
- ): GaxiosPromise<Schema$Finding>;
19864
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Finding>>;
19539
19865
  setState(
19540
19866
  params: Params$Resource$Organizations$Sources$Findings$Setstate,
19541
19867
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -19564,7 +19890,10 @@ export namespace securitycenter_v1 {
19564
19890
  callback?:
19565
19891
  | BodyResponseCallback<Schema$Finding>
19566
19892
  | BodyResponseCallback<Readable>
19567
- ): void | GaxiosPromise<Schema$Finding> | GaxiosPromise<Readable> {
19893
+ ):
19894
+ | void
19895
+ | Promise<GaxiosResponseWithHTTP2<Schema$Finding>>
19896
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
19568
19897
  let params = (paramsOrCallback ||
19569
19898
  {}) as Params$Resource$Organizations$Sources$Findings$Setstate;
19570
19899
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -19620,11 +19949,11 @@ export namespace securitycenter_v1 {
19620
19949
  updateSecurityMarks(
19621
19950
  params: Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks,
19622
19951
  options: StreamMethodOptions
19623
- ): GaxiosPromise<Readable>;
19952
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
19624
19953
  updateSecurityMarks(
19625
19954
  params?: Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks,
19626
19955
  options?: MethodOptions
19627
- ): GaxiosPromise<Schema$SecurityMarks>;
19956
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityMarks>>;
19628
19957
  updateSecurityMarks(
19629
19958
  params: Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks,
19630
19959
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -19655,7 +19984,10 @@ export namespace securitycenter_v1 {
19655
19984
  callback?:
19656
19985
  | BodyResponseCallback<Schema$SecurityMarks>
19657
19986
  | BodyResponseCallback<Readable>
19658
- ): void | GaxiosPromise<Schema$SecurityMarks> | GaxiosPromise<Readable> {
19987
+ ):
19988
+ | void
19989
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityMarks>>
19990
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
19659
19991
  let params = (paramsOrCallback ||
19660
19992
  {}) as Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks;
19661
19993
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -19840,11 +20172,13 @@ export namespace securitycenter_v1 {
19840
20172
  patch(
19841
20173
  params: Params$Resource$Organizations$Sources$Findings$Externalsystems$Patch,
19842
20174
  options: StreamMethodOptions
19843
- ): GaxiosPromise<Readable>;
20175
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
19844
20176
  patch(
19845
20177
  params?: Params$Resource$Organizations$Sources$Findings$Externalsystems$Patch,
19846
20178
  options?: MethodOptions
19847
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1ExternalSystem>;
20179
+ ): Promise<
20180
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1ExternalSystem>
20181
+ >;
19848
20182
  patch(
19849
20183
  params: Params$Resource$Organizations$Sources$Findings$Externalsystems$Patch,
19850
20184
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -19879,8 +20213,10 @@ export namespace securitycenter_v1 {
19879
20213
  | BodyResponseCallback<Readable>
19880
20214
  ):
19881
20215
  | void
19882
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1ExternalSystem>
19883
- | GaxiosPromise<Readable> {
20216
+ | Promise<
20217
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1ExternalSystem>
20218
+ >
20219
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
19884
20220
  let params = (paramsOrCallback ||
19885
20221
  {}) as Params$Resource$Organizations$Sources$Findings$Externalsystems$Patch;
19886
20222
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -19960,11 +20296,11 @@ export namespace securitycenter_v1 {
19960
20296
  list(
19961
20297
  params: Params$Resource$Organizations$Valuedresources$List,
19962
20298
  options: StreamMethodOptions
19963
- ): GaxiosPromise<Readable>;
20299
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
19964
20300
  list(
19965
20301
  params?: Params$Resource$Organizations$Valuedresources$List,
19966
20302
  options?: MethodOptions
19967
- ): GaxiosPromise<Schema$ListValuedResourcesResponse>;
20303
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListValuedResourcesResponse>>;
19968
20304
  list(
19969
20305
  params: Params$Resource$Organizations$Valuedresources$List,
19970
20306
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -19999,8 +20335,8 @@ export namespace securitycenter_v1 {
19999
20335
  | BodyResponseCallback<Readable>
20000
20336
  ):
20001
20337
  | void
20002
- | GaxiosPromise<Schema$ListValuedResourcesResponse>
20003
- | GaxiosPromise<Readable> {
20338
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListValuedResourcesResponse>>
20339
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
20004
20340
  let params = (paramsOrCallback ||
20005
20341
  {}) as Params$Resource$Organizations$Valuedresources$List;
20006
20342
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -20118,11 +20454,11 @@ export namespace securitycenter_v1 {
20118
20454
  group(
20119
20455
  params: Params$Resource$Projects$Assets$Group,
20120
20456
  options: StreamMethodOptions
20121
- ): GaxiosPromise<Readable>;
20457
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
20122
20458
  group(
20123
20459
  params?: Params$Resource$Projects$Assets$Group,
20124
20460
  options?: MethodOptions
20125
- ): GaxiosPromise<Schema$GroupAssetsResponse>;
20461
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GroupAssetsResponse>>;
20126
20462
  group(
20127
20463
  params: Params$Resource$Projects$Assets$Group,
20128
20464
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -20153,8 +20489,8 @@ export namespace securitycenter_v1 {
20153
20489
  | BodyResponseCallback<Readable>
20154
20490
  ):
20155
20491
  | void
20156
- | GaxiosPromise<Schema$GroupAssetsResponse>
20157
- | GaxiosPromise<Readable> {
20492
+ | Promise<GaxiosResponseWithHTTP2<Schema$GroupAssetsResponse>>
20493
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
20158
20494
  let params = (paramsOrCallback ||
20159
20495
  {}) as Params$Resource$Projects$Assets$Group;
20160
20496
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -20210,11 +20546,11 @@ export namespace securitycenter_v1 {
20210
20546
  list(
20211
20547
  params: Params$Resource$Projects$Assets$List,
20212
20548
  options: StreamMethodOptions
20213
- ): GaxiosPromise<Readable>;
20549
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
20214
20550
  list(
20215
20551
  params?: Params$Resource$Projects$Assets$List,
20216
20552
  options?: MethodOptions
20217
- ): GaxiosPromise<Schema$ListAssetsResponse>;
20553
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListAssetsResponse>>;
20218
20554
  list(
20219
20555
  params: Params$Resource$Projects$Assets$List,
20220
20556
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -20245,8 +20581,8 @@ export namespace securitycenter_v1 {
20245
20581
  | BodyResponseCallback<Readable>
20246
20582
  ):
20247
20583
  | void
20248
- | GaxiosPromise<Schema$ListAssetsResponse>
20249
- | GaxiosPromise<Readable> {
20584
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListAssetsResponse>>
20585
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
20250
20586
  let params = (paramsOrCallback ||
20251
20587
  {}) as Params$Resource$Projects$Assets$List;
20252
20588
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -20302,11 +20638,11 @@ export namespace securitycenter_v1 {
20302
20638
  updateSecurityMarks(
20303
20639
  params: Params$Resource$Projects$Assets$Updatesecuritymarks,
20304
20640
  options: StreamMethodOptions
20305
- ): GaxiosPromise<Readable>;
20641
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
20306
20642
  updateSecurityMarks(
20307
20643
  params?: Params$Resource$Projects$Assets$Updatesecuritymarks,
20308
20644
  options?: MethodOptions
20309
- ): GaxiosPromise<Schema$SecurityMarks>;
20645
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityMarks>>;
20310
20646
  updateSecurityMarks(
20311
20647
  params: Params$Resource$Projects$Assets$Updatesecuritymarks,
20312
20648
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -20337,7 +20673,10 @@ export namespace securitycenter_v1 {
20337
20673
  callback?:
20338
20674
  | BodyResponseCallback<Schema$SecurityMarks>
20339
20675
  | BodyResponseCallback<Readable>
20340
- ): void | GaxiosPromise<Schema$SecurityMarks> | GaxiosPromise<Readable> {
20676
+ ):
20677
+ | void
20678
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityMarks>>
20679
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
20341
20680
  let params = (paramsOrCallback ||
20342
20681
  {}) as Params$Resource$Projects$Assets$Updatesecuritymarks;
20343
20682
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -20465,11 +20804,13 @@ export namespace securitycenter_v1 {
20465
20804
  create(
20466
20805
  params: Params$Resource$Projects$Bigqueryexports$Create,
20467
20806
  options: StreamMethodOptions
20468
- ): GaxiosPromise<Readable>;
20807
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
20469
20808
  create(
20470
20809
  params?: Params$Resource$Projects$Bigqueryexports$Create,
20471
20810
  options?: MethodOptions
20472
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1BigQueryExport>;
20811
+ ): Promise<
20812
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
20813
+ >;
20473
20814
  create(
20474
20815
  params: Params$Resource$Projects$Bigqueryexports$Create,
20475
20816
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -20504,8 +20845,10 @@ export namespace securitycenter_v1 {
20504
20845
  | BodyResponseCallback<Readable>
20505
20846
  ):
20506
20847
  | void
20507
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
20508
- | GaxiosPromise<Readable> {
20848
+ | Promise<
20849
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
20850
+ >
20851
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
20509
20852
  let params = (paramsOrCallback ||
20510
20853
  {}) as Params$Resource$Projects$Bigqueryexports$Create;
20511
20854
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -20563,11 +20906,11 @@ export namespace securitycenter_v1 {
20563
20906
  delete(
20564
20907
  params: Params$Resource$Projects$Bigqueryexports$Delete,
20565
20908
  options: StreamMethodOptions
20566
- ): GaxiosPromise<Readable>;
20909
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
20567
20910
  delete(
20568
20911
  params?: Params$Resource$Projects$Bigqueryexports$Delete,
20569
20912
  options?: MethodOptions
20570
- ): GaxiosPromise<Schema$Empty>;
20913
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
20571
20914
  delete(
20572
20915
  params: Params$Resource$Projects$Bigqueryexports$Delete,
20573
20916
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -20596,7 +20939,10 @@ export namespace securitycenter_v1 {
20596
20939
  callback?:
20597
20940
  | BodyResponseCallback<Schema$Empty>
20598
20941
  | BodyResponseCallback<Readable>
20599
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
20942
+ ):
20943
+ | void
20944
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
20945
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
20600
20946
  let params = (paramsOrCallback ||
20601
20947
  {}) as Params$Resource$Projects$Bigqueryexports$Delete;
20602
20948
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -20649,11 +20995,13 @@ export namespace securitycenter_v1 {
20649
20995
  get(
20650
20996
  params: Params$Resource$Projects$Bigqueryexports$Get,
20651
20997
  options: StreamMethodOptions
20652
- ): GaxiosPromise<Readable>;
20998
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
20653
20999
  get(
20654
21000
  params?: Params$Resource$Projects$Bigqueryexports$Get,
20655
21001
  options?: MethodOptions
20656
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1BigQueryExport>;
21002
+ ): Promise<
21003
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
21004
+ >;
20657
21005
  get(
20658
21006
  params: Params$Resource$Projects$Bigqueryexports$Get,
20659
21007
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -20688,8 +21036,10 @@ export namespace securitycenter_v1 {
20688
21036
  | BodyResponseCallback<Readable>
20689
21037
  ):
20690
21038
  | void
20691
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
20692
- | GaxiosPromise<Readable> {
21039
+ | Promise<
21040
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
21041
+ >
21042
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
20693
21043
  let params = (paramsOrCallback ||
20694
21044
  {}) as Params$Resource$Projects$Bigqueryexports$Get;
20695
21045
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -20744,11 +21094,11 @@ export namespace securitycenter_v1 {
20744
21094
  list(
20745
21095
  params: Params$Resource$Projects$Bigqueryexports$List,
20746
21096
  options: StreamMethodOptions
20747
- ): GaxiosPromise<Readable>;
21097
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
20748
21098
  list(
20749
21099
  params?: Params$Resource$Projects$Bigqueryexports$List,
20750
21100
  options?: MethodOptions
20751
- ): GaxiosPromise<Schema$ListBigQueryExportsResponse>;
21101
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListBigQueryExportsResponse>>;
20752
21102
  list(
20753
21103
  params: Params$Resource$Projects$Bigqueryexports$List,
20754
21104
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -20783,8 +21133,8 @@ export namespace securitycenter_v1 {
20783
21133
  | BodyResponseCallback<Readable>
20784
21134
  ):
20785
21135
  | void
20786
- | GaxiosPromise<Schema$ListBigQueryExportsResponse>
20787
- | GaxiosPromise<Readable> {
21136
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListBigQueryExportsResponse>>
21137
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
20788
21138
  let params = (paramsOrCallback ||
20789
21139
  {}) as Params$Resource$Projects$Bigqueryexports$List;
20790
21140
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -20840,11 +21190,13 @@ export namespace securitycenter_v1 {
20840
21190
  patch(
20841
21191
  params: Params$Resource$Projects$Bigqueryexports$Patch,
20842
21192
  options: StreamMethodOptions
20843
- ): GaxiosPromise<Readable>;
21193
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
20844
21194
  patch(
20845
21195
  params?: Params$Resource$Projects$Bigqueryexports$Patch,
20846
21196
  options?: MethodOptions
20847
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1BigQueryExport>;
21197
+ ): Promise<
21198
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
21199
+ >;
20848
21200
  patch(
20849
21201
  params: Params$Resource$Projects$Bigqueryexports$Patch,
20850
21202
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -20879,8 +21231,10 @@ export namespace securitycenter_v1 {
20879
21231
  | BodyResponseCallback<Readable>
20880
21232
  ):
20881
21233
  | void
20882
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
20883
- | GaxiosPromise<Readable> {
21234
+ | Promise<
21235
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1BigQueryExport>
21236
+ >
21237
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
20884
21238
  let params = (paramsOrCallback ||
20885
21239
  {}) as Params$Resource$Projects$Bigqueryexports$Patch;
20886
21240
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -21014,11 +21368,13 @@ export namespace securitycenter_v1 {
21014
21368
  validateCustomModule(
21015
21369
  params: Params$Resource$Projects$Eventthreatdetectionsettings$Validatecustommodule,
21016
21370
  options: StreamMethodOptions
21017
- ): GaxiosPromise<Readable>;
21371
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
21018
21372
  validateCustomModule(
21019
21373
  params?: Params$Resource$Projects$Eventthreatdetectionsettings$Validatecustommodule,
21020
21374
  options?: MethodOptions
21021
- ): GaxiosPromise<Schema$ValidateEventThreatDetectionCustomModuleResponse>;
21375
+ ): Promise<
21376
+ GaxiosResponseWithHTTP2<Schema$ValidateEventThreatDetectionCustomModuleResponse>
21377
+ >;
21022
21378
  validateCustomModule(
21023
21379
  params: Params$Resource$Projects$Eventthreatdetectionsettings$Validatecustommodule,
21024
21380
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -21053,8 +21409,10 @@ export namespace securitycenter_v1 {
21053
21409
  | BodyResponseCallback<Readable>
21054
21410
  ):
21055
21411
  | void
21056
- | GaxiosPromise<Schema$ValidateEventThreatDetectionCustomModuleResponse>
21057
- | GaxiosPromise<Readable> {
21412
+ | Promise<
21413
+ GaxiosResponseWithHTTP2<Schema$ValidateEventThreatDetectionCustomModuleResponse>
21414
+ >
21415
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
21058
21416
  let params = (paramsOrCallback ||
21059
21417
  {}) as Params$Resource$Projects$Eventthreatdetectionsettings$Validatecustommodule;
21060
21418
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -21133,11 +21491,13 @@ export namespace securitycenter_v1 {
21133
21491
  create(
21134
21492
  params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Create,
21135
21493
  options: StreamMethodOptions
21136
- ): GaxiosPromise<Readable>;
21494
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
21137
21495
  create(
21138
21496
  params?: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Create,
21139
21497
  options?: MethodOptions
21140
- ): GaxiosPromise<Schema$EventThreatDetectionCustomModule>;
21498
+ ): Promise<
21499
+ GaxiosResponseWithHTTP2<Schema$EventThreatDetectionCustomModule>
21500
+ >;
21141
21501
  create(
21142
21502
  params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Create,
21143
21503
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -21172,8 +21532,10 @@ export namespace securitycenter_v1 {
21172
21532
  | BodyResponseCallback<Readable>
21173
21533
  ):
21174
21534
  | void
21175
- | GaxiosPromise<Schema$EventThreatDetectionCustomModule>
21176
- | GaxiosPromise<Readable> {
21535
+ | Promise<
21536
+ GaxiosResponseWithHTTP2<Schema$EventThreatDetectionCustomModule>
21537
+ >
21538
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
21177
21539
  let params = (paramsOrCallback ||
21178
21540
  {}) as Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Create;
21179
21541
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -21232,11 +21594,11 @@ export namespace securitycenter_v1 {
21232
21594
  delete(
21233
21595
  params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Delete,
21234
21596
  options: StreamMethodOptions
21235
- ): GaxiosPromise<Readable>;
21597
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
21236
21598
  delete(
21237
21599
  params?: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Delete,
21238
21600
  options?: MethodOptions
21239
- ): GaxiosPromise<Schema$Empty>;
21601
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
21240
21602
  delete(
21241
21603
  params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Delete,
21242
21604
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -21265,7 +21627,10 @@ export namespace securitycenter_v1 {
21265
21627
  callback?:
21266
21628
  | BodyResponseCallback<Schema$Empty>
21267
21629
  | BodyResponseCallback<Readable>
21268
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
21630
+ ):
21631
+ | void
21632
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
21633
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
21269
21634
  let params = (paramsOrCallback ||
21270
21635
  {}) as Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Delete;
21271
21636
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -21319,11 +21684,13 @@ export namespace securitycenter_v1 {
21319
21684
  get(
21320
21685
  params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Get,
21321
21686
  options: StreamMethodOptions
21322
- ): GaxiosPromise<Readable>;
21687
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
21323
21688
  get(
21324
21689
  params?: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Get,
21325
21690
  options?: MethodOptions
21326
- ): GaxiosPromise<Schema$EventThreatDetectionCustomModule>;
21691
+ ): Promise<
21692
+ GaxiosResponseWithHTTP2<Schema$EventThreatDetectionCustomModule>
21693
+ >;
21327
21694
  get(
21328
21695
  params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Get,
21329
21696
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -21358,8 +21725,10 @@ export namespace securitycenter_v1 {
21358
21725
  | BodyResponseCallback<Readable>
21359
21726
  ):
21360
21727
  | void
21361
- | GaxiosPromise<Schema$EventThreatDetectionCustomModule>
21362
- | GaxiosPromise<Readable> {
21728
+ | Promise<
21729
+ GaxiosResponseWithHTTP2<Schema$EventThreatDetectionCustomModule>
21730
+ >
21731
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
21363
21732
  let params = (paramsOrCallback ||
21364
21733
  {}) as Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Get;
21365
21734
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -21415,11 +21784,13 @@ export namespace securitycenter_v1 {
21415
21784
  list(
21416
21785
  params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$List,
21417
21786
  options: StreamMethodOptions
21418
- ): GaxiosPromise<Readable>;
21787
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
21419
21788
  list(
21420
21789
  params?: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$List,
21421
21790
  options?: MethodOptions
21422
- ): GaxiosPromise<Schema$ListEventThreatDetectionCustomModulesResponse>;
21791
+ ): Promise<
21792
+ GaxiosResponseWithHTTP2<Schema$ListEventThreatDetectionCustomModulesResponse>
21793
+ >;
21423
21794
  list(
21424
21795
  params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$List,
21425
21796
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -21454,8 +21825,10 @@ export namespace securitycenter_v1 {
21454
21825
  | BodyResponseCallback<Readable>
21455
21826
  ):
21456
21827
  | void
21457
- | GaxiosPromise<Schema$ListEventThreatDetectionCustomModulesResponse>
21458
- | GaxiosPromise<Readable> {
21828
+ | Promise<
21829
+ GaxiosResponseWithHTTP2<Schema$ListEventThreatDetectionCustomModulesResponse>
21830
+ >
21831
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
21459
21832
  let params = (paramsOrCallback ||
21460
21833
  {}) as Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$List;
21461
21834
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -21514,11 +21887,13 @@ export namespace securitycenter_v1 {
21514
21887
  listDescendant(
21515
21888
  params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Listdescendant,
21516
21889
  options: StreamMethodOptions
21517
- ): GaxiosPromise<Readable>;
21890
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
21518
21891
  listDescendant(
21519
21892
  params?: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Listdescendant,
21520
21893
  options?: MethodOptions
21521
- ): GaxiosPromise<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>;
21894
+ ): Promise<
21895
+ GaxiosResponseWithHTTP2<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>
21896
+ >;
21522
21897
  listDescendant(
21523
21898
  params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Listdescendant,
21524
21899
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -21553,8 +21928,10 @@ export namespace securitycenter_v1 {
21553
21928
  | BodyResponseCallback<Readable>
21554
21929
  ):
21555
21930
  | void
21556
- | GaxiosPromise<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>
21557
- | GaxiosPromise<Readable> {
21931
+ | Promise<
21932
+ GaxiosResponseWithHTTP2<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>
21933
+ >
21934
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
21558
21935
  let params = (paramsOrCallback ||
21559
21936
  {}) as Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Listdescendant;
21560
21937
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -21612,11 +21989,13 @@ export namespace securitycenter_v1 {
21612
21989
  patch(
21613
21990
  params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Patch,
21614
21991
  options: StreamMethodOptions
21615
- ): GaxiosPromise<Readable>;
21992
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
21616
21993
  patch(
21617
21994
  params?: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Patch,
21618
21995
  options?: MethodOptions
21619
- ): GaxiosPromise<Schema$EventThreatDetectionCustomModule>;
21996
+ ): Promise<
21997
+ GaxiosResponseWithHTTP2<Schema$EventThreatDetectionCustomModule>
21998
+ >;
21620
21999
  patch(
21621
22000
  params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Patch,
21622
22001
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -21651,8 +22030,10 @@ export namespace securitycenter_v1 {
21651
22030
  | BodyResponseCallback<Readable>
21652
22031
  ):
21653
22032
  | void
21654
- | GaxiosPromise<Schema$EventThreatDetectionCustomModule>
21655
- | GaxiosPromise<Readable> {
22033
+ | Promise<
22034
+ GaxiosResponseWithHTTP2<Schema$EventThreatDetectionCustomModule>
22035
+ >
22036
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
21656
22037
  let params = (paramsOrCallback ||
21657
22038
  {}) as Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Patch;
21658
22039
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -21788,11 +22169,13 @@ export namespace securitycenter_v1 {
21788
22169
  get(
21789
22170
  params: Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$Get,
21790
22171
  options: StreamMethodOptions
21791
- ): GaxiosPromise<Readable>;
22172
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
21792
22173
  get(
21793
22174
  params?: Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$Get,
21794
22175
  options?: MethodOptions
21795
- ): GaxiosPromise<Schema$EffectiveEventThreatDetectionCustomModule>;
22176
+ ): Promise<
22177
+ GaxiosResponseWithHTTP2<Schema$EffectiveEventThreatDetectionCustomModule>
22178
+ >;
21796
22179
  get(
21797
22180
  params: Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$Get,
21798
22181
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -21827,8 +22210,10 @@ export namespace securitycenter_v1 {
21827
22210
  | BodyResponseCallback<Readable>
21828
22211
  ):
21829
22212
  | void
21830
- | GaxiosPromise<Schema$EffectiveEventThreatDetectionCustomModule>
21831
- | GaxiosPromise<Readable> {
22213
+ | Promise<
22214
+ GaxiosResponseWithHTTP2<Schema$EffectiveEventThreatDetectionCustomModule>
22215
+ >
22216
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
21832
22217
  let params = (paramsOrCallback ||
21833
22218
  {}) as Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$Get;
21834
22219
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -21884,11 +22269,13 @@ export namespace securitycenter_v1 {
21884
22269
  list(
21885
22270
  params: Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$List,
21886
22271
  options: StreamMethodOptions
21887
- ): GaxiosPromise<Readable>;
22272
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
21888
22273
  list(
21889
22274
  params?: Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$List,
21890
22275
  options?: MethodOptions
21891
- ): GaxiosPromise<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>;
22276
+ ): Promise<
22277
+ GaxiosResponseWithHTTP2<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>
22278
+ >;
21892
22279
  list(
21893
22280
  params: Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$List,
21894
22281
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -21923,8 +22310,10 @@ export namespace securitycenter_v1 {
21923
22310
  | BodyResponseCallback<Readable>
21924
22311
  ):
21925
22312
  | void
21926
- | GaxiosPromise<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>
21927
- | GaxiosPromise<Readable> {
22313
+ | Promise<
22314
+ GaxiosResponseWithHTTP2<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>
22315
+ >
22316
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
21928
22317
  let params = (paramsOrCallback ||
21929
22318
  {}) as Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$List;
21930
22319
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -22013,11 +22402,11 @@ export namespace securitycenter_v1 {
22013
22402
  bulkMute(
22014
22403
  params: Params$Resource$Projects$Findings$Bulkmute,
22015
22404
  options: StreamMethodOptions
22016
- ): GaxiosPromise<Readable>;
22405
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
22017
22406
  bulkMute(
22018
22407
  params?: Params$Resource$Projects$Findings$Bulkmute,
22019
22408
  options?: MethodOptions
22020
- ): GaxiosPromise<Schema$Operation>;
22409
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
22021
22410
  bulkMute(
22022
22411
  params: Params$Resource$Projects$Findings$Bulkmute,
22023
22412
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -22046,7 +22435,10 @@ export namespace securitycenter_v1 {
22046
22435
  callback?:
22047
22436
  | BodyResponseCallback<Schema$Operation>
22048
22437
  | BodyResponseCallback<Readable>
22049
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
22438
+ ):
22439
+ | void
22440
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
22441
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
22050
22442
  let params = (paramsOrCallback ||
22051
22443
  {}) as Params$Resource$Projects$Findings$Bulkmute;
22052
22444
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -22133,11 +22525,11 @@ export namespace securitycenter_v1 {
22133
22525
  delete(
22134
22526
  params: Params$Resource$Projects$Locations$Muteconfigs$Delete,
22135
22527
  options: StreamMethodOptions
22136
- ): GaxiosPromise<Readable>;
22528
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
22137
22529
  delete(
22138
22530
  params?: Params$Resource$Projects$Locations$Muteconfigs$Delete,
22139
22531
  options?: MethodOptions
22140
- ): GaxiosPromise<Schema$Empty>;
22532
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
22141
22533
  delete(
22142
22534
  params: Params$Resource$Projects$Locations$Muteconfigs$Delete,
22143
22535
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -22166,7 +22558,10 @@ export namespace securitycenter_v1 {
22166
22558
  callback?:
22167
22559
  | BodyResponseCallback<Schema$Empty>
22168
22560
  | BodyResponseCallback<Readable>
22169
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
22561
+ ):
22562
+ | void
22563
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
22564
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
22170
22565
  let params = (paramsOrCallback ||
22171
22566
  {}) as Params$Resource$Projects$Locations$Muteconfigs$Delete;
22172
22567
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -22219,11 +22614,13 @@ export namespace securitycenter_v1 {
22219
22614
  get(
22220
22615
  params: Params$Resource$Projects$Locations$Muteconfigs$Get,
22221
22616
  options: StreamMethodOptions
22222
- ): GaxiosPromise<Readable>;
22617
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
22223
22618
  get(
22224
22619
  params?: Params$Resource$Projects$Locations$Muteconfigs$Get,
22225
22620
  options?: MethodOptions
22226
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
22621
+ ): Promise<
22622
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
22623
+ >;
22227
22624
  get(
22228
22625
  params: Params$Resource$Projects$Locations$Muteconfigs$Get,
22229
22626
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -22258,8 +22655,10 @@ export namespace securitycenter_v1 {
22258
22655
  | BodyResponseCallback<Readable>
22259
22656
  ):
22260
22657
  | void
22261
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
22262
- | GaxiosPromise<Readable> {
22658
+ | Promise<
22659
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
22660
+ >
22661
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
22263
22662
  let params = (paramsOrCallback ||
22264
22663
  {}) as Params$Resource$Projects$Locations$Muteconfigs$Get;
22265
22664
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -22314,11 +22713,13 @@ export namespace securitycenter_v1 {
22314
22713
  patch(
22315
22714
  params: Params$Resource$Projects$Locations$Muteconfigs$Patch,
22316
22715
  options: StreamMethodOptions
22317
- ): GaxiosPromise<Readable>;
22716
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
22318
22717
  patch(
22319
22718
  params?: Params$Resource$Projects$Locations$Muteconfigs$Patch,
22320
22719
  options?: MethodOptions
22321
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
22720
+ ): Promise<
22721
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
22722
+ >;
22322
22723
  patch(
22323
22724
  params: Params$Resource$Projects$Locations$Muteconfigs$Patch,
22324
22725
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -22353,8 +22754,10 @@ export namespace securitycenter_v1 {
22353
22754
  | BodyResponseCallback<Readable>
22354
22755
  ):
22355
22756
  | void
22356
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
22357
- | GaxiosPromise<Readable> {
22757
+ | Promise<
22758
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
22759
+ >
22760
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
22358
22761
  let params = (paramsOrCallback ||
22359
22762
  {}) as Params$Resource$Projects$Locations$Muteconfigs$Patch;
22360
22763
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -22447,11 +22850,13 @@ export namespace securitycenter_v1 {
22447
22850
  create(
22448
22851
  params: Params$Resource$Projects$Muteconfigs$Create,
22449
22852
  options: StreamMethodOptions
22450
- ): GaxiosPromise<Readable>;
22853
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
22451
22854
  create(
22452
22855
  params?: Params$Resource$Projects$Muteconfigs$Create,
22453
22856
  options?: MethodOptions
22454
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
22857
+ ): Promise<
22858
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
22859
+ >;
22455
22860
  create(
22456
22861
  params: Params$Resource$Projects$Muteconfigs$Create,
22457
22862
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -22486,8 +22891,10 @@ export namespace securitycenter_v1 {
22486
22891
  | BodyResponseCallback<Readable>
22487
22892
  ):
22488
22893
  | void
22489
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
22490
- | GaxiosPromise<Readable> {
22894
+ | Promise<
22895
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
22896
+ >
22897
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
22491
22898
  let params = (paramsOrCallback ||
22492
22899
  {}) as Params$Resource$Projects$Muteconfigs$Create;
22493
22900
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -22545,11 +22952,11 @@ export namespace securitycenter_v1 {
22545
22952
  delete(
22546
22953
  params: Params$Resource$Projects$Muteconfigs$Delete,
22547
22954
  options: StreamMethodOptions
22548
- ): GaxiosPromise<Readable>;
22955
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
22549
22956
  delete(
22550
22957
  params?: Params$Resource$Projects$Muteconfigs$Delete,
22551
22958
  options?: MethodOptions
22552
- ): GaxiosPromise<Schema$Empty>;
22959
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
22553
22960
  delete(
22554
22961
  params: Params$Resource$Projects$Muteconfigs$Delete,
22555
22962
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -22578,7 +22985,10 @@ export namespace securitycenter_v1 {
22578
22985
  callback?:
22579
22986
  | BodyResponseCallback<Schema$Empty>
22580
22987
  | BodyResponseCallback<Readable>
22581
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
22988
+ ):
22989
+ | void
22990
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
22991
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
22582
22992
  let params = (paramsOrCallback ||
22583
22993
  {}) as Params$Resource$Projects$Muteconfigs$Delete;
22584
22994
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -22631,11 +23041,13 @@ export namespace securitycenter_v1 {
22631
23041
  get(
22632
23042
  params: Params$Resource$Projects$Muteconfigs$Get,
22633
23043
  options: StreamMethodOptions
22634
- ): GaxiosPromise<Readable>;
23044
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
22635
23045
  get(
22636
23046
  params?: Params$Resource$Projects$Muteconfigs$Get,
22637
23047
  options?: MethodOptions
22638
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
23048
+ ): Promise<
23049
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
23050
+ >;
22639
23051
  get(
22640
23052
  params: Params$Resource$Projects$Muteconfigs$Get,
22641
23053
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -22670,8 +23082,10 @@ export namespace securitycenter_v1 {
22670
23082
  | BodyResponseCallback<Readable>
22671
23083
  ):
22672
23084
  | void
22673
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
22674
- | GaxiosPromise<Readable> {
23085
+ | Promise<
23086
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
23087
+ >
23088
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
22675
23089
  let params = (paramsOrCallback ||
22676
23090
  {}) as Params$Resource$Projects$Muteconfigs$Get;
22677
23091
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -22726,11 +23140,11 @@ export namespace securitycenter_v1 {
22726
23140
  list(
22727
23141
  params: Params$Resource$Projects$Muteconfigs$List,
22728
23142
  options: StreamMethodOptions
22729
- ): GaxiosPromise<Readable>;
23143
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
22730
23144
  list(
22731
23145
  params?: Params$Resource$Projects$Muteconfigs$List,
22732
23146
  options?: MethodOptions
22733
- ): GaxiosPromise<Schema$ListMuteConfigsResponse>;
23147
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListMuteConfigsResponse>>;
22734
23148
  list(
22735
23149
  params: Params$Resource$Projects$Muteconfigs$List,
22736
23150
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -22763,8 +23177,8 @@ export namespace securitycenter_v1 {
22763
23177
  | BodyResponseCallback<Readable>
22764
23178
  ):
22765
23179
  | void
22766
- | GaxiosPromise<Schema$ListMuteConfigsResponse>
22767
- | GaxiosPromise<Readable> {
23180
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListMuteConfigsResponse>>
23181
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
22768
23182
  let params = (paramsOrCallback ||
22769
23183
  {}) as Params$Resource$Projects$Muteconfigs$List;
22770
23184
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -22820,11 +23234,13 @@ export namespace securitycenter_v1 {
22820
23234
  patch(
22821
23235
  params: Params$Resource$Projects$Muteconfigs$Patch,
22822
23236
  options: StreamMethodOptions
22823
- ): GaxiosPromise<Readable>;
23237
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
22824
23238
  patch(
22825
23239
  params?: Params$Resource$Projects$Muteconfigs$Patch,
22826
23240
  options?: MethodOptions
22827
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>;
23241
+ ): Promise<
23242
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
23243
+ >;
22828
23244
  patch(
22829
23245
  params: Params$Resource$Projects$Muteconfigs$Patch,
22830
23246
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -22859,8 +23275,10 @@ export namespace securitycenter_v1 {
22859
23275
  | BodyResponseCallback<Readable>
22860
23276
  ):
22861
23277
  | void
22862
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1MuteConfig>
22863
- | GaxiosPromise<Readable> {
23278
+ | Promise<
23279
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1MuteConfig>
23280
+ >
23281
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
22864
23282
  let params = (paramsOrCallback ||
22865
23283
  {}) as Params$Resource$Projects$Muteconfigs$Patch;
22866
23284
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -22984,11 +23402,11 @@ export namespace securitycenter_v1 {
22984
23402
  create(
22985
23403
  params: Params$Resource$Projects$Notificationconfigs$Create,
22986
23404
  options: StreamMethodOptions
22987
- ): GaxiosPromise<Readable>;
23405
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
22988
23406
  create(
22989
23407
  params?: Params$Resource$Projects$Notificationconfigs$Create,
22990
23408
  options?: MethodOptions
22991
- ): GaxiosPromise<Schema$NotificationConfig>;
23409
+ ): Promise<GaxiosResponseWithHTTP2<Schema$NotificationConfig>>;
22992
23410
  create(
22993
23411
  params: Params$Resource$Projects$Notificationconfigs$Create,
22994
23412
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -23019,8 +23437,8 @@ export namespace securitycenter_v1 {
23019
23437
  | BodyResponseCallback<Readable>
23020
23438
  ):
23021
23439
  | void
23022
- | GaxiosPromise<Schema$NotificationConfig>
23023
- | GaxiosPromise<Readable> {
23440
+ | Promise<GaxiosResponseWithHTTP2<Schema$NotificationConfig>>
23441
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
23024
23442
  let params = (paramsOrCallback ||
23025
23443
  {}) as Params$Resource$Projects$Notificationconfigs$Create;
23026
23444
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -23076,11 +23494,11 @@ export namespace securitycenter_v1 {
23076
23494
  delete(
23077
23495
  params: Params$Resource$Projects$Notificationconfigs$Delete,
23078
23496
  options: StreamMethodOptions
23079
- ): GaxiosPromise<Readable>;
23497
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
23080
23498
  delete(
23081
23499
  params?: Params$Resource$Projects$Notificationconfigs$Delete,
23082
23500
  options?: MethodOptions
23083
- ): GaxiosPromise<Schema$Empty>;
23501
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
23084
23502
  delete(
23085
23503
  params: Params$Resource$Projects$Notificationconfigs$Delete,
23086
23504
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -23109,7 +23527,10 @@ export namespace securitycenter_v1 {
23109
23527
  callback?:
23110
23528
  | BodyResponseCallback<Schema$Empty>
23111
23529
  | BodyResponseCallback<Readable>
23112
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
23530
+ ):
23531
+ | void
23532
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
23533
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
23113
23534
  let params = (paramsOrCallback ||
23114
23535
  {}) as Params$Resource$Projects$Notificationconfigs$Delete;
23115
23536
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -23162,11 +23583,11 @@ export namespace securitycenter_v1 {
23162
23583
  get(
23163
23584
  params: Params$Resource$Projects$Notificationconfigs$Get,
23164
23585
  options: StreamMethodOptions
23165
- ): GaxiosPromise<Readable>;
23586
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
23166
23587
  get(
23167
23588
  params?: Params$Resource$Projects$Notificationconfigs$Get,
23168
23589
  options?: MethodOptions
23169
- ): GaxiosPromise<Schema$NotificationConfig>;
23590
+ ): Promise<GaxiosResponseWithHTTP2<Schema$NotificationConfig>>;
23170
23591
  get(
23171
23592
  params: Params$Resource$Projects$Notificationconfigs$Get,
23172
23593
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -23197,8 +23618,8 @@ export namespace securitycenter_v1 {
23197
23618
  | BodyResponseCallback<Readable>
23198
23619
  ):
23199
23620
  | void
23200
- | GaxiosPromise<Schema$NotificationConfig>
23201
- | GaxiosPromise<Readable> {
23621
+ | Promise<GaxiosResponseWithHTTP2<Schema$NotificationConfig>>
23622
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
23202
23623
  let params = (paramsOrCallback ||
23203
23624
  {}) as Params$Resource$Projects$Notificationconfigs$Get;
23204
23625
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -23251,11 +23672,11 @@ export namespace securitycenter_v1 {
23251
23672
  list(
23252
23673
  params: Params$Resource$Projects$Notificationconfigs$List,
23253
23674
  options: StreamMethodOptions
23254
- ): GaxiosPromise<Readable>;
23675
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
23255
23676
  list(
23256
23677
  params?: Params$Resource$Projects$Notificationconfigs$List,
23257
23678
  options?: MethodOptions
23258
- ): GaxiosPromise<Schema$ListNotificationConfigsResponse>;
23679
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListNotificationConfigsResponse>>;
23259
23680
  list(
23260
23681
  params: Params$Resource$Projects$Notificationconfigs$List,
23261
23682
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -23290,8 +23711,8 @@ export namespace securitycenter_v1 {
23290
23711
  | BodyResponseCallback<Readable>
23291
23712
  ):
23292
23713
  | void
23293
- | GaxiosPromise<Schema$ListNotificationConfigsResponse>
23294
- | GaxiosPromise<Readable> {
23714
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListNotificationConfigsResponse>>
23715
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
23295
23716
  let params = (paramsOrCallback ||
23296
23717
  {}) as Params$Resource$Projects$Notificationconfigs$List;
23297
23718
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -23349,11 +23770,11 @@ export namespace securitycenter_v1 {
23349
23770
  patch(
23350
23771
  params: Params$Resource$Projects$Notificationconfigs$Patch,
23351
23772
  options: StreamMethodOptions
23352
- ): GaxiosPromise<Readable>;
23773
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
23353
23774
  patch(
23354
23775
  params?: Params$Resource$Projects$Notificationconfigs$Patch,
23355
23776
  options?: MethodOptions
23356
- ): GaxiosPromise<Schema$NotificationConfig>;
23777
+ ): Promise<GaxiosResponseWithHTTP2<Schema$NotificationConfig>>;
23357
23778
  patch(
23358
23779
  params: Params$Resource$Projects$Notificationconfigs$Patch,
23359
23780
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -23384,8 +23805,8 @@ export namespace securitycenter_v1 {
23384
23805
  | BodyResponseCallback<Readable>
23385
23806
  ):
23386
23807
  | void
23387
- | GaxiosPromise<Schema$NotificationConfig>
23388
- | GaxiosPromise<Readable> {
23808
+ | Promise<GaxiosResponseWithHTTP2<Schema$NotificationConfig>>
23809
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
23389
23810
  let params = (paramsOrCallback ||
23390
23811
  {}) as Params$Resource$Projects$Notificationconfigs$Patch;
23391
23812
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -23524,11 +23945,13 @@ export namespace securitycenter_v1 {
23524
23945
  create(
23525
23946
  params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Create,
23526
23947
  options: StreamMethodOptions
23527
- ): GaxiosPromise<Readable>;
23948
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
23528
23949
  create(
23529
23950
  params?: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Create,
23530
23951
  options?: MethodOptions
23531
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>;
23952
+ ): Promise<
23953
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
23954
+ >;
23532
23955
  create(
23533
23956
  params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Create,
23534
23957
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -23563,8 +23986,10 @@ export namespace securitycenter_v1 {
23563
23986
  | BodyResponseCallback<Readable>
23564
23987
  ):
23565
23988
  | void
23566
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
23567
- | GaxiosPromise<Readable> {
23989
+ | Promise<
23990
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
23991
+ >
23992
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
23568
23993
  let params = (paramsOrCallback ||
23569
23994
  {}) as Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Create;
23570
23995
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -23623,11 +24048,11 @@ export namespace securitycenter_v1 {
23623
24048
  delete(
23624
24049
  params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Delete,
23625
24050
  options: StreamMethodOptions
23626
- ): GaxiosPromise<Readable>;
24051
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
23627
24052
  delete(
23628
24053
  params?: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Delete,
23629
24054
  options?: MethodOptions
23630
- ): GaxiosPromise<Schema$Empty>;
24055
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
23631
24056
  delete(
23632
24057
  params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Delete,
23633
24058
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -23656,7 +24081,10 @@ export namespace securitycenter_v1 {
23656
24081
  callback?:
23657
24082
  | BodyResponseCallback<Schema$Empty>
23658
24083
  | BodyResponseCallback<Readable>
23659
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
24084
+ ):
24085
+ | void
24086
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
24087
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
23660
24088
  let params = (paramsOrCallback ||
23661
24089
  {}) as Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Delete;
23662
24090
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -23710,11 +24138,13 @@ export namespace securitycenter_v1 {
23710
24138
  get(
23711
24139
  params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Get,
23712
24140
  options: StreamMethodOptions
23713
- ): GaxiosPromise<Readable>;
24141
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
23714
24142
  get(
23715
24143
  params?: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Get,
23716
24144
  options?: MethodOptions
23717
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>;
24145
+ ): Promise<
24146
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
24147
+ >;
23718
24148
  get(
23719
24149
  params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Get,
23720
24150
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -23749,8 +24179,10 @@ export namespace securitycenter_v1 {
23749
24179
  | BodyResponseCallback<Readable>
23750
24180
  ):
23751
24181
  | void
23752
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
23753
- | GaxiosPromise<Readable> {
24182
+ | Promise<
24183
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
24184
+ >
24185
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
23754
24186
  let params = (paramsOrCallback ||
23755
24187
  {}) as Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Get;
23756
24188
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -23806,11 +24238,13 @@ export namespace securitycenter_v1 {
23806
24238
  list(
23807
24239
  params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$List,
23808
24240
  options: StreamMethodOptions
23809
- ): GaxiosPromise<Readable>;
24241
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
23810
24242
  list(
23811
24243
  params?: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$List,
23812
24244
  options?: MethodOptions
23813
- ): GaxiosPromise<Schema$ListSecurityHealthAnalyticsCustomModulesResponse>;
24245
+ ): Promise<
24246
+ GaxiosResponseWithHTTP2<Schema$ListSecurityHealthAnalyticsCustomModulesResponse>
24247
+ >;
23814
24248
  list(
23815
24249
  params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$List,
23816
24250
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -23845,8 +24279,10 @@ export namespace securitycenter_v1 {
23845
24279
  | BodyResponseCallback<Readable>
23846
24280
  ):
23847
24281
  | void
23848
- | GaxiosPromise<Schema$ListSecurityHealthAnalyticsCustomModulesResponse>
23849
- | GaxiosPromise<Readable> {
24282
+ | Promise<
24283
+ GaxiosResponseWithHTTP2<Schema$ListSecurityHealthAnalyticsCustomModulesResponse>
24284
+ >
24285
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
23850
24286
  let params = (paramsOrCallback ||
23851
24287
  {}) as Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$List;
23852
24288
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -23905,11 +24341,13 @@ export namespace securitycenter_v1 {
23905
24341
  listDescendant(
23906
24342
  params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Listdescendant,
23907
24343
  options: StreamMethodOptions
23908
- ): GaxiosPromise<Readable>;
24344
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
23909
24345
  listDescendant(
23910
24346
  params?: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Listdescendant,
23911
24347
  options?: MethodOptions
23912
- ): GaxiosPromise<Schema$ListDescendantSecurityHealthAnalyticsCustomModulesResponse>;
24348
+ ): Promise<
24349
+ GaxiosResponseWithHTTP2<Schema$ListDescendantSecurityHealthAnalyticsCustomModulesResponse>
24350
+ >;
23913
24351
  listDescendant(
23914
24352
  params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Listdescendant,
23915
24353
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -23944,8 +24382,10 @@ export namespace securitycenter_v1 {
23944
24382
  | BodyResponseCallback<Readable>
23945
24383
  ):
23946
24384
  | void
23947
- | GaxiosPromise<Schema$ListDescendantSecurityHealthAnalyticsCustomModulesResponse>
23948
- | GaxiosPromise<Readable> {
24385
+ | Promise<
24386
+ GaxiosResponseWithHTTP2<Schema$ListDescendantSecurityHealthAnalyticsCustomModulesResponse>
24387
+ >
24388
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
23949
24389
  let params = (paramsOrCallback ||
23950
24390
  {}) as Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Listdescendant;
23951
24391
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -24003,11 +24443,13 @@ export namespace securitycenter_v1 {
24003
24443
  patch(
24004
24444
  params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Patch,
24005
24445
  options: StreamMethodOptions
24006
- ): GaxiosPromise<Readable>;
24446
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
24007
24447
  patch(
24008
24448
  params?: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Patch,
24009
24449
  options?: MethodOptions
24010
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>;
24450
+ ): Promise<
24451
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
24452
+ >;
24011
24453
  patch(
24012
24454
  params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Patch,
24013
24455
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -24042,8 +24484,10 @@ export namespace securitycenter_v1 {
24042
24484
  | BodyResponseCallback<Readable>
24043
24485
  ):
24044
24486
  | void
24045
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
24046
- | GaxiosPromise<Readable> {
24487
+ | Promise<
24488
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>
24489
+ >
24490
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
24047
24491
  let params = (paramsOrCallback ||
24048
24492
  {}) as Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Patch;
24049
24493
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -24099,11 +24543,13 @@ export namespace securitycenter_v1 {
24099
24543
  simulate(
24100
24544
  params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Simulate,
24101
24545
  options: StreamMethodOptions
24102
- ): GaxiosPromise<Readable>;
24546
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
24103
24547
  simulate(
24104
24548
  params?: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Simulate,
24105
24549
  options?: MethodOptions
24106
- ): GaxiosPromise<Schema$SimulateSecurityHealthAnalyticsCustomModuleResponse>;
24550
+ ): Promise<
24551
+ GaxiosResponseWithHTTP2<Schema$SimulateSecurityHealthAnalyticsCustomModuleResponse>
24552
+ >;
24107
24553
  simulate(
24108
24554
  params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Simulate,
24109
24555
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -24138,8 +24584,10 @@ export namespace securitycenter_v1 {
24138
24584
  | BodyResponseCallback<Readable>
24139
24585
  ):
24140
24586
  | void
24141
- | GaxiosPromise<Schema$SimulateSecurityHealthAnalyticsCustomModuleResponse>
24142
- | GaxiosPromise<Readable> {
24587
+ | Promise<
24588
+ GaxiosResponseWithHTTP2<Schema$SimulateSecurityHealthAnalyticsCustomModuleResponse>
24589
+ >
24590
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
24143
24591
  let params = (paramsOrCallback ||
24144
24592
  {}) as Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Simulate;
24145
24593
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -24290,11 +24738,13 @@ export namespace securitycenter_v1 {
24290
24738
  get(
24291
24739
  params: Params$Resource$Projects$Securityhealthanalyticssettings$Effectivecustommodules$Get,
24292
24740
  options: StreamMethodOptions
24293
- ): GaxiosPromise<Readable>;
24741
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
24294
24742
  get(
24295
24743
  params?: Params$Resource$Projects$Securityhealthanalyticssettings$Effectivecustommodules$Get,
24296
24744
  options?: MethodOptions
24297
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule>;
24745
+ ): Promise<
24746
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule>
24747
+ >;
24298
24748
  get(
24299
24749
  params: Params$Resource$Projects$Securityhealthanalyticssettings$Effectivecustommodules$Get,
24300
24750
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -24329,8 +24779,10 @@ export namespace securitycenter_v1 {
24329
24779
  | BodyResponseCallback<Readable>
24330
24780
  ):
24331
24781
  | void
24332
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule>
24333
- | GaxiosPromise<Readable> {
24782
+ | Promise<
24783
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule>
24784
+ >
24785
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
24334
24786
  let params = (paramsOrCallback ||
24335
24787
  {}) as Params$Resource$Projects$Securityhealthanalyticssettings$Effectivecustommodules$Get;
24336
24788
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -24386,11 +24838,13 @@ export namespace securitycenter_v1 {
24386
24838
  list(
24387
24839
  params: Params$Resource$Projects$Securityhealthanalyticssettings$Effectivecustommodules$List,
24388
24840
  options: StreamMethodOptions
24389
- ): GaxiosPromise<Readable>;
24841
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
24390
24842
  list(
24391
24843
  params?: Params$Resource$Projects$Securityhealthanalyticssettings$Effectivecustommodules$List,
24392
24844
  options?: MethodOptions
24393
- ): GaxiosPromise<Schema$ListEffectiveSecurityHealthAnalyticsCustomModulesResponse>;
24845
+ ): Promise<
24846
+ GaxiosResponseWithHTTP2<Schema$ListEffectiveSecurityHealthAnalyticsCustomModulesResponse>
24847
+ >;
24394
24848
  list(
24395
24849
  params: Params$Resource$Projects$Securityhealthanalyticssettings$Effectivecustommodules$List,
24396
24850
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -24425,8 +24879,10 @@ export namespace securitycenter_v1 {
24425
24879
  | BodyResponseCallback<Readable>
24426
24880
  ):
24427
24881
  | void
24428
- | GaxiosPromise<Schema$ListEffectiveSecurityHealthAnalyticsCustomModulesResponse>
24429
- | GaxiosPromise<Readable> {
24882
+ | Promise<
24883
+ GaxiosResponseWithHTTP2<Schema$ListEffectiveSecurityHealthAnalyticsCustomModulesResponse>
24884
+ >
24885
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
24430
24886
  let params = (paramsOrCallback ||
24431
24887
  {}) as Params$Resource$Projects$Securityhealthanalyticssettings$Effectivecustommodules$List;
24432
24888
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -24517,11 +24973,11 @@ export namespace securitycenter_v1 {
24517
24973
  list(
24518
24974
  params: Params$Resource$Projects$Sources$List,
24519
24975
  options: StreamMethodOptions
24520
- ): GaxiosPromise<Readable>;
24976
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
24521
24977
  list(
24522
24978
  params?: Params$Resource$Projects$Sources$List,
24523
24979
  options?: MethodOptions
24524
- ): GaxiosPromise<Schema$ListSourcesResponse>;
24980
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListSourcesResponse>>;
24525
24981
  list(
24526
24982
  params: Params$Resource$Projects$Sources$List,
24527
24983
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -24552,8 +25008,8 @@ export namespace securitycenter_v1 {
24552
25008
  | BodyResponseCallback<Readable>
24553
25009
  ):
24554
25010
  | void
24555
- | GaxiosPromise<Schema$ListSourcesResponse>
24556
- | GaxiosPromise<Readable> {
25011
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListSourcesResponse>>
25012
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
24557
25013
  let params = (paramsOrCallback ||
24558
25014
  {}) as Params$Resource$Projects$Sources$List;
24559
25015
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -24635,11 +25091,11 @@ export namespace securitycenter_v1 {
24635
25091
  group(
24636
25092
  params: Params$Resource$Projects$Sources$Findings$Group,
24637
25093
  options: StreamMethodOptions
24638
- ): GaxiosPromise<Readable>;
25094
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
24639
25095
  group(
24640
25096
  params?: Params$Resource$Projects$Sources$Findings$Group,
24641
25097
  options?: MethodOptions
24642
- ): GaxiosPromise<Schema$GroupFindingsResponse>;
25098
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GroupFindingsResponse>>;
24643
25099
  group(
24644
25100
  params: Params$Resource$Projects$Sources$Findings$Group,
24645
25101
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -24672,8 +25128,8 @@ export namespace securitycenter_v1 {
24672
25128
  | BodyResponseCallback<Readable>
24673
25129
  ):
24674
25130
  | void
24675
- | GaxiosPromise<Schema$GroupFindingsResponse>
24676
- | GaxiosPromise<Readable> {
25131
+ | Promise<GaxiosResponseWithHTTP2<Schema$GroupFindingsResponse>>
25132
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
24677
25133
  let params = (paramsOrCallback ||
24678
25134
  {}) as Params$Resource$Projects$Sources$Findings$Group;
24679
25135
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -24729,11 +25185,11 @@ export namespace securitycenter_v1 {
24729
25185
  list(
24730
25186
  params: Params$Resource$Projects$Sources$Findings$List,
24731
25187
  options: StreamMethodOptions
24732
- ): GaxiosPromise<Readable>;
25188
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
24733
25189
  list(
24734
25190
  params?: Params$Resource$Projects$Sources$Findings$List,
24735
25191
  options?: MethodOptions
24736
- ): GaxiosPromise<Schema$ListFindingsResponse>;
25192
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListFindingsResponse>>;
24737
25193
  list(
24738
25194
  params: Params$Resource$Projects$Sources$Findings$List,
24739
25195
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -24766,8 +25222,8 @@ export namespace securitycenter_v1 {
24766
25222
  | BodyResponseCallback<Readable>
24767
25223
  ):
24768
25224
  | void
24769
- | GaxiosPromise<Schema$ListFindingsResponse>
24770
- | GaxiosPromise<Readable> {
25225
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListFindingsResponse>>
25226
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
24771
25227
  let params = (paramsOrCallback ||
24772
25228
  {}) as Params$Resource$Projects$Sources$Findings$List;
24773
25229
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -24823,11 +25279,11 @@ export namespace securitycenter_v1 {
24823
25279
  patch(
24824
25280
  params: Params$Resource$Projects$Sources$Findings$Patch,
24825
25281
  options: StreamMethodOptions
24826
- ): GaxiosPromise<Readable>;
25282
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
24827
25283
  patch(
24828
25284
  params?: Params$Resource$Projects$Sources$Findings$Patch,
24829
25285
  options?: MethodOptions
24830
- ): GaxiosPromise<Schema$Finding>;
25286
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Finding>>;
24831
25287
  patch(
24832
25288
  params: Params$Resource$Projects$Sources$Findings$Patch,
24833
25289
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -24856,7 +25312,10 @@ export namespace securitycenter_v1 {
24856
25312
  callback?:
24857
25313
  | BodyResponseCallback<Schema$Finding>
24858
25314
  | BodyResponseCallback<Readable>
24859
- ): void | GaxiosPromise<Schema$Finding> | GaxiosPromise<Readable> {
25315
+ ):
25316
+ | void
25317
+ | Promise<GaxiosResponseWithHTTP2<Schema$Finding>>
25318
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
24860
25319
  let params = (paramsOrCallback ||
24861
25320
  {}) as Params$Resource$Projects$Sources$Findings$Patch;
24862
25321
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -24909,11 +25368,11 @@ export namespace securitycenter_v1 {
24909
25368
  setMute(
24910
25369
  params: Params$Resource$Projects$Sources$Findings$Setmute,
24911
25370
  options: StreamMethodOptions
24912
- ): GaxiosPromise<Readable>;
25371
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
24913
25372
  setMute(
24914
25373
  params?: Params$Resource$Projects$Sources$Findings$Setmute,
24915
25374
  options?: MethodOptions
24916
- ): GaxiosPromise<Schema$Finding>;
25375
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Finding>>;
24917
25376
  setMute(
24918
25377
  params: Params$Resource$Projects$Sources$Findings$Setmute,
24919
25378
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -24942,7 +25401,10 @@ export namespace securitycenter_v1 {
24942
25401
  callback?:
24943
25402
  | BodyResponseCallback<Schema$Finding>
24944
25403
  | BodyResponseCallback<Readable>
24945
- ): void | GaxiosPromise<Schema$Finding> | GaxiosPromise<Readable> {
25404
+ ):
25405
+ | void
25406
+ | Promise<GaxiosResponseWithHTTP2<Schema$Finding>>
25407
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
24946
25408
  let params = (paramsOrCallback ||
24947
25409
  {}) as Params$Resource$Projects$Sources$Findings$Setmute;
24948
25410
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -24998,11 +25460,11 @@ export namespace securitycenter_v1 {
24998
25460
  setState(
24999
25461
  params: Params$Resource$Projects$Sources$Findings$Setstate,
25000
25462
  options: StreamMethodOptions
25001
- ): GaxiosPromise<Readable>;
25463
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
25002
25464
  setState(
25003
25465
  params?: Params$Resource$Projects$Sources$Findings$Setstate,
25004
25466
  options?: MethodOptions
25005
- ): GaxiosPromise<Schema$Finding>;
25467
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Finding>>;
25006
25468
  setState(
25007
25469
  params: Params$Resource$Projects$Sources$Findings$Setstate,
25008
25470
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -25031,7 +25493,10 @@ export namespace securitycenter_v1 {
25031
25493
  callback?:
25032
25494
  | BodyResponseCallback<Schema$Finding>
25033
25495
  | BodyResponseCallback<Readable>
25034
- ): void | GaxiosPromise<Schema$Finding> | GaxiosPromise<Readable> {
25496
+ ):
25497
+ | void
25498
+ | Promise<GaxiosResponseWithHTTP2<Schema$Finding>>
25499
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
25035
25500
  let params = (paramsOrCallback ||
25036
25501
  {}) as Params$Resource$Projects$Sources$Findings$Setstate;
25037
25502
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -25087,11 +25552,11 @@ export namespace securitycenter_v1 {
25087
25552
  updateSecurityMarks(
25088
25553
  params: Params$Resource$Projects$Sources$Findings$Updatesecuritymarks,
25089
25554
  options: StreamMethodOptions
25090
- ): GaxiosPromise<Readable>;
25555
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
25091
25556
  updateSecurityMarks(
25092
25557
  params?: Params$Resource$Projects$Sources$Findings$Updatesecuritymarks,
25093
25558
  options?: MethodOptions
25094
- ): GaxiosPromise<Schema$SecurityMarks>;
25559
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityMarks>>;
25095
25560
  updateSecurityMarks(
25096
25561
  params: Params$Resource$Projects$Sources$Findings$Updatesecuritymarks,
25097
25562
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -25122,7 +25587,10 @@ export namespace securitycenter_v1 {
25122
25587
  callback?:
25123
25588
  | BodyResponseCallback<Schema$SecurityMarks>
25124
25589
  | BodyResponseCallback<Readable>
25125
- ): void | GaxiosPromise<Schema$SecurityMarks> | GaxiosPromise<Readable> {
25590
+ ):
25591
+ | void
25592
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityMarks>>
25593
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
25126
25594
  let params = (paramsOrCallback ||
25127
25595
  {}) as Params$Resource$Projects$Sources$Findings$Updatesecuritymarks;
25128
25596
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -25291,11 +25759,13 @@ export namespace securitycenter_v1 {
25291
25759
  patch(
25292
25760
  params: Params$Resource$Projects$Sources$Findings$Externalsystems$Patch,
25293
25761
  options: StreamMethodOptions
25294
- ): GaxiosPromise<Readable>;
25762
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
25295
25763
  patch(
25296
25764
  params?: Params$Resource$Projects$Sources$Findings$Externalsystems$Patch,
25297
25765
  options?: MethodOptions
25298
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1ExternalSystem>;
25766
+ ): Promise<
25767
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1ExternalSystem>
25768
+ >;
25299
25769
  patch(
25300
25770
  params: Params$Resource$Projects$Sources$Findings$Externalsystems$Patch,
25301
25771
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -25330,8 +25800,10 @@ export namespace securitycenter_v1 {
25330
25800
  | BodyResponseCallback<Readable>
25331
25801
  ):
25332
25802
  | void
25333
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1ExternalSystem>
25334
- | GaxiosPromise<Readable> {
25803
+ | Promise<
25804
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1ExternalSystem>
25805
+ >
25806
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
25335
25807
  let params = (paramsOrCallback ||
25336
25808
  {}) as Params$Resource$Projects$Sources$Findings$Externalsystems$Patch;
25337
25809
  let options = (optionsOrCallback || {}) as MethodOptions;