@googleapis/securitycenter 11.0.0 → 13.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/v1beta2.ts CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  Compute,
24
24
  UserRefreshClient,
25
25
  BaseExternalAccountClient,
26
- GaxiosPromise,
26
+ GaxiosResponseWithHTTP2,
27
27
  GoogleConfigurable,
28
28
  createAPIRequest,
29
29
  MethodOptions,
@@ -219,6 +219,24 @@ export namespace securitycenter_v1beta2 {
219
219
  */
220
220
  confidence?: number | null;
221
221
  }
222
+ /**
223
+ * Details about resources affected by this finding.
224
+ */
225
+ export interface Schema$AffectedResources {
226
+ /**
227
+ * The count of resources affected by the finding.
228
+ */
229
+ count?: string | null;
230
+ }
231
+ /**
232
+ * Allowed IP rule.
233
+ */
234
+ export interface Schema$Allowed {
235
+ /**
236
+ * Optional. Optional list of allowed IP rules.
237
+ */
238
+ ipRules?: Schema$IpRule[];
239
+ }
222
240
  /**
223
241
  * Represents an application associated with a finding.
224
242
  */
@@ -460,6 +478,15 @@ export namespace securitycenter_v1beta2 {
460
478
  */
461
479
  storagePool?: string | null;
462
480
  }
481
+ /**
482
+ * Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations).
483
+ */
484
+ export interface Schema$Chokepoint {
485
+ /**
486
+ * List of resource names of findings associated with this chokepoint. For example, organizations/123/sources/456/findings/789. This list will have at most 100 findings.
487
+ */
488
+ relatedFindings?: string[] | null;
489
+ }
463
490
  /**
464
491
  * Fields related to Google Cloud Armor findings.
465
492
  */
@@ -561,43 +588,6 @@ export namespace securitycenter_v1beta2 {
561
588
  */
562
589
  version?: string | null;
563
590
  }
564
- /**
565
- * Result containing the properties and count of a ComplianceSnapshot request.
566
- */
567
- export interface Schema$ComplianceSnapshot {
568
- /**
569
- * The category of Findings matching.
570
- */
571
- category?: string | null;
572
- /**
573
- * The cloud provider for the compliance snapshot.
574
- */
575
- cloudProvider?: string | null;
576
- /**
577
- * The compliance standard (ie CIS).
578
- */
579
- complianceStandard?: string | null;
580
- /**
581
- * The compliance version (ie 1.3) in CIS 1.3.
582
- */
583
- complianceVersion?: string | null;
584
- /**
585
- * Total count of findings for the given properties.
586
- */
587
- count?: string | null;
588
- /**
589
- * The leaf container resource name that is closest to the snapshot.
590
- */
591
- leafContainerResource?: string | null;
592
- /**
593
- * The compliance snapshot name. Format: //sources//complianceSnapshots/
594
- */
595
- name?: string | null;
596
- /**
597
- * The snapshot time of the snapshot.
598
- */
599
- snapshotTime?: string | null;
600
- }
601
591
  /**
602
592
  * Configuration of a module.
603
593
  */
@@ -790,6 +780,19 @@ export namespace securitycenter_v1beta2 {
790
780
  */
791
781
  userInteraction?: string | null;
792
782
  }
783
+ /**
784
+ * CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).
785
+ */
786
+ export interface Schema$Cwe {
787
+ /**
788
+ * The CWE identifier, e.g. CWE-94
789
+ */
790
+ id?: string | null;
791
+ /**
792
+ * Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
793
+ */
794
+ references?: Schema$Reference[];
795
+ }
793
796
  /**
794
797
  * Details about a data access attempt made by a principal not authorized under applicable data security policy.
795
798
  */
@@ -882,10 +885,19 @@ export namespace securitycenter_v1beta2 {
882
885
  */
883
886
  eventType?: string | null;
884
887
  /**
885
- * Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user set the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.
888
+ * Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.
886
889
  */
887
890
  maxRetentionAllowed?: string | null;
888
891
  }
892
+ /**
893
+ * Denied IP rule.
894
+ */
895
+ export interface Schema$Denied {
896
+ /**
897
+ * Optional. Optional list of denied IP rules.
898
+ */
899
+ ipRules?: Schema$IpRule[];
900
+ }
889
901
  /**
890
902
  * Details of a subscription.
891
903
  */
