@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.
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosPromise, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
2
+ import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
3
3
  import { Readable } from 'stream';
4
4
  export declare namespace securitycenter_v1beta1 {
5
5
  export interface Options extends GlobalOptions {
@@ -162,6 +162,24 @@ export declare namespace securitycenter_v1beta1 {
162
162
  */
163
163
  confidence?: number | null;
164
164
  }
165
+ /**
166
+ * Details about resources affected by this finding.
167
+ */
168
+ export interface Schema$AffectedResources {
169
+ /**
170
+ * The count of resources affected by the finding.
171
+ */
172
+ count?: string | null;
173
+ }
174
+ /**
175
+ * Allowed IP rule.
176
+ */
177
+ export interface Schema$Allowed {
178
+ /**
179
+ * Optional. Optional list of allowed IP rules.
180
+ */
181
+ ipRules?: Schema$IpRule[];
182
+ }
165
183
  /**
166
184
  * Represents an application associated with a finding.
167
185
  */
@@ -495,6 +513,15 @@ export declare namespace securitycenter_v1beta1 {
495
513
  */
496
514
  export interface Schema$CancelOperationRequest {
497
515
  }
516
+ /**
517
+ * 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).
518
+ */
519
+ export interface Schema$Chokepoint {
520
+ /**
521
+ * 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.
522
+ */
523
+ relatedFindings?: string[] | null;
524
+ }
498
525
  /**
499
526
  * Fields related to Google Cloud Armor findings.
500
527
  */
@@ -596,43 +623,6 @@ export declare namespace securitycenter_v1beta1 {
596
623
  */
597
624
  version?: string | null;
598
625
  }
599
- /**
600
- * Result containing the properties and count of a ComplianceSnapshot request.
601
- */
602
- export interface Schema$ComplianceSnapshot {
603
- /**
604
- * The category of Findings matching.
605
- */
606
- category?: string | null;
607
- /**
608
- * The cloud provider for the compliance snapshot.
609
- */
610
- cloudProvider?: string | null;
611
- /**
612
- * The compliance standard (ie CIS).
613
- */
614
- complianceStandard?: string | null;
615
- /**
616
- * The compliance version (ie 1.3) in CIS 1.3.
617
- */
618
- complianceVersion?: string | null;
619
- /**
620
- * Total count of findings for the given properties.
621
- */
622
- count?: string | null;
623
- /**
624
- * The leaf container resource name that is closest to the snapshot.
625
- */
626
- leafContainerResource?: string | null;
627
- /**
628
- * The compliance snapshot name. Format: //sources//complianceSnapshots/
629
- */
630
- name?: string | null;
631
- /**
632
- * The snapshot time of the snapshot.
633
- */
634
- snapshotTime?: string | null;
635
- }
636
626
  /**
637
627
  * Contains information about the IP connection associated with the finding.
638
628
  */
@@ -787,6 +777,19 @@ export declare namespace securitycenter_v1beta1 {
787
777
  */
788
778
  userInteraction?: string | null;
789
779
  }
780
+ /**
781
+ * CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).
782
+ */
783
+ export interface Schema$Cwe {
784
+ /**
785
+ * The CWE identifier, e.g. CWE-94
786
+ */
787
+ id?: string | null;
788
+ /**
789
+ * Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
790
+ */
791
+ references?: Schema$Reference[];
792
+ }
790
793
  /**
791
794
  * Details about a data access attempt made by a principal not authorized under applicable data security policy.
792
795
  */
@@ -879,10 +882,19 @@ export declare namespace securitycenter_v1beta1 {
879
882
  */
880
883
  eventType?: string | null;
881
884
  /**
882
- * 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.
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 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.
883
886
  */
884
887
  maxRetentionAllowed?: string | null;
885
888
  }
889
+ /**
890
+ * Denied IP rule.
891
+ */
892
+ export interface Schema$Denied {
893
+ /**
894
+ * Optional. Optional list of denied IP rules.
895
+ */
896
+ ipRules?: Schema$IpRule[];
897
+ }
886
898
  /**
887
899
  * Memory hash detection contributing to the binary family match.
888
900
  */
@@ -901,7 +913,7 @@ export declare namespace securitycenter_v1beta1 {
901
913
  */
902
914
  export interface Schema$Disk {
903
915
  /**
904
- * The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-id/zones/zone-id/disks/disk-id".
916
+ * The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id\}/zones/{zone-id\}/disks/{disk-id\}".
905
917
  */
906
918
  name?: string | null;
907
919
  }
@@ -1041,6 +1053,10 @@ export declare namespace securitycenter_v1beta1 {
1041
1053
  * Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
1042
1054
  */
1043
1055
  access?: Schema$Access;
1056
+ /**
1057
+ * AffectedResources associated with the finding.
1058
+ */
1059
+ affectedResources?: Schema$AffectedResources;
1044
1060
  /**
1045
1061
  * Represents an application associated with the finding.
1046
1062
  */
@@ -1061,6 +1077,10 @@ export declare namespace securitycenter_v1beta1 {
1061
1077
  * The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
1062
1078
  */
1063
1079
  category?: string | null;
1080
+ /**
1081
+ * 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.
1082
+ */
1083
+ chokepoint?: Schema$Chokepoint;
1064
1084
  /**
1065
1085
  * Fields related to Cloud Armor findings.
1066
1086
  */
@@ -1157,6 +1177,14 @@ export declare namespace securitycenter_v1beta1 {
1157
1177
  * 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).
1158
1178
  */
1159
1179
  indicator?: Schema$Indicator;
1180
+ /**
1181
+ * IP rules associated with the finding.
1182
+ */
1183
+ ipRules?: Schema$IpRules;
1184
+ /**
1185
+ * Job associated with the finding.
1186
+ */
1187
+ job?: Schema$Job;
1160
1188
  /**
1161
1189
  * Signature of the kernel rootkit.
1162
1190
  */
@@ -1201,6 +1229,10 @@ export declare namespace securitycenter_v1beta1 {
1201
1229
  * 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\}".
1202
1230
  */
1203
1231
  name?: string | null;
1232
+ /**
1233
+ * Represents the VPC networks that the resource is attached to.
1234
+ */
1235
+ networks?: Schema$Network[];
1204
1236
  /**
1205
1237
  * Steps to address the finding.
1206
1238
  */
@@ -2079,6 +2111,24 @@ export declare namespace securitycenter_v1beta1 {
2079
2111
  */
2080
2112
  confidence?: number | null;
2081
2113
  }
2114
+ /**
2115
+ * Details about resources affected by this finding.
2116
+ */
2117
+ export interface Schema$GoogleCloudSecuritycenterV2AffectedResources {
2118
+ /**
2119
+ * The count of resources affected by the finding.
2120
+ */
2121
+ count?: string | null;
2122
+ }
2123
+ /**
2124
+ * Allowed IP rule.
2125
+ */
2126
+ export interface Schema$GoogleCloudSecuritycenterV2Allowed {
2127
+ /**
2128
+ * Optional. Optional list of allowed IP rules.
2129
+ */
2130
+ ipRules?: Schema$GoogleCloudSecuritycenterV2IpRule[];
2131
+ }
2082
2132
  /**
2083
2133
  * Represents an application associated with a finding.
2084
2134
  */
@@ -2383,6 +2433,15 @@ export declare namespace securitycenter_v1beta1 {
2383
2433
  */
2384
2434
  export interface Schema$GoogleCloudSecuritycenterV2BulkMuteFindingsResponse {
2385
2435
  }
2436
+ /**
2437
+ * 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).
2438
+ */
2439
+ export interface Schema$GoogleCloudSecuritycenterV2Chokepoint {
2440
+ /**
2441
+ * 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.
2442
+ */
2443
+ relatedFindings?: string[] | null;
2444
+ }
2386
2445
  /**
2387
2446
  * Fields related to Google Cloud Armor findings.
2388
2447
  */
@@ -2638,6 +2697,19 @@ export declare namespace securitycenter_v1beta1 {
2638
2697
  */
2639
2698
  userInteraction?: string | null;
2640
2699
  }
2700
+ /**
2701
+ * CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).
2702
+ */
2703
+ export interface Schema$GoogleCloudSecuritycenterV2Cwe {
2704
+ /**
2705
+ * The CWE identifier, e.g. CWE-94
2706
+ */
2707
+ id?: string | null;
2708
+ /**
2709
+ * Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
2710
+ */
2711
+ references?: Schema$GoogleCloudSecuritycenterV2Reference[];
2712
+ }
2641
2713
  /**
2642
2714
  * Details about a data access attempt made by a principal not authorized under applicable data security policy.
2643
2715
  */
@@ -2730,10 +2802,19 @@ export declare namespace securitycenter_v1beta1 {
2730
2802
  */
2731
2803
  eventType?: string | null;
2732
2804
  /**
2733
- * 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.
2805
+ * 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.
2734
2806
  */
2735
2807
  maxRetentionAllowed?: string | null;
2736
2808
  }
2809
+ /**
2810
+ * Denied IP rule.
2811
+ */
2812
+ export interface Schema$GoogleCloudSecuritycenterV2Denied {
2813
+ /**
2814
+ * Optional. Optional list of denied IP rules.
2815
+ */
2816
+ ipRules?: Schema$GoogleCloudSecuritycenterV2IpRule[];
2817
+ }
2737
2818
  /**
2738
2819
  * Memory hash detection contributing to the binary family match.
2739
2820
  */
@@ -2752,7 +2833,7 @@ export declare namespace securitycenter_v1beta1 {
2752
2833
  */
2753
2834
  export interface Schema$GoogleCloudSecuritycenterV2Disk {
2754
2835
  /**
2755
- * The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-id/zones/zone-id/disks/disk-id".
2836
+ * The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id\}/zones/{zone-id\}/disks/{disk-id\}".
2756
2837
  */
2757
2838
  name?: string | null;
2758
2839
  }
@@ -2915,6 +2996,10 @@ export declare namespace securitycenter_v1beta1 {
2915
2996
  * Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
2916
2997
  */
2917
2998
  access?: Schema$GoogleCloudSecuritycenterV2Access;
2999
+ /**
3000
+ * AffectedResources associated with the finding.
3001
+ */
3002
+ affectedResources?: Schema$GoogleCloudSecuritycenterV2AffectedResources;
2918
3003
  /**
2919
3004
  * Represents an application associated with the finding.
2920
3005
  */
@@ -2935,6 +3020,10 @@ export declare namespace securitycenter_v1beta1 {
2935
3020
  * Immutable. The additional taxonomy group within findings from a given source. Example: "XSS_FLASH_INJECTION"
2936
3021
  */
2937
3022
  category?: string | null;
3023
+ /**
3024
+ * 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.
3025
+ */
3026
+ chokepoint?: Schema$GoogleCloudSecuritycenterV2Chokepoint;
2938
3027
  /**
2939
3028
  * Fields related to Cloud Armor findings.
2940
3029
  */
@@ -3031,6 +3120,14 @@ export declare namespace securitycenter_v1beta1 {
3031
3120
  * 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).
3032
3121
  */
3033
3122
  indicator?: Schema$GoogleCloudSecuritycenterV2Indicator;
3123
+ /**
3124
+ * IP rules associated with the finding.
3125
+ */
3126
+ ipRules?: Schema$GoogleCloudSecuritycenterV2IpRules;
3127
+ /**
3128
+ * Job associated with the finding.
3129
+ */
3130
+ job?: Schema$GoogleCloudSecuritycenterV2Job;
3034
3131
  /**
3035
3132
  * Signature of the kernel rootkit.
3036
3133
  */
@@ -3075,6 +3172,10 @@ export declare namespace securitycenter_v1beta1 {
3075
3172
  * 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\}`
3076
3173
  */
3077
3174
  name?: string | null;
3175
+ /**
3176
+ * Represents the VPC networks that the resource is attached to.
3177
+ */
3178
+ networks?: Schema$GoogleCloudSecuritycenterV2Network[];
3078
3179
  /**
3079
3180
  * Steps to address the finding.
3080
3181
  */
@@ -3207,6 +3308,48 @@ export declare namespace securitycenter_v1beta1 {
3207
3308
  */
3208
3309
  uris?: string[] | null;
3209
3310
  }
3311
+ /**
3312
+ * IP rule information.
3313
+ */
3314
+ export interface Schema$GoogleCloudSecuritycenterV2IpRule {
3315
+ /**
3316
+ * 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.
3317
+ */
3318
+ portRanges?: Schema$GoogleCloudSecuritycenterV2PortRange[];
3319
+ /**
3320
+ * 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.
3321
+ */
3322
+ protocol?: string | null;
3323
+ }
3324
+ /**
3325
+ * IP rules associated with the finding.
3326
+ */
3327
+ export interface Schema$GoogleCloudSecuritycenterV2IpRules {
3328
+ /**
3329
+ * Tuple with allowed rules.
3330
+ */
3331
+ allowed?: Schema$GoogleCloudSecuritycenterV2Allowed;
3332
+ /**
3333
+ * Tuple with denied rules.
3334
+ */
3335
+ denied?: Schema$GoogleCloudSecuritycenterV2Denied;
3336
+ /**
3337
+ * 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.
3338
+ */
3339
+ destinationIpRanges?: string[] | null;
3340
+ /**
3341
+ * The direction that the rule is applicable to, one of ingress or egress.
3342
+ */
3343
+ direction?: string | null;
3344
+ /**
3345
+ * 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.
3346
+ */
3347
+ exposedServices?: string[] | null;
3348
+ /**
3349
+ * 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.
3350
+ */
3351
+ sourceIpRanges?: string[] | null;
3352
+ }
3210
3353
  /**
3211
3354
  * Security Command Center Issue.
3212
3355
  */
@@ -3470,6 +3613,27 @@ export declare namespace securitycenter_v1beta1 {
3470
3613
  */
3471
3614
  values?: string[] | null;
3472
3615
  }
3616
+ /**
3617
+ * Describes a job
3618
+ */
3619
+ export interface Schema$GoogleCloudSecuritycenterV2Job {
3620
+ /**
3621
+ * Optional. If the job did not complete successfully, this field describes why.
3622
+ */
3623
+ errorCode?: number | null;
3624
+ /**
3625
+ * Optional. Gives the location where the job ran, such as `US` or `europe-west1`
3626
+ */
3627
+ location?: string | null;
3628
+ /**
3629
+ * The fully-qualified name for a job. e.g. `projects//jobs/`
3630
+ */
3631
+ name?: string | null;
3632
+ /**
3633
+ * Output only. State of the job, such as `RUNNING` or `PENDING`.
3634
+ */
3635
+ state?: string | null;
3636
+ }
3473
3637
  /**
3474
3638
  * Kernel mode rootkit signatures.
3475
3639
  */
@@ -3663,6 +3827,15 @@ export declare namespace securitycenter_v1beta1 {
3663
3827
  */
3664
3828
  staticMute?: Schema$GoogleCloudSecuritycenterV2StaticMute;
3665
3829
  }
3830
+ /**
3831
+ * Contains information about a VPC network associated with the finding.
3832
+ */
3833
+ export interface Schema$GoogleCloudSecuritycenterV2Network {
3834
+ /**
3835
+ * The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.
3836
+ */
3837
+ name?: string | null;
3838
+ }
3666
3839
  /**
3667
3840
  * Kubernetes nodes associated with the finding.
3668
3841
  */
@@ -3753,7 +3926,7 @@ export declare namespace securitycenter_v1beta1 {
3753
3926
  */
3754
3927
  export interface Schema$GoogleCloudSecuritycenterV2OrgPolicy {
3755
3928
  /**
3756
- * The resource name of the org policy. Example: "organizations/{organization_id\}/policies/{constraint_name\}"
3929
+ * Identifier. The resource name of the org policy. Example: "organizations/{organization_id\}/policies/{constraint_name\}"
3757
3930
  */
3758
3931
  name?: string | null;
3759
3932
  }
@@ -3816,6 +3989,19 @@ export declare namespace securitycenter_v1beta1 {
3816
3989
  */
3817
3990
  field?: string | null;
3818
3991
  }
3992
+ /**
3993
+ * 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.
3994
+ */
3995
+ export interface Schema$GoogleCloudSecuritycenterV2PortRange {
3996
+ /**
3997
+ * Maximum port value.
3998
+ */
3999
+ max?: string | null;
4000
+ /**
4001
+ * Minimum port value.
4002
+ */
4003
+ min?: string | null;
4004
+ }
3819
4005
  /**
3820
4006
  * Represents an operating system process.
3821
4007
  */
@@ -4251,6 +4437,10 @@ export declare namespace securitycenter_v1beta1 {
4251
4437
  * CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
4252
4438
  */
4253
4439
  cve?: Schema$GoogleCloudSecuritycenterV2Cve;
4440
+ /**
4441
+ * Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
4442
+ */
4443
+ cwes?: Schema$GoogleCloudSecuritycenterV2Cwe[];
4254
4444
  /**
4255
4445
  * The fixed package is relevant to the finding.
4256
4446
  */
@@ -4259,6 +4449,14 @@ export declare namespace securitycenter_v1beta1 {
4259
4449
  * The offending package is relevant to the finding.
4260
4450
  */
4261
4451
  offendingPackage?: Schema$GoogleCloudSecuritycenterV2Package;
4452
+ /**
4453
+ * Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
4454
+ */
4455
+ providerRiskScore?: string | null;
4456
+ /**
4457
+ * Represents whether the vulnerability is reachable (detected via static analysis)
4458
+ */
4459
+ reachable?: boolean | null;
4262
4460
  /**
4263
4461
  * The security bulletin is relevant to this finding.
4264
4462
  */
@@ -4427,6 +4625,69 @@ export declare namespace securitycenter_v1beta1 {
4427
4625
  */
4428
4626
  uris?: string[] | null;
4429
4627
  }
4628
+ /**
4629
+ * IP rule information.
4630
+ */
4631
+ export interface Schema$IpRule {
4632
+ /**
4633
+ * 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.
4634
+ */
4635
+ portRanges?: Schema$PortRange[];
4636
+ /**
4637
+ * 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.
4638
+ */
4639
+ protocol?: string | null;
4640
+ }
4641
+ /**
4642
+ * IP rules associated with the finding.
4643
+ */
4644
+ export interface Schema$IpRules {
4645
+ /**
4646
+ * Tuple with allowed rules.
4647
+ */
4648
+ allowed?: Schema$Allowed;
4649
+ /**
4650
+ * Tuple with denied rules.
4651
+ */
4652
+ denied?: Schema$Denied;
4653
+ /**
4654
+ * 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.
4655
+ */
4656
+ destinationIpRanges?: string[] | null;
4657
+ /**
4658
+ * The direction that the rule is applicable to, one of ingress or egress.
4659
+ */
4660
+ direction?: string | null;
4661
+ /**
4662
+ * 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.
4663
+ */
4664
+ exposedServices?: string[] | null;
4665
+ /**
4666
+ * 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.
4667
+ */
4668
+ sourceIpRanges?: string[] | null;
4669
+ }
4670
+ /**
4671
+ * Describes a job
4672
+ */
4673
+ export interface Schema$Job {
4674
+ /**
4675
+ * Optional. If the job did not complete successfully, this field describes why.
4676
+ */
4677
+ errorCode?: number | null;
4678
+ /**
4679
+ * Optional. Gives the location where the job ran, such as `US` or `europe-west1`
4680
+ */
4681
+ location?: string | null;
4682
+ /**
4683
+ * The fully-qualified name for a job. e.g. `projects//jobs/`
4684
+ */
4685
+ name?: string | null;
4686
+ /**
4687
+ * Output only. State of the job, such as `RUNNING` or `PENDING`.
4688
+ */
4689
+ state?: string | null;
4690
+ }
4430
4691
  /**
4431
4692
  * Kernel mode rootkit signatures.
4432
4693
  */
@@ -4664,6 +4925,15 @@ export declare namespace securitycenter_v1beta1 {
4664
4925
  */
4665
4926
  staticMute?: Schema$StaticMute;
4666
4927
  }
4928
+ /**
4929
+ * Contains information about a VPC network associated with the finding.
4930
+ */
4931
+ export interface Schema$Network {
4932
+ /**
4933
+ * The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.
4934
+ */
4935
+ name?: string | null;
4936
+ }
4667
4937
  /**
4668
4938
  * Kubernetes nodes associated with the finding.
4669
4939
  */
@@ -4867,6 +5137,19 @@ export declare namespace securitycenter_v1beta1 {
4867
5137
  */
4868
5138
  field?: string | null;
4869
5139
  }
5140
+ /**
5141
+ * 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.
5142
+ */
5143
+ export interface Schema$PortRange {
5144
+ /**
5145
+ * Maximum port value.
5146
+ */
5147
+ max?: string | null;
5148
+ /**
5149
+ * Minimum port value.
5150
+ */
5151
+ min?: string | null;
5152
+ }
4870
5153
  /**
4871
5154
  * Represents an operating system process.
4872
5155
  */
@@ -5299,6 +5582,10 @@ export declare namespace securitycenter_v1beta1 {
5299
5582
  * CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
5300
5583
  */
5301
5584
  cve?: Schema$Cve;
5585
+ /**
5586
+ * Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
5587
+ */
5588
+ cwes?: Schema$Cwe[];
5302
5589
  /**
5303
5590
  * The fixed package is relevant to the finding.
5304
5591
  */
@@ -5307,6 +5594,14 @@ export declare namespace securitycenter_v1beta1 {
5307
5594
  * The offending package is relevant to the finding.
5308
5595
  */
5309
5596
  offendingPackage?: Schema$Package;
5597
+ /**
5598
+ * Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
5599
+ */
5600
+ providerRiskScore?: string | null;
5601
+ /**
5602
+ * Represents whether the vulnerability is reachable (detected via static analysis)
5603
+ */
5604
+ reachable?: boolean | null;
5310
5605
  /**
5311
5606
  * The security bulletin is relevant to this finding.
5312
5607
  */
@@ -5367,8 +5662,8 @@ export declare namespace securitycenter_v1beta1 {
5367
5662
  * @param callback - Optional callback that handles the response.
5368
5663
  * @returns A promise if used with async/await, or void if used with a callback.
5369
5664
  */
5370
- getOrganizationSettings(params: Params$Resource$Organizations$Getorganizationsettings, options: StreamMethodOptions): GaxiosPromise<Readable>;
5371
- getOrganizationSettings(params?: Params$Resource$Organizations$Getorganizationsettings, options?: MethodOptions): GaxiosPromise<Schema$OrganizationSettings>;
5665
+ getOrganizationSettings(params: Params$Resource$Organizations$Getorganizationsettings, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5666
+ getOrganizationSettings(params?: Params$Resource$Organizations$Getorganizationsettings, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$OrganizationSettings>>;
5372
5667
  getOrganizationSettings(params: Params$Resource$Organizations$Getorganizationsettings, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5373
5668
  getOrganizationSettings(params: Params$Resource$Organizations$Getorganizationsettings, options: MethodOptions | BodyResponseCallback<Schema$OrganizationSettings>, callback: BodyResponseCallback<Schema$OrganizationSettings>): void;
5374
5669
  getOrganizationSettings(params: Params$Resource$Organizations$Getorganizationsettings, callback: BodyResponseCallback<Schema$OrganizationSettings>): void;
@@ -5381,8 +5676,8 @@ export declare namespace securitycenter_v1beta1 {
5381
5676
  * @param callback - Optional callback that handles the response.
5382
5677
  * @returns A promise if used with async/await, or void if used with a callback.
5383
5678
  */
5384
- updateOrganizationSettings(params: Params$Resource$Organizations$Updateorganizationsettings, options: StreamMethodOptions): GaxiosPromise<Readable>;
5385
- updateOrganizationSettings(params?: Params$Resource$Organizations$Updateorganizationsettings, options?: MethodOptions): GaxiosPromise<Schema$OrganizationSettings>;
5679
+ updateOrganizationSettings(params: Params$Resource$Organizations$Updateorganizationsettings, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5680
+ updateOrganizationSettings(params?: Params$Resource$Organizations$Updateorganizationsettings, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$OrganizationSettings>>;
5386
5681
  updateOrganizationSettings(params: Params$Resource$Organizations$Updateorganizationsettings, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5387
5682
  updateOrganizationSettings(params: Params$Resource$Organizations$Updateorganizationsettings, options: MethodOptions | BodyResponseCallback<Schema$OrganizationSettings>, callback: BodyResponseCallback<Schema$OrganizationSettings>): void;
5388
5683
  updateOrganizationSettings(params: Params$Resource$Organizations$Updateorganizationsettings, callback: BodyResponseCallback<Schema$OrganizationSettings>): void;
@@ -5419,8 +5714,8 @@ export declare namespace securitycenter_v1beta1 {
5419
5714
  * @param callback - Optional callback that handles the response.
5420
5715
  * @returns A promise if used with async/await, or void if used with a callback.
5421
5716
  */
5422
- group(params: Params$Resource$Organizations$Assets$Group, options: StreamMethodOptions): GaxiosPromise<Readable>;
5423
- group(params?: Params$Resource$Organizations$Assets$Group, options?: MethodOptions): GaxiosPromise<Schema$GroupAssetsResponse>;
5717
+ group(params: Params$Resource$Organizations$Assets$Group, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5718
+ group(params?: Params$Resource$Organizations$Assets$Group, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GroupAssetsResponse>>;
5424
5719
  group(params: Params$Resource$Organizations$Assets$Group, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5425
5720
  group(params: Params$Resource$Organizations$Assets$Group, options: MethodOptions | BodyResponseCallback<Schema$GroupAssetsResponse>, callback: BodyResponseCallback<Schema$GroupAssetsResponse>): void;
5426
5721
  group(params: Params$Resource$Organizations$Assets$Group, callback: BodyResponseCallback<Schema$GroupAssetsResponse>): void;
@@ -5433,8 +5728,8 @@ export declare namespace securitycenter_v1beta1 {
5433
5728
  * @param callback - Optional callback that handles the response.
5434
5729
  * @returns A promise if used with async/await, or void if used with a callback.
5435
5730
  */
5436
- list(params: Params$Resource$Organizations$Assets$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5437
- list(params?: Params$Resource$Organizations$Assets$List, options?: MethodOptions): GaxiosPromise<Schema$ListAssetsResponse>;
5731
+ list(params: Params$Resource$Organizations$Assets$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5732
+ list(params?: Params$Resource$Organizations$Assets$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListAssetsResponse>>;
5438
5733
  list(params: Params$Resource$Organizations$Assets$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5439
5734
  list(params: Params$Resource$Organizations$Assets$List, options: MethodOptions | BodyResponseCallback<Schema$ListAssetsResponse>, callback: BodyResponseCallback<Schema$ListAssetsResponse>): void;
5440
5735
  list(params: Params$Resource$Organizations$Assets$List, callback: BodyResponseCallback<Schema$ListAssetsResponse>): void;
@@ -5447,8 +5742,8 @@ export declare namespace securitycenter_v1beta1 {
5447
5742
  * @param callback - Optional callback that handles the response.
5448
5743
  * @returns A promise if used with async/await, or void if used with a callback.
5449
5744
  */
5450
- runDiscovery(params: Params$Resource$Organizations$Assets$Rundiscovery, options: StreamMethodOptions): GaxiosPromise<Readable>;
5451
- runDiscovery(params?: Params$Resource$Organizations$Assets$Rundiscovery, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
5745
+ runDiscovery(params: Params$Resource$Organizations$Assets$Rundiscovery, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5746
+ runDiscovery(params?: Params$Resource$Organizations$Assets$Rundiscovery, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5452
5747
  runDiscovery(params: Params$Resource$Organizations$Assets$Rundiscovery, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5453
5748
  runDiscovery(params: Params$Resource$Organizations$Assets$Rundiscovery, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
5454
5749
  runDiscovery(params: Params$Resource$Organizations$Assets$Rundiscovery, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -5461,8 +5756,8 @@ export declare namespace securitycenter_v1beta1 {
5461
5756
  * @param callback - Optional callback that handles the response.
5462
5757
  * @returns A promise if used with async/await, or void if used with a callback.
5463
5758
  */
5464
- updateSecurityMarks(params: Params$Resource$Organizations$Assets$Updatesecuritymarks, options: StreamMethodOptions): GaxiosPromise<Readable>;
5465
- updateSecurityMarks(params?: Params$Resource$Organizations$Assets$Updatesecuritymarks, options?: MethodOptions): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1beta1SecurityMarks>;
5759
+ updateSecurityMarks(params: Params$Resource$Organizations$Assets$Updatesecuritymarks, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5760
+ updateSecurityMarks(params?: Params$Resource$Organizations$Assets$Updatesecuritymarks, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1beta1SecurityMarks>>;
5466
5761
  updateSecurityMarks(params: Params$Resource$Organizations$Assets$Updatesecuritymarks, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5467
5762
  updateSecurityMarks(params: Params$Resource$Organizations$Assets$Updatesecuritymarks, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1beta1SecurityMarks>, callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1beta1SecurityMarks>): void;
5468
5763
  updateSecurityMarks(params: Params$Resource$Organizations$Assets$Updatesecuritymarks, callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1beta1SecurityMarks>): void;
@@ -5551,8 +5846,8 @@ export declare namespace securitycenter_v1beta1 {
5551
5846
  * @param callback - Optional callback that handles the response.
5552
5847
  * @returns A promise if used with async/await, or void if used with a callback.
5553
5848
  */
5554
- cancel(params: Params$Resource$Organizations$Operations$Cancel, options: StreamMethodOptions): GaxiosPromise<Readable>;
5555
- cancel(params?: Params$Resource$Organizations$Operations$Cancel, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
5849
+ cancel(params: Params$Resource$Organizations$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5850
+ cancel(params?: Params$Resource$Organizations$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
5556
5851
  cancel(params: Params$Resource$Organizations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5557
5852
  cancel(params: Params$Resource$Organizations$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
5558
5853
  cancel(params: Params$Resource$Organizations$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -5565,8 +5860,8 @@ export declare namespace securitycenter_v1beta1 {
5565
5860
  * @param callback - Optional callback that handles the response.
5566
5861
  * @returns A promise if used with async/await, or void if used with a callback.
5567
5862
  */
5568
- delete(params: Params$Resource$Organizations$Operations$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
5569
- delete(params?: Params$Resource$Organizations$Operations$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
5863
+ delete(params: Params$Resource$Organizations$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5864
+ delete(params?: Params$Resource$Organizations$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
5570
5865
  delete(params: Params$Resource$Organizations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5571
5866
  delete(params: Params$Resource$Organizations$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
5572
5867
  delete(params: Params$Resource$Organizations$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -5579,8 +5874,8 @@ export declare namespace securitycenter_v1beta1 {
5579
5874
  * @param callback - Optional callback that handles the response.
5580
5875
  * @returns A promise if used with async/await, or void if used with a callback.
5581
5876
  */
5582
- get(params: Params$Resource$Organizations$Operations$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
5583
- get(params?: Params$Resource$Organizations$Operations$Get, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
5877
+ get(params: Params$Resource$Organizations$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5878
+ get(params?: Params$Resource$Organizations$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5584
5879
  get(params: Params$Resource$Organizations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5585
5880
  get(params: Params$Resource$Organizations$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
5586
5881
  get(params: Params$Resource$Organizations$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -5593,8 +5888,8 @@ export declare namespace securitycenter_v1beta1 {
5593
5888
  * @param callback - Optional callback that handles the response.
5594
5889
  * @returns A promise if used with async/await, or void if used with a callback.
5595
5890
  */
5596
- list(params: Params$Resource$Organizations$Operations$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5597
- list(params?: Params$Resource$Organizations$Operations$List, options?: MethodOptions): GaxiosPromise<Schema$ListOperationsResponse>;
5891
+ list(params: Params$Resource$Organizations$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5892
+ list(params?: Params$Resource$Organizations$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
5598
5893
  list(params: Params$Resource$Organizations$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5599
5894
  list(params: Params$Resource$Organizations$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
5600
5895
  list(params: Params$Resource$Organizations$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
@@ -5652,8 +5947,8 @@ export declare namespace securitycenter_v1beta1 {
5652
5947
  * @param callback - Optional callback that handles the response.
5653
5948
  * @returns A promise if used with async/await, or void if used with a callback.
5654
5949
  */
5655
- create(params: Params$Resource$Organizations$Sources$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
5656
- create(params?: Params$Resource$Organizations$Sources$Create, options?: MethodOptions): GaxiosPromise<Schema$Source>;
5950
+ create(params: Params$Resource$Organizations$Sources$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5951
+ create(params?: Params$Resource$Organizations$Sources$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Source>>;
5657
5952
  create(params: Params$Resource$Organizations$Sources$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5658
5953
  create(params: Params$Resource$Organizations$Sources$Create, options: MethodOptions | BodyResponseCallback<Schema$Source>, callback: BodyResponseCallback<Schema$Source>): void;
5659
5954
  create(params: Params$Resource$Organizations$Sources$Create, callback: BodyResponseCallback<Schema$Source>): void;
@@ -5666,8 +5961,8 @@ export declare namespace securitycenter_v1beta1 {
5666
5961
  * @param callback - Optional callback that handles the response.
5667
5962
  * @returns A promise if used with async/await, or void if used with a callback.
5668
5963
  */
5669
- get(params: Params$Resource$Organizations$Sources$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
5670
- get(params?: Params$Resource$Organizations$Sources$Get, options?: MethodOptions): GaxiosPromise<Schema$Source>;
5964
+ get(params: Params$Resource$Organizations$Sources$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5965
+ get(params?: Params$Resource$Organizations$Sources$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Source>>;
5671
5966
  get(params: Params$Resource$Organizations$Sources$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5672
5967
  get(params: Params$Resource$Organizations$Sources$Get, options: MethodOptions | BodyResponseCallback<Schema$Source>, callback: BodyResponseCallback<Schema$Source>): void;
5673
5968
  get(params: Params$Resource$Organizations$Sources$Get, callback: BodyResponseCallback<Schema$Source>): void;
@@ -5680,8 +5975,8 @@ export declare namespace securitycenter_v1beta1 {
5680
5975
  * @param callback - Optional callback that handles the response.
5681
5976
  * @returns A promise if used with async/await, or void if used with a callback.
5682
5977
  */
5683
- getIamPolicy(params: Params$Resource$Organizations$Sources$Getiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
5684
- getIamPolicy(params?: Params$Resource$Organizations$Sources$Getiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
5978
+ getIamPolicy(params: Params$Resource$Organizations$Sources$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5979
+ getIamPolicy(params?: Params$Resource$Organizations$Sources$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
5685
5980
  getIamPolicy(params: Params$Resource$Organizations$Sources$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5686
5981
  getIamPolicy(params: Params$Resource$Organizations$Sources$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
5687
5982
  getIamPolicy(params: Params$Resource$Organizations$Sources$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
@@ -5694,8 +5989,8 @@ export declare namespace securitycenter_v1beta1 {
5694
5989
  * @param callback - Optional callback that handles the response.
5695
5990
  * @returns A promise if used with async/await, or void if used with a callback.
5696
5991
  */
5697
- list(params: Params$Resource$Organizations$Sources$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5698
- list(params?: Params$Resource$Organizations$Sources$List, options?: MethodOptions): GaxiosPromise<Schema$ListSourcesResponse>;
5992
+ list(params: Params$Resource$Organizations$Sources$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5993
+ list(params?: Params$Resource$Organizations$Sources$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListSourcesResponse>>;
5699
5994
  list(params: Params$Resource$Organizations$Sources$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5700
5995
  list(params: Params$Resource$Organizations$Sources$List, options: MethodOptions | BodyResponseCallback<Schema$ListSourcesResponse>, callback: BodyResponseCallback<Schema$ListSourcesResponse>): void;
5701
5996
  list(params: Params$Resource$Organizations$Sources$List, callback: BodyResponseCallback<Schema$ListSourcesResponse>): void;
@@ -5708,8 +6003,8 @@ export declare namespace securitycenter_v1beta1 {
5708
6003
  * @param callback - Optional callback that handles the response.
5709
6004
  * @returns A promise if used with async/await, or void if used with a callback.
5710
6005
  */
5711
- patch(params: Params$Resource$Organizations$Sources$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
5712
- patch(params?: Params$Resource$Organizations$Sources$Patch, options?: MethodOptions): GaxiosPromise<Schema$Source>;
6006
+ patch(params: Params$Resource$Organizations$Sources$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6007
+ patch(params?: Params$Resource$Organizations$Sources$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Source>>;
5713
6008
  patch(params: Params$Resource$Organizations$Sources$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5714
6009
  patch(params: Params$Resource$Organizations$Sources$Patch, options: MethodOptions | BodyResponseCallback<Schema$Source>, callback: BodyResponseCallback<Schema$Source>): void;
5715
6010
  patch(params: Params$Resource$Organizations$Sources$Patch, callback: BodyResponseCallback<Schema$Source>): void;
@@ -5722,8 +6017,8 @@ export declare namespace securitycenter_v1beta1 {
5722
6017
  * @param callback - Optional callback that handles the response.
5723
6018
  * @returns A promise if used with async/await, or void if used with a callback.
5724
6019
  */
5725
- setIamPolicy(params: Params$Resource$Organizations$Sources$Setiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
5726
- setIamPolicy(params?: Params$Resource$Organizations$Sources$Setiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
6020
+ setIamPolicy(params: Params$Resource$Organizations$Sources$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6021
+ setIamPolicy(params?: Params$Resource$Organizations$Sources$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
5727
6022
  setIamPolicy(params: Params$Resource$Organizations$Sources$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5728
6023
  setIamPolicy(params: Params$Resource$Organizations$Sources$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
5729
6024
  setIamPolicy(params: Params$Resource$Organizations$Sources$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
@@ -5736,8 +6031,8 @@ export declare namespace securitycenter_v1beta1 {
5736
6031
  * @param callback - Optional callback that handles the response.
5737
6032
  * @returns A promise if used with async/await, or void if used with a callback.
5738
6033
  */
5739
- testIamPermissions(params: Params$Resource$Organizations$Sources$Testiampermissions, options: StreamMethodOptions): GaxiosPromise<Readable>;
5740
- testIamPermissions(params?: Params$Resource$Organizations$Sources$Testiampermissions, options?: MethodOptions): GaxiosPromise<Schema$TestIamPermissionsResponse>;
6034
+ testIamPermissions(params: Params$Resource$Organizations$Sources$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6035
+ testIamPermissions(params?: Params$Resource$Organizations$Sources$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
5741
6036
  testIamPermissions(params: Params$Resource$Organizations$Sources$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5742
6037
  testIamPermissions(params: Params$Resource$Organizations$Sources$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
5743
6038
  testIamPermissions(params: Params$Resource$Organizations$Sources$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
@@ -5828,8 +6123,8 @@ export declare namespace securitycenter_v1beta1 {
5828
6123
  * @param callback - Optional callback that handles the response.
5829
6124
  * @returns A promise if used with async/await, or void if used with a callback.
5830
6125
  */
5831
- create(params: Params$Resource$Organizations$Sources$Findings$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
5832
- create(params?: Params$Resource$Organizations$Sources$Findings$Create, options?: MethodOptions): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1beta1Finding>;
6126
+ create(params: Params$Resource$Organizations$Sources$Findings$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6127
+ create(params?: Params$Resource$Organizations$Sources$Findings$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1beta1Finding>>;
5833
6128
  create(params: Params$Resource$Organizations$Sources$Findings$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5834
6129
  create(params: Params$Resource$Organizations$Sources$Findings$Create, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1beta1Finding>, callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1beta1Finding>): void;
5835
6130
  create(params: Params$Resource$Organizations$Sources$Findings$Create, callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1beta1Finding>): void;
@@ -5842,8 +6137,8 @@ export declare namespace securitycenter_v1beta1 {
5842
6137
  * @param callback - Optional callback that handles the response.
5843
6138
  * @returns A promise if used with async/await, or void if used with a callback.
5844
6139
  */
5845
- group(params: Params$Resource$Organizations$Sources$Findings$Group, options: StreamMethodOptions): GaxiosPromise<Readable>;
5846
- group(params?: Params$Resource$Organizations$Sources$Findings$Group, options?: MethodOptions): GaxiosPromise<Schema$GroupFindingsResponse>;
6140
+ group(params: Params$Resource$Organizations$Sources$Findings$Group, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6141
+ group(params?: Params$Resource$Organizations$Sources$Findings$Group, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GroupFindingsResponse>>;
5847
6142
  group(params: Params$Resource$Organizations$Sources$Findings$Group, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5848
6143
  group(params: Params$Resource$Organizations$Sources$Findings$Group, options: MethodOptions | BodyResponseCallback<Schema$GroupFindingsResponse>, callback: BodyResponseCallback<Schema$GroupFindingsResponse>): void;
5849
6144
  group(params: Params$Resource$Organizations$Sources$Findings$Group, callback: BodyResponseCallback<Schema$GroupFindingsResponse>): void;
@@ -5856,8 +6151,8 @@ export declare namespace securitycenter_v1beta1 {
5856
6151
  * @param callback - Optional callback that handles the response.
5857
6152
  * @returns A promise if used with async/await, or void if used with a callback.
5858
6153
  */
5859
- list(params: Params$Resource$Organizations$Sources$Findings$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5860
- list(params?: Params$Resource$Organizations$Sources$Findings$List, options?: MethodOptions): GaxiosPromise<Schema$ListFindingsResponse>;
6154
+ list(params: Params$Resource$Organizations$Sources$Findings$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6155
+ list(params?: Params$Resource$Organizations$Sources$Findings$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListFindingsResponse>>;
5861
6156
  list(params: Params$Resource$Organizations$Sources$Findings$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5862
6157
  list(params: Params$Resource$Organizations$Sources$Findings$List, options: MethodOptions | BodyResponseCallback<Schema$ListFindingsResponse>, callback: BodyResponseCallback<Schema$ListFindingsResponse>): void;
5863
6158
  list(params: Params$Resource$Organizations$Sources$Findings$List, callback: BodyResponseCallback<Schema$ListFindingsResponse>): void;
@@ -5870,8 +6165,8 @@ export declare namespace securitycenter_v1beta1 {
5870
6165
  * @param callback - Optional callback that handles the response.
5871
6166
  * @returns A promise if used with async/await, or void if used with a callback.
5872
6167
  */
5873
- patch(params: Params$Resource$Organizations$Sources$Findings$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
5874
- patch(params?: Params$Resource$Organizations$Sources$Findings$Patch, options?: MethodOptions): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1beta1Finding>;
6168
+ patch(params: Params$Resource$Organizations$Sources$Findings$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6169
+ patch(params?: Params$Resource$Organizations$Sources$Findings$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1beta1Finding>>;
5875
6170
  patch(params: Params$Resource$Organizations$Sources$Findings$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5876
6171
  patch(params: Params$Resource$Organizations$Sources$Findings$Patch, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1beta1Finding>, callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1beta1Finding>): void;
5877
6172
  patch(params: Params$Resource$Organizations$Sources$Findings$Patch, callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1beta1Finding>): void;
@@ -5884,8 +6179,8 @@ export declare namespace securitycenter_v1beta1 {
5884
6179
  * @param callback - Optional callback that handles the response.
5885
6180
  * @returns A promise if used with async/await, or void if used with a callback.
5886
6181
  */
5887
- setState(params: Params$Resource$Organizations$Sources$Findings$Setstate, options: StreamMethodOptions): GaxiosPromise<Readable>;
5888
- setState(params?: Params$Resource$Organizations$Sources$Findings$Setstate, options?: MethodOptions): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1beta1Finding>;
6182
+ setState(params: Params$Resource$Organizations$Sources$Findings$Setstate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6183
+ setState(params?: Params$Resource$Organizations$Sources$Findings$Setstate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1beta1Finding>>;
5889
6184
  setState(params: Params$Resource$Organizations$Sources$Findings$Setstate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5890
6185
  setState(params: Params$Resource$Organizations$Sources$Findings$Setstate, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1beta1Finding>, callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1beta1Finding>): void;
5891
6186
  setState(params: Params$Resource$Organizations$Sources$Findings$Setstate, callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1beta1Finding>): void;
@@ -5898,8 +6193,8 @@ export declare namespace securitycenter_v1beta1 {
5898
6193
  * @param callback - Optional callback that handles the response.
5899
6194
  * @returns A promise if used with async/await, or void if used with a callback.
5900
6195
  */
5901
- updateSecurityMarks(params: Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks, options: StreamMethodOptions): GaxiosPromise<Readable>;
5902
- updateSecurityMarks(params?: Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks, options?: MethodOptions): GaxiosPromise<Schema$GoogleCloudSecuritycenterV1beta1SecurityMarks>;
6196
+ updateSecurityMarks(params: Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6197
+ updateSecurityMarks(params?: Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudSecuritycenterV1beta1SecurityMarks>>;
5903
6198
  updateSecurityMarks(params: Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5904
6199
  updateSecurityMarks(params: Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1beta1SecurityMarks>, callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1beta1SecurityMarks>): void;
5905
6200
  updateSecurityMarks(params: Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks, callback: BodyResponseCallback<Schema$GoogleCloudSecuritycenterV1beta1SecurityMarks>): void;