@googleapis/securitycenter 3.0.0 → 3.1.0

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/build/v1.d.ts CHANGED
@@ -155,6 +155,19 @@ export declare namespace securitycenter_v1 {
155
155
  */
156
156
  version?: string | null;
157
157
  }
158
+ /**
159
+ * Represents an application associated with a finding.
160
+ */
161
+ export interface Schema$Application {
162
+ /**
163
+ * The base URI that identifies the network location of the application in which the vulnerability was detected. Examples: http://11.22.33.44, http://foo.com, http://11.22.33.44:8080
164
+ */
165
+ baseUri?: string | null;
166
+ /**
167
+ * The full URI with payload that can be used to reproduce the vulnerability. Example: http://11.22.33.44/reflected/parameter/attribute/singlequoted/js?p=aMmYgI6H
168
+ */
169
+ fullUri?: string | null;
170
+ }
158
171
  /**
159
172
  * Security Command Center representation of a Google Cloud resource. The Asset is a Security Command Center resource that captures information about a single Google Cloud resource. All modifications to an Asset are only within the context of Security Command Center and don't affect the referenced Google Cloud resource.
160
173
  */
@@ -356,6 +369,51 @@ export declare namespace securitycenter_v1 {
356
369
  */
357
370
  logType?: string | null;
358
371
  }
372
+ /**
373
+ * Information related to Google Cloud Backup and DR Service findings.
374
+ */
375
+ export interface Schema$BackupDisasterRecovery {
376
+ /**
377
+ * The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, “backup-server-57137”.
378
+ */
379
+ appliance?: string | null;
380
+ /**
381
+ * The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, “centos7-01-vol00”, “centos7-01-vol01”, “centos7-01-vol02”.
382
+ */
383
+ applications?: string[] | null;
384
+ /**
385
+ * The timestamp at which the Backup and DR backup was created.
386
+ */
387
+ backupCreateTime?: string | null;
388
+ /**
389
+ * The name of a Backup and DR template which comprises one or more backup policies. See the [Backup and DR documentation](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#temp) for more information. For example, “snap-ov”.
390
+ */
391
+ backupTemplate?: string | null;
392
+ /**
393
+ * The backup type of the Backup and DR image. For example, “Snapshot”, “Remote Snapshot”, “OnVault”.
394
+ */
395
+ backupType?: string | null;
396
+ /**
397
+ * The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the [Backup and DR documentation on hosts](https://cloud.google.com/backup-disaster-recovery/docs/configuration/manage-hosts-and-their-applications) for more information. For example, “centos7-01”.
398
+ */
399
+ host?: string | null;
400
+ /**
401
+ * The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, “onvaults”.
402
+ */
403
+ policies?: string[] | null;
404
+ /**
405
+ * The names of Backup and DR advanced policy options of a policy applying to an application. See the [Backup and DR documentation on policy options](https://cloud.google.com/backup-disaster-recovery/docs/create-plan/policy-settings). For example, “skipofflineappsincongrp, nounmap”.
406
+ */
407
+ policyOptions?: string[] | null;
408
+ /**
409
+ * The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the [Backup and DR documentation on profiles](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#profile). For example, “GCP”.
410
+ */
411
+ profile?: string | null;
412
+ /**
413
+ * The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the [Backup and DR documentation on storage pools](https://cloud.google.com/backup-disaster-recovery/docs/concepts/storage-pools). For example, “DiskPoolOne”.
414
+ */
415
+ storagePool?: string | null;
416
+ }
359
417
  /**
360
418
  * Request message to create multiple resource value configs
361
419
  */
@@ -383,7 +441,7 @@ export declare namespace securitycenter_v1 {
383
441
  */
384
442
  condition?: Schema$Expr;
385
443
  /**
386
- * Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid\}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid\}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid\}.svc.id.goog[{namespace\}/{kubernetes-sa\}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid\}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain\}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid\}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid\}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid\}` and the recovered group retains the role in the binding.
444
+ * Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid\}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid\}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid\}.svc.id.goog[{namespace\}/{kubernetes-sa\}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid\}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain\}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/group/{group_id\}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/x`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/group/{group_id\}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/x`: All identities in a workload identity pool. * `deleted:user:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid\}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid\}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid\}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
387
445
  */
388
446
  members?: string[] | null;
389
447
  /**
@@ -688,6 +746,50 @@ export declare namespace securitycenter_v1 {
688
746
  */
689
747
  percentPagesMatched?: number | null;
690
748
  }
749
+ /**
750
+ * Path of the file in terms of underlying disk/partition identifiers.
751
+ */
752
+ export interface Schema$DiskPath {
753
+ /**
754
+ * UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
755
+ */
756
+ partitionUuid?: string | null;
757
+ /**
758
+ * Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
759
+ */
760
+ relativePath?: string | null;
761
+ }
762
+ /**
763
+ * An EffectiveEventThreatDetectionCustomModule is the representation of an Event Threat Detection custom module at a specified level of the resource hierarchy: organization, folder, or project. If a custom module is inherited from a parent organization or folder, the value of the `enablement_state` property in EffectiveEventThreatDetectionCustomModule is set to the value that is effective in the parent, instead of `INHERITED`. For example, if the module is enabled in a parent organization or folder, the effective `enablement_state` for the module in all child folders or projects is also `enabled`. EffectiveEventThreatDetectionCustomModule is read-only.
764
+ */
765
+ export interface Schema$EffectiveEventThreatDetectionCustomModule {
766
+ /**
767
+ * Output only. Config for the effective module.
768
+ */
769
+ config?: {
770
+ [key: string]: any;
771
+ } | null;
772
+ /**
773
+ * Output only. The description for the module.
774
+ */
775
+ description?: string | null;
776
+ /**
777
+ * Output only. The human readable name to be displayed for the module.
778
+ */
779
+ displayName?: string | null;
780
+ /**
781
+ * Output only. The effective state of enablement for the module at the given level of the hierarchy.
782
+ */
783
+ enablementState?: string | null;
784
+ /**
785
+ * Output only. The resource name of the effective ETD custom module. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}". * "folders/{folder\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}". * "projects/{project\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}".
786
+ */
787
+ name?: string | null;
788
+ /**
789
+ * Output only. Type for the module. e.g. CONFIGURABLE_BAD_IP.
790
+ */
791
+ type?: string | null;
792
+ }
691
793
  /**
692
794
  * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
693
795
  */
@@ -707,9 +809,13 @@ export declare namespace securitycenter_v1 {
707
809
  val?: string | null;
708
810
  }
709
811
  /**
710
- * Represents an instance of an Event Threat Detection custom module, including its full module name, display name, enablement state, and last updated time. You can create a custom module at the organization level only.
812
+ * Represents an instance of an Event Threat Detection custom module, including its full module name, display name, enablement state, and last updated time. You can create a custom module at the organization, folder, or project level. Custom modules that you create at the organization or folder level are inherited by child folders and projects.
711
813
  */