@@ -921,7 +933,7 @@ export namespace securitycenter_v1beta2 {
921
933
  */
922
934
  export interface Schema$Disk {
923
935
  /**
924
- * The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-id/zones/zone-id/disks/disk-id".
936
+ * The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id\}/zones/{zone-id\}/disks/{disk-id\}".
925
937
  */
926
938
  name?: string | null;
927
939
  }
@@ -1077,6 +1089,10 @@ export namespace securitycenter_v1beta2 {
1077
1089
  * Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
1078
1090
  */
1079
1091
  access?: Schema$Access;
1092
+ /**
1093
+ * AffectedResources associated with the finding.
1094
+ */
1095
+ affectedResources?: Schema$AffectedResources;
1080
1096
  /**
1081
1097
  * Represents an application associated with the finding.
1082
1098
  */
@@ -1097,6 +1113,10 @@ export namespace securitycenter_v1beta2 {
1097
1113
  * The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
1098
1114
  */
1099
1115
  category?: string | null;
1116
+ /**
1117
+ * Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be updated. Its value is ignored in all update requests.
1118
+ */
1119
+ chokepoint?: Schema$Chokepoint;
1100
1120
  /**
1101
1121
  * Fields related to Cloud Armor findings.
1102
1122
  */
@@ -1191,6 +1211,14 @@ export namespace securitycenter_v1beta2 {
1191
1211
  * Represents what's commonly known as an *indicator of compromise* (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).
1192
1212
  */
1193
1213
  indicator?: Schema$Indicator;
1214
+ /**
1215
+ * IP rules associated with the finding.
1216
+ */
1217
+ ipRules?: Schema$IpRules;
1218
+ /**
1219
+ * Job associated with the finding.
1220
+ */
1221
+ job?: Schema$Job;
1194
1222
  /**
1195
1223
  * Signature of the kernel rootkit.
1196
1224
  */
@@ -1235,6 +1263,10 @@ export namespace securitycenter_v1beta2 {
1235
1263
  * The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: "organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}", "folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}", "projects/{project_id\}/sources/{source_id\}/findings/{finding_id\}".
1236
1264
  */
1237
1265
  name?: string | null;
1266
+ /**
1267
+ * Represents the VPC networks that the resource is attached to.
1268
+ */
1269
+ networks?: Schema$Network[];
1238
1270
  /**
1239
1271
  * Steps to address the finding.
1240
1272
  */
@@ -2024,6 +2056,24 @@ export namespace securitycenter_v1beta2 {
2024
2056
  */
2025
2057
  confidence?: number | null;
2026
2058
  }
2059
+ /**
2060
+ * Details about resources affected by this finding.
2061
+ */
2062
+ export interface Schema$GoogleCloudSecuritycenterV2AffectedResources {
2063
+ /**
2064
+ * The count of resources affected by the finding.
2065
+ */
2066
+ count?: string | null;
2067
+ }
2068
+ /**
2069
+ * Allowed IP rule.
2070
+ */
2071
+ export interface Schema$GoogleCloudSecuritycenterV2Allowed {
2072
+ /**
2073
+ * Optional. Optional list of allowed IP rules.
2074
+ */
2075
+ ipRules?: Schema$GoogleCloudSecuritycenterV2IpRule[];
2076
+ }
2027
2077
  /**
2028
2078
  * Represents an application associated with a finding.
2029
2079
  */
@@ -2327,6 +2377,15 @@ export namespace securitycenter_v1beta2 {
2327
2377
  * The response to a BulkMute request. Contains the LRO information.
2328
2378
  */
2329
2379
  export interface Schema$GoogleCloudSecuritycenterV2BulkMuteFindingsResponse {}
2380
+ /**
2381
+ * Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations).
2382
+ */
2383
+ export interface Schema$GoogleCloudSecuritycenterV2Chokepoint {
2384
+ /**
2385
+ * List of resource names of findings associated with this chokepoint. For example, organizations/123/sources/456/findings/789. This list will have at most 100 findings.
2386
+ */
2387
+ relatedFindings?: string[] | null;
2388
+ }
2330
2389
  /**
2331
2390
  * Fields related to Google Cloud Armor findings.
2332
2391
  */
@@ -2582,6 +2641,19 @@ export namespace securitycenter_v1beta2 {
2582
2641
  */
2583
2642
  userInteraction?: string | null;
2584
2643
  }
2644
+ /**
2645
+ * CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).
2646
+ */
2647
+ export interface Schema$GoogleCloudSecuritycenterV2Cwe {
2648
+ /**
2649
+ * The CWE identifier, e.g. CWE-94
2650
+ */
2651
+ id?: string | null;
2652
+ /**
2653
+ * Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
2654
+ */
2655
+ references?: Schema$GoogleCloudSecuritycenterV2Reference[];
2656
+ }
2585
2657
  /**
2586
2658
  * Details about a data access attempt made by a principal not authorized under applicable data security policy.
2587
2659
  */
@@ -2674,10 +2746,19 @@ export namespace securitycenter_v1beta2 {
2674
2746
  */
2675
2747
  eventType?: string | null;
2676
2748
  /**
2677
- * Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user set the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.
2749
+ * Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.
2678
2750
  */
2679
2751
  maxRetentionAllowed?: string | null;
2680
2752
  }
2753
+ /**
2754
+ * Denied IP rule.
2755
+ */
2756
+ export interface Schema$GoogleCloudSecuritycenterV2Denied {
2757
+ /**
2758
+ * Optional. Optional list of denied IP rules.
2759
+ */
2760
+ ipRules?: Schema$GoogleCloudSecuritycenterV2IpRule[];
2761
+ }
2681
2762
  /**
2682
2763
  * Memory hash detection contributing to the binary family match.
2683
2764
  */
@@ -2696,7 +2777,7 @@ export namespace securitycenter_v1beta2 {
2696
2777
  */
2697
2778
  export interface Schema$GoogleCloudSecuritycenterV2Disk {
2698
2779
  /**
2699
- * The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-id/zones/zone-id/disks/disk-id".
2780
+ * The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id\}/zones/{zone-id\}/disks/{disk-id\}".
2700
2781
  */
2701
2782
  name?: string | null;
2702
2783
  }
@@ -2859,6 +2940,10 @@ export namespace securitycenter_v1beta2 {
2859
2940
  * Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
2860
2941
  */
2861
2942
  access?: Schema$GoogleCloudSecuritycenterV2Access;
2943
+ /**
2944
+ * AffectedResources associated with the finding.
2945
+ */
2946
+ affectedResources?: Schema$GoogleCloudSecuritycenterV2AffectedResources;
2862
2947
  /**
2863
2948
  * Represents an application associated with the finding.
2864
2949
  */
@@ -2879,6 +2964,10 @@ export namespace securitycenter_v1beta2 {
2879
2964
  * Immutable. The additional taxonomy group within findings from a given source. Example: "XSS_FLASH_INJECTION"
2880
2965
  */
2881
2966
  category?: string | null;
2967
+ /**
2968
+ * Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be updated. Its value is ignored in all update requests.
2969
+ */
2970
+ chokepoint?: Schema$GoogleCloudSecuritycenterV2Chokepoint;
2882
2971
  /**
2883
2972
  * Fields related to Cloud Armor findings.
2884
2973
  */
@@ -2975,6 +3064,14 @@ export namespace securitycenter_v1beta2 {
2975
3064
  * Represents what's commonly known as an *indicator of compromise* (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).
2976
3065
  */
2977
3066
  indicator?: Schema$GoogleCloudSecuritycenterV2Indicator;
3067
+ /**
3068
+ * IP rules associated with the finding.
3069
+ */
3070
+ ipRules?: Schema$GoogleCloudSecuritycenterV2IpRules;
3071
+ /**
3072
+ * Job associated with the finding.
3073
+ */
3074
+ job?: Schema$GoogleCloudSecuritycenterV2Job;
2978
3075
  /**
2979
3076
  * Signature of the kernel rootkit.
2980
3077
  */
@@ -3019,6 +3116,10 @@ export namespace securitycenter_v1beta2 {
3019
3116
  * The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. The following list shows some examples: + `organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}` + `organizations/{organization_id\}/sources/{source_id\}/locations/{location_id\}/findings/{finding_id\}` + `folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}` + `folders/{folder_id\}/sources/{source_id\}/locations/{location_id\}/findings/{finding_id\}` + `projects/{project_id\}/sources/{source_id\}/findings/{finding_id\}` + `projects/{project_id\}/sources/{source_id\}/locations/{location_id\}/findings/{finding_id\}`
3020
3117
  */
3021
3118
  name?: string | null;
3119
+ /**
3120
+ * Represents the VPC networks that the resource is attached to.
3121
+ */
3122
+ networks?: Schema$GoogleCloudSecuritycenterV2Network[];
3022
3123
  /**
3023
3124
  * Steps to address the finding.
3024
3125
  */
@@ -3149,6 +3250,48 @@ export namespace securitycenter_v1beta2 {
3149
3250
  */
3150
3251
  uris?: string[] | null;
3151
3252
  }
3253
+ /**
3254
+ * IP rule information.
3255
+ */
3256
+ export interface Schema$GoogleCloudSecuritycenterV2IpRule {
3257
+ /**
3258
+ * Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.
3259
+ */
3260
+ portRanges?: Schema$GoogleCloudSecuritycenterV2PortRange[];
3261
+ /**
3262
+ * The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.
3263
+ */
3264
+ protocol?: string | null;
3265
+ }
3266
+ /**
3267
+ * IP rules associated with the finding.
3268
+ */
3269
+ export interface Schema$GoogleCloudSecuritycenterV2IpRules {
3270
+ /**
3271
+ * Tuple with allowed rules.
3272
+ */
3273
+ allowed?: Schema$GoogleCloudSecuritycenterV2Allowed;
3274
+ /**
3275
+ * Tuple with denied rules.
3276
+ */
3277
+ denied?: Schema$GoogleCloudSecuritycenterV2Denied;
3278
+ /**
3279
+ * If destination IP ranges are specified, the firewall rule applies only to traffic that has a destination IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
3280
+ */
3281
+ destinationIpRanges?: string[] | null;
3282
+ /**
3283
+ * The direction that the rule is applicable to, one of ingress or egress.
3284
+ */
3285
+ direction?: string | null;
3286
+ /**
3287
+ * Name of the network protocol service, such as FTP, that is exposed by the open port. Follows the naming convention available at: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
3288
+ */
3289
+ exposedServices?: string[] | null;
3290
+ /**
3291
+ * If source IP ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
3292
+ */
3293
+ sourceIpRanges?: string[] | null;
3294
+ }
3152
3295
  /**
3153
3296
  * Security Command Center Issue.
3154
3297
  */
@@ -3412,6 +3555,27 @@ export namespace securitycenter_v1beta2 {
3412
3555
  */
3413
3556
  values?: string[] | null;
3414
3557
  }
3558
+ /**
3559
+ * Describes a job
3560
+ */
3561
+ export interface Schema$GoogleCloudSecuritycenterV2Job {
3562
+ /**
3563
+ * Optional. If the job did not complete successfully, this field describes why.
3564
+ */
3565
+ errorCode?: number | null;
3566
+ /**
3567
+ * Optional. Gives the location where the job ran, such as `US` or `europe-west1`
3568
+ */
3569
+ location?: string | null;
3570
+ /**
3571
+ * The fully-qualified name for a job. e.g. `projects//jobs/`
3572
+ */
3573
+ name?: string | null;
3574
+ /**
3575
+ * Output only. State of the job, such as `RUNNING` or `PENDING`.
3576
+ */
3577
+ state?: string | null;
3578
+ }
3415
3579
  /**
3416
3580
  * Kernel mode rootkit signatures.
3417
3581
  */
@@ -3605,6 +3769,15 @@ export namespace securitycenter_v1beta2 {
3605
3769
  */
3606
3770
  staticMute?: Schema$GoogleCloudSecuritycenterV2StaticMute;
3607
3771
  }
3772
+ /**
3773
+ * Contains information about a VPC network associated with the finding.
3774
+ */
3775
+ export interface Schema$GoogleCloudSecuritycenterV2Network {
3776
+ /**
3777
+ * The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.
3778
+ */
3779
+ name?: string | null;
3780
+ }
3608
3781
  /**
3609
3782
  * Kubernetes nodes associated with the finding.
3610
3783
  */
@@ -3695,7 +3868,7 @@ export namespace securitycenter_v1beta2 {
3695
3868
  */
3696
3869
  export interface Schema$GoogleCloudSecuritycenterV2OrgPolicy {
3697
3870
  /**
3698
- * The resource name of the org policy. Example: "organizations/{organization_id\}/policies/{constraint_name\}"
3871
+ * Identifier. The resource name of the org policy. Example: "organizations/{organization_id\}/policies/{constraint_name\}"
3699
3872
  */
3700
3873
  name?: string | null;
3701
3874
  }
@@ -3758,6 +3931,19 @@ export namespace securitycenter_v1beta2 {
3758
3931
  */
3759
3932
  field?: string | null;
3760
3933
  }
3934
+ /**
3935
+ * A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.
3936
+ */
3937
+ export interface Schema$GoogleCloudSecuritycenterV2PortRange {
3938
+ /**
3939
+ * Maximum port value.
3940
+ */
3941
+ max?: string | null;
3942
+ /**
3943
+ * Minimum port value.
3944
+ */
3945
+ min?: string | null;
3946
+ }
3761
3947
  /**
3762
3948
  * Represents an operating system process.
3763
3949
  */
@@ -4189,6 +4375,10 @@ export namespace securitycenter_v1beta2 {
4189
4375
  * CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
4190
4376
  */
4191
4377
  cve?: Schema$GoogleCloudSecuritycenterV2Cve;
4378
+ /**
4379
+ * Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
4380
+ */
4381
+ cwes?: Schema$GoogleCloudSecuritycenterV2Cwe[];
4192
4382
  /**
4193
4383
  * The fixed package is relevant to the finding.
4194
4384
  */
@@ -4197,6 +4387,14 @@ export namespace securitycenter_v1beta2 {
4197
4387
  * The offending package is relevant to the finding.
4198
4388
  */
4199
4389
  offendingPackage?: Schema$GoogleCloudSecuritycenterV2Package;
4390
+ /**
4391
+ * Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
4392
+ */
4393
+ providerRiskScore?: string | null;
4394
+ /**
4395
+ * Represents whether the vulnerability is reachable (detected via static analysis)
4396
+ */
4397
+ reachable?: boolean | null;
4200
4398
  /**
4201
4399
  * The security bulletin is relevant to this finding.
4202
4400
  */
@@ -4262,6 +4460,69 @@ export namespace securitycenter_v1beta2 {
4262
4460
  */
4263
4461
  uris?: string[] | null;
4264
4462
  }
4463
+ /**
4464
+ * IP rule information.
4465
+ */
4466
+ export interface Schema$IpRule {
4467
+ /**
4468
+ * Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.
4469
+ */
4470
+ portRanges?: Schema$PortRange[];
4471
+ /**
4472
+ * The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.
4473
+ */
4474
+ protocol?: string | null;
4475
+ }
4476
+ /**
4477
+ * IP rules associated with the finding.
4478
+ */
4479
+ export interface Schema$IpRules {
4480
+ /**
4481
+ * Tuple with allowed rules.
4482
+ */
4483
+ allowed?: Schema$Allowed;
4484
+ /**
4485
+ * Tuple with denied rules.
4486
+ */
4487
+ denied?: Schema$Denied;
4488
+ /**
4489
+ * If destination IP ranges are specified, the firewall rule applies only to traffic that has a destination IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
4490
+ */
4491
+ destinationIpRanges?: string[] | null;
4492
+ /**
4493
+ * The direction that the rule is applicable to, one of ingress or egress.
4494
+ */
4495
+ direction?: string | null;
4496
+ /**
4497
+ * Name of the network protocol service, such as FTP, that is exposed by the open port. Follows the naming convention available at: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
4498
+ */
4499
+ exposedServices?: string[] | null;
4500
+ /**
4501
+ * If source IP ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
4502
+ */
4503
+ sourceIpRanges?: string[] | null;
4504
+ }
4505
+ /**
4506
+ * Describes a job
4507
+ */
4508
+ export interface Schema$Job {
4509
+ /**
4510
+ * Optional. If the job did not complete successfully, this field describes why.
4511
+ */
4512
+ errorCode?: number | null;
4513
+ /**
4514
+ * Optional. Gives the location where the job ran, such as `US` or `europe-west1`
4515
+ */
4516
+ location?: string | null;
4517
+ /**
4518
+ * The fully-qualified name for a job. e.g. `projects//jobs/`
4519
+ */
4520
+ name?: string | null;
4521
+ /**
4522
+ * Output only. State of the job, such as `RUNNING` or `PENDING`.
4523
+ */
4524
+ state?: string | null;
4525
+ }
4265
4526
  /**
4266
4527
  * Kernel mode rootkit signatures.
4267
4528
  */
@@ -4418,6 +4679,15 @@ export namespace securitycenter_v1beta2 {
4418
4679
  */
4419
4680
  staticMute?: Schema$StaticMute;
4420
4681
  }
4682
+ /**
4683
+ * Contains information about a VPC network associated with the finding.
4684
+ */
4685
+ export interface Schema$Network {
4686
+ /**
4687
+ * The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.
4688
+ */
4689
+ name?: string | null;
4690
+ }
4421
4691
  /**
4422
4692
  * Kubernetes nodes associated with the finding.
4423
4693
  */
@@ -4554,6 +4824,19 @@ export namespace securitycenter_v1beta2 {
4554
4824
  */
4555
4825
  field?: string | null;
4556
4826
  }
4827
+ /**
4828
+ * A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.
4829
+ */
4830
+ export interface Schema$PortRange {
4831
+ /**
4832
+ * Maximum port value.
4833
+ */
4834
+ max?: string | null;
4835
+ /**
4836
+ * Minimum port value.
4837
+ */
4838
+ min?: string | null;
4839
+ }
4557
4840
  /**
4558
4841
  * Represents an operating system process.
4559
4842
  */
@@ -4732,7 +5015,7 @@ export namespace securitycenter_v1beta2 {
4732
5015
  suggestedUpgradeVersion?: string | null;
4733
5016
  }
4734
5017
  /**
4735
- * Resource capturing the settings for Security Center. Next ID: 12
5018
+ * Resource capturing the settings for Security Center.
4736
5019
  */
4737
5020
  export interface Schema$SecurityCenterSettings {
4738
5021
  /**
@@ -4983,6 +5266,10 @@ export namespace securitycenter_v1beta2 {
4983
5266
  * CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
4984
5267
  */
4985
5268
  cve?: Schema$Cve;
5269
+ /**
5270
+ * Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
5271
+ */
5272
+ cwes?: Schema$Cwe[];
4986
5273
  /**
4987
5274
  * The fixed package is relevant to the finding.
4988
5275
  */
@@ -4991,6 +5278,14 @@ export namespace securitycenter_v1beta2 {
4991
5278
  * The offending package is relevant to the finding.
4992
5279
  */
4993
5280
  offendingPackage?: Schema$Package;
5281
+ /**
5282
+ * Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
5283
+ */
5284
+ providerRiskScore?: string | null;
5285
+ /**
5286
+ * Represents whether the vulnerability is reachable (detected via static analysis)
5287
+ */
5288
+ reachable?: boolean | null;
4994
5289
  /**
4995
5290
  * The security bulletin is relevant to this finding.
4996
5291
  */
@@ -5094,11 +5389,13 @@ export namespace securitycenter_v1beta2 {
5094
5389
  getContainerThreatDetectionSettings(
5095
5390
  params: Params$Resource$Folders$Getcontainerthreatdetectionsettings,
5096
5391
  options: StreamMethodOptions
5097
- ): GaxiosPromise<Readable>;
5392
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5098
5393
  getContainerThreatDetectionSettings(
5099
5394
  params?: Params$Resource$Folders$Getcontainerthreatdetectionsettings,
5100
5395
  options?: MethodOptions
5101
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
5396
+ ): Promise<
5397
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
5398
+ >;
5102
5399
  getContainerThreatDetectionSettings(
5103
5400
  params: Params$Resource$Folders$Getcontainerthreatdetectionsettings,
5104
5401
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5133,8 +5430,10 @@ export namespace securitycenter_v1beta2 {
5133
5430
  | BodyResponseCallback<Readable>
5134
5431
  ):
5135
5432
  | void
5136
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
5137
- | GaxiosPromise<Readable> {
5433
+ | Promise<
5434
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
5435
+ >
5436
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5138
5437
  let params = (paramsOrCallback ||
5139
5438
  {}) as Params$Resource$Folders$Getcontainerthreatdetectionsettings;
5140
5439
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5190,11 +5489,11 @@ export namespace securitycenter_v1beta2 {
5190
5489
  getEventThreatDetectionSettings(
5191
5490
  params: Params$Resource$Folders$Geteventthreatdetectionsettings,
5192
5491
  options: StreamMethodOptions
5193
- ): GaxiosPromise<Readable>;
5492
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5194
5493
  getEventThreatDetectionSettings(
5195
5494
  params?: Params$Resource$Folders$Geteventthreatdetectionsettings,
5196
5495
  options?: MethodOptions
5197
- ): GaxiosPromise<Schema$EventThreatDetectionSettings>;
5496
+ ): Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>;
5198
5497
  getEventThreatDetectionSettings(
5199
5498
  params: Params$Resource$Folders$Geteventthreatdetectionsettings,
5200
5499
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5229,8 +5528,8 @@ export namespace securitycenter_v1beta2 {
5229
5528
  | BodyResponseCallback<Readable>
5230
5529
  ):
5231
5530
  | void
5232
- | GaxiosPromise<Schema$EventThreatDetectionSettings>
5233
- | GaxiosPromise<Readable> {
5531
+ | Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>
5532
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5234
5533
  let params = (paramsOrCallback ||
5235
5534
  {}) as Params$Resource$Folders$Geteventthreatdetectionsettings;
5236
5535
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5285,11 +5584,13 @@ export namespace securitycenter_v1beta2 {
5285
5584
  getRapidVulnerabilityDetectionSettings(
5286
5585
  params: Params$Resource$Folders$Getrapidvulnerabilitydetectionsettings,
5287
5586
  options: StreamMethodOptions
5288
- ): GaxiosPromise<Readable>;
5587
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5289
5588
  getRapidVulnerabilityDetectionSettings(
5290
5589
  params?: Params$Resource$Folders$Getrapidvulnerabilitydetectionsettings,
5291
5590
  options?: MethodOptions
5292
- ): GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>;
5591
+ ): Promise<
5592
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
5593
+ >;
5293
5594
  getRapidVulnerabilityDetectionSettings(
5294
5595
  params: Params$Resource$Folders$Getrapidvulnerabilitydetectionsettings,
5295
5596
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5324,8 +5625,10 @@ export namespace securitycenter_v1beta2 {
5324
5625
  | BodyResponseCallback<Readable>
5325
5626
  ):
5326
5627
  | void
5327
- | GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>
5328
- | GaxiosPromise<Readable> {
5628
+ | Promise<
5629
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
5630
+ >
5631
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5329
5632
  let params = (paramsOrCallback ||
5330
5633
  {}) as Params$Resource$Folders$Getrapidvulnerabilitydetectionsettings;
5331
5634
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5381,11 +5684,11 @@ export namespace securitycenter_v1beta2 {
5381
5684
  getSecurityCenterSettings(
5382
5685
  params: Params$Resource$Folders$Getsecuritycentersettings,
5383
5686
  options: StreamMethodOptions
5384
- ): GaxiosPromise<Readable>;
5687
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5385
5688
  getSecurityCenterSettings(
5386
5689
  params?: Params$Resource$Folders$Getsecuritycentersettings,
5387
5690
  options?: MethodOptions
5388
- ): GaxiosPromise<Schema$SecurityCenterSettings>;
5691
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityCenterSettings>>;
5389
5692
  getSecurityCenterSettings(
5390
5693
  params: Params$Resource$Folders$Getsecuritycentersettings,
5391
5694
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5420,8 +5723,8 @@ export namespace securitycenter_v1beta2 {
5420
5723
  | BodyResponseCallback<Readable>
5421
5724
  ):
5422
5725
  | void
5423
- | GaxiosPromise<Schema$SecurityCenterSettings>
5424
- | GaxiosPromise<Readable> {
5726
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityCenterSettings>>
5727
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5425
5728
  let params = (paramsOrCallback ||
5426
5729
  {}) as Params$Resource$Folders$Getsecuritycentersettings;
5427
5730
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5474,11 +5777,11 @@ export namespace securitycenter_v1beta2 {
5474
5777
  getSecurityHealthAnalyticsSettings(
5475
5778
  params: Params$Resource$Folders$Getsecurityhealthanalyticssettings,
5476
5779
  options: StreamMethodOptions
5477
- ): GaxiosPromise<Readable>;
5780
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5478
5781
  getSecurityHealthAnalyticsSettings(
5479
5782
  params?: Params$Resource$Folders$Getsecurityhealthanalyticssettings,
5480
5783
  options?: MethodOptions
5481
- ): GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>;
5784
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>;
5482
5785
  getSecurityHealthAnalyticsSettings(
5483
5786
  params: Params$Resource$Folders$Getsecurityhealthanalyticssettings,
5484
5787
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5513,8 +5816,8 @@ export namespace securitycenter_v1beta2 {
5513
5816
  | BodyResponseCallback<Readable>
5514
5817
  ):
5515
5818
  | void
5516
- | GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>
5517
- | GaxiosPromise<Readable> {
5819
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>
5820
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5518
5821
  let params = (paramsOrCallback ||
5519
5822
  {}) as Params$Resource$Folders$Getsecurityhealthanalyticssettings;
5520
5823
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5570,11 +5873,13 @@ export namespace securitycenter_v1beta2 {
5570
5873
  getVirtualMachineThreatDetectionSettings(
5571
5874
  params: Params$Resource$Folders$Getvirtualmachinethreatdetectionsettings,
5572
5875
  options: StreamMethodOptions
5573
- ): GaxiosPromise<Readable>;
5876
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5574
5877
  getVirtualMachineThreatDetectionSettings(
5575
5878
  params?: Params$Resource$Folders$Getvirtualmachinethreatdetectionsettings,
5576
5879
  options?: MethodOptions
5577
- ): GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>;
5880
+ ): Promise<
5881
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
5882
+ >;
5578
5883
  getVirtualMachineThreatDetectionSettings(
5579
5884
  params: Params$Resource$Folders$Getvirtualmachinethreatdetectionsettings,
5580
5885
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5609,8 +5914,10 @@ export namespace securitycenter_v1beta2 {
5609
5914
  | BodyResponseCallback<Readable>
5610
5915
  ):
5611
5916
  | void
5612
- | GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>
5613
- | GaxiosPromise<Readable> {
5917
+ | Promise<
5918
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
5919
+ >
5920
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5614
5921
  let params = (paramsOrCallback ||
5615
5922
  {}) as Params$Resource$Folders$Getvirtualmachinethreatdetectionsettings;
5616
5923
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5666,11 +5973,11 @@ export namespace securitycenter_v1beta2 {
5666
5973
  getWebSecurityScannerSettings(
5667
5974
  params: Params$Resource$Folders$Getwebsecurityscannersettings,
5668
5975
  options: StreamMethodOptions
5669
- ): GaxiosPromise<Readable>;
5976
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5670
5977
  getWebSecurityScannerSettings(
5671
5978
  params?: Params$Resource$Folders$Getwebsecurityscannersettings,
5672
5979
  options?: MethodOptions
5673
- ): GaxiosPromise<Schema$WebSecurityScannerSettings>;
5980
+ ): Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>;
5674
5981
  getWebSecurityScannerSettings(
5675
5982
  params: Params$Resource$Folders$Getwebsecurityscannersettings,
5676
5983
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5705,8 +6012,8 @@ export namespace securitycenter_v1beta2 {
5705
6012
  | BodyResponseCallback<Readable>
5706
6013
  ):
5707
6014
  | void
5708
- | GaxiosPromise<Schema$WebSecurityScannerSettings>
5709
- | GaxiosPromise<Readable> {
6015
+ | Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>
6016
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5710
6017
  let params = (paramsOrCallback ||
5711
6018
  {}) as Params$Resource$Folders$Getwebsecurityscannersettings;
5712
6019
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5759,11 +6066,13 @@ export namespace securitycenter_v1beta2 {
5759
6066
  updateContainerThreatDetectionSettings(
5760
6067
  params: Params$Resource$Folders$Updatecontainerthreatdetectionsettings,
5761
6068
  options: StreamMethodOptions
5762
- ): GaxiosPromise<Readable>;
6069
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5763
6070
  updateContainerThreatDetectionSettings(
5764
6071
  params?: Params$Resource$Folders$Updatecontainerthreatdetectionsettings,
5765
6072
  options?: MethodOptions
5766
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
6073
+ ): Promise<
6074
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
6075
+ >;
5767
6076
  updateContainerThreatDetectionSettings(
5768
6077
  params: Params$Resource$Folders$Updatecontainerthreatdetectionsettings,
5769
6078
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5798,8 +6107,10 @@ export namespace securitycenter_v1beta2 {
5798
6107
  | BodyResponseCallback<Readable>
5799
6108
  ):
5800
6109
  | void
5801
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
5802
- | GaxiosPromise<Readable> {
6110
+ | Promise<
6111
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
6112
+ >
6113
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5803
6114
  let params = (paramsOrCallback ||
5804
6115
  {}) as Params$Resource$Folders$Updatecontainerthreatdetectionsettings;
5805
6116
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5855,11 +6166,11 @@ export namespace securitycenter_v1beta2 {
5855
6166
  updateEventThreatDetectionSettings(
5856
6167
  params: Params$Resource$Folders$Updateeventthreatdetectionsettings,
5857
6168
  options: StreamMethodOptions
5858
- ): GaxiosPromise<Readable>;
6169
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5859
6170
  updateEventThreatDetectionSettings(
5860
6171
  params?: Params$Resource$Folders$Updateeventthreatdetectionsettings,
5861
6172
  options?: MethodOptions
5862
- ): GaxiosPromise<Schema$EventThreatDetectionSettings>;
6173
+ ): Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>;
5863
6174
  updateEventThreatDetectionSettings(
5864
6175
  params: Params$Resource$Folders$Updateeventthreatdetectionsettings,
5865
6176
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5894,8 +6205,8 @@ export namespace securitycenter_v1beta2 {
5894
6205
  | BodyResponseCallback<Readable>
5895
6206
  ):
5896
6207
  | void
5897
- | GaxiosPromise<Schema$EventThreatDetectionSettings>
5898
- | GaxiosPromise<Readable> {
6208
+ | Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>
6209
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5899
6210
  let params = (paramsOrCallback ||
5900
6211
  {}) as Params$Resource$Folders$Updateeventthreatdetectionsettings;
5901
6212
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5951,11 +6262,13 @@ export namespace securitycenter_v1beta2 {
5951
6262
  updateRapidVulnerabilityDetectionSettings(
5952
6263
  params: Params$Resource$Folders$Updaterapidvulnerabilitydetectionsettings,
5953
6264
  options: StreamMethodOptions
5954
- ): GaxiosPromise<Readable>;
6265
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5955
6266
  updateRapidVulnerabilityDetectionSettings(
5956
6267
  params?: Params$Resource$Folders$Updaterapidvulnerabilitydetectionsettings,
5957
6268
  options?: MethodOptions
5958
- ): GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>;
6269
+ ): Promise<
6270
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
6271
+ >;
5959
6272
  updateRapidVulnerabilityDetectionSettings(
5960
6273
  params: Params$Resource$Folders$Updaterapidvulnerabilitydetectionsettings,
5961
6274
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5990,8 +6303,10 @@ export namespace securitycenter_v1beta2 {
5990
6303
  | BodyResponseCallback<Readable>
5991
6304
  ):
5992
6305
  | void
5993
- | GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>
5994
- | GaxiosPromise<Readable> {
6306
+ | Promise<
6307
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
6308
+ >
6309
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5995
6310
  let params = (paramsOrCallback ||
5996
6311
  {}) as Params$Resource$Folders$Updaterapidvulnerabilitydetectionsettings;
5997
6312
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6047,11 +6362,11 @@ export namespace securitycenter_v1beta2 {
6047
6362
  updateSecurityHealthAnalyticsSettings(
6048
6363
  params: Params$Resource$Folders$Updatesecurityhealthanalyticssettings,
6049
6364
  options: StreamMethodOptions
6050
- ): GaxiosPromise<Readable>;
6365
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6051
6366
  updateSecurityHealthAnalyticsSettings(
6052
6367
  params?: Params$Resource$Folders$Updatesecurityhealthanalyticssettings,
6053
6368
  options?: MethodOptions
6054
- ): GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>;
6369
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>;
6055
6370
  updateSecurityHealthAnalyticsSettings(
6056
6371
  params: Params$Resource$Folders$Updatesecurityhealthanalyticssettings,
6057
6372
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6086,8 +6401,8 @@ export namespace securitycenter_v1beta2 {
6086
6401
  | BodyResponseCallback<Readable>
6087
6402
  ):
6088
6403
  | void
6089
- | GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>
6090
- | GaxiosPromise<Readable> {
6404
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>
6405
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6091
6406
  let params = (paramsOrCallback ||
6092
6407
  {}) as Params$Resource$Folders$Updatesecurityhealthanalyticssettings;
6093
6408
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6143,11 +6458,13 @@ export namespace securitycenter_v1beta2 {
6143
6458
  updateVirtualMachineThreatDetectionSettings(
6144
6459
  params: Params$Resource$Folders$Updatevirtualmachinethreatdetectionsettings,
6145
6460
  options: StreamMethodOptions
6146
- ): GaxiosPromise<Readable>;
6461
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6147
6462
  updateVirtualMachineThreatDetectionSettings(
6148
6463
  params?: Params$Resource$Folders$Updatevirtualmachinethreatdetectionsettings,
6149
6464
  options?: MethodOptions
6150
- ): GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>;
6465
+ ): Promise<
6466
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
6467
+ >;
6151
6468
  updateVirtualMachineThreatDetectionSettings(
6152
6469
  params: Params$Resource$Folders$Updatevirtualmachinethreatdetectionsettings,
6153
6470
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6182,8 +6499,10 @@ export namespace securitycenter_v1beta2 {
6182
6499
  | BodyResponseCallback<Readable>
6183
6500
  ):
6184
6501
  | void
6185
- | GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>
6186
- | GaxiosPromise<Readable> {
6502
+ | Promise<
6503
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
6504
+ >
6505
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6187
6506
  let params = (paramsOrCallback ||
6188
6507
  {}) as Params$Resource$Folders$Updatevirtualmachinethreatdetectionsettings;
6189
6508
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6239,11 +6558,11 @@ export namespace securitycenter_v1beta2 {
6239
6558
  updateWebSecurityScannerSettings(
6240
6559
  params: Params$Resource$Folders$Updatewebsecurityscannersettings,
6241
6560
  options: StreamMethodOptions
6242
- ): GaxiosPromise<Readable>;
6561
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6243
6562
  updateWebSecurityScannerSettings(
6244
6563
  params?: Params$Resource$Folders$Updatewebsecurityscannersettings,
6245
6564
  options?: MethodOptions
6246
- ): GaxiosPromise<Schema$WebSecurityScannerSettings>;
6565
+ ): Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>;
6247
6566
  updateWebSecurityScannerSettings(
6248
6567
  params: Params$Resource$Folders$Updatewebsecurityscannersettings,
6249
6568
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6278,8 +6597,8 @@ export namespace securitycenter_v1beta2 {
6278
6597
  | BodyResponseCallback<Readable>
6279
6598
  ):
6280
6599
  | void
6281
- | GaxiosPromise<Schema$WebSecurityScannerSettings>
6282
- | GaxiosPromise<Readable> {
6600
+ | Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>
6601
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6283
6602
  let params = (paramsOrCallback ||
6284
6603
  {}) as Params$Resource$Folders$Updatewebsecurityscannersettings;
6285
6604
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6485,11 +6804,13 @@ export namespace securitycenter_v1beta2 {
6485
6804
  calculate(
6486
6805
  params: Params$Resource$Folders$Containerthreatdetectionsettings$Calculate,
6487
6806
  options: StreamMethodOptions
6488
- ): GaxiosPromise<Readable>;
6807
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6489
6808
  calculate(
6490
6809
  params?: Params$Resource$Folders$Containerthreatdetectionsettings$Calculate,
6491
6810
  options?: MethodOptions
6492
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
6811
+ ): Promise<
6812
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
6813
+ >;
6493
6814
  calculate(
6494
6815
  params: Params$Resource$Folders$Containerthreatdetectionsettings$Calculate,
6495
6816
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6524,8 +6845,10 @@ export namespace securitycenter_v1beta2 {
6524
6845
  | BodyResponseCallback<Readable>
6525
6846
  ):
6526
6847
  | void
6527
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
6528
- | GaxiosPromise<Readable> {
6848
+ | Promise<
6849
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
6850
+ >
6851
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6529
6852
  let params = (paramsOrCallback ||
6530
6853
  {}) as Params$Resource$Folders$Containerthreatdetectionsettings$Calculate;
6531
6854
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6603,11 +6926,11 @@ export namespace securitycenter_v1beta2 {
6603
6926
  calculate(
6604
6927
  params: Params$Resource$Folders$Eventthreatdetectionsettings$Calculate,
6605
6928
  options: StreamMethodOptions
6606
- ): GaxiosPromise<Readable>;
6929
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6607
6930
  calculate(
6608
6931
  params?: Params$Resource$Folders$Eventthreatdetectionsettings$Calculate,
6609
6932
  options?: MethodOptions
6610
- ): GaxiosPromise<Schema$EventThreatDetectionSettings>;
6933
+ ): Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>;
6611
6934
  calculate(
6612
6935
  params: Params$Resource$Folders$Eventthreatdetectionsettings$Calculate,
6613
6936
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6642,8 +6965,8 @@ export namespace securitycenter_v1beta2 {
6642
6965
  | BodyResponseCallback<Readable>
6643
6966
  ):
6644
6967
  | void
6645
- | GaxiosPromise<Schema$EventThreatDetectionSettings>
6646
- | GaxiosPromise<Readable> {
6968
+ | Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>
6969
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6647
6970
  let params = (paramsOrCallback ||
6648
6971
  {}) as Params$Resource$Folders$Eventthreatdetectionsettings$Calculate;
6649
6972
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6721,11 +7044,13 @@ export namespace securitycenter_v1beta2 {
6721
7044
  calculate(
6722
7045
  params: Params$Resource$Folders$Rapidvulnerabilitydetectionsettings$Calculate,
6723
7046
  options: StreamMethodOptions
6724
- ): GaxiosPromise<Readable>;
7047
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6725
7048
  calculate(
6726
7049
  params?: Params$Resource$Folders$Rapidvulnerabilitydetectionsettings$Calculate,
6727
7050
  options?: MethodOptions
6728
- ): GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>;
7051
+ ): Promise<
7052
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
7053
+ >;
6729
7054
  calculate(
6730
7055
  params: Params$Resource$Folders$Rapidvulnerabilitydetectionsettings$Calculate,
6731
7056
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6760,8 +7085,10 @@ export namespace securitycenter_v1beta2 {
6760
7085
  | BodyResponseCallback<Readable>
6761
7086
  ):
6762
7087
  | void
6763
- | GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>
6764
- | GaxiosPromise<Readable> {
7088
+ | Promise<
7089
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
7090
+ >
7091
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6765
7092
  let params = (paramsOrCallback ||
6766
7093
  {}) as Params$Resource$Folders$Rapidvulnerabilitydetectionsettings$Calculate;
6767
7094
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6835,11 +7162,11 @@ export namespace securitycenter_v1beta2 {
6835
7162
  calculate(
6836
7163
  params: Params$Resource$Folders$Securityhealthanalyticssettings$Calculate,
6837
7164
  options: StreamMethodOptions
6838
- ): GaxiosPromise<Readable>;
7165
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6839
7166
  calculate(
6840
7167
  params?: Params$Resource$Folders$Securityhealthanalyticssettings$Calculate,
6841
7168
  options?: MethodOptions
6842
- ): GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>;
7169
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>;
6843
7170
  calculate(
6844
7171
  params: Params$Resource$Folders$Securityhealthanalyticssettings$Calculate,
6845
7172
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6874,8 +7201,8 @@ export namespace securitycenter_v1beta2 {
6874
7201
  | BodyResponseCallback<Readable>
6875
7202
  ):
6876
7203
  | void
6877
- | GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>
6878
- | GaxiosPromise<Readable> {
7204
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>
7205
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6879
7206
  let params = (paramsOrCallback ||
6880
7207
  {}) as Params$Resource$Folders$Securityhealthanalyticssettings$Calculate;
6881
7208
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6953,11 +7280,13 @@ export namespace securitycenter_v1beta2 {
6953
7280
  calculate(
6954
7281
  params: Params$Resource$Folders$Virtualmachinethreatdetectionsettings$Calculate,
6955
7282
  options: StreamMethodOptions
6956
- ): GaxiosPromise<Readable>;
7283
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6957
7284
  calculate(
6958
7285
  params?: Params$Resource$Folders$Virtualmachinethreatdetectionsettings$Calculate,
6959
7286
  options?: MethodOptions
6960
- ): GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>;
7287
+ ): Promise<
7288
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
7289
+ >;
6961
7290
  calculate(
6962
7291
  params: Params$Resource$Folders$Virtualmachinethreatdetectionsettings$Calculate,
6963
7292
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6992,8 +7321,10 @@ export namespace securitycenter_v1beta2 {
6992
7321
  | BodyResponseCallback<Readable>
6993
7322
  ):
6994
7323
  | void
6995
- | GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>
6996
- | GaxiosPromise<Readable> {
7324
+ | Promise<
7325
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
7326
+ >
7327
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6997
7328
  let params = (paramsOrCallback ||
6998
7329
  {}) as Params$Resource$Folders$Virtualmachinethreatdetectionsettings$Calculate;
6999
7330
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7071,11 +7402,11 @@ export namespace securitycenter_v1beta2 {
7071
7402
  calculate(
7072
7403
  params: Params$Resource$Folders$Websecurityscannersettings$Calculate,
7073
7404
  options: StreamMethodOptions
7074
- ): GaxiosPromise<Readable>;
7405
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7075
7406
  calculate(
7076
7407
  params?: Params$Resource$Folders$Websecurityscannersettings$Calculate,
7077
7408
  options?: MethodOptions
7078
- ): GaxiosPromise<Schema$WebSecurityScannerSettings>;
7409
+ ): Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>;
7079
7410
  calculate(
7080
7411
  params: Params$Resource$Folders$Websecurityscannersettings$Calculate,
7081
7412
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7110,8 +7441,8 @@ export namespace securitycenter_v1beta2 {
7110
7441
  | BodyResponseCallback<Readable>
7111
7442
  ):
7112
7443
  | void
7113
- | GaxiosPromise<Schema$WebSecurityScannerSettings>
7114
- | GaxiosPromise<Readable> {
7444
+ | Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>
7445
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7115
7446
  let params = (paramsOrCallback ||
7116
7447
  {}) as Params$Resource$Folders$Websecurityscannersettings$Calculate;
7117
7448
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7213,11 +7544,13 @@ export namespace securitycenter_v1beta2 {
7213
7544
  getContainerThreatDetectionSettings(
7214
7545
  params: Params$Resource$Organizations$Getcontainerthreatdetectionsettings,
7215
7546
  options: StreamMethodOptions
7216
- ): GaxiosPromise<Readable>;
7547
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7217
7548
  getContainerThreatDetectionSettings(
7218
7549
  params?: Params$Resource$Organizations$Getcontainerthreatdetectionsettings,
7219
7550
  options?: MethodOptions
7220
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
7551
+ ): Promise<
7552
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
7553
+ >;
7221
7554
  getContainerThreatDetectionSettings(
7222
7555
  params: Params$Resource$Organizations$Getcontainerthreatdetectionsettings,
7223
7556
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7252,8 +7585,10 @@ export namespace securitycenter_v1beta2 {
7252
7585
  | BodyResponseCallback<Readable>
7253
7586
  ):
7254
7587
  | void
7255
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
7256
- | GaxiosPromise<Readable> {
7588
+ | Promise<
7589
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
7590
+ >
7591
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7257
7592
  let params = (paramsOrCallback ||
7258
7593
  {}) as Params$Resource$Organizations$Getcontainerthreatdetectionsettings;
7259
7594
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7309,11 +7644,11 @@ export namespace securitycenter_v1beta2 {
7309
7644
  getEventThreatDetectionSettings(
7310
7645
  params: Params$Resource$Organizations$Geteventthreatdetectionsettings,
7311
7646
  options: StreamMethodOptions
7312
- ): GaxiosPromise<Readable>;
7647
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7313
7648
  getEventThreatDetectionSettings(
7314
7649
  params?: Params$Resource$Organizations$Geteventthreatdetectionsettings,
7315
7650
  options?: MethodOptions
7316
- ): GaxiosPromise<Schema$EventThreatDetectionSettings>;
7651
+ ): Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>;
7317
7652
  getEventThreatDetectionSettings(
7318
7653
  params: Params$Resource$Organizations$Geteventthreatdetectionsettings,
7319
7654
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7348,8 +7683,8 @@ export namespace securitycenter_v1beta2 {
7348
7683
  | BodyResponseCallback<Readable>
7349
7684
  ):
7350
7685
  | void
7351
- | GaxiosPromise<Schema$EventThreatDetectionSettings>
7352
- | GaxiosPromise<Readable> {
7686
+ | Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>
7687
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7353
7688
  let params = (paramsOrCallback ||
7354
7689
  {}) as Params$Resource$Organizations$Geteventthreatdetectionsettings;
7355
7690
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7405,11 +7740,13 @@ export namespace securitycenter_v1beta2 {
7405
7740
  getRapidVulnerabilityDetectionSettings(
7406
7741
  params: Params$Resource$Organizations$Getrapidvulnerabilitydetectionsettings,
7407
7742
  options: StreamMethodOptions
7408
- ): GaxiosPromise<Readable>;
7743
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7409
7744
  getRapidVulnerabilityDetectionSettings(
7410
7745
  params?: Params$Resource$Organizations$Getrapidvulnerabilitydetectionsettings,
7411
7746
  options?: MethodOptions
7412
- ): GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>;
7747
+ ): Promise<
7748
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
7749
+ >;
7413
7750
  getRapidVulnerabilityDetectionSettings(
7414
7751
  params: Params$Resource$Organizations$Getrapidvulnerabilitydetectionsettings,
7415
7752
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7444,8 +7781,10 @@ export namespace securitycenter_v1beta2 {
7444
7781
  | BodyResponseCallback<Readable>
7445
7782
  ):
7446
7783
  | void
7447
- | GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>
7448
- | GaxiosPromise<Readable> {
7784
+ | Promise<
7785
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
7786
+ >
7787
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7449
7788
  let params = (paramsOrCallback ||
7450
7789
  {}) as Params$Resource$Organizations$Getrapidvulnerabilitydetectionsettings;
7451
7790
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7501,11 +7840,11 @@ export namespace securitycenter_v1beta2 {
7501
7840
  getSecurityCenterSettings(
7502
7841
  params: Params$Resource$Organizations$Getsecuritycentersettings,
7503
7842
  options: StreamMethodOptions
7504
- ): GaxiosPromise<Readable>;
7843
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7505
7844
  getSecurityCenterSettings(
7506
7845
  params?: Params$Resource$Organizations$Getsecuritycentersettings,
7507
7846
  options?: MethodOptions
7508
- ): GaxiosPromise<Schema$SecurityCenterSettings>;
7847
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityCenterSettings>>;
7509
7848
  getSecurityCenterSettings(
7510
7849
  params: Params$Resource$Organizations$Getsecuritycentersettings,
7511
7850
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7540,8 +7879,8 @@ export namespace securitycenter_v1beta2 {
7540
7879
  | BodyResponseCallback<Readable>
7541
7880
  ):
7542
7881
  | void
7543
- | GaxiosPromise<Schema$SecurityCenterSettings>
7544
- | GaxiosPromise<Readable> {
7882
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityCenterSettings>>
7883
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7545
7884
  let params = (paramsOrCallback ||
7546
7885
  {}) as Params$Resource$Organizations$Getsecuritycentersettings;
7547
7886
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7594,11 +7933,11 @@ export namespace securitycenter_v1beta2 {
7594
7933
  getSecurityHealthAnalyticsSettings(
7595
7934
  params: Params$Resource$Organizations$Getsecurityhealthanalyticssettings,
7596
7935
  options: StreamMethodOptions
7597
- ): GaxiosPromise<Readable>;
7936
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7598
7937
  getSecurityHealthAnalyticsSettings(
7599
7938
  params?: Params$Resource$Organizations$Getsecurityhealthanalyticssettings,
7600
7939
  options?: MethodOptions
7601
- ): GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>;
7940
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>;
7602
7941
  getSecurityHealthAnalyticsSettings(
7603
7942
  params: Params$Resource$Organizations$Getsecurityhealthanalyticssettings,
7604
7943
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7633,8 +7972,8 @@ export namespace securitycenter_v1beta2 {
7633
7972
  | BodyResponseCallback<Readable>
7634
7973
  ):
7635
7974
  | void
7636
- | GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>
7637
- | GaxiosPromise<Readable> {
7975
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>
7976
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7638
7977
  let params = (paramsOrCallback ||
7639
7978
  {}) as Params$Resource$Organizations$Getsecurityhealthanalyticssettings;
7640
7979
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7690,11 +8029,11 @@ export namespace securitycenter_v1beta2 {
7690
8029
  getSubscription(
7691
8030
  params: Params$Resource$Organizations$Getsubscription,
7692
8031
  options: StreamMethodOptions
7693
- ): GaxiosPromise<Readable>;
8032
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7694
8033
  getSubscription(
7695
8034
  params?: Params$Resource$Organizations$Getsubscription,
7696
8035
  options?: MethodOptions
7697
- ): GaxiosPromise<Schema$Subscription>;
8036
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Subscription>>;
7698
8037
  getSubscription(
7699
8038
  params: Params$Resource$Organizations$Getsubscription,
7700
8039
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7723,7 +8062,10 @@ export namespace securitycenter_v1beta2 {
7723
8062
  callback?:
7724
8063
  | BodyResponseCallback<Schema$Subscription>
7725
8064
  | BodyResponseCallback<Readable>
7726
- ): void | GaxiosPromise<Schema$Subscription> | GaxiosPromise<Readable> {
8065
+ ):
8066
+ | void
8067
+ | Promise<GaxiosResponseWithHTTP2<Schema$Subscription>>
8068
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7727
8069
  let params = (paramsOrCallback ||
7728
8070
  {}) as Params$Resource$Organizations$Getsubscription;
7729
8071
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7776,11 +8118,13 @@ export namespace securitycenter_v1beta2 {
7776
8118
  getVirtualMachineThreatDetectionSettings(
7777
8119
  params: Params$Resource$Organizations$Getvirtualmachinethreatdetectionsettings,
7778
8120
  options: StreamMethodOptions
7779
- ): GaxiosPromise<Readable>;
8121
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7780
8122
  getVirtualMachineThreatDetectionSettings(
7781
8123
  params?: Params$Resource$Organizations$Getvirtualmachinethreatdetectionsettings,
7782
8124
  options?: MethodOptions
7783
- ): GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>;
8125
+ ): Promise<
8126
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
8127
+ >;
7784
8128
  getVirtualMachineThreatDetectionSettings(
7785
8129
  params: Params$Resource$Organizations$Getvirtualmachinethreatdetectionsettings,
7786
8130
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7815,8 +8159,10 @@ export namespace securitycenter_v1beta2 {
7815
8159
  | BodyResponseCallback<Readable>
7816
8160
  ):
7817
8161
  | void
7818
- | GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>
7819
- | GaxiosPromise<Readable> {
8162
+ | Promise<
8163
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
8164
+ >
8165
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7820
8166
  let params = (paramsOrCallback ||
7821
8167
  {}) as Params$Resource$Organizations$Getvirtualmachinethreatdetectionsettings;
7822
8168
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7872,11 +8218,11 @@ export namespace securitycenter_v1beta2 {
7872
8218
  getWebSecurityScannerSettings(
7873
8219
  params: Params$Resource$Organizations$Getwebsecurityscannersettings,
7874
8220
  options: StreamMethodOptions
7875
- ): GaxiosPromise<Readable>;
8221
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7876
8222
  getWebSecurityScannerSettings(
7877
8223
  params?: Params$Resource$Organizations$Getwebsecurityscannersettings,
7878
8224
  options?: MethodOptions
7879
- ): GaxiosPromise<Schema$WebSecurityScannerSettings>;
8225
+ ): Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>;
7880
8226
  getWebSecurityScannerSettings(
7881
8227
  params: Params$Resource$Organizations$Getwebsecurityscannersettings,
7882
8228
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7911,8 +8257,8 @@ export namespace securitycenter_v1beta2 {
7911
8257
  | BodyResponseCallback<Readable>
7912
8258
  ):
7913
8259
  | void
7914
- | GaxiosPromise<Schema$WebSecurityScannerSettings>
7915
- | GaxiosPromise<Readable> {
8260
+ | Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>
8261
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7916
8262
  let params = (paramsOrCallback ||
7917
8263
  {}) as Params$Resource$Organizations$Getwebsecurityscannersettings;
7918
8264
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7966,11 +8312,13 @@ export namespace securitycenter_v1beta2 {
7966
8312
  updateContainerThreatDetectionSettings(
7967
8313
  params: Params$Resource$Organizations$Updatecontainerthreatdetectionsettings,
7968
8314
  options: StreamMethodOptions
7969
- ): GaxiosPromise<Readable>;
8315
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7970
8316
  updateContainerThreatDetectionSettings(
7971
8317
  params?: Params$Resource$Organizations$Updatecontainerthreatdetectionsettings,
7972
8318
  options?: MethodOptions
7973
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
8319
+ ): Promise<
8320
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
8321
+ >;
7974
8322
  updateContainerThreatDetectionSettings(
7975
8323
  params: Params$Resource$Organizations$Updatecontainerthreatdetectionsettings,
7976
8324
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8005,8 +8353,10 @@ export namespace securitycenter_v1beta2 {
8005
8353
  | BodyResponseCallback<Readable>
8006
8354
  ):
8007
8355
  | void
8008
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
8009
- | GaxiosPromise<Readable> {
8356
+ | Promise<
8357
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
8358
+ >
8359
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8010
8360
  let params = (paramsOrCallback ||
8011
8361
  {}) as Params$Resource$Organizations$Updatecontainerthreatdetectionsettings;
8012
8362
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8062,11 +8412,11 @@ export namespace securitycenter_v1beta2 {
8062
8412
  updateEventThreatDetectionSettings(
8063
8413
  params: Params$Resource$Organizations$Updateeventthreatdetectionsettings,
8064
8414
  options: StreamMethodOptions
8065
- ): GaxiosPromise<Readable>;
8415
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8066
8416
  updateEventThreatDetectionSettings(
8067
8417
  params?: Params$Resource$Organizations$Updateeventthreatdetectionsettings,
8068
8418
  options?: MethodOptions
8069
- ): GaxiosPromise<Schema$EventThreatDetectionSettings>;
8419
+ ): Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>;
8070
8420
  updateEventThreatDetectionSettings(
8071
8421
  params: Params$Resource$Organizations$Updateeventthreatdetectionsettings,
8072
8422
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8101,8 +8451,8 @@ export namespace securitycenter_v1beta2 {
8101
8451
  | BodyResponseCallback<Readable>
8102
8452
  ):
8103
8453
  | void
8104
- | GaxiosPromise<Schema$EventThreatDetectionSettings>
8105
- | GaxiosPromise<Readable> {
8454
+ | Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>
8455
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8106
8456
  let params = (paramsOrCallback ||
8107
8457
  {}) as Params$Resource$Organizations$Updateeventthreatdetectionsettings;
8108
8458
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8158,11 +8508,13 @@ export namespace securitycenter_v1beta2 {
8158
8508
  updateRapidVulnerabilityDetectionSettings(
8159
8509
  params: Params$Resource$Organizations$Updaterapidvulnerabilitydetectionsettings,
8160
8510
  options: StreamMethodOptions
8161
- ): GaxiosPromise<Readable>;
8511
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8162
8512
  updateRapidVulnerabilityDetectionSettings(
8163
8513
  params?: Params$Resource$Organizations$Updaterapidvulnerabilitydetectionsettings,
8164
8514
  options?: MethodOptions
8165
- ): GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>;
8515
+ ): Promise<
8516
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
8517
+ >;
8166
8518
  updateRapidVulnerabilityDetectionSettings(
8167
8519
  params: Params$Resource$Organizations$Updaterapidvulnerabilitydetectionsettings,
8168
8520
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8197,8 +8549,10 @@ export namespace securitycenter_v1beta2 {
8197
8549
  | BodyResponseCallback<Readable>
8198
8550
  ):
8199
8551
  | void
8200
- | GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>
8201
- | GaxiosPromise<Readable> {
8552
+ | Promise<
8553
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
8554
+ >
8555
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8202
8556
  let params = (paramsOrCallback ||
8203
8557
  {}) as Params$Resource$Organizations$Updaterapidvulnerabilitydetectionsettings;
8204
8558
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8254,11 +8608,11 @@ export namespace securitycenter_v1beta2 {
8254
8608
  updateSecurityHealthAnalyticsSettings(
8255
8609
  params: Params$Resource$Organizations$Updatesecurityhealthanalyticssettings,
8256
8610
  options: StreamMethodOptions
8257
- ): GaxiosPromise<Readable>;
8611
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8258
8612
  updateSecurityHealthAnalyticsSettings(
8259
8613
  params?: Params$Resource$Organizations$Updatesecurityhealthanalyticssettings,
8260
8614
  options?: MethodOptions
8261
- ): GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>;
8615
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>;
8262
8616
  updateSecurityHealthAnalyticsSettings(
8263
8617
  params: Params$Resource$Organizations$Updatesecurityhealthanalyticssettings,
8264
8618
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8293,8 +8647,8 @@ export namespace securitycenter_v1beta2 {
8293
8647
  | BodyResponseCallback<Readable>
8294
8648
  ):
8295
8649
  | void
8296
- | GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>
8297
- | GaxiosPromise<Readable> {
8650
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>
8651
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8298
8652
  let params = (paramsOrCallback ||
8299
8653
  {}) as Params$Resource$Organizations$Updatesecurityhealthanalyticssettings;
8300
8654
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8350,11 +8704,13 @@ export namespace securitycenter_v1beta2 {
8350
8704
  updateVirtualMachineThreatDetectionSettings(
8351
8705
  params: Params$Resource$Organizations$Updatevirtualmachinethreatdetectionsettings,
8352
8706
  options: StreamMethodOptions
8353
- ): GaxiosPromise<Readable>;
8707
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8354
8708
  updateVirtualMachineThreatDetectionSettings(
8355
8709
  params?: Params$Resource$Organizations$Updatevirtualmachinethreatdetectionsettings,
8356
8710
  options?: MethodOptions
8357
- ): GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>;
8711
+ ): Promise<
8712
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
8713
+ >;
8358
8714
  updateVirtualMachineThreatDetectionSettings(
8359
8715
  params: Params$Resource$Organizations$Updatevirtualmachinethreatdetectionsettings,
8360
8716
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8389,8 +8745,10 @@ export namespace securitycenter_v1beta2 {
8389
8745
  | BodyResponseCallback<Readable>
8390
8746
  ):
8391
8747
  | void
8392
- | GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>
8393
- | GaxiosPromise<Readable> {
8748
+ | Promise<
8749
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
8750
+ >
8751
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8394
8752
  let params = (paramsOrCallback ||
8395
8753
  {}) as Params$Resource$Organizations$Updatevirtualmachinethreatdetectionsettings;
8396
8754
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8446,11 +8804,11 @@ export namespace securitycenter_v1beta2 {
8446
8804
  updateWebSecurityScannerSettings(
8447
8805
  params: Params$Resource$Organizations$Updatewebsecurityscannersettings,
8448
8806
  options: StreamMethodOptions
8449
- ): GaxiosPromise<Readable>;
8807
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8450
8808
  updateWebSecurityScannerSettings(
8451
8809
  params?: Params$Resource$Organizations$Updatewebsecurityscannersettings,
8452
8810
  options?: MethodOptions
8453
- ): GaxiosPromise<Schema$WebSecurityScannerSettings>;
8811
+ ): Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>;
8454
8812
  updateWebSecurityScannerSettings(
8455
8813
  params: Params$Resource$Organizations$Updatewebsecurityscannersettings,
8456
8814
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8485,8 +8843,8 @@ export namespace securitycenter_v1beta2 {
8485
8843
  | BodyResponseCallback<Readable>
8486
8844
  ):
8487
8845
  | void
8488
- | GaxiosPromise<Schema$WebSecurityScannerSettings>
8489
- | GaxiosPromise<Readable> {
8846
+ | Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>
8847
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8490
8848
  let params = (paramsOrCallback ||
8491
8849
  {}) as Params$Resource$Organizations$Updatewebsecurityscannersettings;
8492
8850
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8700,11 +9058,13 @@ export namespace securitycenter_v1beta2 {
8700
9058
  calculate(
8701
9059
  params: Params$Resource$Organizations$Containerthreatdetectionsettings$Calculate,
8702
9060
  options: StreamMethodOptions
8703
- ): GaxiosPromise<Readable>;
9061
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8704
9062
  calculate(
8705
9063
  params?: Params$Resource$Organizations$Containerthreatdetectionsettings$Calculate,
8706
9064
  options?: MethodOptions
8707
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
9065
+ ): Promise<
9066
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
9067
+ >;
8708
9068
  calculate(
8709
9069
  params: Params$Resource$Organizations$Containerthreatdetectionsettings$Calculate,
8710
9070
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8739,8 +9099,10 @@ export namespace securitycenter_v1beta2 {
8739
9099
  | BodyResponseCallback<Readable>
8740
9100
  ):
8741
9101
  | void
8742
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
8743
- | GaxiosPromise<Readable> {
9102
+ | Promise<
9103
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
9104
+ >
9105
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8744
9106
  let params = (paramsOrCallback ||
8745
9107
  {}) as Params$Resource$Organizations$Containerthreatdetectionsettings$Calculate;
8746
9108
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8818,11 +9180,11 @@ export namespace securitycenter_v1beta2 {
8818
9180
  calculate(
8819
9181
  params: Params$Resource$Organizations$Eventthreatdetectionsettings$Calculate,
8820
9182
  options: StreamMethodOptions
8821
- ): GaxiosPromise<Readable>;
9183
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8822
9184
  calculate(
8823
9185
  params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Calculate,
8824
9186
  options?: MethodOptions
8825
- ): GaxiosPromise<Schema$EventThreatDetectionSettings>;
9187
+ ): Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>;
8826
9188
  calculate(
8827
9189
  params: Params$Resource$Organizations$Eventthreatdetectionsettings$Calculate,
8828
9190
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8857,8 +9219,8 @@ export namespace securitycenter_v1beta2 {
8857
9219
  | BodyResponseCallback<Readable>
8858
9220
  ):
8859
9221
  | void
8860
- | GaxiosPromise<Schema$EventThreatDetectionSettings>
8861
- | GaxiosPromise<Readable> {
9222
+ | Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>
9223
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8862
9224
  let params = (paramsOrCallback ||
8863
9225
  {}) as Params$Resource$Organizations$Eventthreatdetectionsettings$Calculate;
8864
9226
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8936,11 +9298,13 @@ export namespace securitycenter_v1beta2 {
8936
9298
  calculate(
8937
9299
  params: Params$Resource$Organizations$Rapidvulnerabilitydetectionsettings$Calculate,
8938
9300
  options: StreamMethodOptions
8939
- ): GaxiosPromise<Readable>;
9301
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8940
9302
  calculate(
8941
9303
  params?: Params$Resource$Organizations$Rapidvulnerabilitydetectionsettings$Calculate,
8942
9304
  options?: MethodOptions
8943
- ): GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>;
9305
+ ): Promise<
9306
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
9307
+ >;
8944
9308
  calculate(
8945
9309
  params: Params$Resource$Organizations$Rapidvulnerabilitydetectionsettings$Calculate,
8946
9310
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8975,8 +9339,10 @@ export namespace securitycenter_v1beta2 {
8975
9339
  | BodyResponseCallback<Readable>
8976
9340
  ):
8977
9341
  | void
8978
- | GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>
8979
- | GaxiosPromise<Readable> {
9342
+ | Promise<
9343
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
9344
+ >
9345
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8980
9346
  let params = (paramsOrCallback ||
8981
9347
  {}) as Params$Resource$Organizations$Rapidvulnerabilitydetectionsettings$Calculate;
8982
9348
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9050,11 +9416,11 @@ export namespace securitycenter_v1beta2 {
9050
9416
  calculate(
9051
9417
  params: Params$Resource$Organizations$Securityhealthanalyticssettings$Calculate,
9052
9418
  options: StreamMethodOptions
9053
- ): GaxiosPromise<Readable>;
9419
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9054
9420
  calculate(
9055
9421
  params?: Params$Resource$Organizations$Securityhealthanalyticssettings$Calculate,
9056
9422
  options?: MethodOptions
9057
- ): GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>;
9423
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>;
9058
9424
  calculate(
9059
9425
  params: Params$Resource$Organizations$Securityhealthanalyticssettings$Calculate,
9060
9426
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9089,8 +9455,8 @@ export namespace securitycenter_v1beta2 {
9089
9455
  | BodyResponseCallback<Readable>
9090
9456
  ):
9091
9457
  | void
9092
- | GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>
9093
- | GaxiosPromise<Readable> {
9458
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>
9459
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9094
9460
  let params = (paramsOrCallback ||
9095
9461
  {}) as Params$Resource$Organizations$Securityhealthanalyticssettings$Calculate;
9096
9462
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9168,11 +9534,13 @@ export namespace securitycenter_v1beta2 {
9168
9534
  calculate(
9169
9535
  params: Params$Resource$Organizations$Virtualmachinethreatdetectionsettings$Calculate,
9170
9536
  options: StreamMethodOptions
9171
- ): GaxiosPromise<Readable>;
9537
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9172
9538
  calculate(
9173
9539
  params?: Params$Resource$Organizations$Virtualmachinethreatdetectionsettings$Calculate,
9174
9540
  options?: MethodOptions
9175
- ): GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>;
9541
+ ): Promise<
9542
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
9543
+ >;
9176
9544
  calculate(
9177
9545
  params: Params$Resource$Organizations$Virtualmachinethreatdetectionsettings$Calculate,
9178
9546
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9207,8 +9575,10 @@ export namespace securitycenter_v1beta2 {
9207
9575
  | BodyResponseCallback<Readable>
9208
9576
  ):
9209
9577
  | void
9210
- | GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>
9211
- | GaxiosPromise<Readable> {
9578
+ | Promise<
9579
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
9580
+ >
9581
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9212
9582
  let params = (paramsOrCallback ||
9213
9583
  {}) as Params$Resource$Organizations$Virtualmachinethreatdetectionsettings$Calculate;
9214
9584
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9286,11 +9656,11 @@ export namespace securitycenter_v1beta2 {
9286
9656
  calculate(
9287
9657
  params: Params$Resource$Organizations$Websecurityscannersettings$Calculate,
9288
9658
  options: StreamMethodOptions
9289
- ): GaxiosPromise<Readable>;
9659
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9290
9660
  calculate(
9291
9661
  params?: Params$Resource$Organizations$Websecurityscannersettings$Calculate,
9292
9662
  options?: MethodOptions
9293
- ): GaxiosPromise<Schema$WebSecurityScannerSettings>;
9663
+ ): Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>;
9294
9664
  calculate(
9295
9665
  params: Params$Resource$Organizations$Websecurityscannersettings$Calculate,
9296
9666
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9325,8 +9695,8 @@ export namespace securitycenter_v1beta2 {
9325
9695
  | BodyResponseCallback<Readable>
9326
9696
  ):
9327
9697
  | void
9328
- | GaxiosPromise<Schema$WebSecurityScannerSettings>
9329
- | GaxiosPromise<Readable> {
9698
+ | Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>
9699
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9330
9700
  let params = (paramsOrCallback ||
9331
9701
  {}) as Params$Resource$Organizations$Websecurityscannersettings$Calculate;
9332
9702
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9424,11 +9794,13 @@ export namespace securitycenter_v1beta2 {
9424
9794
  getContainerThreatDetectionSettings(
9425
9795
  params: Params$Resource$Projects$Getcontainerthreatdetectionsettings,
9426
9796
  options: StreamMethodOptions
9427
- ): GaxiosPromise<Readable>;
9797
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9428
9798
  getContainerThreatDetectionSettings(
9429
9799
  params?: Params$Resource$Projects$Getcontainerthreatdetectionsettings,
9430
9800
  options?: MethodOptions
9431
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
9801
+ ): Promise<
9802
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
9803
+ >;
9432
9804
  getContainerThreatDetectionSettings(
9433
9805
  params: Params$Resource$Projects$Getcontainerthreatdetectionsettings,
9434
9806
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9463,8 +9835,10 @@ export namespace securitycenter_v1beta2 {
9463
9835
  | BodyResponseCallback<Readable>
9464
9836
  ):
9465
9837
  | void
9466
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
9467
- | GaxiosPromise<Readable> {
9838
+ | Promise<
9839
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
9840
+ >
9841
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9468
9842
  let params = (paramsOrCallback ||
9469
9843
  {}) as Params$Resource$Projects$Getcontainerthreatdetectionsettings;
9470
9844
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9520,11 +9894,11 @@ export namespace securitycenter_v1beta2 {
9520
9894
  getEventThreatDetectionSettings(
9521
9895
  params: Params$Resource$Projects$Geteventthreatdetectionsettings,
9522
9896
  options: StreamMethodOptions
9523
- ): GaxiosPromise<Readable>;
9897
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9524
9898
  getEventThreatDetectionSettings(
9525
9899
  params?: Params$Resource$Projects$Geteventthreatdetectionsettings,
9526
9900
  options?: MethodOptions
9527
- ): GaxiosPromise<Schema$EventThreatDetectionSettings>;
9901
+ ): Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>;
9528
9902
  getEventThreatDetectionSettings(
9529
9903
  params: Params$Resource$Projects$Geteventthreatdetectionsettings,
9530
9904
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9559,8 +9933,8 @@ export namespace securitycenter_v1beta2 {
9559
9933
  | BodyResponseCallback<Readable>
9560
9934
  ):
9561
9935
  | void
9562
- | GaxiosPromise<Schema$EventThreatDetectionSettings>
9563
- | GaxiosPromise<Readable> {
9936
+ | Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>
9937
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9564
9938
  let params = (paramsOrCallback ||
9565
9939
  {}) as Params$Resource$Projects$Geteventthreatdetectionsettings;
9566
9940
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9615,11 +9989,13 @@ export namespace securitycenter_v1beta2 {
9615
9989
  getRapidVulnerabilityDetectionSettings(
9616
9990
  params: Params$Resource$Projects$Getrapidvulnerabilitydetectionsettings,
9617
9991
  options: StreamMethodOptions
9618
- ): GaxiosPromise<Readable>;
9992
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9619
9993
  getRapidVulnerabilityDetectionSettings(
9620
9994
  params?: Params$Resource$Projects$Getrapidvulnerabilitydetectionsettings,
9621
9995
  options?: MethodOptions
9622
- ): GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>;
9996
+ ): Promise<
9997
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
9998
+ >;
9623
9999
  getRapidVulnerabilityDetectionSettings(
9624
10000
  params: Params$Resource$Projects$Getrapidvulnerabilitydetectionsettings,
9625
10001
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9654,8 +10030,10 @@ export namespace securitycenter_v1beta2 {
9654
10030
  | BodyResponseCallback<Readable>
9655
10031
  ):
9656
10032
  | void
9657
- | GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>
9658
- | GaxiosPromise<Readable> {
10033
+ | Promise<
10034
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
10035
+ >
10036
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9659
10037
  let params = (paramsOrCallback ||
9660
10038
  {}) as Params$Resource$Projects$Getrapidvulnerabilitydetectionsettings;
9661
10039
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9711,11 +10089,11 @@ export namespace securitycenter_v1beta2 {
9711
10089
  getSecurityCenterSettings(
9712
10090
  params: Params$Resource$Projects$Getsecuritycentersettings,
9713
10091
  options: StreamMethodOptions
9714
- ): GaxiosPromise<Readable>;
10092
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9715
10093
  getSecurityCenterSettings(
9716
10094
  params?: Params$Resource$Projects$Getsecuritycentersettings,
9717
10095
  options?: MethodOptions
9718
- ): GaxiosPromise<Schema$SecurityCenterSettings>;
10096
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityCenterSettings>>;
9719
10097
  getSecurityCenterSettings(
9720
10098
  params: Params$Resource$Projects$Getsecuritycentersettings,
9721
10099
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9750,8 +10128,8 @@ export namespace securitycenter_v1beta2 {
9750
10128
  | BodyResponseCallback<Readable>
9751
10129
  ):
9752
10130
  | void
9753
- | GaxiosPromise<Schema$SecurityCenterSettings>
9754
- | GaxiosPromise<Readable> {
10131
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityCenterSettings>>
10132
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9755
10133
  let params = (paramsOrCallback ||
9756
10134
  {}) as Params$Resource$Projects$Getsecuritycentersettings;
9757
10135
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9804,11 +10182,11 @@ export namespace securitycenter_v1beta2 {
9804
10182
  getSecurityHealthAnalyticsSettings(
9805
10183
  params: Params$Resource$Projects$Getsecurityhealthanalyticssettings,
9806
10184
  options: StreamMethodOptions
9807
- ): GaxiosPromise<Readable>;
10185
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9808
10186
  getSecurityHealthAnalyticsSettings(
9809
10187
  params?: Params$Resource$Projects$Getsecurityhealthanalyticssettings,
9810
10188
  options?: MethodOptions
9811
- ): GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>;
10189
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>;
9812
10190
  getSecurityHealthAnalyticsSettings(
9813
10191
  params: Params$Resource$Projects$Getsecurityhealthanalyticssettings,
9814
10192
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9843,8 +10221,8 @@ export namespace securitycenter_v1beta2 {
9843
10221
  | BodyResponseCallback<Readable>
9844
10222
  ):
9845
10223
  | void
9846
- | GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>
9847
- | GaxiosPromise<Readable> {
10224
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>
10225
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9848
10226
  let params = (paramsOrCallback ||
9849
10227
  {}) as Params$Resource$Projects$Getsecurityhealthanalyticssettings;
9850
10228
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9900,11 +10278,13 @@ export namespace securitycenter_v1beta2 {
9900
10278
  getVirtualMachineThreatDetectionSettings(
9901
10279
  params: Params$Resource$Projects$Getvirtualmachinethreatdetectionsettings,
9902
10280
  options: StreamMethodOptions
9903
- ): GaxiosPromise<Readable>;
10281
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9904
10282
  getVirtualMachineThreatDetectionSettings(
9905
10283
  params?: Params$Resource$Projects$Getvirtualmachinethreatdetectionsettings,
9906
10284
  options?: MethodOptions
9907
- ): GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>;
10285
+ ): Promise<
10286
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
10287
+ >;
9908
10288
  getVirtualMachineThreatDetectionSettings(
9909
10289
  params: Params$Resource$Projects$Getvirtualmachinethreatdetectionsettings,
9910
10290
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9939,8 +10319,10 @@ export namespace securitycenter_v1beta2 {
9939
10319
  | BodyResponseCallback<Readable>
9940
10320
  ):
9941
10321
  | void
9942
- | GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>
9943
- | GaxiosPromise<Readable> {
10322
+ | Promise<
10323
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
10324
+ >
10325
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9944
10326
  let params = (paramsOrCallback ||
9945
10327
  {}) as Params$Resource$Projects$Getvirtualmachinethreatdetectionsettings;
9946
10328
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9996,11 +10378,11 @@ export namespace securitycenter_v1beta2 {
9996
10378
  getWebSecurityScannerSettings(
9997
10379
  params: Params$Resource$Projects$Getwebsecurityscannersettings,
9998
10380
  options: StreamMethodOptions
9999
- ): GaxiosPromise<Readable>;
10381
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10000
10382
  getWebSecurityScannerSettings(
10001
10383
  params?: Params$Resource$Projects$Getwebsecurityscannersettings,
10002
10384
  options?: MethodOptions
10003
- ): GaxiosPromise<Schema$WebSecurityScannerSettings>;
10385
+ ): Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>;
10004
10386
  getWebSecurityScannerSettings(
10005
10387
  params: Params$Resource$Projects$Getwebsecurityscannersettings,
10006
10388
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10035,8 +10417,8 @@ export namespace securitycenter_v1beta2 {
10035
10417
  | BodyResponseCallback<Readable>
10036
10418
  ):
10037
10419
  | void
10038
- | GaxiosPromise<Schema$WebSecurityScannerSettings>
10039
- | GaxiosPromise<Readable> {
10420
+ | Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>
10421
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10040
10422
  let params = (paramsOrCallback ||
10041
10423
  {}) as Params$Resource$Projects$Getwebsecurityscannersettings;
10042
10424
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10089,11 +10471,13 @@ export namespace securitycenter_v1beta2 {
10089
10471
  updateContainerThreatDetectionSettings(
10090
10472
  params: Params$Resource$Projects$Updatecontainerthreatdetectionsettings,
10091
10473
  options: StreamMethodOptions
10092
- ): GaxiosPromise<Readable>;
10474
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10093
10475
  updateContainerThreatDetectionSettings(
10094
10476
  params?: Params$Resource$Projects$Updatecontainerthreatdetectionsettings,
10095
10477
  options?: MethodOptions
10096
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
10478
+ ): Promise<
10479
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
10480
+ >;
10097
10481
  updateContainerThreatDetectionSettings(
10098
10482
  params: Params$Resource$Projects$Updatecontainerthreatdetectionsettings,
10099
10483
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10128,8 +10512,10 @@ export namespace securitycenter_v1beta2 {
10128
10512
  | BodyResponseCallback<Readable>
10129
10513
  ):
10130
10514
  | void
10131
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
10132
- | GaxiosPromise<Readable> {
10515
+ | Promise<
10516
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
10517
+ >
10518
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10133
10519
  let params = (paramsOrCallback ||
10134
10520
  {}) as Params$Resource$Projects$Updatecontainerthreatdetectionsettings;
10135
10521
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10185,11 +10571,11 @@ export namespace securitycenter_v1beta2 {
10185
10571
  updateEventThreatDetectionSettings(
10186
10572
  params: Params$Resource$Projects$Updateeventthreatdetectionsettings,
10187
10573
  options: StreamMethodOptions
10188
- ): GaxiosPromise<Readable>;
10574
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10189
10575
  updateEventThreatDetectionSettings(
10190
10576
  params?: Params$Resource$Projects$Updateeventthreatdetectionsettings,
10191
10577
  options?: MethodOptions
10192
- ): GaxiosPromise<Schema$EventThreatDetectionSettings>;
10578
+ ): Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>;
10193
10579
  updateEventThreatDetectionSettings(
10194
10580
  params: Params$Resource$Projects$Updateeventthreatdetectionsettings,
10195
10581
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10224,8 +10610,8 @@ export namespace securitycenter_v1beta2 {
10224
10610
  | BodyResponseCallback<Readable>
10225
10611
  ):
10226
10612
  | void
10227
- | GaxiosPromise<Schema$EventThreatDetectionSettings>
10228
- | GaxiosPromise<Readable> {
10613
+ | Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>
10614
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10229
10615
  let params = (paramsOrCallback ||
10230
10616
  {}) as Params$Resource$Projects$Updateeventthreatdetectionsettings;
10231
10617
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10281,11 +10667,13 @@ export namespace securitycenter_v1beta2 {
10281
10667
  updateRapidVulnerabilityDetectionSettings(
10282
10668
  params: Params$Resource$Projects$Updaterapidvulnerabilitydetectionsettings,
10283
10669
  options: StreamMethodOptions
10284
- ): GaxiosPromise<Readable>;
10670
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10285
10671
  updateRapidVulnerabilityDetectionSettings(
10286
10672
  params?: Params$Resource$Projects$Updaterapidvulnerabilitydetectionsettings,
10287
10673
  options?: MethodOptions
10288
- ): GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>;
10674
+ ): Promise<
10675
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
10676
+ >;
10289
10677
  updateRapidVulnerabilityDetectionSettings(
10290
10678
  params: Params$Resource$Projects$Updaterapidvulnerabilitydetectionsettings,
10291
10679
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10320,8 +10708,10 @@ export namespace securitycenter_v1beta2 {
10320
10708
  | BodyResponseCallback<Readable>
10321
10709
  ):
10322
10710
  | void
10323
- | GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>
10324
- | GaxiosPromise<Readable> {
10711
+ | Promise<
10712
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
10713
+ >
10714
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10325
10715
  let params = (paramsOrCallback ||
10326
10716
  {}) as Params$Resource$Projects$Updaterapidvulnerabilitydetectionsettings;
10327
10717
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10377,11 +10767,11 @@ export namespace securitycenter_v1beta2 {
10377
10767
  updateSecurityHealthAnalyticsSettings(
10378
10768
  params: Params$Resource$Projects$Updatesecurityhealthanalyticssettings,
10379
10769
  options: StreamMethodOptions
10380
- ): GaxiosPromise<Readable>;
10770
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10381
10771
  updateSecurityHealthAnalyticsSettings(
10382
10772
  params?: Params$Resource$Projects$Updatesecurityhealthanalyticssettings,
10383
10773
  options?: MethodOptions
10384
- ): GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>;
10774
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>;
10385
10775
  updateSecurityHealthAnalyticsSettings(
10386
10776
  params: Params$Resource$Projects$Updatesecurityhealthanalyticssettings,
10387
10777
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10416,8 +10806,8 @@ export namespace securitycenter_v1beta2 {
10416
10806
  | BodyResponseCallback<Readable>
10417
10807
  ):
10418
10808
  | void
10419
- | GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>
10420
- | GaxiosPromise<Readable> {
10809
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>
10810
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10421
10811
  let params = (paramsOrCallback ||
10422
10812
  {}) as Params$Resource$Projects$Updatesecurityhealthanalyticssettings;
10423
10813
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10473,11 +10863,13 @@ export namespace securitycenter_v1beta2 {
10473
10863
  updateVirtualMachineThreatDetectionSettings(
10474
10864
  params: Params$Resource$Projects$Updatevirtualmachinethreatdetectionsettings,
10475
10865
  options: StreamMethodOptions
10476
- ): GaxiosPromise<Readable>;
10866
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10477
10867
  updateVirtualMachineThreatDetectionSettings(
10478
10868
  params?: Params$Resource$Projects$Updatevirtualmachinethreatdetectionsettings,
10479
10869
  options?: MethodOptions
10480
- ): GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>;
10870
+ ): Promise<
10871
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
10872
+ >;
10481
10873
  updateVirtualMachineThreatDetectionSettings(
10482
10874
  params: Params$Resource$Projects$Updatevirtualmachinethreatdetectionsettings,
10483
10875
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10512,8 +10904,10 @@ export namespace securitycenter_v1beta2 {
10512
10904
  | BodyResponseCallback<Readable>
10513
10905
  ):
10514
10906
  | void
10515
- | GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>
10516
- | GaxiosPromise<Readable> {
10907
+ | Promise<
10908
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
10909
+ >
10910
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10517
10911
  let params = (paramsOrCallback ||
10518
10912
  {}) as Params$Resource$Projects$Updatevirtualmachinethreatdetectionsettings;
10519
10913
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10569,11 +10963,11 @@ export namespace securitycenter_v1beta2 {
10569
10963
  updateWebSecurityScannerSettings(
10570
10964
  params: Params$Resource$Projects$Updatewebsecurityscannersettings,
10571
10965
  options: StreamMethodOptions
10572
- ): GaxiosPromise<Readable>;
10966
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10573
10967
  updateWebSecurityScannerSettings(
10574
10968
  params?: Params$Resource$Projects$Updatewebsecurityscannersettings,
10575
10969
  options?: MethodOptions
10576
- ): GaxiosPromise<Schema$WebSecurityScannerSettings>;
10970
+ ): Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>;
10577
10971
  updateWebSecurityScannerSettings(
10578
10972
  params: Params$Resource$Projects$Updatewebsecurityscannersettings,
10579
10973
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10608,8 +11002,8 @@ export namespace securitycenter_v1beta2 {
10608
11002
  | BodyResponseCallback<Readable>
10609
11003
  ):
10610
11004
  | void
10611
- | GaxiosPromise<Schema$WebSecurityScannerSettings>
10612
- | GaxiosPromise<Readable> {
11005
+ | Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>
11006
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10613
11007
  let params = (paramsOrCallback ||
10614
11008
  {}) as Params$Resource$Projects$Updatewebsecurityscannersettings;
10615
11009
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10816,11 +11210,13 @@ export namespace securitycenter_v1beta2 {
10816
11210
  calculate(
10817
11211
  params: Params$Resource$Projects$Containerthreatdetectionsettings$Calculate,
10818
11212
  options: StreamMethodOptions
10819
- ): GaxiosPromise<Readable>;
11213
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10820
11214
  calculate(
10821
11215
  params?: Params$Resource$Projects$Containerthreatdetectionsettings$Calculate,
10822
11216
  options?: MethodOptions
10823
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
11217
+ ): Promise<
11218
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
11219
+ >;
10824
11220
  calculate(
10825
11221
  params: Params$Resource$Projects$Containerthreatdetectionsettings$Calculate,
10826
11222
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10855,8 +11251,10 @@ export namespace securitycenter_v1beta2 {
10855
11251
  | BodyResponseCallback<Readable>
10856
11252
  ):
10857
11253
  | void
10858
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
10859
- | GaxiosPromise<Readable> {
11254
+ | Promise<
11255
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
11256
+ >
11257
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10860
11258
  let params = (paramsOrCallback ||
10861
11259
  {}) as Params$Resource$Projects$Containerthreatdetectionsettings$Calculate;
10862
11260
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10934,11 +11332,11 @@ export namespace securitycenter_v1beta2 {
10934
11332
  calculate(
10935
11333
  params: Params$Resource$Projects$Eventthreatdetectionsettings$Calculate,
10936
11334
  options: StreamMethodOptions
10937
- ): GaxiosPromise<Readable>;
11335
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10938
11336
  calculate(
10939
11337
  params?: Params$Resource$Projects$Eventthreatdetectionsettings$Calculate,
10940
11338
  options?: MethodOptions
10941
- ): GaxiosPromise<Schema$EventThreatDetectionSettings>;
11339
+ ): Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>;
10942
11340
  calculate(
10943
11341
  params: Params$Resource$Projects$Eventthreatdetectionsettings$Calculate,
10944
11342
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10973,8 +11371,8 @@ export namespace securitycenter_v1beta2 {
10973
11371
  | BodyResponseCallback<Readable>
10974
11372
  ):
10975
11373
  | void
10976
- | GaxiosPromise<Schema$EventThreatDetectionSettings>
10977
- | GaxiosPromise<Readable> {
11374
+ | Promise<GaxiosResponseWithHTTP2<Schema$EventThreatDetectionSettings>>
11375
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10978
11376
  let params = (paramsOrCallback ||
10979
11377
  {}) as Params$Resource$Projects$Eventthreatdetectionsettings$Calculate;
10980
11378
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11066,11 +11464,13 @@ export namespace securitycenter_v1beta2 {
11066
11464
  getContainerThreatDetectionSettings(
11067
11465
  params: Params$Resource$Projects$Locations$Clusters$Getcontainerthreatdetectionsettings,
11068
11466
  options: StreamMethodOptions
11069
- ): GaxiosPromise<Readable>;
11467
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11070
11468
  getContainerThreatDetectionSettings(
11071
11469
  params?: Params$Resource$Projects$Locations$Clusters$Getcontainerthreatdetectionsettings,
11072
11470
  options?: MethodOptions
11073
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
11471
+ ): Promise<
11472
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
11473
+ >;
11074
11474
  getContainerThreatDetectionSettings(
11075
11475
  params: Params$Resource$Projects$Locations$Clusters$Getcontainerthreatdetectionsettings,
11076
11476
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11105,8 +11505,10 @@ export namespace securitycenter_v1beta2 {
11105
11505
  | BodyResponseCallback<Readable>
11106
11506
  ):
11107
11507
  | void
11108
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
11109
- | GaxiosPromise<Readable> {
11508
+ | Promise<
11509
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
11510
+ >
11511
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11110
11512
  let params = (paramsOrCallback ||
11111
11513
  {}) as Params$Resource$Projects$Locations$Clusters$Getcontainerthreatdetectionsettings;
11112
11514
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11162,11 +11564,13 @@ export namespace securitycenter_v1beta2 {
11162
11564
  updateContainerThreatDetectionSettings(
11163
11565
  params: Params$Resource$Projects$Locations$Clusters$Updatecontainerthreatdetectionsettings,
11164
11566
  options: StreamMethodOptions
11165
- ): GaxiosPromise<Readable>;
11567
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11166
11568
  updateContainerThreatDetectionSettings(
11167
11569
  params?: Params$Resource$Projects$Locations$Clusters$Updatecontainerthreatdetectionsettings,
11168
11570
  options?: MethodOptions
11169
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
11571
+ ): Promise<
11572
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
11573
+ >;
11170
11574
  updateContainerThreatDetectionSettings(
11171
11575
  params: Params$Resource$Projects$Locations$Clusters$Updatecontainerthreatdetectionsettings,
11172
11576
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11201,8 +11605,10 @@ export namespace securitycenter_v1beta2 {
11201
11605
  | BodyResponseCallback<Readable>
11202
11606
  ):
11203
11607
  | void
11204
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
11205
- | GaxiosPromise<Readable> {
11608
+ | Promise<
11609
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
11610
+ >
11611
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11206
11612
  let params = (paramsOrCallback ||
11207
11613
  {}) as Params$Resource$Projects$Locations$Clusters$Updatecontainerthreatdetectionsettings;
11208
11614
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11289,11 +11695,13 @@ export namespace securitycenter_v1beta2 {
11289
11695
  calculate(
11290
11696
  params: Params$Resource$Projects$Locations$Clusters$Containerthreatdetectionsettings$Calculate,
11291
11697
  options: StreamMethodOptions
11292
- ): GaxiosPromise<Readable>;
11698
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11293
11699
  calculate(
11294
11700
  params?: Params$Resource$Projects$Locations$Clusters$Containerthreatdetectionsettings$Calculate,
11295
11701
  options?: MethodOptions
11296
- ): GaxiosPromise<Schema$ContainerThreatDetectionSettings>;
11702
+ ): Promise<
11703
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
11704
+ >;
11297
11705
  calculate(
11298
11706
  params: Params$Resource$Projects$Locations$Clusters$Containerthreatdetectionsettings$Calculate,
11299
11707
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11328,8 +11736,10 @@ export namespace securitycenter_v1beta2 {
11328
11736
  | BodyResponseCallback<Readable>
11329
11737
  ):
11330
11738
  | void
11331
- | GaxiosPromise<Schema$ContainerThreatDetectionSettings>
11332
- | GaxiosPromise<Readable> {
11739
+ | Promise<
11740
+ GaxiosResponseWithHTTP2<Schema$ContainerThreatDetectionSettings>
11741
+ >
11742
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11333
11743
  let params = (paramsOrCallback ||
11334
11744
  {}) as Params$Resource$Projects$Locations$Clusters$Containerthreatdetectionsettings$Calculate;
11335
11745
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11407,11 +11817,13 @@ export namespace securitycenter_v1beta2 {
11407
11817
  calculate(
11408
11818
  params: Params$Resource$Projects$Rapidvulnerabilitydetectionsettings$Calculate,
11409
11819
  options: StreamMethodOptions
11410
- ): GaxiosPromise<Readable>;
11820
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11411
11821
  calculate(
11412
11822
  params?: Params$Resource$Projects$Rapidvulnerabilitydetectionsettings$Calculate,
11413
11823
  options?: MethodOptions
11414
- ): GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>;
11824
+ ): Promise<
11825
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
11826
+ >;
11415
11827
  calculate(
11416
11828
  params: Params$Resource$Projects$Rapidvulnerabilitydetectionsettings$Calculate,
11417
11829
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11446,8 +11858,10 @@ export namespace securitycenter_v1beta2 {
11446
11858
  | BodyResponseCallback<Readable>
11447
11859
  ):
11448
11860
  | void
11449
- | GaxiosPromise<Schema$RapidVulnerabilityDetectionSettings>
11450
- | GaxiosPromise<Readable> {
11861
+ | Promise<
11862
+ GaxiosResponseWithHTTP2<Schema$RapidVulnerabilityDetectionSettings>
11863
+ >
11864
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11451
11865
  let params = (paramsOrCallback ||
11452
11866
  {}) as Params$Resource$Projects$Rapidvulnerabilitydetectionsettings$Calculate;
11453
11867
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11521,11 +11935,11 @@ export namespace securitycenter_v1beta2 {
11521
11935
  calculate(
11522
11936
  params: Params$Resource$Projects$Securityhealthanalyticssettings$Calculate,
11523
11937
  options: StreamMethodOptions
11524
- ): GaxiosPromise<Readable>;
11938
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11525
11939
  calculate(
11526
11940
  params?: Params$Resource$Projects$Securityhealthanalyticssettings$Calculate,
11527
11941
  options?: MethodOptions
11528
- ): GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>;
11942
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>;
11529
11943
  calculate(
11530
11944
  params: Params$Resource$Projects$Securityhealthanalyticssettings$Calculate,
11531
11945
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11560,8 +11974,8 @@ export namespace securitycenter_v1beta2 {
11560
11974
  | BodyResponseCallback<Readable>
11561
11975
  ):
11562
11976
  | void
11563
- | GaxiosPromise<Schema$SecurityHealthAnalyticsSettings>
11564
- | GaxiosPromise<Readable> {
11977
+ | Promise<GaxiosResponseWithHTTP2<Schema$SecurityHealthAnalyticsSettings>>
11978
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11565
11979
  let params = (paramsOrCallback ||
11566
11980
  {}) as Params$Resource$Projects$Securityhealthanalyticssettings$Calculate;
11567
11981
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11639,11 +12053,13 @@ export namespace securitycenter_v1beta2 {
11639
12053
  calculate(
11640
12054
  params: Params$Resource$Projects$Virtualmachinethreatdetectionsettings$Calculate,
11641
12055
  options: StreamMethodOptions
11642
- ): GaxiosPromise<Readable>;
12056
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11643
12057
  calculate(
11644
12058
  params?: Params$Resource$Projects$Virtualmachinethreatdetectionsettings$Calculate,
11645
12059
  options?: MethodOptions
11646
- ): GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>;
12060
+ ): Promise<
12061
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
12062
+ >;
11647
12063
  calculate(
11648
12064
  params: Params$Resource$Projects$Virtualmachinethreatdetectionsettings$Calculate,
11649
12065
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11678,8 +12094,10 @@ export namespace securitycenter_v1beta2 {
11678
12094
  | BodyResponseCallback<Readable>
11679
12095
  ):
11680
12096
  | void
11681
- | GaxiosPromise<Schema$VirtualMachineThreatDetectionSettings>
11682
- | GaxiosPromise<Readable> {
12097
+ | Promise<
12098
+ GaxiosResponseWithHTTP2<Schema$VirtualMachineThreatDetectionSettings>
12099
+ >
12100
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11683
12101
  let params = (paramsOrCallback ||
11684
12102
  {}) as Params$Resource$Projects$Virtualmachinethreatdetectionsettings$Calculate;
11685
12103
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11757,11 +12175,11 @@ export namespace securitycenter_v1beta2 {
11757
12175
  calculate(
11758
12176
  params: Params$Resource$Projects$Websecurityscannersettings$Calculate,
11759
12177
  options: StreamMethodOptions
11760
- ): GaxiosPromise<Readable>;
12178
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11761
12179
  calculate(
11762
12180
  params?: Params$Resource$Projects$Websecurityscannersettings$Calculate,
11763
12181
  options?: MethodOptions
11764
- ): GaxiosPromise<Schema$WebSecurityScannerSettings>;
12182
+ ): Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>;
11765
12183
  calculate(
11766
12184
  params: Params$Resource$Projects$Websecurityscannersettings$Calculate,
11767
12185
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11796,8 +12214,8 @@ export namespace securitycenter_v1beta2 {
11796
12214
  | BodyResponseCallback<Readable>
11797
12215
  ):
11798
12216
  | void
11799
- | GaxiosPromise<Schema$WebSecurityScannerSettings>
11800
- | GaxiosPromise<Readable> {
12217
+ | Promise<GaxiosResponseWithHTTP2<Schema$WebSecurityScannerSettings>>
12218
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11801
12219
  let params = (paramsOrCallback ||
11802
12220
  {}) as Params$Resource$Projects$Websecurityscannersettings$Calculate;
11803
12221
  let options = (optionsOrCallback || {}) as MethodOptions;