@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/v1beta1.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,
@@ -215,6 +215,24 @@ export namespace securitycenter_v1beta1 {
215
215
  */
216
216
  confidence?: number | null;
217
217
  }
218
+ /**
219
+ * Details about resources affected by this finding.
220
+ */
221
+ export interface Schema$AffectedResources {
222
+ /**
223
+ * The count of resources affected by the finding.
224
+ */
225
+ count?: string | null;
226
+ }
227
+ /**
228
+ * Allowed IP rule.
229
+ */
230
+ export interface Schema$Allowed {
231
+ /**
232
+ * Optional. Optional list of allowed IP rules.
233
+ */
234
+ ipRules?: Schema$IpRule[];
235
+ }
218
236
  /**
219
237
  * Represents an application associated with a finding.
220
238
  */
@@ -545,6 +563,15 @@ export namespace securitycenter_v1beta1 {
545
563
  * The request message for Operations.CancelOperation.
546
564
  */
547
565
  export interface Schema$CancelOperationRequest {}
566
+ /**
567
+ * 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).
568
+ */
569
+ export interface Schema$Chokepoint {
570
+ /**
571
+ * 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.
572
+ */
573
+ relatedFindings?: string[] | null;
574
+ }
548
575
  /**
549
576
  * Fields related to Google Cloud Armor findings.
550
577
  */
@@ -646,43 +673,6 @@ export namespace securitycenter_v1beta1 {
646
673
  */
647
674
  version?: string | null;
648
675
  }
649
- /**
650
- * Result containing the properties and count of a ComplianceSnapshot request.
651
- */
652
- export interface Schema$ComplianceSnapshot {
653
- /**
654
- * The category of Findings matching.
655
- */
656
- category?: string | null;
657
- /**
658
- * The cloud provider for the compliance snapshot.
659
- */
660
- cloudProvider?: string | null;
661
- /**
662
- * The compliance standard (ie CIS).
663
- */
664
- complianceStandard?: string | null;
665
- /**
666
- * The compliance version (ie 1.3) in CIS 1.3.
667
- */
668
- complianceVersion?: string | null;
669
- /**
670
- * Total count of findings for the given properties.
671
- */
672
- count?: string | null;
673
- /**
674
- * The leaf container resource name that is closest to the snapshot.
675
- */
676
- leafContainerResource?: string | null;
677
- /**
678
- * The compliance snapshot name. Format: //sources//complianceSnapshots/
679
- */
680
- name?: string | null;
681
- /**
682
- * The snapshot time of the snapshot.
683
- */
684
- snapshotTime?: string | null;
685
- }
686
676
  /**
687
677
  * Contains information about the IP connection associated with the finding.
688
678
  */
@@ -837,6 +827,19 @@ export namespace securitycenter_v1beta1 {
837
827
  */
838
828
  userInteraction?: string | null;
839
829
  }
830
+ /**
831
+ * CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).
832
+ */
833
+ export interface Schema$Cwe {
834
+ /**
835
+ * The CWE identifier, e.g. CWE-94
836
+ */
837
+ id?: string | null;
838
+ /**
839
+ * Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
840
+ */
841
+ references?: Schema$Reference[];
842
+ }
840
843
  /**
841
844
  * Details about a data access attempt made by a principal not authorized under applicable data security policy.
842
845
  */
@@ -929,10 +932,19 @@ export namespace securitycenter_v1beta1 {
929
932
  */
930
933
  eventType?: string | null;
931
934
  /**
932
- * 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.
935
+ * 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.
933
936
  */
934
937
  maxRetentionAllowed?: string | null;
935
938
  }
939
+ /**
940
+ * Denied IP rule.
941
+ */
942
+ export interface Schema$Denied {
943
+ /**
944
+ * Optional. Optional list of denied IP rules.
945
+ */
946
+ ipRules?: Schema$IpRule[];
947
+ }
936
948
  /**
937
949
  * Memory hash detection contributing to the binary family match.
938
950
  */
@@ -951,7 +963,7 @@ export namespace securitycenter_v1beta1 {
951
963
  */
952
964
  export interface Schema$Disk {
953
965
  /**
954
- * The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-id/zones/zone-id/disks/disk-id".
966
+ * The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id\}/zones/{zone-id\}/disks/{disk-id\}".
955
967
  */
956
968
  name?: string | null;
957
969
  }
@@ -1090,6 +1102,10 @@ export namespace securitycenter_v1beta1 {
1090
1102
  * Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
1091
1103
  */
1092
1104
  access?: Schema$Access;
1105
+ /**
1106
+ * AffectedResources associated with the finding.
1107
+ */
1108
+ affectedResources?: Schema$AffectedResources;
1093
1109
  /**
1094
1110
  * Represents an application associated with the finding.
1095
1111
  */
@@ -1110,6 +1126,10 @@ export namespace securitycenter_v1beta1 {
1110
1126
  * The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
1111
1127
  */
1112
1128
  category?: string | null;
1129
+ /**
1130
+ * 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.
1131
+ */
1132
+ chokepoint?: Schema$Chokepoint;
1113
1133
  /**
1114
1134
  * Fields related to Cloud Armor findings.
1115
1135
  */
@@ -1204,6 +1224,14 @@ export namespace securitycenter_v1beta1 {
1204
1224
  * 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).
1205
1225
  */
1206
1226
  indicator?: Schema$Indicator;
1227
+ /**
1228
+ * IP rules associated with the finding.
1229
+ */
1230
+ ipRules?: Schema$IpRules;
1231
+ /**
1232
+ * Job associated with the finding.
1233
+ */
1234
+ job?: Schema$Job;
1207
1235
  /**
1208
1236
  * Signature of the kernel rootkit.
1209
1237
  */
@@ -1248,6 +1276,10 @@ export namespace securitycenter_v1beta1 {
1248
1276
  * 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\}".
1249
1277
  */
1250
1278
  name?: string | null;
1279
+ /**
1280
+ * Represents the VPC networks that the resource is attached to.
1281
+ */
1282
+ networks?: Schema$Network[];
1251
1283
  /**
1252
1284
  * Steps to address the finding.
1253
1285
  */
@@ -2113,6 +2145,24 @@ export namespace securitycenter_v1beta1 {
2113
2145
  */
2114
2146
  confidence?: number | null;
2115
2147
  }
2148
+ /**
2149
+ * Details about resources affected by this finding.
2150
+ */
2151
+ export interface Schema$GoogleCloudSecuritycenterV2AffectedResources {
2152
+ /**
2153
+ * The count of resources affected by the finding.
2154
+ */
2155
+ count?: string | null;
2156
+ }
2157
+ /**
2158
+ * Allowed IP rule.
2159
+ */
2160
+ export interface Schema$GoogleCloudSecuritycenterV2Allowed {
2161
+ /**
2162
+ * Optional. Optional list of allowed IP rules.
2163
+ */
2164
+ ipRules?: Schema$GoogleCloudSecuritycenterV2IpRule[];
2165
+ }
2116
2166
  /**
2117
2167
  * Represents an application associated with a finding.
2118
2168
  */
@@ -2416,6 +2466,15 @@ export namespace securitycenter_v1beta1 {
2416
2466
  * The response to a BulkMute request. Contains the LRO information.
2417
2467
  */
2418
2468
  export interface Schema$GoogleCloudSecuritycenterV2BulkMuteFindingsResponse {}
2469
+ /**
2470
+ * 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).
2471
+ */
2472
+ export interface Schema$GoogleCloudSecuritycenterV2Chokepoint {
2473
+ /**
2474
+ * 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.
2475
+ */
2476
+ relatedFindings?: string[] | null;
2477
+ }
2419
2478
  /**
2420
2479
  * Fields related to Google Cloud Armor findings.
2421
2480
  */
@@ -2671,6 +2730,19 @@ export namespace securitycenter_v1beta1 {
2671
2730
  */
2672
2731
  userInteraction?: string | null;
2673
2732
  }
2733
+ /**
2734
+ * CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).
2735
+ */
2736
+ export interface Schema$GoogleCloudSecuritycenterV2Cwe {
2737
+ /**
2738
+ * The CWE identifier, e.g. CWE-94
2739
+ */
2740
+ id?: string | null;
2741
+ /**
2742
+ * Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
2743
+ */
2744
+ references?: Schema$GoogleCloudSecuritycenterV2Reference[];
2745
+ }
2674
2746
  /**
2675
2747
  * Details about a data access attempt made by a principal not authorized under applicable data security policy.
2676
2748
  */
@@ -2763,10 +2835,19 @@ export namespace securitycenter_v1beta1 {
2763
2835
  */
2764
2836
  eventType?: string | null;
2765
2837
  /**
2766
- * 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.
2838
+ * 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.
2767
2839
  */
2768
2840
  maxRetentionAllowed?: string | null;
2769
2841
  }
2842
+ /**
2843
+ * Denied IP rule.
2844
+ */
2845
+ export interface Schema$GoogleCloudSecuritycenterV2Denied {
2846
+ /**
2847
+ * Optional. Optional list of denied IP rules.
2848
+ */
2849
+ ipRules?: Schema$GoogleCloudSecuritycenterV2IpRule[];
2850
+ }
2770
2851
  /**
2771
2852
  * Memory hash detection contributing to the binary family match.
2772
2853
  */
@@ -2785,7 +2866,7 @@ export namespace securitycenter_v1beta1 {
2785
2866
  */
2786
2867
  export interface Schema$GoogleCloudSecuritycenterV2Disk {
2787
2868
  /**
2788
- * The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-id/zones/zone-id/disks/disk-id".
2869
+ * The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id\}/zones/{zone-id\}/disks/{disk-id\}".
2789
2870
  */
2790
2871
  name?: string | null;
2791
2872
  }
@@ -2948,6 +3029,10 @@ export namespace securitycenter_v1beta1 {
2948
3029
  * Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
2949
3030
  */
2950
3031
  access?: Schema$GoogleCloudSecuritycenterV2Access;
3032
+ /**
3033
+ * AffectedResources associated with the finding.
3034
+ */
3035
+ affectedResources?: Schema$GoogleCloudSecuritycenterV2AffectedResources;
2951
3036
  /**
2952
3037
  * Represents an application associated with the finding.
2953
3038
  */
@@ -2968,6 +3053,10 @@ export namespace securitycenter_v1beta1 {
2968
3053
  * Immutable. The additional taxonomy group within findings from a given source. Example: "XSS_FLASH_INJECTION"
2969
3054
  */
2970
3055
  category?: string | null;
3056
+ /**
3057
+ * 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.
3058
+ */
3059
+ chokepoint?: Schema$GoogleCloudSecuritycenterV2Chokepoint;
2971
3060
  /**
2972
3061
  * Fields related to Cloud Armor findings.
2973
3062
  */
@@ -3064,6 +3153,14 @@ export namespace securitycenter_v1beta1 {
3064
3153
  * 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).
3065
3154
  */
3066
3155
  indicator?: Schema$GoogleCloudSecuritycenterV2Indicator;
3156
+ /**
3157
+ * IP rules associated with the finding.
3158
+ */
3159
+ ipRules?: Schema$GoogleCloudSecuritycenterV2IpRules;
3160
+ /**
3161
+ * Job associated with the finding.
3162
+ */
3163
+ job?: Schema$GoogleCloudSecuritycenterV2Job;
3067
3164
  /**
3068
3165
  * Signature of the kernel rootkit.
3069
3166
  */
@@ -3108,6 +3205,10 @@ export namespace securitycenter_v1beta1 {
3108
3205
  * 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\}`
3109
3206
  */
3110
3207
  name?: string | null;
3208
+ /**
3209
+ * Represents the VPC networks that the resource is attached to.
3210
+ */
3211
+ networks?: Schema$GoogleCloudSecuritycenterV2Network[];
3111
3212
  /**
3112
3213
  * Steps to address the finding.
3113
3214
  */
@@ -3238,6 +3339,48 @@ export namespace securitycenter_v1beta1 {
3238
3339
  */
3239
3340
  uris?: string[] | null;
3240
3341
  }
3342
+ /**
3343
+ * IP rule information.
3344
+ */
3345
+ export interface Schema$GoogleCloudSecuritycenterV2IpRule {
3346
+ /**
3347
+ * 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.
3348
+ */
3349
+ portRanges?: Schema$GoogleCloudSecuritycenterV2PortRange[];
3350
+ /**
3351
+ * 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.
3352
+ */
3353
+ protocol?: string | null;
3354
+ }
3355
+ /**
3356
+ * IP rules associated with the finding.
3357
+ */
3358
+ export interface Schema$GoogleCloudSecuritycenterV2IpRules {
3359
+ /**
3360
+ * Tuple with allowed rules.
3361
+ */
3362
+ allowed?: Schema$GoogleCloudSecuritycenterV2Allowed;
3363
+ /**
3364
+ * Tuple with denied rules.
3365
+ */
3366
+ denied?: Schema$GoogleCloudSecuritycenterV2Denied;
3367
+ /**
3368
+ * 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.
3369
+ */
3370
+ destinationIpRanges?: string[] | null;
3371
+ /**
3372
+ * The direction that the rule is applicable to, one of ingress or egress.
3373
+ */
3374
+ direction?: string | null;
3375
+ /**
3376
+ * 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.
3377
+ */
3378
+ exposedServices?: string[] | null;
3379
+ /**
3380
+ * 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.
3381
+ */
3382
+ sourceIpRanges?: string[] | null;
3383
+ }
3241
3384
  /**
3242
3385
  * Security Command Center Issue.
3243
3386
  */
@@ -3501,6 +3644,27 @@ export namespace securitycenter_v1beta1 {
3501
3644
  */
3502
3645
  values?: string[] | null;
3503
3646
  }
3647
+ /**
3648
+ * Describes a job
3649
+ */
3650
+ export interface Schema$GoogleCloudSecuritycenterV2Job {
3651
+ /**
3652
+ * Optional. If the job did not complete successfully, this field describes why.
3653
+ */
3654
+ errorCode?: number | null;
3655
+ /**
3656
+ * Optional. Gives the location where the job ran, such as `US` or `europe-west1`
3657
+ */
3658
+ location?: string | null;
3659
+ /**
3660
+ * The fully-qualified name for a job. e.g. `projects//jobs/`
3661
+ */
3662
+ name?: string | null;
3663
+ /**
3664
+ * Output only. State of the job, such as `RUNNING` or `PENDING`.
3665
+ */
3666
+ state?: string | null;
3667
+ }
3504
3668
  /**
3505
3669
  * Kernel mode rootkit signatures.
3506
3670
  */
@@ -3694,6 +3858,15 @@ export namespace securitycenter_v1beta1 {
3694
3858
  */
3695
3859
  staticMute?: Schema$GoogleCloudSecuritycenterV2StaticMute;
3696
3860
  }
3861
+ /**
3862
+ * Contains information about a VPC network associated with the finding.
3863
+ */
3864
+ export interface Schema$GoogleCloudSecuritycenterV2Network {
3865
+ /**
3866
+ * The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.
3867
+ */
3868
+ name?: string | null;
3869
+ }
3697
3870
  /**
3698
3871
  * Kubernetes nodes associated with the finding.
3699
3872
  */
@@ -3784,7 +3957,7 @@ export namespace securitycenter_v1beta1 {
3784
3957
  */
3785
3958
  export interface Schema$GoogleCloudSecuritycenterV2OrgPolicy {
3786
3959
  /**
3787
- * The resource name of the org policy. Example: "organizations/{organization_id\}/policies/{constraint_name\}"
3960
+ * Identifier. The resource name of the org policy. Example: "organizations/{organization_id\}/policies/{constraint_name\}"
3788
3961
  */
3789
3962
  name?: string | null;
3790
3963
  }
@@ -3847,6 +4020,19 @@ export namespace securitycenter_v1beta1 {
3847
4020
  */
3848
4021
  field?: string | null;
3849
4022
  }
4023
+ /**
4024
+ * 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.
4025
+ */
4026
+ export interface Schema$GoogleCloudSecuritycenterV2PortRange {
4027
+ /**
4028
+ * Maximum port value.
4029
+ */
4030
+ max?: string | null;
4031
+ /**
4032
+ * Minimum port value.
4033
+ */
4034
+ min?: string | null;
4035
+ }
3850
4036
  /**
3851
4037
  * Represents an operating system process.
3852
4038
  */
@@ -4278,6 +4464,10 @@ export namespace securitycenter_v1beta1 {
4278
4464
  * CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
4279
4465
  */
4280
4466
  cve?: Schema$GoogleCloudSecuritycenterV2Cve;
4467
+ /**
4468
+ * Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
4469
+ */
4470
+ cwes?: Schema$GoogleCloudSecuritycenterV2Cwe[];
4281
4471
  /**
4282
4472
  * The fixed package is relevant to the finding.
4283
4473
  */
@@ -4286,6 +4476,14 @@ export namespace securitycenter_v1beta1 {
4286
4476
  * The offending package is relevant to the finding.
4287
4477
  */
4288
4478
  offendingPackage?: Schema$GoogleCloudSecuritycenterV2Package;
4479
+ /**
4480
+ * Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
4481
+ */
4482
+ providerRiskScore?: string | null;
4483
+ /**
4484
+ * Represents whether the vulnerability is reachable (detected via static analysis)
4485
+ */
4486
+ reachable?: boolean | null;
4289
4487
  /**
4290
4488
  * The security bulletin is relevant to this finding.
4291
4489
  */
@@ -4452,6 +4650,69 @@ export namespace securitycenter_v1beta1 {
4452
4650
  */
4453
4651
  uris?: string[] | null;
4454
4652
  }
4653
+ /**
4654
+ * IP rule information.
4655
+ */
4656
+ export interface Schema$IpRule {
4657
+ /**
4658
+ * 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.
4659
+ */
4660
+ portRanges?: Schema$PortRange[];
4661
+ /**
4662
+ * 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.
4663
+ */
4664
+ protocol?: string | null;
4665
+ }
4666
+ /**
4667
+ * IP rules associated with the finding.
4668
+ */
4669
+ export interface Schema$IpRules {
4670
+ /**
4671
+ * Tuple with allowed rules.
4672
+ */
4673
+ allowed?: Schema$Allowed;
4674
+ /**
4675
+ * Tuple with denied rules.
4676
+ */
4677
+ denied?: Schema$Denied;
4678
+ /**
4679
+ * 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.
4680
+ */
4681
+ destinationIpRanges?: string[] | null;
4682
+ /**
4683
+ * The direction that the rule is applicable to, one of ingress or egress.
4684
+ */
4685
+ direction?: string | null;
4686
+ /**
4687
+ * 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.
4688
+ */
4689
+ exposedServices?: string[] | null;
4690
+ /**
4691
+ * 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.
4692
+ */
4693
+ sourceIpRanges?: string[] | null;
4694
+ }
4695
+ /**
4696
+ * Describes a job
4697
+ */
4698
+ export interface Schema$Job {
4699
+ /**
4700
+ * Optional. If the job did not complete successfully, this field describes why.
4701
+ */
4702
+ errorCode?: number | null;
4703
+ /**
4704
+ * Optional. Gives the location where the job ran, such as `US` or `europe-west1`
4705
+ */
4706
+ location?: string | null;
4707
+ /**
4708
+ * The fully-qualified name for a job. e.g. `projects//jobs/`
4709
+ */
4710
+ name?: string | null;
4711
+ /**
4712
+ * Output only. State of the job, such as `RUNNING` or `PENDING`.
4713
+ */
4714
+ state?: string | null;
4715
+ }
4455
4716
  /**
4456
4717
  * Kernel mode rootkit signatures.
4457
4718
  */
@@ -4689,6 +4950,15 @@ export namespace securitycenter_v1beta1 {
4689
4950
  */
4690
4951
  staticMute?: Schema$StaticMute;
4691
4952
  }
4953
+ /**
4954
+ * Contains information about a VPC network associated with the finding.
4955
+ */
4956
+ export interface Schema$Network {
4957
+ /**
4958
+ * The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.
4959
+ */
4960
+ name?: string | null;
4961
+ }
4692
4962
  /**
4693
4963
  * Kubernetes nodes associated with the finding.
4694
4964
  */
@@ -4888,6 +5158,19 @@ export namespace securitycenter_v1beta1 {
4888
5158
  */
4889
5159
  field?: string | null;
4890
5160
  }
5161
+ /**
5162
+ * 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.
5163
+ */
5164
+ export interface Schema$PortRange {
5165
+ /**
5166
+ * Maximum port value.
5167
+ */
5168
+ max?: string | null;
5169
+ /**
5170
+ * Minimum port value.
5171
+ */
5172
+ min?: string | null;
5173
+ }
4891
5174
  /**
4892
5175
  * Represents an operating system process.
4893
5176
  */
@@ -5315,6 +5598,10 @@ export namespace securitycenter_v1beta1 {
5315
5598
  * CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
5316
5599
  */
5317
5600
  cve?: Schema$Cve;
5601
+ /**
5602
+ * Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
5603
+ */
5604
+ cwes?: Schema$Cwe[];
5318
5605
  /**
5319
5606
  * The fixed package is relevant to the finding.
5320
5607
  */
@@ -5323,6 +5610,14 @@ export namespace securitycenter_v1beta1 {
5323
5610
  * The offending package is relevant to the finding.
5324
5611
  */
5325
5612
  offendingPackage?: Schema$Package;
5613
+ /**
5614
+ * Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
5615
+ */
5616
+ providerRiskScore?: string | null;
5617
+ /**
5618
+ * Represents whether the vulnerability is reachable (detected via static analysis)
5619
+ */
5620
+ reachable?: boolean | null;
5326
5621
  /**
5327
5622
  * The security bulletin is relevant to this finding.
5328
5623
  */
@@ -5391,11 +5686,11 @@ export namespace securitycenter_v1beta1 {
5391
5686
  getOrganizationSettings(
5392
5687
  params: Params$Resource$Organizations$Getorganizationsettings,
5393
5688
  options: StreamMethodOptions
5394
- ): GaxiosPromise<Readable>;
5689
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5395
5690
  getOrganizationSettings(
5396
5691
  params?: Params$Resource$Organizations$Getorganizationsettings,
5397
5692
  options?: MethodOptions
5398
- ): GaxiosPromise<Schema$OrganizationSettings>;
5693
+ ): Promise<GaxiosResponseWithHTTP2<Schema$OrganizationSettings>>;
5399
5694
  getOrganizationSettings(
5400
5695
  params: Params$Resource$Organizations$Getorganizationsettings,
5401
5696
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5430,8 +5725,8 @@ export namespace securitycenter_v1beta1 {
5430
5725
  | BodyResponseCallback<Readable>
5431
5726
  ):
5432
5727
  | void
5433
- | GaxiosPromise<Schema$OrganizationSettings>
5434
- | GaxiosPromise<Readable> {
5728
+ | Promise<GaxiosResponseWithHTTP2<Schema$OrganizationSettings>>
5729
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5435
5730
  let params = (paramsOrCallback ||
5436
5731
  {}) as Params$Resource$Organizations$Getorganizationsettings;
5437
5732
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5484,11 +5779,11 @@ export namespace securitycenter_v1beta1 {
5484
5779
  updateOrganizationSettings(
5485
5780
  params: Params$Resource$Organizations$Updateorganizationsettings,
5486
5781
  options: StreamMethodOptions
5487
- ): GaxiosPromise<Readable>;
5782
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5488
5783
  updateOrganizationSettings(
5489
5784
  params?: Params$Resource$Organizations$Updateorganizationsettings,
5490
5785
  options?: MethodOptions
5491
- ): GaxiosPromise<Schema$OrganizationSettings>;
5786
+ ): Promise<GaxiosResponseWithHTTP2<Schema$OrganizationSettings>>;
5492
5787
  updateOrganizationSettings(
5493
5788
  params: Params$Resource$Organizations$Updateorganizationsettings,
5494
5789
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5523,8 +5818,8 @@ export namespace securitycenter_v1beta1 {
5523
5818
  | BodyResponseCallback<Readable>
5524
5819
  ):
5525
5820
  | void
5526
- | GaxiosPromise<Schema$OrganizationSettings>
5527
- | GaxiosPromise<Readable> {
5821
+ | Promise<GaxiosResponseWithHTTP2<Schema$OrganizationSettings>>
5822
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5528
5823
  let params = (paramsOrCallback ||
5529
5824
  {}) as Params$Resource$Organizations$Updateorganizationsettings;
5530
5825
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5608,11 +5903,11 @@ export namespace securitycenter_v1beta1 {
5608
5903
  group(
5609
5904
  params: Params$Resource$Organizations$Assets$Group,
5610
5905
  options: StreamMethodOptions
5611
- ): GaxiosPromise<Readable>;
5906
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5612
5907
  group(
5613
5908
  params?: Params$Resource$Organizations$Assets$Group,
5614
5909
  options?: MethodOptions
5615
- ): GaxiosPromise<Schema$GroupAssetsResponse>;
5910
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GroupAssetsResponse>>;
5616
5911
  group(
5617
5912
  params: Params$Resource$Organizations$Assets$Group,
5618
5913
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5643,8 +5938,8 @@ export namespace securitycenter_v1beta1 {
5643
5938
  | BodyResponseCallback<Readable>
5644
5939
  ):
5645
5940
  | void
5646
- | GaxiosPromise<Schema$GroupAssetsResponse>
5647
- | GaxiosPromise<Readable> {
5941
+ | Promise<GaxiosResponseWithHTTP2<Schema$GroupAssetsResponse>>
5942
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5648
5943
  let params = (paramsOrCallback ||
5649
5944
  {}) as Params$Resource$Organizations$Assets$Group;
5650
5945
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5700,11 +5995,11 @@ export namespace securitycenter_v1beta1 {
5700
5995
  list(
5701
5996
  params: Params$Resource$Organizations$Assets$List,
5702
5997
  options: StreamMethodOptions
5703
- ): GaxiosPromise<Readable>;
5998
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5704
5999
  list(
5705
6000
  params?: Params$Resource$Organizations$Assets$List,
5706
6001
  options?: MethodOptions
5707
- ): GaxiosPromise<Schema$ListAssetsResponse>;
6002
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListAssetsResponse>>;
5708
6003
  list(
5709
6004
  params: Params$Resource$Organizations$Assets$List,
5710
6005
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5735,8 +6030,8 @@ export namespace securitycenter_v1beta1 {
5735
6030
  | BodyResponseCallback<Readable>
5736
6031
  ):
5737
6032
  | void
5738
- | GaxiosPromise<Schema$ListAssetsResponse>
5739
- | GaxiosPromise<Readable> {
6033
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListAssetsResponse>>
6034
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5740
6035
  let params = (paramsOrCallback ||
5741
6036
  {}) as Params$Resource$Organizations$Assets$List;
5742
6037
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5792,11 +6087,11 @@ export namespace securitycenter_v1beta1 {
5792
6087
  runDiscovery(
5793
6088
  params: Params$Resource$Organizations$Assets$Rundiscovery,
5794
6089
  options: StreamMethodOptions
5795
- ): GaxiosPromise<Readable>;
6090
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5796
6091
  runDiscovery(
5797
6092
  params?: Params$Resource$Organizations$Assets$Rundiscovery,
5798
6093
  options?: MethodOptions
5799
- ): GaxiosPromise<Schema$Operation>;
6094
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5800
6095
  runDiscovery(
5801
6096
  params: Params$Resource$Organizations$Assets$Rundiscovery,
5802
6097
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5825,7 +6120,10 @@ export namespace securitycenter_v1beta1 {
5825
6120
  callback?:
5826
6121
  | BodyResponseCallback<Schema$Operation>
5827
6122
  | BodyResponseCallback<Readable>
5828
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
6123
+ ):
6124
+ | void
6125
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
6126
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5829
6127
  let params = (paramsOrCallback ||
5830
6128
  {}) as Params$Resource$Organizations$Assets$Rundiscovery;
5831
6129
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5881,11 +6179,13 @@ export namespace securitycenter_v1beta1 {
5881
6179
  updateSecurityMarks(
5882
6180
  params: Params$Resource$Organizations$Assets$Updatesecuritymarks,
5883
6181
  options: StreamMethodOptions
5884
- ): GaxiosPromise<Readable>;
6182
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5885
6183
  updateSecurityMarks(
5886
6184
  params?: Params$Resource$Organizations$Assets$Updatesecuritymarks,
5887
6185
  options?: MethodOptions
5888
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1beta1SecurityMarks>;
6186
+ ): Promise<
6187
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1beta1SecurityMarks>
6188
+ >;
5889
6189
  updateSecurityMarks(
5890
6190
  params: Params$Resource$Organizations$Assets$Updatesecuritymarks,
5891
6191
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5920,8 +6220,10 @@ export namespace securitycenter_v1beta1 {
5920
6220
  | BodyResponseCallback<Readable>
5921
6221
  ):
5922
6222
  | void
5923
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1beta1SecurityMarks>
5924
- | GaxiosPromise<Readable> {
6223
+ | Promise<
6224
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1beta1SecurityMarks>
6225
+ >
6226
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5925
6227
  let params = (paramsOrCallback ||
5926
6228
  {}) as Params$Resource$Organizations$Assets$Updatesecuritymarks;
5927
6229
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6063,11 +6365,11 @@ export namespace securitycenter_v1beta1 {
6063
6365
  cancel(
6064
6366
  params: Params$Resource$Organizations$Operations$Cancel,
6065
6367
  options: StreamMethodOptions
6066
- ): GaxiosPromise<Readable>;
6368
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6067
6369
  cancel(
6068
6370
  params?: Params$Resource$Organizations$Operations$Cancel,
6069
6371
  options?: MethodOptions
6070
- ): GaxiosPromise<Schema$Empty>;
6372
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
6071
6373
  cancel(
6072
6374
  params: Params$Resource$Organizations$Operations$Cancel,
6073
6375
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6096,7 +6398,10 @@ export namespace securitycenter_v1beta1 {
6096
6398
  callback?:
6097
6399
  | BodyResponseCallback<Schema$Empty>
6098
6400
  | BodyResponseCallback<Readable>
6099
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
6401
+ ):
6402
+ | void
6403
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
6404
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6100
6405
  let params = (paramsOrCallback ||
6101
6406
  {}) as Params$Resource$Organizations$Operations$Cancel;
6102
6407
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6152,11 +6457,11 @@ export namespace securitycenter_v1beta1 {
6152
6457
  delete(
6153
6458
  params: Params$Resource$Organizations$Operations$Delete,
6154
6459
  options: StreamMethodOptions
6155
- ): GaxiosPromise<Readable>;
6460
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6156
6461
  delete(
6157
6462
  params?: Params$Resource$Organizations$Operations$Delete,
6158
6463
  options?: MethodOptions
6159
- ): GaxiosPromise<Schema$Empty>;
6464
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
6160
6465
  delete(
6161
6466
  params: Params$Resource$Organizations$Operations$Delete,
6162
6467
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6185,7 +6490,10 @@ export namespace securitycenter_v1beta1 {
6185
6490
  callback?:
6186
6491
  | BodyResponseCallback<Schema$Empty>
6187
6492
  | BodyResponseCallback<Readable>
6188
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
6493
+ ):
6494
+ | void
6495
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
6496
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6189
6497
  let params = (paramsOrCallback ||
6190
6498
  {}) as Params$Resource$Organizations$Operations$Delete;
6191
6499
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6238,11 +6546,11 @@ export namespace securitycenter_v1beta1 {
6238
6546
  get(
6239
6547
  params: Params$Resource$Organizations$Operations$Get,
6240
6548
  options: StreamMethodOptions
6241
- ): GaxiosPromise<Readable>;
6549
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6242
6550
  get(
6243
6551
  params?: Params$Resource$Organizations$Operations$Get,
6244
6552
  options?: MethodOptions
6245
- ): GaxiosPromise<Schema$Operation>;
6553
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
6246
6554
  get(
6247
6555
  params: Params$Resource$Organizations$Operations$Get,
6248
6556
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6271,7 +6579,10 @@ export namespace securitycenter_v1beta1 {
6271
6579
  callback?:
6272
6580
  | BodyResponseCallback<Schema$Operation>
6273
6581
  | BodyResponseCallback<Readable>
6274
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
6582
+ ):
6583
+ | void
6584
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
6585
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6275
6586
  let params = (paramsOrCallback ||
6276
6587
  {}) as Params$Resource$Organizations$Operations$Get;
6277
6588
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6324,11 +6635,11 @@ export namespace securitycenter_v1beta1 {
6324
6635
  list(
6325
6636
  params: Params$Resource$Organizations$Operations$List,
6326
6637
  options: StreamMethodOptions
6327
- ): GaxiosPromise<Readable>;
6638
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6328
6639
  list(
6329
6640
  params?: Params$Resource$Organizations$Operations$List,
6330
6641
  options?: MethodOptions
6331
- ): GaxiosPromise<Schema$ListOperationsResponse>;
6642
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
6332
6643
  list(
6333
6644
  params: Params$Resource$Organizations$Operations$List,
6334
6645
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6361,8 +6672,8 @@ export namespace securitycenter_v1beta1 {
6361
6672
  | BodyResponseCallback<Readable>
6362
6673
  ):
6363
6674
  | void
6364
- | GaxiosPromise<Schema$ListOperationsResponse>
6365
- | GaxiosPromise<Readable> {
6675
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>
6676
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6366
6677
  let params = (paramsOrCallback ||
6367
6678
  {}) as Params$Resource$Organizations$Operations$List;
6368
6679
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6470,11 +6781,11 @@ export namespace securitycenter_v1beta1 {
6470
6781
  create(
6471
6782
  params: Params$Resource$Organizations$Sources$Create,
6472
6783
  options: StreamMethodOptions
6473
- ): GaxiosPromise<Readable>;
6784
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6474
6785
  create(
6475
6786
  params?: Params$Resource$Organizations$Sources$Create,
6476
6787
  options?: MethodOptions
6477
- ): GaxiosPromise<Schema$Source>;
6788
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Source>>;
6478
6789
  create(
6479
6790
  params: Params$Resource$Organizations$Sources$Create,
6480
6791
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6503,7 +6814,10 @@ export namespace securitycenter_v1beta1 {
6503
6814
  callback?:
6504
6815
  | BodyResponseCallback<Schema$Source>
6505
6816
  | BodyResponseCallback<Readable>
6506
- ): void | GaxiosPromise<Schema$Source> | GaxiosPromise<Readable> {
6817
+ ):
6818
+ | void
6819
+ | Promise<GaxiosResponseWithHTTP2<Schema$Source>>
6820
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6507
6821
  let params = (paramsOrCallback ||
6508
6822
  {}) as Params$Resource$Organizations$Sources$Create;
6509
6823
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6559,11 +6873,11 @@ export namespace securitycenter_v1beta1 {
6559
6873
  get(
6560
6874
  params: Params$Resource$Organizations$Sources$Get,
6561
6875
  options: StreamMethodOptions
6562
- ): GaxiosPromise<Readable>;
6876
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6563
6877
  get(
6564
6878
  params?: Params$Resource$Organizations$Sources$Get,
6565
6879
  options?: MethodOptions
6566
- ): GaxiosPromise<Schema$Source>;
6880
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Source>>;
6567
6881
  get(
6568
6882
  params: Params$Resource$Organizations$Sources$Get,
6569
6883
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6592,7 +6906,10 @@ export namespace securitycenter_v1beta1 {
6592
6906
  callback?:
6593
6907
  | BodyResponseCallback<Schema$Source>
6594
6908
  | BodyResponseCallback<Readable>
6595
- ): void | GaxiosPromise<Schema$Source> | GaxiosPromise<Readable> {
6909
+ ):
6910
+ | void
6911
+ | Promise<GaxiosResponseWithHTTP2<Schema$Source>>
6912
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6596
6913
  let params = (paramsOrCallback ||
6597
6914
  {}) as Params$Resource$Organizations$Sources$Get;
6598
6915
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6645,11 +6962,11 @@ export namespace securitycenter_v1beta1 {
6645
6962
  getIamPolicy(
6646
6963
  params: Params$Resource$Organizations$Sources$Getiampolicy,
6647
6964
  options: StreamMethodOptions
6648
- ): GaxiosPromise<Readable>;
6965
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6649
6966
  getIamPolicy(
6650
6967
  params?: Params$Resource$Organizations$Sources$Getiampolicy,
6651
6968
  options?: MethodOptions
6652
- ): GaxiosPromise<Schema$Policy>;
6969
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
6653
6970
  getIamPolicy(
6654
6971
  params: Params$Resource$Organizations$Sources$Getiampolicy,
6655
6972
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6678,7 +6995,10 @@ export namespace securitycenter_v1beta1 {
6678
6995
  callback?:
6679
6996
  | BodyResponseCallback<Schema$Policy>
6680
6997
  | BodyResponseCallback<Readable>
6681
- ): void | GaxiosPromise<Schema$Policy> | GaxiosPromise<Readable> {
6998
+ ):
6999
+ | void
7000
+ | Promise<GaxiosResponseWithHTTP2<Schema$Policy>>
7001
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6682
7002
  let params = (paramsOrCallback ||
6683
7003
  {}) as Params$Resource$Organizations$Sources$Getiampolicy;
6684
7004
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6734,11 +7054,11 @@ export namespace securitycenter_v1beta1 {
6734
7054
  list(
6735
7055
  params: Params$Resource$Organizations$Sources$List,
6736
7056
  options: StreamMethodOptions
6737
- ): GaxiosPromise<Readable>;
7057
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6738
7058
  list(
6739
7059
  params?: Params$Resource$Organizations$Sources$List,
6740
7060
  options?: MethodOptions
6741
- ): GaxiosPromise<Schema$ListSourcesResponse>;
7061
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListSourcesResponse>>;
6742
7062
  list(
6743
7063
  params: Params$Resource$Organizations$Sources$List,
6744
7064
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6769,8 +7089,8 @@ export namespace securitycenter_v1beta1 {
6769
7089
  | BodyResponseCallback<Readable>
6770
7090
  ):
6771
7091
  | void
6772
- | GaxiosPromise<Schema$ListSourcesResponse>
6773
- | GaxiosPromise<Readable> {
7092
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListSourcesResponse>>
7093
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6774
7094
  let params = (paramsOrCallback ||
6775
7095
  {}) as Params$Resource$Organizations$Sources$List;
6776
7096
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6826,11 +7146,11 @@ export namespace securitycenter_v1beta1 {
6826
7146
  patch(
6827
7147
  params: Params$Resource$Organizations$Sources$Patch,
6828
7148
  options: StreamMethodOptions
6829
- ): GaxiosPromise<Readable>;
7149
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6830
7150
  patch(
6831
7151
  params?: Params$Resource$Organizations$Sources$Patch,
6832
7152
  options?: MethodOptions
6833
- ): GaxiosPromise<Schema$Source>;
7153
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Source>>;
6834
7154
  patch(
6835
7155
  params: Params$Resource$Organizations$Sources$Patch,
6836
7156
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6859,7 +7179,10 @@ export namespace securitycenter_v1beta1 {
6859
7179
  callback?:
6860
7180
  | BodyResponseCallback<Schema$Source>
6861
7181
  | BodyResponseCallback<Readable>
6862
- ): void | GaxiosPromise<Schema$Source> | GaxiosPromise<Readable> {
7182
+ ):
7183
+ | void
7184
+ | Promise<GaxiosResponseWithHTTP2<Schema$Source>>
7185
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6863
7186
  let params = (paramsOrCallback ||
6864
7187
  {}) as Params$Resource$Organizations$Sources$Patch;
6865
7188
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6912,11 +7235,11 @@ export namespace securitycenter_v1beta1 {
6912
7235
  setIamPolicy(
6913
7236
  params: Params$Resource$Organizations$Sources$Setiampolicy,
6914
7237
  options: StreamMethodOptions
6915
- ): GaxiosPromise<Readable>;
7238
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6916
7239
  setIamPolicy(
6917
7240
  params?: Params$Resource$Organizations$Sources$Setiampolicy,
6918
7241
  options?: MethodOptions
6919
- ): GaxiosPromise<Schema$Policy>;
7242
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
6920
7243
  setIamPolicy(
6921
7244
  params: Params$Resource$Organizations$Sources$Setiampolicy,
6922
7245
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6945,7 +7268,10 @@ export namespace securitycenter_v1beta1 {
6945
7268
  callback?:
6946
7269
  | BodyResponseCallback<Schema$Policy>
6947
7270
  | BodyResponseCallback<Readable>
6948
- ): void | GaxiosPromise<Schema$Policy> | GaxiosPromise<Readable> {
7271
+ ):
7272
+ | void
7273
+ | Promise<GaxiosResponseWithHTTP2<Schema$Policy>>
7274
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6949
7275
  let params = (paramsOrCallback ||
6950
7276
  {}) as Params$Resource$Organizations$Sources$Setiampolicy;
6951
7277
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7001,11 +7327,11 @@ export namespace securitycenter_v1beta1 {
7001
7327
  testIamPermissions(
7002
7328
  params: Params$Resource$Organizations$Sources$Testiampermissions,
7003
7329
  options: StreamMethodOptions
7004
- ): GaxiosPromise<Readable>;
7330
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7005
7331
  testIamPermissions(
7006
7332
  params?: Params$Resource$Organizations$Sources$Testiampermissions,
7007
7333
  options?: MethodOptions
7008
- ): GaxiosPromise<Schema$TestIamPermissionsResponse>;
7334
+ ): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
7009
7335
  testIamPermissions(
7010
7336
  params: Params$Resource$Organizations$Sources$Testiampermissions,
7011
7337
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7040,8 +7366,8 @@ export namespace securitycenter_v1beta1 {
7040
7366
  | BodyResponseCallback<Readable>
7041
7367
  ):
7042
7368
  | void
7043
- | GaxiosPromise<Schema$TestIamPermissionsResponse>
7044
- | GaxiosPromise<Readable> {
7369
+ | Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>
7370
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7045
7371
  let params = (paramsOrCallback ||
7046
7372
  {}) as Params$Resource$Organizations$Sources$Testiampermissions;
7047
7373
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7191,11 +7517,13 @@ export namespace securitycenter_v1beta1 {
7191
7517
  create(
7192
7518
  params: Params$Resource$Organizations$Sources$Findings$Create,
7193
7519
  options: StreamMethodOptions
7194
- ): GaxiosPromise<Readable>;
7520
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7195
7521
  create(
7196
7522
  params?: Params$Resource$Organizations$Sources$Findings$Create,
7197
7523
  options?: MethodOptions
7198
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1beta1Finding>;
7524
+ ): Promise<
7525
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1beta1Finding>
7526
+ >;
7199
7527
  create(
7200
7528
  params: Params$Resource$Organizations$Sources$Findings$Create,
7201
7529
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7230,8 +7558,10 @@ export namespace securitycenter_v1beta1 {
7230
7558
  | BodyResponseCallback<Readable>
7231
7559
  ):
7232
7560
  | void
7233
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1beta1Finding>
7234
- | GaxiosPromise<Readable> {
7561
+ | Promise<
7562
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1beta1Finding>
7563
+ >
7564
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7235
7565
  let params = (paramsOrCallback ||
7236
7566
  {}) as Params$Resource$Organizations$Sources$Findings$Create;
7237
7567
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7289,11 +7619,11 @@ export namespace securitycenter_v1beta1 {
7289
7619
  group(
7290
7620
  params: Params$Resource$Organizations$Sources$Findings$Group,
7291
7621
  options: StreamMethodOptions
7292
- ): GaxiosPromise<Readable>;
7622
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7293
7623
  group(
7294
7624
  params?: Params$Resource$Organizations$Sources$Findings$Group,
7295
7625
  options?: MethodOptions
7296
- ): GaxiosPromise<Schema$GroupFindingsResponse>;
7626
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GroupFindingsResponse>>;
7297
7627
  group(
7298
7628
  params: Params$Resource$Organizations$Sources$Findings$Group,
7299
7629
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7326,8 +7656,8 @@ export namespace securitycenter_v1beta1 {
7326
7656
  | BodyResponseCallback<Readable>
7327
7657
  ):
7328
7658
  | void
7329
- | GaxiosPromise<Schema$GroupFindingsResponse>
7330
- | GaxiosPromise<Readable> {
7659
+ | Promise<GaxiosResponseWithHTTP2<Schema$GroupFindingsResponse>>
7660
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7331
7661
  let params = (paramsOrCallback ||
7332
7662
  {}) as Params$Resource$Organizations$Sources$Findings$Group;
7333
7663
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7383,11 +7713,11 @@ export namespace securitycenter_v1beta1 {
7383
7713
  list(
7384
7714
  params: Params$Resource$Organizations$Sources$Findings$List,
7385
7715
  options: StreamMethodOptions
7386
- ): GaxiosPromise<Readable>;
7716
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7387
7717
  list(
7388
7718
  params?: Params$Resource$Organizations$Sources$Findings$List,
7389
7719
  options?: MethodOptions
7390
- ): GaxiosPromise<Schema$ListFindingsResponse>;
7720
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListFindingsResponse>>;
7391
7721
  list(
7392
7722
  params: Params$Resource$Organizations$Sources$Findings$List,
7393
7723
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7420,8 +7750,8 @@ export namespace securitycenter_v1beta1 {
7420
7750
  | BodyResponseCallback<Readable>
7421
7751
  ):
7422
7752
  | void
7423
- | GaxiosPromise<Schema$ListFindingsResponse>
7424
- | GaxiosPromise<Readable> {
7753
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListFindingsResponse>>
7754
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7425
7755
  let params = (paramsOrCallback ||
7426
7756
  {}) as Params$Resource$Organizations$Sources$Findings$List;
7427
7757
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7477,11 +7807,13 @@ export namespace securitycenter_v1beta1 {
7477
7807
  patch(
7478
7808
  params: Params$Resource$Organizations$Sources$Findings$Patch,
7479
7809
  options: StreamMethodOptions
7480
- ): GaxiosPromise<Readable>;
7810
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7481
7811
  patch(
7482
7812
  params?: Params$Resource$Organizations$Sources$Findings$Patch,
7483
7813
  options?: MethodOptions
7484
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1beta1Finding>;
7814
+ ): Promise<
7815
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1beta1Finding>
7816
+ >;
7485
7817
  patch(
7486
7818
  params: Params$Resource$Organizations$Sources$Findings$Patch,
7487
7819
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7516,8 +7848,10 @@ export namespace securitycenter_v1beta1 {
7516
7848
  | BodyResponseCallback<Readable>
7517
7849
  ):
7518
7850
  | void
7519
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1beta1Finding>
7520
- | GaxiosPromise<Readable> {
7851
+ | Promise<
7852
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1beta1Finding>
7853
+ >
7854
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7521
7855
  let params = (paramsOrCallback ||
7522
7856
  {}) as Params$Resource$Organizations$Sources$Findings$Patch;
7523
7857
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7572,11 +7906,13 @@ export namespace securitycenter_v1beta1 {
7572
7906
  setState(
7573
7907
  params: Params$Resource$Organizations$Sources$Findings$Setstate,
7574
7908
  options: StreamMethodOptions
7575
- ): GaxiosPromise<Readable>;
7909
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7576
7910
  setState(
7577
7911
  params?: Params$Resource$Organizations$Sources$Findings$Setstate,
7578
7912
  options?: MethodOptions
7579
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1beta1Finding>;
7913
+ ): Promise<
7914
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1beta1Finding>
7915
+ >;
7580
7916
  setState(
7581
7917
  params: Params$Resource$Organizations$Sources$Findings$Setstate,
7582
7918
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7611,8 +7947,10 @@ export namespace securitycenter_v1beta1 {
7611
7947
  | BodyResponseCallback<Readable>
7612
7948
  ):
7613
7949
  | void
7614
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1beta1Finding>
7615
- | GaxiosPromise<Readable> {
7950
+ | Promise<
7951
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1beta1Finding>
7952
+ >
7953
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7616
7954
  let params = (paramsOrCallback ||
7617
7955
  {}) as Params$Resource$Organizations$Sources$Findings$Setstate;
7618
7956
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7670,11 +8008,13 @@ export namespace securitycenter_v1beta1 {
7670
8008
  updateSecurityMarks(
7671
8009
  params: Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks,
7672
8010
  options: StreamMethodOptions
7673
- ): GaxiosPromise<Readable>;
8011
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7674
8012
  updateSecurityMarks(
7675
8013
  params?: Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks,
7676
8014
  options?: MethodOptions
7677
- ): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1beta1SecurityMarks>;
8015
+ ): Promise<
8016
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1beta1SecurityMarks>
8017
+ >;
7678
8018
  updateSecurityMarks(
7679
8019
  params: Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks,
7680
8020
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7709,8 +8049,10 @@ export namespace securitycenter_v1beta1 {
7709
8049
  | BodyResponseCallback<Readable>
7710
8050
  ):
7711
8051
  | void
7712
- | GaxiosPromise<Schema$GoogleCloudSecuritycenterV1beta1SecurityMarks>
7713
- | GaxiosPromise<Readable> {
8052
+ | Promise<
8053
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1beta1SecurityMarks>
8054
+ >
8055
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7714
8056
  let params = (paramsOrCallback ||
7715
8057
  {}) as Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks;
7716
8058
  let options = (optionsOrCallback || {}) as MethodOptions;