712
814
  export interface Schema$EventThreatDetectionCustomModule {
815
+ /**
816
+ * Output only. The closest ancestor module that this module inherits the enablement state from. The format is the same as the EventThreatDetectionCustomModule resource name.
817
+ */
818
+ ancestorModule?: string | null;
713
819
  /**
714
820
  * Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config value is inherited from the ancestor module.
715
821
  */
@@ -804,6 +910,10 @@ export declare namespace securitycenter_v1 {
804
910
  * Prefix of the file contents as a JSON-encoded string.
805
911
  */
806
912
  contents?: string | null;
913
+ /**
914
+ * Path of the file in terms of underlying disk/partition identifiers.
915
+ */
916
+ diskPath?: Schema$DiskPath;
807
917
  /**
808
918
  * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
809
919
  */
@@ -833,10 +943,18 @@ export declare namespace securitycenter_v1 {
833
943
  * Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
834
944
  */
835
945
  access?: Schema$Access;
946
+ /**
947
+ * Represents an application associated with the finding.
948
+ */
949
+ application?: Schema$Application;
836
950
  /**
837
951
  * The results of an attack path simulation relevant to this finding.
838
952
  */
839
953
  attackExposure?: Schema$AttackExposure;
954
+ /**
955
+ * Fields related to Backup and DR findings.
956
+ */
957
+ backupDisasterRecovery?: Schema$BackupDisasterRecovery;
840
958
  /**
841
959
  * The canonical name of the finding. It's either "organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}", "folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}" or "projects/{project_number\}/sources/{source_id\}/findings/{finding_id\}", depending on the closest CRM ancestor of the resource associated with the finding.
842
960
  */
@@ -1861,6 +1979,19 @@ export declare namespace securitycenter_v1 {
1861
1979
  */
1862
1980
  nextPageToken?: string | null;
1863
1981
  }
1982
+ /**
1983
+ * Response for listing current and descendant resident Event Threat Detection custom modules.
1984
+ */
1985
+ export interface Schema$ListDescendantEventThreatDetectionCustomModulesResponse {
1986
+ /**
1987
+ * Custom modules belonging to the requested parent.
1988
+ */
1989
+ eventThreatDetectionCustomModules?: Schema$EventThreatDetectionCustomModule[];
1990
+ /**
1991
+ * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
1992
+ */
1993
+ nextPageToken?: string | null;
1994
+ }
1864
1995
  /**
1865
1996
  * Response message for listing descendant Security Health Analytics custom modules.
1866
1997
  */
@@ -1874,6 +2005,19 @@ export declare namespace securitycenter_v1 {
1874
2005
  */
1875
2006
  securityHealthAnalyticsCustomModules?: Schema$GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule[];
1876
2007
  }
2008
+ /**
2009
+ * Response for listing EffectiveEventThreatDetectionCustomModules.
2010
+ */
2011
+ export interface Schema$ListEffectiveEventThreatDetectionCustomModulesResponse {
2012
+ /**
2013
+ * Effective custom modules belonging to the requested parent.
2014
+ */
2015
+ effectiveEventThreatDetectionCustomModules?: Schema$EffectiveEventThreatDetectionCustomModule[];
2016
+ /**
2017
+ * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
2018
+ */
2019
+ nextPageToken?: string | null;
2020
+ }
1877
2021
  /**
1878
2022
  * Response message for listing effective Security Health Analytics custom modules.
1879
2023
  */
@@ -2149,7 +2293,7 @@ export declare namespace securitycenter_v1 {
2149
2293
  */
2150
2294
  group?: string | null;
2151
2295
  /**
2152
- * Kubernetes object kind, such as “Namespace”.
2296
+ * Kubernetes object kind, such as "Namespace".
2153
2297
  */
2154
2298
  kind?: string | null;
2155
2299
  /**
@@ -2216,6 +2360,27 @@ export declare namespace securitycenter_v1 {
2216
2360
  */
2217
2361
  name?: string | null;
2218
2362
  }
2363
+ /**
2364
+ * Package is a generic definition of a package.
2365
+ */
2366
+ export interface Schema$Package {
2367
+ /**
2368
+ * The CPE URI where the vulnerability was detected.
2369
+ */
2370
+ cpeUri?: string | null;
2371
+ /**
2372
+ * The name of the package where the vulnerability was detected.
2373
+ */
2374
+ packageName?: string | null;
2375
+ /**
2376
+ * Type of package, for example, os, maven, or go.
2377
+ */
2378
+ packageType?: string | null;
2379
+ /**
2380
+ * The version of the package.
2381
+ */
2382
+ packageVersion?: string | null;
2383
+ }
2219
2384
  /**
2220
2385
  * A finding that is associated with this node in the attack path.
2221
2386
  */
@@ -2335,6 +2500,10 @@ export declare namespace securitycenter_v1 {
2335
2500
  * Signature indicating that a binary family was matched.
2336
2501
  */
2337
2502
  memoryHashSignature?: Schema$MemoryHashSignature;
2503
+ /**
2504
+ * Describes the type of resource associated with the signature.
2505
+ */
2506
+ signatureType?: string | null;
2338
2507
  /**
2339
2508
  * Signature indicating that a YARA rule was matched.
2340
2509
  */
@@ -2421,6 +2590,23 @@ export declare namespace securitycenter_v1 {
2421
2590
  */
2422
2591
  export interface Schema$RunAssetDiscoveryRequest {
2423
2592
  }
2593
+ /**
2594
+ * SecurityBulletin are notifications of vulnerabilities of Google products.
2595
+ */
2596
+ export interface Schema$SecurityBulletin {
2597
+ /**
2598
+ * ID of the bulletin corresponding to the vulnerability.
2599
+ */
2600
+ bulletinId?: string | null;
2601
+ /**
2602
+ * Submission time of this Security Bulletin.
2603
+ */
2604
+ submissionTime?: string | null;
2605
+ /**
2606
+ * This represents a version that the cluster receiving this notification should be upgraded to, based on its current version. For example, 1.15.0
2607
+ */
2608
+ suggestedUpgradeVersion?: string | null;
2609
+ }
2424
2610
  /**
2425
2611
  * Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
2426
2612
  */
@@ -2555,7 +2741,7 @@ export declare namespace securitycenter_v1 {
2555
2741
  mute?: string | null;
2556
2742
  }
2557
2743
  /**
2558
- * Manually constructed resource. If the custom module only evaluates against the resource data, the iam_policy_data field can be omitted, and vice versa.
2744
+ * Manually constructed resource name. If the custom module evaluates against only the resource data, you can omit the `iam_policy_data` field. If it evaluates only the `iam_policy_data` field, you can omit the resource data.
2559
2745
  */
2560
2746
  export interface Schema$SimulatedResource {
2561
2747
  /**
@@ -2563,13 +2749,13 @@ export declare namespace securitycenter_v1 {
2563
2749
  */
2564
2750
  iamPolicyData?: Schema$Policy;
2565
2751
  /**
2566
- * Optional. A representation of the GCP resource. Should match the GCP resource JSON format.
2752
+ * Optional. A representation of the Google Cloud resource. Should match the Google Cloud resource JSON format.
2567
2753
  */
2568
2754
  resourceData?: {
2569
2755
  [key: string]: any;
2570
2756
  } | null;
2571
2757
  /**
2572
- * Required. The type of the resource, e.g. `compute.googleapis.com/Disk`.
2758
+ * Required. The type of the resource, for example, `compute.googleapis.com/Disk`.
2573
2759
  */
2574
2760
  resourceType?: string | null;
2575
2761
  }
@@ -2595,7 +2781,7 @@ export declare namespace securitycenter_v1 {
2595
2781
  */
2596
2782
  export interface Schema$SimulateSecurityHealthAnalyticsCustomModuleRequest {
2597
2783
  /**
2598
- * Required. The user specified custom configuration to test.
2784
+ * Required. The custom configuration that you need to test.
2599
2785
  */
2600
2786
  customConfig?: Schema$GoogleCloudSecuritycenterV1CustomConfig;
2601
2787
  /**
@@ -2604,7 +2790,7 @@ export declare namespace securitycenter_v1 {
2604
2790
  resource?: Schema$SimulatedResource;
2605
2791
  }
2606
2792
  /**
2607
- * Response message for simulating a SecurityHealthAnalyticsCustomModule against a given resource.
2793
+ * Response message for simulating a `SecurityHealthAnalyticsCustomModule` against a given resource.
2608
2794
  */
2609
2795
  export interface Schema$SimulateSecurityHealthAnalyticsCustomModuleResponse {
2610
2796
  /**
@@ -2776,6 +2962,18 @@ export declare namespace securitycenter_v1 {
2776
2962
  * CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
2777
2963
  */
2778
2964
  cve?: Schema$Cve;
2965
+ /**
2966
+ * The fixed package is relevant to the finding.
2967
+ */
2968
+ fixedPackage?: Schema$Package;
2969
+ /**
2970
+ * The offending package is relevant to the finding.
2971
+ */
2972
+ offendingPackage?: Schema$Package;
2973
+ /**
2974
+ * The security bulletin is relevant to this finding.
2975
+ */
2976
+ securityBulletin?: Schema$SecurityBulletin;
2779
2977
  }
2780
2978
  /**
2781
2979
  * A signature corresponding to a YARA rule.
@@ -2790,6 +2988,7 @@ export declare namespace securitycenter_v1 {
2790
2988
  context: APIRequestContext;
2791
2989
  assets: Resource$Folders$Assets;
2792
2990
  bigQueryExports: Resource$Folders$Bigqueryexports;
2991
+ eventThreatDetectionSettings: Resource$Folders$Eventthreatdetectionsettings;
2793
2992
  findings: Resource$Folders$Findings;
2794
2993
  locations: Resource$Folders$Locations;
2795
2994
  muteConfigs: Resource$Folders$Muteconfigs;
@@ -3034,6 +3233,240 @@ export declare namespace securitycenter_v1 {
3034
3233
  */
3035
3234
  requestBody?: Schema$GoogleCloudSecuritycenterV1BigQueryExport;
3036
3235
  }
3236
+ export class Resource$Folders$Eventthreatdetectionsettings {
3237
+ context: APIRequestContext;
3238
+ customModules: Resource$Folders$Eventthreatdetectionsettings$Custommodules;
3239
+ effectiveCustomModules: Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules;
3240
+ constructor(context: APIRequestContext);
3241
+ /**
3242
+ * Validates the given Event Threat Detection custom module.
3243
+ *
3244
+ * @param params - Parameters for request
3245
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3246
+ * @param callback - Optional callback that handles the response.
3247
+ * @returns A promise if used with async/await, or void if used with a callback.
3248
+ */
3249
+ validateCustomModule(params: Params$Resource$Folders$Eventthreatdetectionsettings$Validatecustommodule, options: StreamMethodOptions): GaxiosPromise<Readable>;
3250
+ validateCustomModule(params?: Params$Resource$Folders$Eventthreatdetectionsettings$Validatecustommodule, options?: MethodOptions): GaxiosPromise<Schema$ValidateEventThreatDetectionCustomModuleResponse>;
3251
+ validateCustomModule(params: Params$Resource$Folders$Eventthreatdetectionsettings$Validatecustommodule, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3252
+ validateCustomModule(params: Params$Resource$Folders$Eventthreatdetectionsettings$Validatecustommodule, options: MethodOptions | BodyResponseCallback<Schema$ValidateEventThreatDetectionCustomModuleResponse>, callback: BodyResponseCallback<Schema$ValidateEventThreatDetectionCustomModuleResponse>): void;
3253
+ validateCustomModule(params: Params$Resource$Folders$Eventthreatdetectionsettings$Validatecustommodule, callback: BodyResponseCallback<Schema$ValidateEventThreatDetectionCustomModuleResponse>): void;
3254
+ validateCustomModule(callback: BodyResponseCallback<Schema$ValidateEventThreatDetectionCustomModuleResponse>): void;
3255
+ }
3256
+ export interface Params$Resource$Folders$Eventthreatdetectionsettings$Validatecustommodule extends StandardParameters {
3257
+ /**
3258
+ * Required. Resource name of the parent to validate the Custom Module under. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings". * "folders/{folder\}/eventThreatDetectionSettings". * "projects/{project\}/eventThreatDetectionSettings".
3259
+ */
3260
+ parent?: string;
3261
+ /**
3262
+ * Request body metadata
3263
+ */
3264
+ requestBody?: Schema$ValidateEventThreatDetectionCustomModuleRequest;
3265
+ }
3266
+ export class Resource$Folders$Eventthreatdetectionsettings$Custommodules {
3267
+ context: APIRequestContext;
3268
+ constructor(context: APIRequestContext);
3269
+ /**
3270
+ * Creates a resident Event Threat Detection custom module at the scope of the given Resource Manager parent, and also creates inherited custom modules for all descendants of the given parent. These modules are enabled by default.
3271
+ *
3272
+ * @param params - Parameters for request
3273
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3274
+ * @param callback - Optional callback that handles the response.
3275
+ * @returns A promise if used with async/await, or void if used with a callback.
3276
+ */
3277
+ create(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
3278
+ create(params?: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Create, options?: MethodOptions): GaxiosPromise<Schema$EventThreatDetectionCustomModule>;
3279
+ create(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3280
+ create(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Create, options: MethodOptions | BodyResponseCallback<Schema$EventThreatDetectionCustomModule>, callback: BodyResponseCallback<Schema$EventThreatDetectionCustomModule>): void;
3281
+ create(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Create, callback: BodyResponseCallback<Schema$EventThreatDetectionCustomModule>): void;
3282
+ create(callback: BodyResponseCallback<Schema$EventThreatDetectionCustomModule>): void;
3283
+ /**
3284
+ * Deletes the specified Event Threat Detection custom module and all of its descendants in the Resource Manager hierarchy. This method is only supported for resident custom modules.
3285
+ *
3286
+ * @param params - Parameters for request
3287
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3288
+ * @param callback - Optional callback that handles the response.
3289
+ * @returns A promise if used with async/await, or void if used with a callback.
3290
+ */
3291
+ delete(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
3292
+ delete(params?: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
3293
+ delete(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3294
+ delete(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
3295
+ delete(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
3296
+ delete(callback: BodyResponseCallback<Schema$Empty>): void;
3297
+ /**
3298
+ * Gets an Event Threat Detection custom module.
3299
+ *
3300
+ * @param params - Parameters for request
3301
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3302
+ * @param callback - Optional callback that handles the response.
3303
+ * @returns A promise if used with async/await, or void if used with a callback.
3304
+ */
3305
+ get(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
3306
+ get(params?: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Get, options?: MethodOptions): GaxiosPromise<Schema$EventThreatDetectionCustomModule>;
3307
+ get(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3308
+ get(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Get, options: MethodOptions | BodyResponseCallback<Schema$EventThreatDetectionCustomModule>, callback: BodyResponseCallback<Schema$EventThreatDetectionCustomModule>): void;
3309
+ get(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Get, callback: BodyResponseCallback<Schema$EventThreatDetectionCustomModule>): void;
3310
+ get(callback: BodyResponseCallback<Schema$EventThreatDetectionCustomModule>): void;
3311
+ /**
3312
+ * Lists all Event Threat Detection custom modules for the given Resource Manager parent. This includes resident modules defined at the scope of the parent along with modules inherited from ancestors.
3313
+ *
3314
+ * @param params - Parameters for request
3315
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3316
+ * @param callback - Optional callback that handles the response.
3317
+ * @returns A promise if used with async/await, or void if used with a callback.
3318
+ */
3319
+ list(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
3320
+ list(params?: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$List, options?: MethodOptions): GaxiosPromise<Schema$ListEventThreatDetectionCustomModulesResponse>;
3321
+ list(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3322
+ list(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$List, options: MethodOptions | BodyResponseCallback<Schema$ListEventThreatDetectionCustomModulesResponse>, callback: BodyResponseCallback<Schema$ListEventThreatDetectionCustomModulesResponse>): void;
3323
+ list(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$List, callback: BodyResponseCallback<Schema$ListEventThreatDetectionCustomModulesResponse>): void;
3324
+ list(callback: BodyResponseCallback<Schema$ListEventThreatDetectionCustomModulesResponse>): void;
3325
+ /**
3326
+ * Lists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants.
3327
+ *
3328
+ * @param params - Parameters for request
3329
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3330
+ * @param callback - Optional callback that handles the response.
3331
+ * @returns A promise if used with async/await, or void if used with a callback.
3332
+ */
3333
+ listDescendant(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Listdescendant, options: StreamMethodOptions): GaxiosPromise<Readable>;
3334
+ listDescendant(params?: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Listdescendant, options?: MethodOptions): GaxiosPromise<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>;
3335
+ listDescendant(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Listdescendant, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3336
+ listDescendant(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Listdescendant, options: MethodOptions | BodyResponseCallback<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>, callback: BodyResponseCallback<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>): void;
3337
+ listDescendant(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Listdescendant, callback: BodyResponseCallback<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>): void;
3338
+ listDescendant(callback: BodyResponseCallback<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>): void;
3339
+ /**
3340
+ * Updates the Event Threat Detection custom module with the given name based on the given update mask. Updating the enablement state is supported for both resident and inherited modules (though resident modules cannot have an enablement state of "inherited"). Updating the display name or configuration of a module is supported for resident modules only. The type of a module cannot be changed.
3341
+ *
3342
+ * @param params - Parameters for request
3343
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3344
+ * @param callback - Optional callback that handles the response.
3345
+ * @returns A promise if used with async/await, or void if used with a callback.
3346
+ */
3347
+ patch(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
3348
+ patch(params?: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Patch, options?: MethodOptions): GaxiosPromise<Schema$EventThreatDetectionCustomModule>;
3349
+ patch(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3350
+ patch(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Patch, options: MethodOptions | BodyResponseCallback<Schema$EventThreatDetectionCustomModule>, callback: BodyResponseCallback<Schema$EventThreatDetectionCustomModule>): void;
3351
+ patch(params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Patch, callback: BodyResponseCallback<Schema$EventThreatDetectionCustomModule>): void;
3352
+ patch(callback: BodyResponseCallback<Schema$EventThreatDetectionCustomModule>): void;
3353
+ }
3354
+ export interface Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Create extends StandardParameters {
3355
+ /**
3356
+ * Required. The new custom module's parent. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings". * "folders/{folder\}/eventThreatDetectionSettings". * "projects/{project\}/eventThreatDetectionSettings".
3357
+ */
3358
+ parent?: string;
3359
+ /**
3360
+ * Request body metadata
3361
+ */
3362
+ requestBody?: Schema$EventThreatDetectionCustomModule;
3363
+ }
3364
+ export interface Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Delete extends StandardParameters {
3365
+ /**
3366
+ * Required. Name of the custom module to delete. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}". * "folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}". * "projects/{project\}/eventThreatDetectionSettings/customModules/{module\}".
3367
+ */
3368
+ name?: string;
3369
+ }
3370
+ export interface Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Get extends StandardParameters {
3371
+ /**
3372
+ * Required. Name of the custom module to get. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}". * "folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}". * "projects/{project\}/eventThreatDetectionSettings/customModules/{module\}".
3373
+ */
3374
+ name?: string;
3375
+ }
3376
+ export interface Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$List extends StandardParameters {
3377
+ /**
3378
+ * The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
3379
+ */
3380
+ pageSize?: number;
3381
+ /**
3382
+ * A page token, received from a previous `ListEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListEventThreatDetectionCustomModules` must match the call that provided the page token.
3383
+ */
3384
+ pageToken?: string;
3385
+ /**
3386
+ * Required. Name of the parent to list custom modules under. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings". * "folders/{folder\}/eventThreatDetectionSettings". * "projects/{project\}/eventThreatDetectionSettings".
3387
+ */
3388
+ parent?: string;
3389
+ }
3390
+ export interface Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Listdescendant extends StandardParameters {
3391
+ /**
3392
+ * The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
3393
+ */
3394
+ pageSize?: number;
3395
+ /**
3396
+ * A page token, received from a previous `ListDescendantEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDescendantEventThreatDetectionCustomModules` must match the call that provided the page token.
3397
+ */
3398
+ pageToken?: string;
3399
+ /**
3400
+ * Required. Name of the parent to list custom modules under. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings". * "folders/{folder\}/eventThreatDetectionSettings". * "projects/{project\}/eventThreatDetectionSettings".
3401
+ */
3402
+ parent?: string;
3403
+ }
3404
+ export interface Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Patch extends StandardParameters {
3405
+ /**
3406
+ * Immutable. The resource name of the Event Threat Detection custom module. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}". * "folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}". * "projects/{project\}/eventThreatDetectionSettings/customModules/{module\}".
3407
+ */
3408
+ name?: string;
3409
+ /**
3410
+ * The list of fields to be updated. If empty all mutable fields will be updated.
3411
+ */
3412
+ updateMask?: string;
3413
+ /**
3414
+ * Request body metadata
3415
+ */
3416
+ requestBody?: Schema$EventThreatDetectionCustomModule;
3417
+ }
3418
+ export class Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules {
3419
+ context: APIRequestContext;
3420
+ constructor(context: APIRequestContext);
3421
+ /**
3422
+ * Gets an effective Event Threat Detection custom module at the given level.
3423
+ *
3424
+ * @param params - Parameters for request
3425
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3426
+ * @param callback - Optional callback that handles the response.
3427
+ * @returns A promise if used with async/await, or void if used with a callback.
3428
+ */
3429
+ get(params: Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
3430
+ get(params?: Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$Get, options?: MethodOptions): GaxiosPromise<Schema$EffectiveEventThreatDetectionCustomModule>;
3431
+ get(params: Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3432
+ get(params: Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$Get, options: MethodOptions | BodyResponseCallback<Schema$EffectiveEventThreatDetectionCustomModule>, callback: BodyResponseCallback<Schema$EffectiveEventThreatDetectionCustomModule>): void;
3433
+ get(params: Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$Get, callback: BodyResponseCallback<Schema$EffectiveEventThreatDetectionCustomModule>): void;
3434
+ get(callback: BodyResponseCallback<Schema$EffectiveEventThreatDetectionCustomModule>): void;
3435
+ /**
3436
+ * Lists all effective Event Threat Detection custom modules for the given parent. This includes resident modules defined at the scope of the parent along with modules inherited from its ancestors.
3437
+ *
3438
+ * @param params - Parameters for request
3439
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3440
+ * @param callback - Optional callback that handles the response.
3441
+ * @returns A promise if used with async/await, or void if used with a callback.
3442
+ */
3443
+ list(params: Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
3444
+ list(params?: Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$List, options?: MethodOptions): GaxiosPromise<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>;
3445
+ list(params: Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3446
+ list(params: Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$List, options: MethodOptions | BodyResponseCallback<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>, callback: BodyResponseCallback<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>): void;
3447
+ list(params: Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$List, callback: BodyResponseCallback<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>): void;
3448
+ list(callback: BodyResponseCallback<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>): void;
3449
+ }
3450
+ export interface Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$Get extends StandardParameters {
3451
+ /**
3452
+ * Required. The resource name of the effective Event Threat Detection custom module. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}". * "folders/{folder\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}". * "projects/{project\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}".
3453
+ */
3454
+ name?: string;
3455
+ }
3456
+ export interface Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$List extends StandardParameters {
3457
+ /**
3458
+ * The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
3459
+ */
3460
+ pageSize?: number;
3461
+ /**
3462
+ * A page token, received from a previous `ListEffectiveEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListEffectiveEventThreatDetectionCustomModules` must match the call that provided the page token.
3463
+ */
3464
+ pageToken?: string;
3465
+ /**
3466
+ * Required. Name of the parent to list custom modules for. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings". * "folders/{folder\}/eventThreatDetectionSettings". * "projects/{project\}/eventThreatDetectionSettings".
3467
+ */
3468
+ parent?: string;
3469
+ }
3037
3470
  export class Resource$Folders$Findings {
3038
3471
  context: APIRequestContext;
3039
3472
  constructor(context: APIRequestContext);
@@ -3559,7 +3992,7 @@ export declare namespace securitycenter_v1 {
3559
3992
  */
3560
3993
  name?: string;
3561
3994
  /**
3562
- * The list of fields to update.
3995
+ * The list of fields to be updated. The only fields that can be updated are `enablement_state` and `custom_config`. If empty or set to the wildcard value `*`, both `enablement_state` and `custom_config` are updated.
3563
3996
  */
3564
3997
  updateMask?: string;
3565
3998
  /**
@@ -3569,7 +4002,7 @@ export declare namespace securitycenter_v1 {
3569
4002
  }
3570
4003
  export interface Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Simulate extends StandardParameters {
3571
4004
  /**
3572
- * Required. The relative resource name of the organization, project, or folder. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name An example is: "organizations/{organization_id\}".
4005
+ * Required. The relative resource name of the organization, project, or folder. For more information about relative resource names, see [Relative Resource Name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) Example: `organizations/{organization_id\}`
3573
4006
  */
3574
4007
  parent?: string;
3575
4008
  /**
@@ -4206,6 +4639,7 @@ export declare namespace securitycenter_v1 {
4206
4639
  export class Resource$Organizations$Eventthreatdetectionsettings {
4207
4640
  context: APIRequestContext;
4208
4641
  customModules: Resource$Organizations$Eventthreatdetectionsettings$Custommodules;
4642
+ effectiveCustomModules: Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules;
4209
4643
  constructor(context: APIRequestContext);
4210
4644
  /**
4211
4645
  * Validates the given Event Threat Detection custom module.
@@ -4224,7 +4658,7 @@ export declare namespace securitycenter_v1 {
4224
4658
  }
4225
4659
  export interface Params$Resource$Organizations$Eventthreatdetectionsettings$Validatecustommodule extends StandardParameters {
4226
4660
  /**
4227
- * Required. Resource name of the parent to validate the Custom Module under. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings".
4661
+ * Required. Resource name of the parent to validate the Custom Module under. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings". * "folders/{folder\}/eventThreatDetectionSettings". * "projects/{project\}/eventThreatDetectionSettings".
4228
4662
  */
4229
4663
  parent?: string;
4230
4664
  /**
@@ -4236,7 +4670,7 @@ export declare namespace securitycenter_v1 {
4236
4670
  context: APIRequestContext;
4237
4671
  constructor(context: APIRequestContext);
4238
4672
  /**
4239
- * Creates an Event Threat Detection custom module.
4673
+ * Creates a resident Event Threat Detection custom module at the scope of the given Resource Manager parent, and also creates inherited custom modules for all descendants of the given parent. These modules are enabled by default.
4240
4674
  *
4241
4675
  * @param params - Parameters for request
4242
4676
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -4250,7 +4684,7 @@ export declare namespace securitycenter_v1 {
4250
4684
  create(params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Create, callback: BodyResponseCallback<Schema$EventThreatDetectionCustomModule>): void;
4251
4685
  create(callback: BodyResponseCallback<Schema$EventThreatDetectionCustomModule>): void;
4252
4686
  /**
4253
- * Deletes an Event Threat Detection custom module.
4687
+ * Deletes the specified Event Threat Detection custom module and all of its descendants in the Resource Manager hierarchy. This method is only supported for resident custom modules.
4254
4688
  *
4255
4689
  * @param params - Parameters for request
4256
4690
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -4278,7 +4712,7 @@ export declare namespace securitycenter_v1 {
4278
4712
  get(params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Get, callback: BodyResponseCallback<Schema$EventThreatDetectionCustomModule>): void;
4279
4713
  get(callback: BodyResponseCallback<Schema$EventThreatDetectionCustomModule>): void;
4280
4714
  /**
4281
- * Lists Event Threat Detection custom modules.
4715
+ * Lists all Event Threat Detection custom modules for the given Resource Manager parent. This includes resident modules defined at the scope of the parent along with modules inherited from ancestors.
4282
4716
  *
4283
4717
  * @param params - Parameters for request
4284
4718
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -4292,7 +4726,21 @@ export declare namespace securitycenter_v1 {
4292
4726
  list(params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$List, callback: BodyResponseCallback<Schema$ListEventThreatDetectionCustomModulesResponse>): void;
4293
4727
  list(callback: BodyResponseCallback<Schema$ListEventThreatDetectionCustomModulesResponse>): void;
4294
4728
  /**
4295
- * Updates an Event Threat Detection custom module.
4729
+ * Lists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants.
4730
+ *
4731
+ * @param params - Parameters for request
4732
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4733
+ * @param callback - Optional callback that handles the response.
4734
+ * @returns A promise if used with async/await, or void if used with a callback.
4735
+ */
4736
+ listDescendant(params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Listdescendant, options: StreamMethodOptions): GaxiosPromise<Readable>;
4737
+ listDescendant(params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Listdescendant, options?: MethodOptions): GaxiosPromise<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>;
4738
+ listDescendant(params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Listdescendant, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4739
+ listDescendant(params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Listdescendant, options: MethodOptions | BodyResponseCallback<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>, callback: BodyResponseCallback<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>): void;
4740
+ listDescendant(params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Listdescendant, callback: BodyResponseCallback<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>): void;
4741
+ listDescendant(callback: BodyResponseCallback<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>): void;
4742
+ /**
4743
+ * Updates the Event Threat Detection custom module with the given name based on the given update mask. Updating the enablement state is supported for both resident and inherited modules (though resident modules cannot have an enablement state of "inherited"). Updating the display name or configuration of a module is supported for resident modules only. The type of a module cannot be changed.
4296
4744
  *
4297
4745
  * @param params - Parameters for request
4298
4746
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -4308,7 +4756,7 @@ export declare namespace securitycenter_v1 {
4308
4756
  }
4309
4757
  export interface Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Create extends StandardParameters {
4310
4758
  /**
4311
- * Required. The new custom module's parent. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings".
4759
+ * Required. The new custom module's parent. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings". * "folders/{folder\}/eventThreatDetectionSettings". * "projects/{project\}/eventThreatDetectionSettings".
4312
4760
  */
4313
4761
  parent?: string;
4314
4762
  /**
@@ -4318,13 +4766,13 @@ export declare namespace securitycenter_v1 {
4318
4766
  }
4319
4767
  export interface Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Delete extends StandardParameters {
4320
4768
  /**
4321
- * Required. Name of the custom module to delete. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}".
4769
+ * Required. Name of the custom module to delete. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}". * "folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}". * "projects/{project\}/eventThreatDetectionSettings/customModules/{module\}".
4322
4770
  */
4323
4771
  name?: string;
4324
4772
  }
4325
4773
  export interface Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Get extends StandardParameters {
4326
4774
  /**
4327
- * Required. Name of the custom module to get. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}".
4775
+ * Required. Name of the custom module to get. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}". * "folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}". * "projects/{project\}/eventThreatDetectionSettings/customModules/{module\}".
4328
4776
  */
4329
4777
  name?: string;
4330
4778
  }
@@ -4338,7 +4786,21 @@ export declare namespace securitycenter_v1 {
4338
4786
  */
4339
4787
  pageToken?: string;
4340
4788
  /**
4341
- * Required. Name of the parent to list custom modules under. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings".
4789
+ * Required. Name of the parent to list custom modules under. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings". * "folders/{folder\}/eventThreatDetectionSettings". * "projects/{project\}/eventThreatDetectionSettings".
4790
+ */
4791
+ parent?: string;
4792
+ }
4793
+ export interface Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Listdescendant extends StandardParameters {
4794
+ /**
4795
+ * The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
4796
+ */
4797
+ pageSize?: number;
4798
+ /**
4799
+ * A page token, received from a previous `ListDescendantEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDescendantEventThreatDetectionCustomModules` must match the call that provided the page token.
4800
+ */
4801
+ pageToken?: string;
4802
+ /**
4803
+ * Required. Name of the parent to list custom modules under. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings". * "folders/{folder\}/eventThreatDetectionSettings". * "projects/{project\}/eventThreatDetectionSettings".
4342
4804
  */
4343
4805
  parent?: string;
4344
4806
  }
@@ -4356,6 +4818,58 @@ export declare namespace securitycenter_v1 {
4356
4818
  */
4357
4819
  requestBody?: Schema$EventThreatDetectionCustomModule;
4358
4820
  }
4821
+ export class Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules {
4822
+ context: APIRequestContext;
4823
+ constructor(context: APIRequestContext);
4824
+ /**
4825
+ * Gets an effective Event Threat Detection custom module at the given level.
4826
+ *
4827
+ * @param params - Parameters for request
4828
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4829
+ * @param callback - Optional callback that handles the response.
4830
+ * @returns A promise if used with async/await, or void if used with a callback.
4831
+ */
4832
+ get(params: Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
4833
+ get(params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$Get, options?: MethodOptions): GaxiosPromise<Schema$EffectiveEventThreatDetectionCustomModule>;
4834
+ get(params: Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4835
+ get(params: Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$Get, options: MethodOptions | BodyResponseCallback<Schema$EffectiveEventThreatDetectionCustomModule>, callback: BodyResponseCallback<Schema$EffectiveEventThreatDetectionCustomModule>): void;
4836
+ get(params: Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$Get, callback: BodyResponseCallback<Schema$EffectiveEventThreatDetectionCustomModule>): void;
4837
+ get(callback: BodyResponseCallback<Schema$EffectiveEventThreatDetectionCustomModule>): void;
4838
+ /**
4839
+ * Lists all effective Event Threat Detection custom modules for the given parent. This includes resident modules defined at the scope of the parent along with modules inherited from its ancestors.
4840
+ *
4841
+ * @param params - Parameters for request
4842
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4843
+ * @param callback - Optional callback that handles the response.
4844
+ * @returns A promise if used with async/await, or void if used with a callback.
4845
+ */
4846
+ list(params: Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
4847
+ list(params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$List, options?: MethodOptions): GaxiosPromise<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>;
4848
+ list(params: Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4849
+ list(params: Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$List, options: MethodOptions | BodyResponseCallback<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>, callback: BodyResponseCallback<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>): void;
4850
+ list(params: Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$List, callback: BodyResponseCallback<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>): void;
4851
+ list(callback: BodyResponseCallback<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>): void;
4852
+ }
4853
+ export interface Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$Get extends StandardParameters {
4854
+ /**
4855
+ * Required. The resource name of the effective Event Threat Detection custom module. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}". * "folders/{folder\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}". * "projects/{project\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}".
4856
+ */
4857
+ name?: string;
4858
+ }
4859
+ export interface Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$List extends StandardParameters {
4860
+ /**
4861
+ * The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
4862
+ */
4863
+ pageSize?: number;
4864
+ /**
4865
+ * A page token, received from a previous `ListEffectiveEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListEffectiveEventThreatDetectionCustomModules` must match the call that provided the page token.
4866
+ */
4867
+ pageToken?: string;
4868
+ /**
4869
+ * Required. Name of the parent to list custom modules for. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings". * "folders/{folder\}/eventThreatDetectionSettings". * "projects/{project\}/eventThreatDetectionSettings".
4870
+ */
4871
+ parent?: string;
4872
+ }
4359
4873
  export class Resource$Organizations$Findings {
4360
4874
  context: APIRequestContext;
4361
4875
  constructor(context: APIRequestContext);
@@ -5101,7 +5615,7 @@ export declare namespace securitycenter_v1 {
5101
5615
  */
5102
5616
  name?: string;
5103
5617
  /**
5104
- * The list of fields to update.
5618
+ * The list of fields to be updated. The only fields that can be updated are `enablement_state` and `custom_config`. If empty or set to the wildcard value `*`, both `enablement_state` and `custom_config` are updated.
5105
5619
  */
5106
5620
  updateMask?: string;
5107
5621
  /**
@@ -5111,7 +5625,7 @@ export declare namespace securitycenter_v1 {
5111
5625
  }
5112
5626
  export interface Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Simulate extends StandardParameters {
5113
5627
  /**
5114
- * Required. The relative resource name of the organization, project, or folder. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name An example is: "organizations/{organization_id\}".
5628
+ * Required. The relative resource name of the organization, project, or folder. For more information about relative resource names, see [Relative Resource Name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) Example: `organizations/{organization_id\}`
5115
5629
  */
5116
5630
  parent?: string;
5117
5631
  /**
@@ -5316,6 +5830,20 @@ export declare namespace securitycenter_v1 {
5316
5830
  context: APIRequestContext;
5317
5831
  attackPaths: Resource$Organizations$Simulations$Valuedresources$Attackpaths;
5318
5832
  constructor(context: APIRequestContext);
5833
+ /**
5834
+ * Get the valued resource by name
5835
+ *
5836
+ * @param params - Parameters for request
5837
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5838
+ * @param callback - Optional callback that handles the response.
5839
+ * @returns A promise if used with async/await, or void if used with a callback.
5840
+ */
5841
+ get(params: Params$Resource$Organizations$Simulations$Valuedresources$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
5842
+ get(params?: Params$Resource$Organizations$Simulations$Valuedresources$Get, options?: MethodOptions): GaxiosPromise<Schema$ValuedResource>;
5843
+ get(params: Params$Resource$Organizations$Simulations$Valuedresources$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5844
+ get(params: Params$Resource$Organizations$Simulations$Valuedresources$Get, options: MethodOptions | BodyResponseCallback<Schema$ValuedResource>, callback: BodyResponseCallback<Schema$ValuedResource>): void;
5845
+ get(params: Params$Resource$Organizations$Simulations$Valuedresources$Get, callback: BodyResponseCallback<Schema$ValuedResource>): void;
5846
+ get(callback: BodyResponseCallback<Schema$ValuedResource>): void;
5319
5847
  /**
5320
5848
  * Lists the valued resources for a set of simulation results and filter.
5321
5849
  *
@@ -5331,6 +5859,12 @@ export declare namespace securitycenter_v1 {
5331
5859
  list(params: Params$Resource$Organizations$Simulations$Valuedresources$List, callback: BodyResponseCallback<Schema$ListValuedResourcesResponse>): void;
5332
5860
  list(callback: BodyResponseCallback<Schema$ListValuedResourcesResponse>): void;
5333
5861
  }
5862
+ export interface Params$Resource$Organizations$Simulations$Valuedresources$Get extends StandardParameters {
5863
+ /**
5864
+ * Required. The name of this valued resource Valid format: "organizations/{organization\}/simulations/{simulation\}/valuedResources/{valued_resource\}"
5865
+ */
5866
+ name?: string;
5867
+ }
5334
5868
  export interface Params$Resource$Organizations$Simulations$Valuedresources$List extends StandardParameters {
5335
5869
  /**
5336
5870
  * The filter expression that filters the valued resources in the response. Supported fields: * `resource_value` supports = * `resource_type` supports =
@@ -5811,6 +6345,7 @@ export declare namespace securitycenter_v1 {
5811
6345
  context: APIRequestContext;
5812
6346
  assets: Resource$Projects$Assets;
5813
6347
  bigQueryExports: Resource$Projects$Bigqueryexports;
6348
+ eventThreatDetectionSettings: Resource$Projects$Eventthreatdetectionsettings;
5814
6349
  findings: Resource$Projects$Findings;
5815
6350
  locations: Resource$Projects$Locations;
5816
6351
  muteConfigs: Resource$Projects$Muteconfigs;
@@ -6055,6 +6590,240 @@ export declare namespace securitycenter_v1 {
6055
6590
  */
6056
6591
  requestBody?: Schema$GoogleCloudSecuritycenterV1BigQueryExport;
6057
6592
  }
6593
+ export class Resource$Projects$Eventthreatdetectionsettings {
6594
+ context: APIRequestContext;
6595
+ customModules: Resource$Projects$Eventthreatdetectionsettings$Custommodules;
6596
+ effectiveCustomModules: Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules;
6597
+ constructor(context: APIRequestContext);
6598
+ /**
6599
+ * Validates the given Event Threat Detection custom module.
6600
+ *
6601
+ * @param params - Parameters for request
6602
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6603
+ * @param callback - Optional callback that handles the response.
6604
+ * @returns A promise if used with async/await, or void if used with a callback.
6605
+ */
6606
+ validateCustomModule(params: Params$Resource$Projects$Eventthreatdetectionsettings$Validatecustommodule, options: StreamMethodOptions): GaxiosPromise<Readable>;
6607
+ validateCustomModule(params?: Params$Resource$Projects$Eventthreatdetectionsettings$Validatecustommodule, options?: MethodOptions): GaxiosPromise<Schema$ValidateEventThreatDetectionCustomModuleResponse>;
6608
+ validateCustomModule(params: Params$Resource$Projects$Eventthreatdetectionsettings$Validatecustommodule, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6609
+ validateCustomModule(params: Params$Resource$Projects$Eventthreatdetectionsettings$Validatecustommodule, options: MethodOptions | BodyResponseCallback<Schema$ValidateEventThreatDetectionCustomModuleResponse>, callback: BodyResponseCallback<Schema$ValidateEventThreatDetectionCustomModuleResponse>): void;
6610
+ validateCustomModule(params: Params$Resource$Projects$Eventthreatdetectionsettings$Validatecustommodule, callback: BodyResponseCallback<Schema$ValidateEventThreatDetectionCustomModuleResponse>): void;
6611
+ validateCustomModule(callback: BodyResponseCallback<Schema$ValidateEventThreatDetectionCustomModuleResponse>): void;
6612
+ }
6613
+ export interface Params$Resource$Projects$Eventthreatdetectionsettings$Validatecustommodule extends StandardParameters {
6614
+ /**
6615
+ * Required. Resource name of the parent to validate the Custom Module under. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings". * "folders/{folder\}/eventThreatDetectionSettings". * "projects/{project\}/eventThreatDetectionSettings".
6616
+ */
6617
+ parent?: string;
6618
+ /**
6619
+ * Request body metadata
6620
+ */
6621
+ requestBody?: Schema$ValidateEventThreatDetectionCustomModuleRequest;
6622
+ }
6623
+ export class Resource$Projects$Eventthreatdetectionsettings$Custommodules {
6624
+ context: APIRequestContext;
6625
+ constructor(context: APIRequestContext);
6626
+ /**
6627
+ * Creates a resident Event Threat Detection custom module at the scope of the given Resource Manager parent, and also creates inherited custom modules for all descendants of the given parent. These modules are enabled by default.
6628
+ *
6629
+ * @param params - Parameters for request
6630
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6631
+ * @param callback - Optional callback that handles the response.
6632
+ * @returns A promise if used with async/await, or void if used with a callback.
6633
+ */
6634
+ create(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
6635
+ create(params?: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Create, options?: MethodOptions): GaxiosPromise<Schema$EventThreatDetectionCustomModule>;
6636
+ create(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6637
+ create(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Create, options: MethodOptions | BodyResponseCallback<Schema$EventThreatDetectionCustomModule>, callback: BodyResponseCallback<Schema$EventThreatDetectionCustomModule>): void;
6638
+ create(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Create, callback: BodyResponseCallback<Schema$EventThreatDetectionCustomModule>): void;
6639
+ create(callback: BodyResponseCallback<Schema$EventThreatDetectionCustomModule>): void;
6640
+ /**
6641
+ * Deletes the specified Event Threat Detection custom module and all of its descendants in the Resource Manager hierarchy. This method is only supported for resident custom modules.
6642
+ *
6643
+ * @param params - Parameters for request
6644
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6645
+ * @param callback - Optional callback that handles the response.
6646
+ * @returns A promise if used with async/await, or void if used with a callback.
6647
+ */
6648
+ delete(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
6649
+ delete(params?: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
6650
+ delete(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6651
+ delete(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
6652
+ delete(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
6653
+ delete(callback: BodyResponseCallback<Schema$Empty>): void;
6654
+ /**
6655
+ * Gets an Event Threat Detection custom module.
6656
+ *
6657
+ * @param params - Parameters for request
6658
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6659
+ * @param callback - Optional callback that handles the response.
6660
+ * @returns A promise if used with async/await, or void if used with a callback.
6661
+ */
6662
+ get(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
6663
+ get(params?: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Get, options?: MethodOptions): GaxiosPromise<Schema$EventThreatDetectionCustomModule>;
6664
+ get(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6665
+ get(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Get, options: MethodOptions | BodyResponseCallback<Schema$EventThreatDetectionCustomModule>, callback: BodyResponseCallback<Schema$EventThreatDetectionCustomModule>): void;
6666
+ get(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Get, callback: BodyResponseCallback<Schema$EventThreatDetectionCustomModule>): void;
6667
+ get(callback: BodyResponseCallback<Schema$EventThreatDetectionCustomModule>): void;
6668
+ /**
6669
+ * Lists all Event Threat Detection custom modules for the given Resource Manager parent. This includes resident modules defined at the scope of the parent along with modules inherited from ancestors.
6670
+ *
6671
+ * @param params - Parameters for request
6672
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6673
+ * @param callback - Optional callback that handles the response.
6674
+ * @returns A promise if used with async/await, or void if used with a callback.
6675
+ */
6676
+ list(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
6677
+ list(params?: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$List, options?: MethodOptions): GaxiosPromise<Schema$ListEventThreatDetectionCustomModulesResponse>;
6678
+ list(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6679
+ list(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$List, options: MethodOptions | BodyResponseCallback<Schema$ListEventThreatDetectionCustomModulesResponse>, callback: BodyResponseCallback<Schema$ListEventThreatDetectionCustomModulesResponse>): void;
6680
+ list(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$List, callback: BodyResponseCallback<Schema$ListEventThreatDetectionCustomModulesResponse>): void;
6681
+ list(callback: BodyResponseCallback<Schema$ListEventThreatDetectionCustomModulesResponse>): void;
6682
+ /**
6683
+ * Lists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants.
6684
+ *
6685
+ * @param params - Parameters for request
6686
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6687
+ * @param callback - Optional callback that handles the response.
6688
+ * @returns A promise if used with async/await, or void if used with a callback.
6689
+ */
6690
+ listDescendant(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Listdescendant, options: StreamMethodOptions): GaxiosPromise<Readable>;
6691
+ listDescendant(params?: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Listdescendant, options?: MethodOptions): GaxiosPromise<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>;
6692
+ listDescendant(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Listdescendant, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6693
+ listDescendant(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Listdescendant, options: MethodOptions | BodyResponseCallback<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>, callback: BodyResponseCallback<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>): void;
6694
+ listDescendant(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Listdescendant, callback: BodyResponseCallback<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>): void;
6695
+ listDescendant(callback: BodyResponseCallback<Schema$ListDescendantEventThreatDetectionCustomModulesResponse>): void;
6696
+ /**
6697
+ * Updates the Event Threat Detection custom module with the given name based on the given update mask. Updating the enablement state is supported for both resident and inherited modules (though resident modules cannot have an enablement state of "inherited"). Updating the display name or configuration of a module is supported for resident modules only. The type of a module cannot be changed.
6698
+ *
6699
+ * @param params - Parameters for request
6700
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6701
+ * @param callback - Optional callback that handles the response.
6702
+ * @returns A promise if used with async/await, or void if used with a callback.
6703
+ */
6704
+ patch(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
6705
+ patch(params?: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Patch, options?: MethodOptions): GaxiosPromise<Schema$EventThreatDetectionCustomModule>;
6706
+ patch(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6707
+ patch(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Patch, options: MethodOptions | BodyResponseCallback<Schema$EventThreatDetectionCustomModule>, callback: BodyResponseCallback<Schema$EventThreatDetectionCustomModule>): void;
6708
+ patch(params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Patch, callback: BodyResponseCallback<Schema$EventThreatDetectionCustomModule>): void;
6709
+ patch(callback: BodyResponseCallback<Schema$EventThreatDetectionCustomModule>): void;
6710
+ }
6711
+ export interface Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Create extends StandardParameters {
6712
+ /**
6713
+ * Required. The new custom module's parent. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings". * "folders/{folder\}/eventThreatDetectionSettings". * "projects/{project\}/eventThreatDetectionSettings".
6714
+ */
6715
+ parent?: string;
6716
+ /**
6717
+ * Request body metadata
6718
+ */
6719
+ requestBody?: Schema$EventThreatDetectionCustomModule;
6720
+ }
6721
+ export interface Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Delete extends StandardParameters {
6722
+ /**
6723
+ * Required. Name of the custom module to delete. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}". * "folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}". * "projects/{project\}/eventThreatDetectionSettings/customModules/{module\}".
6724
+ */
6725
+ name?: string;
6726
+ }
6727
+ export interface Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Get extends StandardParameters {
6728
+ /**
6729
+ * Required. Name of the custom module to get. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}". * "folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}". * "projects/{project\}/eventThreatDetectionSettings/customModules/{module\}".
6730
+ */
6731
+ name?: string;
6732
+ }
6733
+ export interface Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$List extends StandardParameters {
6734
+ /**
6735
+ * The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
6736
+ */
6737
+ pageSize?: number;
6738
+ /**
6739
+ * A page token, received from a previous `ListEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListEventThreatDetectionCustomModules` must match the call that provided the page token.
6740
+ */
6741
+ pageToken?: string;
6742
+ /**
6743
+ * Required. Name of the parent to list custom modules under. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings". * "folders/{folder\}/eventThreatDetectionSettings". * "projects/{project\}/eventThreatDetectionSettings".
6744
+ */
6745
+ parent?: string;
6746
+ }
6747
+ export interface Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Listdescendant extends StandardParameters {
6748
+ /**
6749
+ * The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
6750
+ */
6751
+ pageSize?: number;
6752
+ /**
6753
+ * A page token, received from a previous `ListDescendantEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDescendantEventThreatDetectionCustomModules` must match the call that provided the page token.
6754
+ */
6755
+ pageToken?: string;
6756
+ /**
6757
+ * Required. Name of the parent to list custom modules under. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings". * "folders/{folder\}/eventThreatDetectionSettings". * "projects/{project\}/eventThreatDetectionSettings".
6758
+ */
6759
+ parent?: string;
6760
+ }
6761
+ export interface Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Patch extends StandardParameters {
6762
+ /**
6763
+ * Immutable. The resource name of the Event Threat Detection custom module. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}". * "folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}". * "projects/{project\}/eventThreatDetectionSettings/customModules/{module\}".
6764
+ */
6765
+ name?: string;
6766
+ /**
6767
+ * The list of fields to be updated. If empty all mutable fields will be updated.
6768
+ */
6769
+ updateMask?: string;
6770
+ /**
6771
+ * Request body metadata
6772
+ */
6773
+ requestBody?: Schema$EventThreatDetectionCustomModule;
6774
+ }
6775
+ export class Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules {
6776
+ context: APIRequestContext;
6777
+ constructor(context: APIRequestContext);
6778
+ /**
6779
+ * Gets an effective Event Threat Detection custom module at the given level.
6780
+ *
6781
+ * @param params - Parameters for request
6782
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6783
+ * @param callback - Optional callback that handles the response.
6784
+ * @returns A promise if used with async/await, or void if used with a callback.
6785
+ */
6786
+ get(params: Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
6787
+ get(params?: Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$Get, options?: MethodOptions): GaxiosPromise<Schema$EffectiveEventThreatDetectionCustomModule>;
6788
+ get(params: Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6789
+ get(params: Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$Get, options: MethodOptions | BodyResponseCallback<Schema$EffectiveEventThreatDetectionCustomModule>, callback: BodyResponseCallback<Schema$EffectiveEventThreatDetectionCustomModule>): void;
6790
+ get(params: Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$Get, callback: BodyResponseCallback<Schema$EffectiveEventThreatDetectionCustomModule>): void;
6791
+ get(callback: BodyResponseCallback<Schema$EffectiveEventThreatDetectionCustomModule>): void;
6792
+ /**
6793
+ * Lists all effective Event Threat Detection custom modules for the given parent. This includes resident modules defined at the scope of the parent along with modules inherited from its ancestors.
6794
+ *
6795
+ * @param params - Parameters for request
6796
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6797
+ * @param callback - Optional callback that handles the response.
6798
+ * @returns A promise if used with async/await, or void if used with a callback.
6799
+ */
6800
+ list(params: Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
6801
+ list(params?: Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$List, options?: MethodOptions): GaxiosPromise<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>;
6802
+ list(params: Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6803
+ list(params: Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$List, options: MethodOptions | BodyResponseCallback<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>, callback: BodyResponseCallback<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>): void;
6804
+ list(params: Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$List, callback: BodyResponseCallback<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>): void;
6805
+ list(callback: BodyResponseCallback<Schema$ListEffectiveEventThreatDetectionCustomModulesResponse>): void;
6806
+ }
6807
+ export interface Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$Get extends StandardParameters {
6808
+ /**
6809
+ * Required. The resource name of the effective Event Threat Detection custom module. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}". * "folders/{folder\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}". * "projects/{project\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}".
6810
+ */
6811
+ name?: string;
6812
+ }
6813
+ export interface Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$List extends StandardParameters {
6814
+ /**
6815
+ * The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
6816
+ */
6817
+ pageSize?: number;
6818
+ /**
6819
+ * A page token, received from a previous `ListEffectiveEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListEffectiveEventThreatDetectionCustomModules` must match the call that provided the page token.
6820
+ */
6821
+ pageToken?: string;
6822
+ /**
6823
+ * Required. Name of the parent to list custom modules for. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings". * "folders/{folder\}/eventThreatDetectionSettings". * "projects/{project\}/eventThreatDetectionSettings".
6824
+ */
6825
+ parent?: string;
6826
+ }
6058
6827
  export class Resource$Projects$Findings {
6059
6828
  context: APIRequestContext;
6060
6829
  constructor(context: APIRequestContext);
@@ -6580,7 +7349,7 @@ export declare namespace securitycenter_v1 {
6580
7349
  */
6581
7350
  name?: string;
6582
7351
  /**
6583
- * The list of fields to update.
7352
+ * The list of fields to be updated. The only fields that can be updated are `enablement_state` and `custom_config`. If empty or set to the wildcard value `*`, both `enablement_state` and `custom_config` are updated.
6584
7353
  */
6585
7354
  updateMask?: string;
6586
7355
  /**
@@ -6590,7 +7359,7 @@ export declare namespace securitycenter_v1 {
6590
7359
  }
6591
7360
  export interface Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Simulate extends StandardParameters {
6592
7361
  /**
6593
- * Required. The relative resource name of the organization, project, or folder. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name An example is: "organizations/{organization_id\}".
7362
+ * Required. The relative resource name of the organization, project, or folder. For more information about relative resource names, see [Relative Resource Name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) Example: `organizations/{organization_id\}`
6594
7363
  */
6595
7364
  parent?: string;
6596
7365
  /**