@maxim_mazurok/gapi.client.securitycenter-v1beta2 0.0.20220809

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/index.d.ts ADDED
@@ -0,0 +1,3554 @@
1
+ /* Type definitions for non-npm package Security Command Center API v1beta2 0.0 */
2
+ // Project: https://cloud.google.com/security-command-center
3
+ // Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
4
+ // Nick Amoscato <https://github.com/namoscato>
5
+ // Declan Vong <https://github.com/declanvong>
6
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
7
+ // TypeScript Version: 2.8
8
+
9
+ // IMPORTANT
10
+ // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
11
+ // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
12
+ // Generated from: https://securitycenter.googleapis.com/$discovery/rest?version=v1beta2
13
+ // Revision: 20220809
14
+
15
+ /// <reference types="gapi.client" />
16
+
17
+ declare namespace gapi.client {
18
+ /** Load Security Command Center API v1beta2 */
19
+ function load(urlOrObject: "https://securitycenter.googleapis.com/$discovery/rest?version=v1beta2"): Promise<void>;
20
+ /** @deprecated Please load APIs with discovery documents. */
21
+ function load(name: "securitycenter", version: "v1beta2"): Promise<void>;
22
+ /** @deprecated Please load APIs with discovery documents. */
23
+ function load(name: "securitycenter", version: "v1beta2", callback: () => any): void;
24
+
25
+ namespace securitycenter {
26
+ interface Access {
27
+ /** Caller's IP address, such as "1.1.1.1". */
28
+ callerIp?: string;
29
+ /** The caller IP's geolocation, which identifies where the call came from. */
30
+ callerIpGeo?: Geolocation;
31
+ /** The method that the service account called, e.g. "SetIamPolicy". */
32
+ methodName?: string;
33
+ /**
34
+ * Associated email, such as "foo@google.com". The email address of the authenticated user (or service account on behalf of third party principal) making the request. For third party
35
+ * identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see
36
+ * [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).
37
+ */
38
+ principalEmail?: string;
39
+ /**
40
+ * A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as
41
+ * third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subject/{subject)` except for some GKE identities (GKE_WORKLOAD,
42
+ * FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`
43
+ */
44
+ principalSubject?: string;
45
+ /**
46
+ * Identity delegation history of an authenticated service account that makes the request. It contains information on the real authorities that try to access GCP resources by
47
+ * delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
48
+ */
49
+ serviceAccountDelegationInfo?: ServiceAccountDelegationInfo[];
50
+ /**
51
+ * The name of the service account key used to create or exchange credentials for authenticating the service account making the request. This is a scheme-less URI full resource name.
52
+ * For example: "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}"
53
+ */
54
+ serviceAccountKeyName?: string;
55
+ /** This is the API service that the service account made a call to, e.g. "iam.googleapis.com" */
56
+ serviceName?: string;
57
+ /** What kind of user agent is associated, e.g. operating system shells, embedded or stand-alone applications, etc. */
58
+ userAgentFamily?: string;
59
+ }
60
+ interface AccessReview {
61
+ /** Group is the API Group of the Resource. "*" means all. */
62
+ group?: string;
63
+ /** Name is the name of the resource being requested. Empty means all. */
64
+ name?: string;
65
+ /** Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty). */
66
+ ns?: string;
67
+ /** Resource is the optional resource type requested. "*" means all. */
68
+ resource?: string;
69
+ /** Subresource is the optional subresource type. */
70
+ subresource?: string;
71
+ /** Verb is a Kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all. */
72
+ verb?: string;
73
+ /** Version is the API Version of the Resource. "*" means all. */
74
+ version?: string;
75
+ }
76
+ interface Compliance {
77
+ /** Policies within the standard/benchmark e.g. A.12.4.1 */
78
+ ids?: string[];
79
+ /** Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp", etc. */
80
+ standard?: string;
81
+ /** Version of the standard/benchmark e.g. 1.1 */
82
+ version?: string;
83
+ }
84
+ interface Config {
85
+ /** The state of enablement for the module at its level of the resource hierarchy. */
86
+ moduleEnablementState?: string;
87
+ /** The configuration value for the module. The absence of this field implies its inheritance from the parent. */
88
+ value?: { [P in string]: any };
89
+ }
90
+ interface Connection {
91
+ /** Destination IP address. Not present for sockets that are listening and not connected. */
92
+ destinationIp?: string;
93
+ /** Destination port. Not present for sockets that are listening and not connected. */
94
+ destinationPort?: number;
95
+ /** IANA Internet Protocol Number such as TCP(6) and UDP(17). */
96
+ protocol?: string;
97
+ /** Source IP address. */
98
+ sourceIp?: string;
99
+ /** Source port. */
100
+ sourcePort?: number;
101
+ }
102
+ interface Contact {
103
+ /** An email address e.g. "person123@company.com" */
104
+ email?: string;
105
+ }
106
+ interface ContactDetails {
107
+ /** A list of contacts */
108
+ contacts?: Contact[];
109
+ }
110
+ interface Container {
111
+ /** Optional container image id, when provided by the container runtime. Uniquely identifies the container image launched using a container image digest. */
112
+ imageId?: string;
113
+ /** Container labels, as provided by the container runtime. */
114
+ labels?: Label[];
115
+ /** Container name. */
116
+ name?: string;
117
+ /** Container image URI provided when configuring a pod/container. May identify a container image version using mutable tags. */
118
+ uri?: string;
119
+ }
120
+ interface ContainerThreatDetectionSettings {
121
+ /**
122
+ * The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its
123
+ * parent's.
124
+ */
125
+ modules?: { [P in string]: Config };
126
+ /**
127
+ * The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings *
128
+ * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings *
129
+ * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings
130
+ */
131
+ name?: string;
132
+ /**
133
+ * Output only. The service account used by Container Threat Detection for scanning. Service accounts are scoped at the project level meaning this field will be empty at any level
134
+ * above a project.
135
+ */
136
+ serviceAccount?: string;
137
+ /** The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED. */
138
+ serviceEnablementState?: string;
139
+ /** Output only. The time the settings were last updated. */
140
+ updateTime?: string;
141
+ }
142
+ interface Cve {
143
+ /** Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document */
144
+ cvssv3?: Cvssv3;
145
+ /** The unique identifier for the vulnerability. e.g. CVE-2021-34527 */
146
+ id?: string;
147
+ /** Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527 */
148
+ references?: Reference[];
149
+ /** Whether upstream fix is available for the CVE. */
150
+ upstreamFixAvailable?: boolean;
151
+ }
152
+ interface Cvssv3 {
153
+ /** This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability. */
154
+ attackComplexity?: string;
155
+ /**
156
+ * Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. This metric reflects the context by which
157
+ * vulnerability exploitation is possible.
158
+ */
159
+ attackVector?: string;
160
+ /** This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability. */
161
+ availabilityImpact?: string;
162
+ /** The base score is a function of the base metric scores. */
163
+ baseScore?: number;
164
+ /** This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability. */
165
+ confidentialityImpact?: string;
166
+ /** This metric measures the impact to integrity of a successfully exploited vulnerability. */
167
+ integrityImpact?: string;
168
+ /** This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability. */
169
+ privilegesRequired?: string;
170
+ /** The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope. */
171
+ scope?: string;
172
+ /** This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component. */
173
+ userInteraction?: string;
174
+ }
175
+ interface Database {
176
+ /** The human readable name of the database the user connected to. */
177
+ displayName?: string;
178
+ /** The target usernames/roles/groups of a SQL privilege grant (not an IAM policy change). */
179
+ grantees?: string[];
180
+ /** The full resource name of the database the user connected to, if it is supported by CAI. (https://google.aip.dev/122#full-resource-names) */
181
+ name?: string;
182
+ /** The SQL statement associated with the relevant access. */
183
+ query?: string;
184
+ /** The username used to connect to the DB. This may not necessarily be an IAM principal, and has no required format. */
185
+ userName?: string;
186
+ }
187
+ interface Details {
188
+ /** The time the subscription has or will end. */
189
+ endTime?: string;
190
+ /** The time the subscription has or will start. */
191
+ startTime?: string;
192
+ /** The type of subscription */
193
+ type?: string;
194
+ }
195
+ interface Detection {
196
+ /** The name of the binary associated with the memory hash signature detection. */
197
+ binary?: string;
198
+ /** The percentage of memory page hashes in the signature that were matched. */
199
+ percentPagesMatched?: number;
200
+ }
201
+ interface EnvironmentVariable {
202
+ /** Environment variable name as a JSON encoded string. */
203
+ name?: string;
204
+ /** Environment variable value as a JSON encoded string. */
205
+ val?: string;
206
+ }
207
+ interface EventThreatDetectionSettings {
208
+ /**
209
+ * The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its
210
+ * parent's.
211
+ */
212
+ modules?: { [P in string]: Config };
213
+ /**
214
+ * The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings *
215
+ * projects/{project}/eventThreatDetectionSettings
216
+ */
217
+ name?: string;
218
+ /** The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED. */
219
+ serviceEnablementState?: string;
220
+ /** Output only. The time the settings were last updated. */
221
+ updateTime?: string;
222
+ }
223
+ interface ExfilResource {
224
+ /**
225
+ * Subcomponents of the asset that is exfiltrated - these could be URIs used during exfiltration, table names, databases, filenames, etc. For example, multiple tables may be
226
+ * exfiltrated from the same CloudSQL instance, or multiple files from the same Cloud Storage bucket.
227
+ */
228
+ components?: string[];
229
+ /** Resource's URI (https://google.aip.dev/122#full-resource-names) */
230
+ name?: string;
231
+ }
232
+ interface Exfiltration {
233
+ /** If there are multiple sources, then the data is considered "joined" between them. For instance, BigQuery can join multiple tables, and each table would be considered a source. */
234
+ sources?: ExfilResource[];
235
+ /** If there are multiple targets, each target would get a complete copy of the "joined" source data. */
236
+ targets?: ExfilResource[];
237
+ }
238
+ interface File {
239
+ /** Prefix of the file contents as a JSON encoded string. (Currently only populated for Malicious Script Executed findings.) */
240
+ contents?: string;
241
+ /** The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file. */
242
+ hashedSize?: string;
243
+ /** True when the hash covers only a prefix of the file. */
244
+ partiallyHashed?: boolean;
245
+ /** Absolute path of the file as a JSON encoded string. */
246
+ path?: string;
247
+ /** SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file. */
248
+ sha256?: string;
249
+ /** Size of the file in bytes. */
250
+ size?: string;
251
+ }
252
+ interface Finding {
253
+ /** Access details associated to the Finding, such as more information on the caller, which method was accessed, from where, etc. */
254
+ access?: Access;
255
+ /**
256
+ * The canonical name of the finding. It's either "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
257
+ * "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
258
+ * the resource associated with the finding.
259
+ */
260
+ canonicalName?: string;
261
+ /** The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION" */
262
+ category?: string;
263
+ /** Contains compliance information for security standards associated to the finding. */
264
+ compliances?: Compliance[];
265
+ /** Contains information about the IP connection associated with the finding. */
266
+ connections?: Connection[];
267
+ /**
268
+ * Output only. Map containing the point of contacts for the given finding. The key represents the type of contact, while the value contains a list of all the contacts that pertain.
269
+ * Please refer to: https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories { "security": { "contacts": [ { "email": "person1@company.com"
270
+ * }, { "email": "person2@company.com" } ] }
271
+ */
272
+ contacts?: { [P in string]: ContactDetails };
273
+ /** Containers associated with the finding. containers provides information for both Kubernetes and non-Kubernetes containers. */
274
+ containers?: Container[];
275
+ /** The time at which the finding was created in Security Command Center. */
276
+ createTime?: string;
277
+ /** Database associated with the finding. */
278
+ database?: Database;
279
+ /** Contains more detail about the finding. */
280
+ description?: string;
281
+ /**
282
+ * The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. For example, if the finding represents an open firewall, this
283
+ * property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding is later resolved, then this time reflects when
284
+ * the finding was resolved. This must not be set to a value greater than the current timestamp.
285
+ */
286
+ eventTime?: string;
287
+ /** Represents exfiltration associated with the Finding. */
288
+ exfiltration?: Exfiltration;
289
+ /** Output only. Third party SIEM/SOAR fields within SCC, contains external system information and external system finding fields. */
290
+ externalSystems?: { [P in string]: GoogleCloudSecuritycenterV1ExternalSystem };
291
+ /**
292
+ * The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be
293
+ * either empty or a well formed URL.
294
+ */
295
+ externalUri?: string;
296
+ /** The class of the finding. */
297
+ findingClass?: string;
298
+ /** Represents IAM bindings associated with the Finding. */
299
+ iamBindings?: IamBinding[];
300
+ /**
301
+ * 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
302
+ * confidence, indicates a computer intrusion. Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise
303
+ */
304
+ indicator?: Indicator;
305
+ /** Kubernetes resources associated with the finding. */
306
+ kubernetes?: Kubernetes;
307
+ /** MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org */
308
+ mitreAttack?: MitreAttack;
309
+ /** Indicates the mute state of a finding (either muted, unmuted or undefined). Unlike other attributes of a finding, a finding provider shouldn't set the value of mute. */
310
+ mute?: string;
311
+ /**
312
+ * First known as mute_annotation. Records additional information about the mute operation e.g. mute config that muted the finding, user who muted the finding, etc. Unlike other
313
+ * attributes of a finding, a finding provider shouldn't set the value of mute.
314
+ */
315
+ muteInitiator?: string;
316
+ /** Output only. The most recent time this finding was muted or unmuted. */
317
+ muteUpdateTime?: string;
318
+ /**
319
+ * The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example:
320
+ * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}"
321
+ */
322
+ name?: string;
323
+ /** Next steps associate to the finding. */
324
+ nextSteps?: string;
325
+ /**
326
+ * The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after
327
+ * creation time. For example: "organizations/{organization_id}/sources/{source_id}"
328
+ */
329
+ parent?: string;
330
+ /** Represents operating system processes associated with the Finding. */
331
+ processes?: Process[];
332
+ /**
333
+ * For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See:
334
+ * https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined
335
+ * string. This field is immutable after creation time.
336
+ */
337
+ resourceName?: string;
338
+ /** Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding. */
339
+ securityMarks?: SecurityMarks;
340
+ /** The severity of the finding. This field is managed by the source that writes the finding. */
341
+ severity?: string;
342
+ /**
343
+ * Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and
344
+ * must start with a letter and contain alphanumeric characters or underscores only.
345
+ */
346
+ sourceProperties?: { [P in string]: any };
347
+ /** The state of the finding. */
348
+ state?: string;
349
+ /** Represents vulnerability specific fields like cve, cvss scores etc. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/) */
350
+ vulnerability?: Vulnerability;
351
+ }
352
+ interface Folder {
353
+ /** Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name */
354
+ resourceFolder?: string;
355
+ /** The user defined display name for this folder. */
356
+ resourceFolderDisplayName?: string;
357
+ }
358
+ interface Geolocation {
359
+ /** A CLDR. */
360
+ regionCode?: string;
361
+ }
362
+ interface GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse {
363
+ /** The duration between asset discovery run start and end */
364
+ duration?: string;
365
+ /** The state of an asset discovery run. */
366
+ state?: string;
367
+ }
368
+ interface GoogleCloudSecuritycenterV1BigQueryExport {
369
+ /** Output only. The time at which the big query export was created. This field is set by the server and will be ignored if provided on export on creation. */
370
+ createTime?: string;
371
+ /**
372
+ * The dataset to write findings' updates to. Its format is "projects/[project_id]/datasets/[bigquery_dataset_id]". BigQuery Dataset unique ID must contain only letters (a-z, A-Z),
373
+ * numbers (0-9), or underscores (_).
374
+ */
375
+ dataset?: string;
376
+ /** The description of the export (max of 1024 characters). */
377
+ description?: string;
378
+ /**
379
+ * Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators `AND` and
380
+ * `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The
381
+ * fields map to those defined in the corresponding resource. The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning
382
+ * substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes.
383
+ */
384
+ filter?: string;
385
+ /** Output only. Email address of the user who last edited the big query export. This field is set by the server and will be ignored if provided on export creation or update. */
386
+ mostRecentEditor?: string;
387
+ /**
388
+ * The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name. Example format:
389
+ * "organizations/{organization_id}/bigQueryExports/{export_id}" Example format: "folders/{folder_id}/bigQueryExports/{export_id}" Example format:
390
+ * "projects/{project_id}/bigQueryExports/{export_id}" This field is provided in responses, and is ignored when provided in create requests.
391
+ */
392
+ name?: string;
393
+ /** Output only. The service account that needs permission to create table, upload data to the big query dataset. */
394
+ principal?: string;
395
+ /** Output only. The most recent time at which the big export was updated. This field is set by the server and will be ignored if provided on export creation or update. */
396
+ updateTime?: string;
397
+ }
398
+ interface GoogleCloudSecuritycenterV1Binding {
399
+ /** Name for binding. */
400
+ name?: string;
401
+ /** Namespace for binding. */
402
+ ns?: string;
403
+ /** The Role or ClusterRole referenced by the binding. */
404
+ role?: Role;
405
+ /** Represents the subjects(s) bound to the role. Not always available for PATCH requests. */
406
+ subjects?: Subject[];
407
+ }
408
+ // tslint:disable-next-line:no-empty-interface
409
+ interface GoogleCloudSecuritycenterV1BulkMuteFindingsResponse {
410
+ }
411
+ interface GoogleCloudSecuritycenterV1ExternalSystem {
412
+ /** References primary/secondary etc assignees in the external system. */
413
+ assignees?: string[];
414
+ /** The most recent time when the corresponding finding's ticket/tracker was updated in the external system. */
415
+ externalSystemUpdateTime?: string;
416
+ /** Identifier that's used to track the given finding in the external system. */
417
+ externalUid?: string;
418
+ /**
419
+ * External System Name e.g. jira, demisto, etc. e.g.: `organizations/1234/sources/5678/findings/123456/externalSystems/jira`
420
+ * `folders/1234/sources/5678/findings/123456/externalSystems/jira` `projects/1234/sources/5678/findings/123456/externalSystems/jira`
421
+ */
422
+ name?: string;
423
+ /** Most recent status of the corresponding finding's ticket/tracker in the external system. */
424
+ status?: string;
425
+ }
426
+ interface GoogleCloudSecuritycenterV1MuteConfig {
427
+ /** Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation. */
428
+ createTime?: string;
429
+ /** A description of the mute config. */
430
+ description?: string;
431
+ /** The human readable name to be displayed for the mute config. */
432
+ displayName?: string;
433
+ /**
434
+ * Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute
435
+ * configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator
436
+ * combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` *
437
+ * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` *
438
+ * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`
439
+ */
440
+ filter?: string;
441
+ /** Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update. */
442
+ mostRecentEditor?: string;
443
+ /**
444
+ * This field will be ignored if provided on config creation. Format "organizations/{organization}/muteConfigs/{mute_config}" "folders/{folder}/muteConfigs/{mute_config}"
445
+ * "projects/{project}/muteConfigs/{mute_config}"
446
+ */
447
+ name?: string;
448
+ /** Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update. */
449
+ updateTime?: string;
450
+ }
451
+ interface GoogleCloudSecuritycenterV1NotificationMessage {
452
+ /** If it's a Finding based notification config, this field will be populated. */
453
+ finding?: Finding;
454
+ /** Name of the notification config that generated current notification. */
455
+ notificationConfigName?: string;
456
+ /** The Cloud resource tied to this notification's Finding. */
457
+ resource?: GoogleCloudSecuritycenterV1Resource;
458
+ }
459
+ interface GoogleCloudSecuritycenterV1p1beta1Finding {
460
+ /**
461
+ * The canonical name of the finding. It's either "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
462
+ * "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
463
+ * the resource associated with the finding.
464
+ */
465
+ canonicalName?: string;
466
+ /** The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION" */
467
+ category?: string;
468
+ /** The time at which the finding was created in Security Command Center. */
469
+ createTime?: string;
470
+ /**
471
+ * The time at which the event took place, or when an update to the finding occurred. For example, if the finding represents an open firewall it would capture the time the detector
472
+ * believes the firewall became open. The accuracy is determined by the detector. If the finding were to be resolved afterward, this time would reflect when the finding was resolved.
473
+ * Must not be set to a value greater than the current timestamp.
474
+ */
475
+ eventTime?: string;
476
+ /**
477
+ * The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be
478
+ * either empty or a well formed URL.
479
+ */
480
+ externalUri?: string;
481
+ /**
482
+ * The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example:
483
+ * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}"
484
+ */
485
+ name?: string;
486
+ /**
487
+ * The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after
488
+ * creation time. For example: "organizations/{organization_id}/sources/{source_id}"
489
+ */
490
+ parent?: string;
491
+ /**
492
+ * For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See:
493
+ * https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined
494
+ * string. This field is immutable after creation time.
495
+ */
496
+ resourceName?: string;
497
+ /** Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding. */
498
+ securityMarks?: GoogleCloudSecuritycenterV1p1beta1SecurityMarks;
499
+ /** The severity of the finding. This field is managed by the source that writes the finding. */
500
+ severity?: string;
501
+ /**
502
+ * Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and
503
+ * must start with a letter and contain alphanumeric characters or underscores only.
504
+ */
505
+ sourceProperties?: { [P in string]: any };
506
+ /** The state of the finding. */
507
+ state?: string;
508
+ }
509
+ interface GoogleCloudSecuritycenterV1p1beta1Folder {
510
+ /** Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name */
511
+ resourceFolder?: string;
512
+ /** The user defined display name for this folder. */
513
+ resourceFolderDisplayName?: string;
514
+ }
515
+ interface GoogleCloudSecuritycenterV1p1beta1NotificationMessage {
516
+ /** If it's a Finding based notification config, this field will be populated. */
517
+ finding?: GoogleCloudSecuritycenterV1p1beta1Finding;
518
+ /** Name of the notification config that generated current notification. */
519
+ notificationConfigName?: string;
520
+ /** The Cloud resource tied to the notification. */
521
+ resource?: GoogleCloudSecuritycenterV1p1beta1Resource;
522
+ }
523
+ interface GoogleCloudSecuritycenterV1p1beta1Resource {
524
+ /**
525
+ * Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the
526
+ * Organization.
527
+ */
528
+ folders?: GoogleCloudSecuritycenterV1p1beta1Folder[];
529
+ /** The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name */
530
+ name?: string;
531
+ /** The full resource name of resource's parent. */
532
+ parent?: string;
533
+ /** The human readable name of resource's parent. */
534
+ parentDisplayName?: string;
535
+ /** The full resource name of project that the resource belongs to. */
536
+ project?: string;
537
+ /** The project id that the resource belongs to. */
538
+ projectDisplayName?: string;
539
+ }
540
+ interface GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse {
541
+ /** The duration between asset discovery run start and end */
542
+ duration?: string;
543
+ /** The state of an asset discovery run. */
544
+ state?: string;
545
+ }
546
+ interface GoogleCloudSecuritycenterV1p1beta1SecurityMarks {
547
+ /**
548
+ * The canonical name of the marks. Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" "folders/{folder_id}/assets/{asset_id}/securityMarks"
549
+ * "projects/{project_number}/assets/{asset_id}/securityMarks" "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks"
550
+ * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks" "projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks"
551
+ */
552
+ canonicalName?: string;
553
+ /**
554
+ * Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256
555
+ * characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096
556
+ * characters (inclusive)
557
+ */
558
+ marks?: { [P in string]: string };
559
+ /**
560
+ * The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples:
561
+ * "organizations/{organization_id}/assets/{asset_id}/securityMarks" "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks".
562
+ */
563
+ name?: string;
564
+ }
565
+ interface GoogleCloudSecuritycenterV1Resource {
566
+ /** The human readable name of the resource. */
567
+ displayName?: string;
568
+ /**
569
+ * Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the
570
+ * Organization.
571
+ */
572
+ folders?: Folder[];
573
+ /** The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name */
574
+ name?: string;
575
+ /** The full resource name of resource's parent. */
576
+ parent?: string;
577
+ /** The human readable name of resource's parent. */
578
+ parentDisplayName?: string;
579
+ /** The full resource name of project that the resource belongs to. */
580
+ project?: string;
581
+ /** The project ID that the resource belongs to. */
582
+ projectDisplayName?: string;
583
+ /** The full resource type of the resource. */
584
+ type?: string;
585
+ }
586
+ interface GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse {
587
+ /** The duration between asset discovery run start and end */
588
+ duration?: string;
589
+ /** The state of an asset discovery run. */
590
+ state?: string;
591
+ }
592
+ interface IamBinding {
593
+ /** The action that was performed on a Binding. */
594
+ action?: string;
595
+ /** A single identity requesting access for a Cloud Platform resource, e.g. "foo@google.com". */
596
+ member?: string;
597
+ /** Role that is assigned to "members". For example, "roles/viewer", "roles/editor", or "roles/owner". */
598
+ role?: string;
599
+ }
600
+ interface Indicator {
601
+ /** List of domains associated to the Finding. */
602
+ domains?: string[];
603
+ /** List of ip addresses associated to the Finding. */
604
+ ipAddresses?: string[];
605
+ /** The list of matched signatures indicating that the given process is present in the environment. */
606
+ signatures?: ProcessSignature[];
607
+ /** The list of URIs associated to the Findings */
608
+ uris?: string[];
609
+ }
610
+ interface Kubernetes {
611
+ /** Provides information on any Kubernetes access reviews (i.e. privilege checks) relevant to the finding. */
612
+ accessReviews?: AccessReview[];
613
+ /** Provides Kubernetes role binding information for findings that involve RoleBindings or ClusterRoleBindings. */
614
+ bindings?: GoogleCloudSecuritycenterV1Binding[];
615
+ /** GKE Node Pools associated with the finding. This field will contain NodePool information for each Node, when it is available. */
616
+ nodePools?: NodePool[];
617
+ /** Provides Kubernetes Node information. */
618
+ nodes?: Node[];
619
+ /** Kubernetes Pods associated with the finding. This field will contain Pod records for each container that is owned by a Pod. */
620
+ pods?: Pod[];
621
+ /** Provides Kubernetes role information for findings that involve Roles or ClusterRoles. */
622
+ roles?: Role[];
623
+ }
624
+ interface Label {
625
+ /** Label name. */
626
+ name?: string;
627
+ /** Label value. */
628
+ value?: string;
629
+ }
630
+ interface MemoryHashSignature {
631
+ /** The binary family. */
632
+ binaryFamily?: string;
633
+ /** The list of memory hash detections contributing to the binary family match. */
634
+ detections?: Detection[];
635
+ }
636
+ interface MitreAttack {
637
+ /** Additional MITRE ATT&CK tactics related to this finding, if any. */
638
+ additionalTactics?: string[];
639
+ /** Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques. */
640
+ additionalTechniques?: string[];
641
+ /** The MITRE ATT&CK tactic most closely represented by this finding, if any. */
642
+ primaryTactic?: string;
643
+ /**
644
+ * The MITRE ATT&CK technique most closely represented by this finding, if any. primary_techniques is a repeated field because there are multiple levels of MITRE ATT&CK techniques. If
645
+ * the technique most closely represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`), both the sub-technique and its parent technique(s) will be listed (e.g.
646
+ * `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).
647
+ */
648
+ primaryTechniques?: string[];
649
+ /** The MITRE ATT&CK version referenced by the above fields. E.g. "8". */
650
+ version?: string;
651
+ }
652
+ interface Node {
653
+ /** Full Resource name of the Compute Engine VM running the cluster node. */
654
+ name?: string;
655
+ }
656
+ interface NodePool {
657
+ /** Kubernetes Node pool name. */
658
+ name?: string;
659
+ /** Nodes associated with the finding. */
660
+ nodes?: Node[];
661
+ }
662
+ interface OnboardingState {
663
+ /** The resource name of the OnboardingState. Format: organizations/{organization}/onboardingState Format: folders/{folder}/onboardingState Format: projects/{project}/onboardingState */
664
+ name?: string;
665
+ /** Describes the level a given organization, folder, or project is onboarded with SCC. If the resource wasn't onboarded, NOT_FOUND would have been thrown. */
666
+ onboardingLevel?: string;
667
+ }
668
+ interface Pod {
669
+ /** Pod containers associated with this finding, if any. */
670
+ containers?: Container[];
671
+ /** Pod labels. For Kubernetes containers, these are applied to the container. */
672
+ labels?: Label[];
673
+ /** Kubernetes Pod name. */
674
+ name?: string;
675
+ /** Kubernetes Pod namespace. */
676
+ ns?: string;
677
+ }
678
+ interface Process {
679
+ /** Process arguments as JSON encoded strings. */
680
+ args?: string[];
681
+ /** True if `args` is incomplete. */
682
+ argumentsTruncated?: boolean;
683
+ /** File information for the process executable. */
684
+ binary?: File;
685
+ /** Process environment variables. */
686
+ envVariables?: EnvironmentVariable[];
687
+ /** True if `env_variables` is incomplete. */
688
+ envVariablesTruncated?: boolean;
689
+ /** File information for libraries loaded by the process. */
690
+ libraries?: File[];
691
+ /** The process name visible in utilities like `top` and `ps`; it can be accessed via `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`. */
692
+ name?: string;
693
+ /** The parent process id. */
694
+ parentPid?: string;
695
+ /** The process id. */
696
+ pid?: string;
697
+ /**
698
+ * When the process represents the invocation of a script, `binary` provides information about the interpreter while `script` provides information about the script file provided to the
699
+ * interpreter.
700
+ */
701
+ script?: File;
702
+ }
703
+ interface ProcessSignature {
704
+ /** Signature indicating that a binary family was matched. */
705
+ memoryHashSignature?: MemoryHashSignature;
706
+ /** Signature indicating that a YARA rule was matched. */
707
+ yaraRuleSignature?: YaraRuleSignature;
708
+ }
709
+ interface RapidVulnerabilityDetectionSettings {
710
+ /**
711
+ * The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its
712
+ * parent's.
713
+ */
714
+ modules?: { [P in string]: Config };
715
+ /**
716
+ * The resource name of the RapidVulnerabilityDetectionSettings. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings *
717
+ * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings
718
+ */
719
+ name?: string;
720
+ /** The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED. */
721
+ serviceEnablementState?: string;
722
+ /** Output only. The time the settings were last updated. */
723
+ updateTime?: string;
724
+ }
725
+ interface Reference {
726
+ /** Source of the reference e.g. NVD */
727
+ source?: string;
728
+ /** Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527. */
729
+ uri?: string;
730
+ }
731
+ interface Role {
732
+ /** Role type. */
733
+ kind?: string;
734
+ /** Role name. */
735
+ name?: string;
736
+ /** Role namespace. */
737
+ ns?: string;
738
+ }
739
+ interface SecurityCenterSettings {
740
+ /**
741
+ * The resource name of the project to send logs to. This project must be part of the organization this resource resides in. The format is `projects/{project_id}`. An empty value
742
+ * disables logging. This value is only referenced by services that support log sink. Please refer to the documentation for an updated list of compatible services. This may only be
743
+ * specified for organization level onboarding.
744
+ */
745
+ logSinkProject?: string;
746
+ /**
747
+ * The resource name of the SecurityCenterSettings. Format: organizations/{organization}/securityCenterSettings Format: folders/{folder}/securityCenterSettings Format:
748
+ * projects/{project}/securityCenterSettings
749
+ */
750
+ name?: string;
751
+ /** Output only. Timestamp of when the customer organization was onboarded to SCC. */
752
+ onboardingTime?: string;
753
+ /** Output only. The organization level service account to be used for security center components. */
754
+ orgServiceAccount?: string;
755
+ }
756
+ interface SecurityHealthAnalyticsSettings {
757
+ /**
758
+ * The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its
759
+ * parent's.
760
+ */
761
+ modules?: { [P in string]: Config };
762
+ /**
763
+ * The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings
764
+ * * projects/{project}/securityHealthAnalyticsSettings
765
+ */
766
+ name?: string;
767
+ /** Output only. The service account used by Security Health Analytics detectors. */
768
+ serviceAccount?: string;
769
+ /** The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED. */
770
+ serviceEnablementState?: string;
771
+ /** Output only. The time the settings were last updated. */
772
+ updateTime?: string;
773
+ }
774
+ interface SecurityMarks {
775
+ /**
776
+ * The canonical name of the marks. Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" "folders/{folder_id}/assets/{asset_id}/securityMarks"
777
+ * "projects/{project_number}/assets/{asset_id}/securityMarks" "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks"
778
+ * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks" "projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks"
779
+ */
780
+ canonicalName?: string;
781
+ /**
782
+ * Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256
783
+ * characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096
784
+ * characters (inclusive)
785
+ */
786
+ marks?: { [P in string]: string };
787
+ /**
788
+ * The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples:
789
+ * "organizations/{organization_id}/assets/{asset_id}/securityMarks" "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks".
790
+ */
791
+ name?: string;
792
+ }
793
+ interface ServiceAccountDelegationInfo {
794
+ /** The email address of a Google account. . */
795
+ principalEmail?: string;
796
+ /**
797
+ * A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as
798
+ * third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subject/{subject)` except for some GKE identities (GKE_WORKLOAD,
799
+ * FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`
800
+ */
801
+ principalSubject?: string;
802
+ }
803
+ interface Subject {
804
+ /** Authentication type for subject. */
805
+ kind?: string;
806
+ /** Name for subject. */
807
+ name?: string;
808
+ /** Namespace for subject. */
809
+ ns?: string;
810
+ }
811
+ interface Subscription {
812
+ /** The details of the most recent active subscription. If there has never been a subscription this will be empty. */
813
+ details?: Details;
814
+ /** The resource name of the subscription. Format: organizations/{organization}/subscription */
815
+ name?: string;
816
+ /** The tier of SCC features this organization currently has access to. */
817
+ tier?: string;
818
+ }
819
+ interface VirtualMachineThreatDetectionSettings {
820
+ /**
821
+ * The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its
822
+ * parent's.
823
+ */
824
+ modules?: { [P in string]: Config };
825
+ /**
826
+ * The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings *
827
+ * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings
828
+ */
829
+ name?: string;
830
+ /** Output only. The service account used by Virtual Machine Threat Detection detectors. */
831
+ serviceAccount?: string;
832
+ /** The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED. */
833
+ serviceEnablementState?: string;
834
+ /** Output only. The time the settings were last updated. */
835
+ updateTime?: string;
836
+ }
837
+ interface Vulnerability {
838
+ /** CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/) */
839
+ cve?: Cve;
840
+ }
841
+ interface WebSecurityScannerSettings {
842
+ /**
843
+ * The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its
844
+ * parent's.
845
+ */
846
+ modules?: { [P in string]: Config };
847
+ /**
848
+ * The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings *
849
+ * projects/{project}/webSecurityScannerSettings
850
+ */
851
+ name?: string;
852
+ /** The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED. */
853
+ serviceEnablementState?: string;
854
+ /** Output only. The time the settings were last updated. */
855
+ updateTime?: string;
856
+ }
857
+ interface YaraRuleSignature {
858
+ /** The name of the YARA rule. */
859
+ yaraRule?: string;
860
+ }
861
+ interface ContainerThreatDetectionSettingsResource {
862
+ /** Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings. */
863
+ calculate(request?: {
864
+ /** V1 error format. */
865
+ "$.xgafv"?: string;
866
+ /** OAuth access token. */
867
+ access_token?: string;
868
+ /** Data format for response. */
869
+ alt?: string;
870
+ /** JSONP */
871
+ callback?: string;
872
+ /** Selector specifying which fields to include in a partial response. */
873
+ fields?: string;
874
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
875
+ key?: string;
876
+ /**
877
+ * Required. The name of the ContainerThreatDetectionSettings to calculate. Formats: * organizations/{organization}/containerThreatDetectionSettings *
878
+ * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings *
879
+ * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings
880
+ */
881
+ name: string;
882
+ /** OAuth 2.0 token for the current user. */
883
+ oauth_token?: string;
884
+ /** Returns response with indentations and line breaks. */
885
+ prettyPrint?: boolean;
886
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
887
+ quotaUser?: string;
888
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
889
+ upload_protocol?: string;
890
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
891
+ uploadType?: string;
892
+ }): Request<ContainerThreatDetectionSettings>;
893
+ }
894
+ interface EventThreatDetectionSettingsResource {
895
+ /** Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings. */
896
+ calculate(request?: {
897
+ /** V1 error format. */
898
+ "$.xgafv"?: string;
899
+ /** OAuth access token. */
900
+ access_token?: string;
901
+ /** Data format for response. */
902
+ alt?: string;
903
+ /** JSONP */
904
+ callback?: string;
905
+ /** Selector specifying which fields to include in a partial response. */
906
+ fields?: string;
907
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
908
+ key?: string;
909
+ /**
910
+ * Required. The name of the EventThreatDetectionSettings to calculate. Formats: * organizations/{organization}/eventThreatDetectionSettings *
911
+ * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings
912
+ */
913
+ name: string;
914
+ /** OAuth 2.0 token for the current user. */
915
+ oauth_token?: string;
916
+ /** Returns response with indentations and line breaks. */
917
+ prettyPrint?: boolean;
918
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
919
+ quotaUser?: string;
920
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
921
+ upload_protocol?: string;
922
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
923
+ uploadType?: string;
924
+ }): Request<EventThreatDetectionSettings>;
925
+ }
926
+ interface RapidVulnerabilityDetectionSettingsResource {
927
+ /** Calculates the effective RapidVulnerabilityDetectionSettings based on its level in the resource hierarchy and its settings. */
928
+ calculate(request?: {
929
+ /** V1 error format. */
930
+ "$.xgafv"?: string;
931
+ /** OAuth access token. */
932
+ access_token?: string;
933
+ /** Data format for response. */
934
+ alt?: string;
935
+ /** JSONP */
936
+ callback?: string;
937
+ /** Selector specifying which fields to include in a partial response. */
938
+ fields?: string;
939
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
940
+ key?: string;
941
+ /**
942
+ * Required. The name of the RapidVulnerabilityDetectionSettings to calculate. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings *
943
+ * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings
944
+ */
945
+ name: string;
946
+ /** OAuth 2.0 token for the current user. */
947
+ oauth_token?: string;
948
+ /** Returns response with indentations and line breaks. */
949
+ prettyPrint?: boolean;
950
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
951
+ quotaUser?: string;
952
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
953
+ upload_protocol?: string;
954
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
955
+ uploadType?: string;
956
+ }): Request<RapidVulnerabilityDetectionSettings>;
957
+ }
958
+ interface SecurityHealthAnalyticsSettingsResource {
959
+ /** Calculates the effective SecurityHealthAnalyticsSettings based on its level in the resource hierarchy and its settings. */
960
+ calculate(request?: {
961
+ /** V1 error format. */
962
+ "$.xgafv"?: string;
963
+ /** OAuth access token. */
964
+ access_token?: string;
965
+ /** Data format for response. */
966
+ alt?: string;
967
+ /** JSONP */
968
+ callback?: string;
969
+ /** Selector specifying which fields to include in a partial response. */
970
+ fields?: string;
971
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
972
+ key?: string;
973
+ /**
974
+ * Required. The name of the SecurityHealthAnalyticsSettings to calculate. Formats: * organizations/{organization}/securityHealthAnalyticsSettings *
975
+ * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings
976
+ */
977
+ name: string;
978
+ /** OAuth 2.0 token for the current user. */
979
+ oauth_token?: string;
980
+ /** Returns response with indentations and line breaks. */
981
+ prettyPrint?: boolean;
982
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
983
+ quotaUser?: string;
984
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
985
+ upload_protocol?: string;
986
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
987
+ uploadType?: string;
988
+ }): Request<SecurityHealthAnalyticsSettings>;
989
+ }
990
+ interface VirtualMachineThreatDetectionSettingsResource {
991
+ /** Calculates the effective VirtualMachineThreatDetectionSettings based on its level in the resource hierarchy and its settings. */
992
+ calculate(request?: {
993
+ /** V1 error format. */
994
+ "$.xgafv"?: string;
995
+ /** OAuth access token. */
996
+ access_token?: string;
997
+ /** Data format for response. */
998
+ alt?: string;
999
+ /** JSONP */
1000
+ callback?: string;
1001
+ /** Selector specifying which fields to include in a partial response. */
1002
+ fields?: string;
1003
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1004
+ key?: string;
1005
+ /**
1006
+ * Required. The name of the VirtualMachineThreatDetectionSettings to calculate. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings *
1007
+ * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings
1008
+ */
1009
+ name: string;
1010
+ /** OAuth 2.0 token for the current user. */
1011
+ oauth_token?: string;
1012
+ /** Returns response with indentations and line breaks. */
1013
+ prettyPrint?: boolean;
1014
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1015
+ quotaUser?: string;
1016
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1017
+ upload_protocol?: string;
1018
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1019
+ uploadType?: string;
1020
+ }): Request<VirtualMachineThreatDetectionSettings>;
1021
+ }
1022
+ interface WebSecurityScannerSettingsResource {
1023
+ /** Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings. */
1024
+ calculate(request?: {
1025
+ /** V1 error format. */
1026
+ "$.xgafv"?: string;
1027
+ /** OAuth access token. */
1028
+ access_token?: string;
1029
+ /** Data format for response. */
1030
+ alt?: string;
1031
+ /** JSONP */
1032
+ callback?: string;
1033
+ /** Selector specifying which fields to include in a partial response. */
1034
+ fields?: string;
1035
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1036
+ key?: string;
1037
+ /**
1038
+ * Required. The name of the WebSecurityScannerSettings to calculate. Formats: * organizations/{organization}/webSecurityScannerSettings *
1039
+ * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings
1040
+ */
1041
+ name: string;
1042
+ /** OAuth 2.0 token for the current user. */
1043
+ oauth_token?: string;
1044
+ /** Returns response with indentations and line breaks. */
1045
+ prettyPrint?: boolean;
1046
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1047
+ quotaUser?: string;
1048
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1049
+ upload_protocol?: string;
1050
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1051
+ uploadType?: string;
1052
+ }): Request<WebSecurityScannerSettings>;
1053
+ }
1054
+ interface FoldersResource {
1055
+ /** Get the ContainerThreatDetectionSettings resource. */
1056
+ getContainerThreatDetectionSettings(request?: {
1057
+ /** V1 error format. */
1058
+ "$.xgafv"?: string;
1059
+ /** OAuth access token. */
1060
+ access_token?: string;
1061
+ /** Data format for response. */
1062
+ alt?: string;
1063
+ /** JSONP */
1064
+ callback?: string;
1065
+ /** Selector specifying which fields to include in a partial response. */
1066
+ fields?: string;
1067
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1068
+ key?: string;
1069
+ /**
1070
+ * Required. The name of the ContainerThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/containerThreatDetectionSettings *
1071
+ * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings *
1072
+ * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings
1073
+ */
1074
+ name: string;
1075
+ /** OAuth 2.0 token for the current user. */
1076
+ oauth_token?: string;
1077
+ /** Returns response with indentations and line breaks. */
1078
+ prettyPrint?: boolean;
1079
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1080
+ quotaUser?: string;
1081
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1082
+ upload_protocol?: string;
1083
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1084
+ uploadType?: string;
1085
+ }): Request<ContainerThreatDetectionSettings>;
1086
+ /** Get the EventThreatDetectionSettings resource. */
1087
+ getEventThreatDetectionSettings(request?: {
1088
+ /** V1 error format. */
1089
+ "$.xgafv"?: string;
1090
+ /** OAuth access token. */
1091
+ access_token?: string;
1092
+ /** Data format for response. */
1093
+ alt?: string;
1094
+ /** JSONP */
1095
+ callback?: string;
1096
+ /** Selector specifying which fields to include in a partial response. */
1097
+ fields?: string;
1098
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1099
+ key?: string;
1100
+ /**
1101
+ * Required. The name of the EventThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/eventThreatDetectionSettings *
1102
+ * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings
1103
+ */
1104
+ name: string;
1105
+ /** OAuth 2.0 token for the current user. */
1106
+ oauth_token?: string;
1107
+ /** Returns response with indentations and line breaks. */
1108
+ prettyPrint?: boolean;
1109
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1110
+ quotaUser?: string;
1111
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1112
+ upload_protocol?: string;
1113
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1114
+ uploadType?: string;
1115
+ }): Request<EventThreatDetectionSettings>;
1116
+ /** Retrieve the OnboardingState of a resource. */
1117
+ getOnboardingState(request?: {
1118
+ /** V1 error format. */
1119
+ "$.xgafv"?: string;
1120
+ /** OAuth access token. */
1121
+ access_token?: string;
1122
+ /** Data format for response. */
1123
+ alt?: string;
1124
+ /** JSONP */
1125
+ callback?: string;
1126
+ /** Selector specifying which fields to include in a partial response. */
1127
+ fields?: string;
1128
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1129
+ key?: string;
1130
+ /**
1131
+ * Required. The name of the OnboardingState to retrieve. Formats: * organizations/{organization}/onboardingState * folders/{folder}/onboardingState *
1132
+ * projects/{project}/onboardingState
1133
+ */
1134
+ name: string;
1135
+ /** OAuth 2.0 token for the current user. */
1136
+ oauth_token?: string;
1137
+ /** Returns response with indentations and line breaks. */
1138
+ prettyPrint?: boolean;
1139
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1140
+ quotaUser?: string;
1141
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1142
+ upload_protocol?: string;
1143
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1144
+ uploadType?: string;
1145
+ }): Request<OnboardingState>;
1146
+ /** Get the RapidVulnerabilityDetectionSettings resource. */
1147
+ getRapidVulnerabilityDetectionSettings(request?: {
1148
+ /** V1 error format. */
1149
+ "$.xgafv"?: string;
1150
+ /** OAuth access token. */
1151
+ access_token?: string;
1152
+ /** Data format for response. */
1153
+ alt?: string;
1154
+ /** JSONP */
1155
+ callback?: string;
1156
+ /** Selector specifying which fields to include in a partial response. */
1157
+ fields?: string;
1158
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1159
+ key?: string;
1160
+ /**
1161
+ * Required. The name of the RapidVulnerabilityDetectionSettings to retrieve. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings *
1162
+ * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings
1163
+ */
1164
+ name: string;
1165
+ /** OAuth 2.0 token for the current user. */
1166
+ oauth_token?: string;
1167
+ /** Returns response with indentations and line breaks. */
1168
+ prettyPrint?: boolean;
1169
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1170
+ quotaUser?: string;
1171
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1172
+ upload_protocol?: string;
1173
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1174
+ uploadType?: string;
1175
+ }): Request<RapidVulnerabilityDetectionSettings>;
1176
+ /** Get the SecurityCenterSettings resource. */
1177
+ getSecurityCenterSettings(request?: {
1178
+ /** V1 error format. */
1179
+ "$.xgafv"?: string;
1180
+ /** OAuth access token. */
1181
+ access_token?: string;
1182
+ /** Data format for response. */
1183
+ alt?: string;
1184
+ /** JSONP */
1185
+ callback?: string;
1186
+ /** Selector specifying which fields to include in a partial response. */
1187
+ fields?: string;
1188
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1189
+ key?: string;
1190
+ /**
1191
+ * Required. The name of the SecurityCenterSettings to retrieve. Format: organizations/{organization}/securityCenterSettings Format: folders/{folder}/securityCenterSettings Format:
1192
+ * projects/{project}/securityCenterSettings
1193
+ */
1194
+ name: string;
1195
+ /** OAuth 2.0 token for the current user. */
1196
+ oauth_token?: string;
1197
+ /** Returns response with indentations and line breaks. */
1198
+ prettyPrint?: boolean;
1199
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1200
+ quotaUser?: string;
1201
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1202
+ upload_protocol?: string;
1203
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1204
+ uploadType?: string;
1205
+ }): Request<SecurityCenterSettings>;
1206
+ /** Get the SecurityHealthAnalyticsSettings resource. */
1207
+ getSecurityHealthAnalyticsSettings(request?: {
1208
+ /** V1 error format. */
1209
+ "$.xgafv"?: string;
1210
+ /** OAuth access token. */
1211
+ access_token?: string;
1212
+ /** Data format for response. */
1213
+ alt?: string;
1214
+ /** JSONP */
1215
+ callback?: string;
1216
+ /** Selector specifying which fields to include in a partial response. */
1217
+ fields?: string;
1218
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1219
+ key?: string;
1220
+ /**
1221
+ * Required. The name of the SecurityHealthAnalyticsSettings to retrieve. Formats: * organizations/{organization}/securityHealthAnalyticsSettings *
1222
+ * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings
1223
+ */
1224
+ name: string;
1225
+ /** OAuth 2.0 token for the current user. */
1226
+ oauth_token?: string;
1227
+ /** Returns response with indentations and line breaks. */
1228
+ prettyPrint?: boolean;
1229
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1230
+ quotaUser?: string;
1231
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1232
+ upload_protocol?: string;
1233
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1234
+ uploadType?: string;
1235
+ }): Request<SecurityHealthAnalyticsSettings>;
1236
+ /** Get the VirtualMachineThreatDetectionSettings resource. */
1237
+ getVirtualMachineThreatDetectionSettings(request?: {
1238
+ /** V1 error format. */
1239
+ "$.xgafv"?: string;
1240
+ /** OAuth access token. */
1241
+ access_token?: string;
1242
+ /** Data format for response. */
1243
+ alt?: string;
1244
+ /** JSONP */
1245
+ callback?: string;
1246
+ /** Selector specifying which fields to include in a partial response. */
1247
+ fields?: string;
1248
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1249
+ key?: string;
1250
+ /**
1251
+ * Required. The name of the VirtualMachineThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings *
1252
+ * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings
1253
+ */
1254
+ name: string;
1255
+ /** OAuth 2.0 token for the current user. */
1256
+ oauth_token?: string;
1257
+ /** Returns response with indentations and line breaks. */
1258
+ prettyPrint?: boolean;
1259
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1260
+ quotaUser?: string;
1261
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1262
+ upload_protocol?: string;
1263
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1264
+ uploadType?: string;
1265
+ }): Request<VirtualMachineThreatDetectionSettings>;
1266
+ /** Get the WebSecurityScannerSettings resource. */
1267
+ getWebSecurityScannerSettings(request?: {
1268
+ /** V1 error format. */
1269
+ "$.xgafv"?: string;
1270
+ /** OAuth access token. */
1271
+ access_token?: string;
1272
+ /** Data format for response. */
1273
+ alt?: string;
1274
+ /** JSONP */
1275
+ callback?: string;
1276
+ /** Selector specifying which fields to include in a partial response. */
1277
+ fields?: string;
1278
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1279
+ key?: string;
1280
+ /**
1281
+ * Required. The name of the WebSecurityScannerSettings to retrieve. Formats: * organizations/{organization}/webSecurityScannerSettings *
1282
+ * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings
1283
+ */
1284
+ name: string;
1285
+ /** OAuth 2.0 token for the current user. */
1286
+ oauth_token?: string;
1287
+ /** Returns response with indentations and line breaks. */
1288
+ prettyPrint?: boolean;
1289
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1290
+ quotaUser?: string;
1291
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1292
+ upload_protocol?: string;
1293
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1294
+ uploadType?: string;
1295
+ }): Request<WebSecurityScannerSettings>;
1296
+ /** Update the ContainerThreatDetectionSettings resource. */
1297
+ updateContainerThreatDetectionSettings(request: {
1298
+ /** V1 error format. */
1299
+ "$.xgafv"?: string;
1300
+ /** OAuth access token. */
1301
+ access_token?: string;
1302
+ /** Data format for response. */
1303
+ alt?: string;
1304
+ /** JSONP */
1305
+ callback?: string;
1306
+ /** Selector specifying which fields to include in a partial response. */
1307
+ fields?: string;
1308
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1309
+ key?: string;
1310
+ /**
1311
+ * The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings *
1312
+ * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings *
1313
+ * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings
1314
+ */
1315
+ name: string;
1316
+ /** OAuth 2.0 token for the current user. */
1317
+ oauth_token?: string;
1318
+ /** Returns response with indentations and line breaks. */
1319
+ prettyPrint?: boolean;
1320
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1321
+ quotaUser?: string;
1322
+ /** The list of fields to be updated. */
1323
+ updateMask?: string;
1324
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1325
+ upload_protocol?: string;
1326
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1327
+ uploadType?: string;
1328
+ /** Request body */
1329
+ resource: ContainerThreatDetectionSettings;
1330
+ }): Request<ContainerThreatDetectionSettings>;
1331
+ updateContainerThreatDetectionSettings(request: {
1332
+ /** V1 error format. */
1333
+ "$.xgafv"?: string;
1334
+ /** OAuth access token. */
1335
+ access_token?: string;
1336
+ /** Data format for response. */
1337
+ alt?: string;
1338
+ /** JSONP */
1339
+ callback?: string;
1340
+ /** Selector specifying which fields to include in a partial response. */
1341
+ fields?: string;
1342
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1343
+ key?: string;
1344
+ /**
1345
+ * The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings *
1346
+ * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings *
1347
+ * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings
1348
+ */
1349
+ name: string;
1350
+ /** OAuth 2.0 token for the current user. */
1351
+ oauth_token?: string;
1352
+ /** Returns response with indentations and line breaks. */
1353
+ prettyPrint?: boolean;
1354
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1355
+ quotaUser?: string;
1356
+ /** The list of fields to be updated. */
1357
+ updateMask?: string;
1358
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1359
+ upload_protocol?: string;
1360
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1361
+ uploadType?: string;
1362
+ },
1363
+ body: ContainerThreatDetectionSettings): Request<ContainerThreatDetectionSettings>;
1364
+ /** Update the EventThreatDetectionSettings resource. */
1365
+ updateEventThreatDetectionSettings(request: {
1366
+ /** V1 error format. */
1367
+ "$.xgafv"?: string;
1368
+ /** OAuth access token. */
1369
+ access_token?: string;
1370
+ /** Data format for response. */
1371
+ alt?: string;
1372
+ /** JSONP */
1373
+ callback?: string;
1374
+ /** Selector specifying which fields to include in a partial response. */
1375
+ fields?: string;
1376
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1377
+ key?: string;
1378
+ /**
1379
+ * The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings *
1380
+ * projects/{project}/eventThreatDetectionSettings
1381
+ */
1382
+ name: string;
1383
+ /** OAuth 2.0 token for the current user. */
1384
+ oauth_token?: string;
1385
+ /** Returns response with indentations and line breaks. */
1386
+ prettyPrint?: boolean;
1387
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1388
+ quotaUser?: string;
1389
+ /** The list of fields to be updated. */
1390
+ updateMask?: string;
1391
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1392
+ upload_protocol?: string;
1393
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1394
+ uploadType?: string;
1395
+ /** Request body */
1396
+ resource: EventThreatDetectionSettings;
1397
+ }): Request<EventThreatDetectionSettings>;
1398
+ updateEventThreatDetectionSettings(request: {
1399
+ /** V1 error format. */
1400
+ "$.xgafv"?: string;
1401
+ /** OAuth access token. */
1402
+ access_token?: string;
1403
+ /** Data format for response. */
1404
+ alt?: string;
1405
+ /** JSONP */
1406
+ callback?: string;
1407
+ /** Selector specifying which fields to include in a partial response. */
1408
+ fields?: string;
1409
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1410
+ key?: string;
1411
+ /**
1412
+ * The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings *
1413
+ * projects/{project}/eventThreatDetectionSettings
1414
+ */
1415
+ name: string;
1416
+ /** OAuth 2.0 token for the current user. */
1417
+ oauth_token?: string;
1418
+ /** Returns response with indentations and line breaks. */
1419
+ prettyPrint?: boolean;
1420
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1421
+ quotaUser?: string;
1422
+ /** The list of fields to be updated. */
1423
+ updateMask?: string;
1424
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1425
+ upload_protocol?: string;
1426
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1427
+ uploadType?: string;
1428
+ },
1429
+ body: EventThreatDetectionSettings): Request<EventThreatDetectionSettings>;
1430
+ /** Update the RapidVulnerabilityDetectionSettings resource. */
1431
+ updateRapidVulnerabilityDetectionSettings(request: {
1432
+ /** V1 error format. */
1433
+ "$.xgafv"?: string;
1434
+ /** OAuth access token. */
1435
+ access_token?: string;
1436
+ /** Data format for response. */
1437
+ alt?: string;
1438
+ /** JSONP */
1439
+ callback?: string;
1440
+ /** Selector specifying which fields to include in a partial response. */
1441
+ fields?: string;
1442
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1443
+ key?: string;
1444
+ /**
1445
+ * The resource name of the RapidVulnerabilityDetectionSettings. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings *
1446
+ * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings
1447
+ */
1448
+ name: string;
1449
+ /** OAuth 2.0 token for the current user. */
1450
+ oauth_token?: string;
1451
+ /** Returns response with indentations and line breaks. */
1452
+ prettyPrint?: boolean;
1453
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1454
+ quotaUser?: string;
1455
+ /** The list of fields to be updated. */
1456
+ updateMask?: string;
1457
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1458
+ upload_protocol?: string;
1459
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1460
+ uploadType?: string;
1461
+ /** Request body */
1462
+ resource: RapidVulnerabilityDetectionSettings;
1463
+ }): Request<RapidVulnerabilityDetectionSettings>;
1464
+ updateRapidVulnerabilityDetectionSettings(request: {
1465
+ /** V1 error format. */
1466
+ "$.xgafv"?: string;
1467
+ /** OAuth access token. */
1468
+ access_token?: string;
1469
+ /** Data format for response. */
1470
+ alt?: string;
1471
+ /** JSONP */
1472
+ callback?: string;
1473
+ /** Selector specifying which fields to include in a partial response. */
1474
+ fields?: string;
1475
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1476
+ key?: string;
1477
+ /**
1478
+ * The resource name of the RapidVulnerabilityDetectionSettings. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings *
1479
+ * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings
1480
+ */
1481
+ name: string;
1482
+ /** OAuth 2.0 token for the current user. */
1483
+ oauth_token?: string;
1484
+ /** Returns response with indentations and line breaks. */
1485
+ prettyPrint?: boolean;
1486
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1487
+ quotaUser?: string;
1488
+ /** The list of fields to be updated. */
1489
+ updateMask?: string;
1490
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1491
+ upload_protocol?: string;
1492
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1493
+ uploadType?: string;
1494
+ },
1495
+ body: RapidVulnerabilityDetectionSettings): Request<RapidVulnerabilityDetectionSettings>;
1496
+ /** Update the SecurityHealthAnalyticsSettings resource. */
1497
+ updateSecurityHealthAnalyticsSettings(request: {
1498
+ /** V1 error format. */
1499
+ "$.xgafv"?: string;
1500
+ /** OAuth access token. */
1501
+ access_token?: string;
1502
+ /** Data format for response. */
1503
+ alt?: string;
1504
+ /** JSONP */
1505
+ callback?: string;
1506
+ /** Selector specifying which fields to include in a partial response. */
1507
+ fields?: string;
1508
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1509
+ key?: string;
1510
+ /**
1511
+ * The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings *
1512
+ * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings
1513
+ */
1514
+ name: string;
1515
+ /** OAuth 2.0 token for the current user. */
1516
+ oauth_token?: string;
1517
+ /** Returns response with indentations and line breaks. */
1518
+ prettyPrint?: boolean;
1519
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1520
+ quotaUser?: string;
1521
+ /** The list of fields to be updated. */
1522
+ updateMask?: string;
1523
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1524
+ upload_protocol?: string;
1525
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1526
+ uploadType?: string;
1527
+ /** Request body */
1528
+ resource: SecurityHealthAnalyticsSettings;
1529
+ }): Request<SecurityHealthAnalyticsSettings>;
1530
+ updateSecurityHealthAnalyticsSettings(request: {
1531
+ /** V1 error format. */
1532
+ "$.xgafv"?: string;
1533
+ /** OAuth access token. */
1534
+ access_token?: string;
1535
+ /** Data format for response. */
1536
+ alt?: string;
1537
+ /** JSONP */
1538
+ callback?: string;
1539
+ /** Selector specifying which fields to include in a partial response. */
1540
+ fields?: string;
1541
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1542
+ key?: string;
1543
+ /**
1544
+ * The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings *
1545
+ * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings
1546
+ */
1547
+ name: string;
1548
+ /** OAuth 2.0 token for the current user. */
1549
+ oauth_token?: string;
1550
+ /** Returns response with indentations and line breaks. */
1551
+ prettyPrint?: boolean;
1552
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1553
+ quotaUser?: string;
1554
+ /** The list of fields to be updated. */
1555
+ updateMask?: string;
1556
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1557
+ upload_protocol?: string;
1558
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1559
+ uploadType?: string;
1560
+ },
1561
+ body: SecurityHealthAnalyticsSettings): Request<SecurityHealthAnalyticsSettings>;
1562
+ /** Update the VirtualMachineThreatDetectionSettings resource. */
1563
+ updateVirtualMachineThreatDetectionSettings(request: {
1564
+ /** V1 error format. */
1565
+ "$.xgafv"?: string;
1566
+ /** OAuth access token. */
1567
+ access_token?: string;
1568
+ /** Data format for response. */
1569
+ alt?: string;
1570
+ /** JSONP */
1571
+ callback?: string;
1572
+ /** Selector specifying which fields to include in a partial response. */
1573
+ fields?: string;
1574
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1575
+ key?: string;
1576
+ /**
1577
+ * The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings *
1578
+ * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings
1579
+ */
1580
+ name: string;
1581
+ /** OAuth 2.0 token for the current user. */
1582
+ oauth_token?: string;
1583
+ /** Returns response with indentations and line breaks. */
1584
+ prettyPrint?: boolean;
1585
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1586
+ quotaUser?: string;
1587
+ /** The list of fields to be updated. */
1588
+ updateMask?: string;
1589
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1590
+ upload_protocol?: string;
1591
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1592
+ uploadType?: string;
1593
+ /** Request body */
1594
+ resource: VirtualMachineThreatDetectionSettings;
1595
+ }): Request<VirtualMachineThreatDetectionSettings>;
1596
+ updateVirtualMachineThreatDetectionSettings(request: {
1597
+ /** V1 error format. */
1598
+ "$.xgafv"?: string;
1599
+ /** OAuth access token. */
1600
+ access_token?: string;
1601
+ /** Data format for response. */
1602
+ alt?: string;
1603
+ /** JSONP */
1604
+ callback?: string;
1605
+ /** Selector specifying which fields to include in a partial response. */
1606
+ fields?: string;
1607
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1608
+ key?: string;
1609
+ /**
1610
+ * The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings *
1611
+ * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings
1612
+ */
1613
+ name: string;
1614
+ /** OAuth 2.0 token for the current user. */
1615
+ oauth_token?: string;
1616
+ /** Returns response with indentations and line breaks. */
1617
+ prettyPrint?: boolean;
1618
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1619
+ quotaUser?: string;
1620
+ /** The list of fields to be updated. */
1621
+ updateMask?: string;
1622
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1623
+ upload_protocol?: string;
1624
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1625
+ uploadType?: string;
1626
+ },
1627
+ body: VirtualMachineThreatDetectionSettings): Request<VirtualMachineThreatDetectionSettings>;
1628
+ /** Update the WebSecurityScannerSettings resource. */
1629
+ updateWebSecurityScannerSettings(request: {
1630
+ /** V1 error format. */
1631
+ "$.xgafv"?: string;
1632
+ /** OAuth access token. */
1633
+ access_token?: string;
1634
+ /** Data format for response. */
1635
+ alt?: string;
1636
+ /** JSONP */
1637
+ callback?: string;
1638
+ /** Selector specifying which fields to include in a partial response. */
1639
+ fields?: string;
1640
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1641
+ key?: string;
1642
+ /**
1643
+ * The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings *
1644
+ * projects/{project}/webSecurityScannerSettings
1645
+ */
1646
+ name: string;
1647
+ /** OAuth 2.0 token for the current user. */
1648
+ oauth_token?: string;
1649
+ /** Returns response with indentations and line breaks. */
1650
+ prettyPrint?: boolean;
1651
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1652
+ quotaUser?: string;
1653
+ /** The list of fields to be updated. */
1654
+ updateMask?: string;
1655
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1656
+ upload_protocol?: string;
1657
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1658
+ uploadType?: string;
1659
+ /** Request body */
1660
+ resource: WebSecurityScannerSettings;
1661
+ }): Request<WebSecurityScannerSettings>;
1662
+ updateWebSecurityScannerSettings(request: {
1663
+ /** V1 error format. */
1664
+ "$.xgafv"?: string;
1665
+ /** OAuth access token. */
1666
+ access_token?: string;
1667
+ /** Data format for response. */
1668
+ alt?: string;
1669
+ /** JSONP */
1670
+ callback?: string;
1671
+ /** Selector specifying which fields to include in a partial response. */
1672
+ fields?: string;
1673
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1674
+ key?: string;
1675
+ /**
1676
+ * The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings *
1677
+ * projects/{project}/webSecurityScannerSettings
1678
+ */
1679
+ name: string;
1680
+ /** OAuth 2.0 token for the current user. */
1681
+ oauth_token?: string;
1682
+ /** Returns response with indentations and line breaks. */
1683
+ prettyPrint?: boolean;
1684
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1685
+ quotaUser?: string;
1686
+ /** The list of fields to be updated. */
1687
+ updateMask?: string;
1688
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1689
+ upload_protocol?: string;
1690
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1691
+ uploadType?: string;
1692
+ },
1693
+ body: WebSecurityScannerSettings): Request<WebSecurityScannerSettings>;
1694
+ containerThreatDetectionSettings: ContainerThreatDetectionSettingsResource;
1695
+ eventThreatDetectionSettings: EventThreatDetectionSettingsResource;
1696
+ rapidVulnerabilityDetectionSettings: RapidVulnerabilityDetectionSettingsResource;
1697
+ securityHealthAnalyticsSettings: SecurityHealthAnalyticsSettingsResource;
1698
+ virtualMachineThreatDetectionSettings: VirtualMachineThreatDetectionSettingsResource;
1699
+ webSecurityScannerSettings: WebSecurityScannerSettingsResource;
1700
+ }
1701
+ interface ContainerThreatDetectionSettingsResource {
1702
+ /** Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings. */
1703
+ calculate(request?: {
1704
+ /** V1 error format. */
1705
+ "$.xgafv"?: string;
1706
+ /** OAuth access token. */
1707
+ access_token?: string;
1708
+ /** Data format for response. */
1709
+ alt?: string;
1710
+ /** JSONP */
1711
+ callback?: string;
1712
+ /** Selector specifying which fields to include in a partial response. */
1713
+ fields?: string;
1714
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1715
+ key?: string;
1716
+ /**
1717
+ * Required. The name of the ContainerThreatDetectionSettings to calculate. Formats: * organizations/{organization}/containerThreatDetectionSettings *
1718
+ * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings *
1719
+ * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings
1720
+ */
1721
+ name: string;
1722
+ /** OAuth 2.0 token for the current user. */
1723
+ oauth_token?: string;
1724
+ /** Returns response with indentations and line breaks. */
1725
+ prettyPrint?: boolean;
1726
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1727
+ quotaUser?: string;
1728
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1729
+ upload_protocol?: string;
1730
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1731
+ uploadType?: string;
1732
+ }): Request<ContainerThreatDetectionSettings>;
1733
+ }
1734
+ interface EventThreatDetectionSettingsResource {
1735
+ /** Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings. */
1736
+ calculate(request?: {
1737
+ /** V1 error format. */
1738
+ "$.xgafv"?: string;
1739
+ /** OAuth access token. */
1740
+ access_token?: string;
1741
+ /** Data format for response. */
1742
+ alt?: string;
1743
+ /** JSONP */
1744
+ callback?: string;
1745
+ /** Selector specifying which fields to include in a partial response. */
1746
+ fields?: string;
1747
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1748
+ key?: string;
1749
+ /**
1750
+ * Required. The name of the EventThreatDetectionSettings to calculate. Formats: * organizations/{organization}/eventThreatDetectionSettings *
1751
+ * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings
1752
+ */
1753
+ name: string;
1754
+ /** OAuth 2.0 token for the current user. */
1755
+ oauth_token?: string;
1756
+ /** Returns response with indentations and line breaks. */
1757
+ prettyPrint?: boolean;
1758
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1759
+ quotaUser?: string;
1760
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1761
+ upload_protocol?: string;
1762
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1763
+ uploadType?: string;
1764
+ }): Request<EventThreatDetectionSettings>;
1765
+ }
1766
+ interface RapidVulnerabilityDetectionSettingsResource {
1767
+ /** Calculates the effective RapidVulnerabilityDetectionSettings based on its level in the resource hierarchy and its settings. */
1768
+ calculate(request?: {
1769
+ /** V1 error format. */
1770
+ "$.xgafv"?: string;
1771
+ /** OAuth access token. */
1772
+ access_token?: string;
1773
+ /** Data format for response. */
1774
+ alt?: string;
1775
+ /** JSONP */
1776
+ callback?: string;
1777
+ /** Selector specifying which fields to include in a partial response. */
1778
+ fields?: string;
1779
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1780
+ key?: string;
1781
+ /**
1782
+ * Required. The name of the RapidVulnerabilityDetectionSettings to calculate. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings *
1783
+ * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings
1784
+ */
1785
+ name: string;
1786
+ /** OAuth 2.0 token for the current user. */
1787
+ oauth_token?: string;
1788
+ /** Returns response with indentations and line breaks. */
1789
+ prettyPrint?: boolean;
1790
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1791
+ quotaUser?: string;
1792
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1793
+ upload_protocol?: string;
1794
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1795
+ uploadType?: string;
1796
+ }): Request<RapidVulnerabilityDetectionSettings>;
1797
+ }
1798
+ interface SecurityHealthAnalyticsSettingsResource {
1799
+ /** Calculates the effective SecurityHealthAnalyticsSettings based on its level in the resource hierarchy and its settings. */
1800
+ calculate(request?: {
1801
+ /** V1 error format. */
1802
+ "$.xgafv"?: string;
1803
+ /** OAuth access token. */
1804
+ access_token?: string;
1805
+ /** Data format for response. */
1806
+ alt?: string;
1807
+ /** JSONP */
1808
+ callback?: string;
1809
+ /** Selector specifying which fields to include in a partial response. */
1810
+ fields?: string;
1811
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1812
+ key?: string;
1813
+ /**
1814
+ * Required. The name of the SecurityHealthAnalyticsSettings to calculate. Formats: * organizations/{organization}/securityHealthAnalyticsSettings *
1815
+ * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings
1816
+ */
1817
+ name: string;
1818
+ /** OAuth 2.0 token for the current user. */
1819
+ oauth_token?: string;
1820
+ /** Returns response with indentations and line breaks. */
1821
+ prettyPrint?: boolean;
1822
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1823
+ quotaUser?: string;
1824
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1825
+ upload_protocol?: string;
1826
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1827
+ uploadType?: string;
1828
+ }): Request<SecurityHealthAnalyticsSettings>;
1829
+ }
1830
+ interface VirtualMachineThreatDetectionSettingsResource {
1831
+ /** Calculates the effective VirtualMachineThreatDetectionSettings based on its level in the resource hierarchy and its settings. */
1832
+ calculate(request?: {
1833
+ /** V1 error format. */
1834
+ "$.xgafv"?: string;
1835
+ /** OAuth access token. */
1836
+ access_token?: string;
1837
+ /** Data format for response. */
1838
+ alt?: string;
1839
+ /** JSONP */
1840
+ callback?: string;
1841
+ /** Selector specifying which fields to include in a partial response. */
1842
+ fields?: string;
1843
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1844
+ key?: string;
1845
+ /**
1846
+ * Required. The name of the VirtualMachineThreatDetectionSettings to calculate. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings *
1847
+ * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings
1848
+ */
1849
+ name: string;
1850
+ /** OAuth 2.0 token for the current user. */
1851
+ oauth_token?: string;
1852
+ /** Returns response with indentations and line breaks. */
1853
+ prettyPrint?: boolean;
1854
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1855
+ quotaUser?: string;
1856
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1857
+ upload_protocol?: string;
1858
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1859
+ uploadType?: string;
1860
+ }): Request<VirtualMachineThreatDetectionSettings>;
1861
+ }
1862
+ interface WebSecurityScannerSettingsResource {
1863
+ /** Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings. */
1864
+ calculate(request?: {
1865
+ /** V1 error format. */
1866
+ "$.xgafv"?: string;
1867
+ /** OAuth access token. */
1868
+ access_token?: string;
1869
+ /** Data format for response. */
1870
+ alt?: string;
1871
+ /** JSONP */
1872
+ callback?: string;
1873
+ /** Selector specifying which fields to include in a partial response. */
1874
+ fields?: string;
1875
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1876
+ key?: string;
1877
+ /**
1878
+ * Required. The name of the WebSecurityScannerSettings to calculate. Formats: * organizations/{organization}/webSecurityScannerSettings *
1879
+ * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings
1880
+ */
1881
+ name: string;
1882
+ /** OAuth 2.0 token for the current user. */
1883
+ oauth_token?: string;
1884
+ /** Returns response with indentations and line breaks. */
1885
+ prettyPrint?: boolean;
1886
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1887
+ quotaUser?: string;
1888
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1889
+ upload_protocol?: string;
1890
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1891
+ uploadType?: string;
1892
+ }): Request<WebSecurityScannerSettings>;
1893
+ }
1894
+ interface OrganizationsResource {
1895
+ /** Get the ContainerThreatDetectionSettings resource. */
1896
+ getContainerThreatDetectionSettings(request?: {
1897
+ /** V1 error format. */
1898
+ "$.xgafv"?: string;
1899
+ /** OAuth access token. */
1900
+ access_token?: string;
1901
+ /** Data format for response. */
1902
+ alt?: string;
1903
+ /** JSONP */
1904
+ callback?: string;
1905
+ /** Selector specifying which fields to include in a partial response. */
1906
+ fields?: string;
1907
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1908
+ key?: string;
1909
+ /**
1910
+ * Required. The name of the ContainerThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/containerThreatDetectionSettings *
1911
+ * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings *
1912
+ * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings
1913
+ */
1914
+ name: string;
1915
+ /** OAuth 2.0 token for the current user. */
1916
+ oauth_token?: string;
1917
+ /** Returns response with indentations and line breaks. */
1918
+ prettyPrint?: boolean;
1919
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1920
+ quotaUser?: string;
1921
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1922
+ upload_protocol?: string;
1923
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1924
+ uploadType?: string;
1925
+ }): Request<ContainerThreatDetectionSettings>;
1926
+ /** Get the EventThreatDetectionSettings resource. */
1927
+ getEventThreatDetectionSettings(request?: {
1928
+ /** V1 error format. */
1929
+ "$.xgafv"?: string;
1930
+ /** OAuth access token. */
1931
+ access_token?: string;
1932
+ /** Data format for response. */
1933
+ alt?: string;
1934
+ /** JSONP */
1935
+ callback?: string;
1936
+ /** Selector specifying which fields to include in a partial response. */
1937
+ fields?: string;
1938
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1939
+ key?: string;
1940
+ /**
1941
+ * Required. The name of the EventThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/eventThreatDetectionSettings *
1942
+ * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings
1943
+ */
1944
+ name: string;
1945
+ /** OAuth 2.0 token for the current user. */
1946
+ oauth_token?: string;
1947
+ /** Returns response with indentations and line breaks. */
1948
+ prettyPrint?: boolean;
1949
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1950
+ quotaUser?: string;
1951
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1952
+ upload_protocol?: string;
1953
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1954
+ uploadType?: string;
1955
+ }): Request<EventThreatDetectionSettings>;
1956
+ /** Retrieve the OnboardingState of a resource. */
1957
+ getOnboardingState(request?: {
1958
+ /** V1 error format. */
1959
+ "$.xgafv"?: string;
1960
+ /** OAuth access token. */
1961
+ access_token?: string;
1962
+ /** Data format for response. */
1963
+ alt?: string;
1964
+ /** JSONP */
1965
+ callback?: string;
1966
+ /** Selector specifying which fields to include in a partial response. */
1967
+ fields?: string;
1968
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1969
+ key?: string;
1970
+ /**
1971
+ * Required. The name of the OnboardingState to retrieve. Formats: * organizations/{organization}/onboardingState * folders/{folder}/onboardingState *
1972
+ * projects/{project}/onboardingState
1973
+ */
1974
+ name: string;
1975
+ /** OAuth 2.0 token for the current user. */
1976
+ oauth_token?: string;
1977
+ /** Returns response with indentations and line breaks. */
1978
+ prettyPrint?: boolean;
1979
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1980
+ quotaUser?: string;
1981
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1982
+ upload_protocol?: string;
1983
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1984
+ uploadType?: string;
1985
+ }): Request<OnboardingState>;
1986
+ /** Get the RapidVulnerabilityDetectionSettings resource. */
1987
+ getRapidVulnerabilityDetectionSettings(request?: {
1988
+ /** V1 error format. */
1989
+ "$.xgafv"?: string;
1990
+ /** OAuth access token. */
1991
+ access_token?: string;
1992
+ /** Data format for response. */
1993
+ alt?: string;
1994
+ /** JSONP */
1995
+ callback?: string;
1996
+ /** Selector specifying which fields to include in a partial response. */
1997
+ fields?: string;
1998
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1999
+ key?: string;
2000
+ /**
2001
+ * Required. The name of the RapidVulnerabilityDetectionSettings to retrieve. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings *
2002
+ * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings
2003
+ */
2004
+ name: string;
2005
+ /** OAuth 2.0 token for the current user. */
2006
+ oauth_token?: string;
2007
+ /** Returns response with indentations and line breaks. */
2008
+ prettyPrint?: boolean;
2009
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2010
+ quotaUser?: string;
2011
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2012
+ upload_protocol?: string;
2013
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2014
+ uploadType?: string;
2015
+ }): Request<RapidVulnerabilityDetectionSettings>;
2016
+ /** Get the SecurityCenterSettings resource. */
2017
+ getSecurityCenterSettings(request?: {
2018
+ /** V1 error format. */
2019
+ "$.xgafv"?: string;
2020
+ /** OAuth access token. */
2021
+ access_token?: string;
2022
+ /** Data format for response. */
2023
+ alt?: string;
2024
+ /** JSONP */
2025
+ callback?: string;
2026
+ /** Selector specifying which fields to include in a partial response. */
2027
+ fields?: string;
2028
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2029
+ key?: string;
2030
+ /**
2031
+ * Required. The name of the SecurityCenterSettings to retrieve. Format: organizations/{organization}/securityCenterSettings Format: folders/{folder}/securityCenterSettings Format:
2032
+ * projects/{project}/securityCenterSettings
2033
+ */
2034
+ name: string;
2035
+ /** OAuth 2.0 token for the current user. */
2036
+ oauth_token?: string;
2037
+ /** Returns response with indentations and line breaks. */
2038
+ prettyPrint?: boolean;
2039
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2040
+ quotaUser?: string;
2041
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2042
+ upload_protocol?: string;
2043
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2044
+ uploadType?: string;
2045
+ }): Request<SecurityCenterSettings>;
2046
+ /** Get the SecurityHealthAnalyticsSettings resource. */
2047
+ getSecurityHealthAnalyticsSettings(request?: {
2048
+ /** V1 error format. */
2049
+ "$.xgafv"?: string;
2050
+ /** OAuth access token. */
2051
+ access_token?: string;
2052
+ /** Data format for response. */
2053
+ alt?: string;
2054
+ /** JSONP */
2055
+ callback?: string;
2056
+ /** Selector specifying which fields to include in a partial response. */
2057
+ fields?: string;
2058
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2059
+ key?: string;
2060
+ /**
2061
+ * Required. The name of the SecurityHealthAnalyticsSettings to retrieve. Formats: * organizations/{organization}/securityHealthAnalyticsSettings *
2062
+ * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings
2063
+ */
2064
+ name: string;
2065
+ /** OAuth 2.0 token for the current user. */
2066
+ oauth_token?: string;
2067
+ /** Returns response with indentations and line breaks. */
2068
+ prettyPrint?: boolean;
2069
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2070
+ quotaUser?: string;
2071
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2072
+ upload_protocol?: string;
2073
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2074
+ uploadType?: string;
2075
+ }): Request<SecurityHealthAnalyticsSettings>;
2076
+ /** Get the Subscription resource. */
2077
+ getSubscription(request?: {
2078
+ /** V1 error format. */
2079
+ "$.xgafv"?: string;
2080
+ /** OAuth access token. */
2081
+ access_token?: string;
2082
+ /** Data format for response. */
2083
+ alt?: string;
2084
+ /** JSONP */
2085
+ callback?: string;
2086
+ /** Selector specifying which fields to include in a partial response. */
2087
+ fields?: string;
2088
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2089
+ key?: string;
2090
+ /** Required. The name of the subscription to retrieve. Format: organizations/{organization}/subscription */
2091
+ name: string;
2092
+ /** OAuth 2.0 token for the current user. */
2093
+ oauth_token?: string;
2094
+ /** Returns response with indentations and line breaks. */
2095
+ prettyPrint?: boolean;
2096
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2097
+ quotaUser?: string;
2098
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2099
+ upload_protocol?: string;
2100
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2101
+ uploadType?: string;
2102
+ }): Request<Subscription>;
2103
+ /** Get the VirtualMachineThreatDetectionSettings resource. */
2104
+ getVirtualMachineThreatDetectionSettings(request?: {
2105
+ /** V1 error format. */
2106
+ "$.xgafv"?: string;
2107
+ /** OAuth access token. */
2108
+ access_token?: string;
2109
+ /** Data format for response. */
2110
+ alt?: string;
2111
+ /** JSONP */
2112
+ callback?: string;
2113
+ /** Selector specifying which fields to include in a partial response. */
2114
+ fields?: string;
2115
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2116
+ key?: string;
2117
+ /**
2118
+ * Required. The name of the VirtualMachineThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings *
2119
+ * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings
2120
+ */
2121
+ name: string;
2122
+ /** OAuth 2.0 token for the current user. */
2123
+ oauth_token?: string;
2124
+ /** Returns response with indentations and line breaks. */
2125
+ prettyPrint?: boolean;
2126
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2127
+ quotaUser?: string;
2128
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2129
+ upload_protocol?: string;
2130
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2131
+ uploadType?: string;
2132
+ }): Request<VirtualMachineThreatDetectionSettings>;
2133
+ /** Get the WebSecurityScannerSettings resource. */
2134
+ getWebSecurityScannerSettings(request?: {
2135
+ /** V1 error format. */
2136
+ "$.xgafv"?: string;
2137
+ /** OAuth access token. */
2138
+ access_token?: string;
2139
+ /** Data format for response. */
2140
+ alt?: string;
2141
+ /** JSONP */
2142
+ callback?: string;
2143
+ /** Selector specifying which fields to include in a partial response. */
2144
+ fields?: string;
2145
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2146
+ key?: string;
2147
+ /**
2148
+ * Required. The name of the WebSecurityScannerSettings to retrieve. Formats: * organizations/{organization}/webSecurityScannerSettings *
2149
+ * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings
2150
+ */
2151
+ name: string;
2152
+ /** OAuth 2.0 token for the current user. */
2153
+ oauth_token?: string;
2154
+ /** Returns response with indentations and line breaks. */
2155
+ prettyPrint?: boolean;
2156
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2157
+ quotaUser?: string;
2158
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2159
+ upload_protocol?: string;
2160
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2161
+ uploadType?: string;
2162
+ }): Request<WebSecurityScannerSettings>;
2163
+ /** Update the ContainerThreatDetectionSettings resource. */
2164
+ updateContainerThreatDetectionSettings(request: {
2165
+ /** V1 error format. */
2166
+ "$.xgafv"?: string;
2167
+ /** OAuth access token. */
2168
+ access_token?: string;
2169
+ /** Data format for response. */
2170
+ alt?: string;
2171
+ /** JSONP */
2172
+ callback?: string;
2173
+ /** Selector specifying which fields to include in a partial response. */
2174
+ fields?: string;
2175
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2176
+ key?: string;
2177
+ /**
2178
+ * The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings *
2179
+ * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings *
2180
+ * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings
2181
+ */
2182
+ name: string;
2183
+ /** OAuth 2.0 token for the current user. */
2184
+ oauth_token?: string;
2185
+ /** Returns response with indentations and line breaks. */
2186
+ prettyPrint?: boolean;
2187
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2188
+ quotaUser?: string;
2189
+ /** The list of fields to be updated. */
2190
+ updateMask?: string;
2191
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2192
+ upload_protocol?: string;
2193
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2194
+ uploadType?: string;
2195
+ /** Request body */
2196
+ resource: ContainerThreatDetectionSettings;
2197
+ }): Request<ContainerThreatDetectionSettings>;
2198
+ updateContainerThreatDetectionSettings(request: {
2199
+ /** V1 error format. */
2200
+ "$.xgafv"?: string;
2201
+ /** OAuth access token. */
2202
+ access_token?: string;
2203
+ /** Data format for response. */
2204
+ alt?: string;
2205
+ /** JSONP */
2206
+ callback?: string;
2207
+ /** Selector specifying which fields to include in a partial response. */
2208
+ fields?: string;
2209
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2210
+ key?: string;
2211
+ /**
2212
+ * The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings *
2213
+ * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings *
2214
+ * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings
2215
+ */
2216
+ name: string;
2217
+ /** OAuth 2.0 token for the current user. */
2218
+ oauth_token?: string;
2219
+ /** Returns response with indentations and line breaks. */
2220
+ prettyPrint?: boolean;
2221
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2222
+ quotaUser?: string;
2223
+ /** The list of fields to be updated. */
2224
+ updateMask?: string;
2225
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2226
+ upload_protocol?: string;
2227
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2228
+ uploadType?: string;
2229
+ },
2230
+ body: ContainerThreatDetectionSettings): Request<ContainerThreatDetectionSettings>;
2231
+ /** Update the EventThreatDetectionSettings resource. */
2232
+ updateEventThreatDetectionSettings(request: {
2233
+ /** V1 error format. */
2234
+ "$.xgafv"?: string;
2235
+ /** OAuth access token. */
2236
+ access_token?: string;
2237
+ /** Data format for response. */
2238
+ alt?: string;
2239
+ /** JSONP */
2240
+ callback?: string;
2241
+ /** Selector specifying which fields to include in a partial response. */
2242
+ fields?: string;
2243
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2244
+ key?: string;
2245
+ /**
2246
+ * The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings *
2247
+ * projects/{project}/eventThreatDetectionSettings
2248
+ */
2249
+ name: string;
2250
+ /** OAuth 2.0 token for the current user. */
2251
+ oauth_token?: string;
2252
+ /** Returns response with indentations and line breaks. */
2253
+ prettyPrint?: boolean;
2254
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2255
+ quotaUser?: string;
2256
+ /** The list of fields to be updated. */
2257
+ updateMask?: string;
2258
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2259
+ upload_protocol?: string;
2260
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2261
+ uploadType?: string;
2262
+ /** Request body */
2263
+ resource: EventThreatDetectionSettings;
2264
+ }): Request<EventThreatDetectionSettings>;
2265
+ updateEventThreatDetectionSettings(request: {
2266
+ /** V1 error format. */
2267
+ "$.xgafv"?: string;
2268
+ /** OAuth access token. */
2269
+ access_token?: string;
2270
+ /** Data format for response. */
2271
+ alt?: string;
2272
+ /** JSONP */
2273
+ callback?: string;
2274
+ /** Selector specifying which fields to include in a partial response. */
2275
+ fields?: string;
2276
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2277
+ key?: string;
2278
+ /**
2279
+ * The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings *
2280
+ * projects/{project}/eventThreatDetectionSettings
2281
+ */
2282
+ name: string;
2283
+ /** OAuth 2.0 token for the current user. */
2284
+ oauth_token?: string;
2285
+ /** Returns response with indentations and line breaks. */
2286
+ prettyPrint?: boolean;
2287
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2288
+ quotaUser?: string;
2289
+ /** The list of fields to be updated. */
2290
+ updateMask?: string;
2291
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2292
+ upload_protocol?: string;
2293
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2294
+ uploadType?: string;
2295
+ },
2296
+ body: EventThreatDetectionSettings): Request<EventThreatDetectionSettings>;
2297
+ /** Update the RapidVulnerabilityDetectionSettings resource. */
2298
+ updateRapidVulnerabilityDetectionSettings(request: {
2299
+ /** V1 error format. */
2300
+ "$.xgafv"?: string;
2301
+ /** OAuth access token. */
2302
+ access_token?: string;
2303
+ /** Data format for response. */
2304
+ alt?: string;
2305
+ /** JSONP */
2306
+ callback?: string;
2307
+ /** Selector specifying which fields to include in a partial response. */
2308
+ fields?: string;
2309
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2310
+ key?: string;
2311
+ /**
2312
+ * The resource name of the RapidVulnerabilityDetectionSettings. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings *
2313
+ * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings
2314
+ */
2315
+ name: string;
2316
+ /** OAuth 2.0 token for the current user. */
2317
+ oauth_token?: string;
2318
+ /** Returns response with indentations and line breaks. */
2319
+ prettyPrint?: boolean;
2320
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2321
+ quotaUser?: string;
2322
+ /** The list of fields to be updated. */
2323
+ updateMask?: string;
2324
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2325
+ upload_protocol?: string;
2326
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2327
+ uploadType?: string;
2328
+ /** Request body */
2329
+ resource: RapidVulnerabilityDetectionSettings;
2330
+ }): Request<RapidVulnerabilityDetectionSettings>;
2331
+ updateRapidVulnerabilityDetectionSettings(request: {
2332
+ /** V1 error format. */
2333
+ "$.xgafv"?: string;
2334
+ /** OAuth access token. */
2335
+ access_token?: string;
2336
+ /** Data format for response. */
2337
+ alt?: string;
2338
+ /** JSONP */
2339
+ callback?: string;
2340
+ /** Selector specifying which fields to include in a partial response. */
2341
+ fields?: string;
2342
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2343
+ key?: string;
2344
+ /**
2345
+ * The resource name of the RapidVulnerabilityDetectionSettings. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings *
2346
+ * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings
2347
+ */
2348
+ name: string;
2349
+ /** OAuth 2.0 token for the current user. */
2350
+ oauth_token?: string;
2351
+ /** Returns response with indentations and line breaks. */
2352
+ prettyPrint?: boolean;
2353
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2354
+ quotaUser?: string;
2355
+ /** The list of fields to be updated. */
2356
+ updateMask?: string;
2357
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2358
+ upload_protocol?: string;
2359
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2360
+ uploadType?: string;
2361
+ },
2362
+ body: RapidVulnerabilityDetectionSettings): Request<RapidVulnerabilityDetectionSettings>;
2363
+ /** Update the SecurityHealthAnalyticsSettings resource. */
2364
+ updateSecurityHealthAnalyticsSettings(request: {
2365
+ /** V1 error format. */
2366
+ "$.xgafv"?: string;
2367
+ /** OAuth access token. */
2368
+ access_token?: string;
2369
+ /** Data format for response. */
2370
+ alt?: string;
2371
+ /** JSONP */
2372
+ callback?: string;
2373
+ /** Selector specifying which fields to include in a partial response. */
2374
+ fields?: string;
2375
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2376
+ key?: string;
2377
+ /**
2378
+ * The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings *
2379
+ * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings
2380
+ */
2381
+ name: string;
2382
+ /** OAuth 2.0 token for the current user. */
2383
+ oauth_token?: string;
2384
+ /** Returns response with indentations and line breaks. */
2385
+ prettyPrint?: boolean;
2386
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2387
+ quotaUser?: string;
2388
+ /** The list of fields to be updated. */
2389
+ updateMask?: string;
2390
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2391
+ upload_protocol?: string;
2392
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2393
+ uploadType?: string;
2394
+ /** Request body */
2395
+ resource: SecurityHealthAnalyticsSettings;
2396
+ }): Request<SecurityHealthAnalyticsSettings>;
2397
+ updateSecurityHealthAnalyticsSettings(request: {
2398
+ /** V1 error format. */
2399
+ "$.xgafv"?: string;
2400
+ /** OAuth access token. */
2401
+ access_token?: string;
2402
+ /** Data format for response. */
2403
+ alt?: string;
2404
+ /** JSONP */
2405
+ callback?: string;
2406
+ /** Selector specifying which fields to include in a partial response. */
2407
+ fields?: string;
2408
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2409
+ key?: string;
2410
+ /**
2411
+ * The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings *
2412
+ * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings
2413
+ */
2414
+ name: string;
2415
+ /** OAuth 2.0 token for the current user. */
2416
+ oauth_token?: string;
2417
+ /** Returns response with indentations and line breaks. */
2418
+ prettyPrint?: boolean;
2419
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2420
+ quotaUser?: string;
2421
+ /** The list of fields to be updated. */
2422
+ updateMask?: string;
2423
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2424
+ upload_protocol?: string;
2425
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2426
+ uploadType?: string;
2427
+ },
2428
+ body: SecurityHealthAnalyticsSettings): Request<SecurityHealthAnalyticsSettings>;
2429
+ /** Update the VirtualMachineThreatDetectionSettings resource. */
2430
+ updateVirtualMachineThreatDetectionSettings(request: {
2431
+ /** V1 error format. */
2432
+ "$.xgafv"?: string;
2433
+ /** OAuth access token. */
2434
+ access_token?: string;
2435
+ /** Data format for response. */
2436
+ alt?: string;
2437
+ /** JSONP */
2438
+ callback?: string;
2439
+ /** Selector specifying which fields to include in a partial response. */
2440
+ fields?: string;
2441
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2442
+ key?: string;
2443
+ /**
2444
+ * The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings *
2445
+ * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings
2446
+ */
2447
+ name: string;
2448
+ /** OAuth 2.0 token for the current user. */
2449
+ oauth_token?: string;
2450
+ /** Returns response with indentations and line breaks. */
2451
+ prettyPrint?: boolean;
2452
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2453
+ quotaUser?: string;
2454
+ /** The list of fields to be updated. */
2455
+ updateMask?: string;
2456
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2457
+ upload_protocol?: string;
2458
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2459
+ uploadType?: string;
2460
+ /** Request body */
2461
+ resource: VirtualMachineThreatDetectionSettings;
2462
+ }): Request<VirtualMachineThreatDetectionSettings>;
2463
+ updateVirtualMachineThreatDetectionSettings(request: {
2464
+ /** V1 error format. */
2465
+ "$.xgafv"?: string;
2466
+ /** OAuth access token. */
2467
+ access_token?: string;
2468
+ /** Data format for response. */
2469
+ alt?: string;
2470
+ /** JSONP */
2471
+ callback?: string;
2472
+ /** Selector specifying which fields to include in a partial response. */
2473
+ fields?: string;
2474
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2475
+ key?: string;
2476
+ /**
2477
+ * The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings *
2478
+ * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings
2479
+ */
2480
+ name: string;
2481
+ /** OAuth 2.0 token for the current user. */
2482
+ oauth_token?: string;
2483
+ /** Returns response with indentations and line breaks. */
2484
+ prettyPrint?: boolean;
2485
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2486
+ quotaUser?: string;
2487
+ /** The list of fields to be updated. */
2488
+ updateMask?: string;
2489
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2490
+ upload_protocol?: string;
2491
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2492
+ uploadType?: string;
2493
+ },
2494
+ body: VirtualMachineThreatDetectionSettings): Request<VirtualMachineThreatDetectionSettings>;
2495
+ /** Update the WebSecurityScannerSettings resource. */
2496
+ updateWebSecurityScannerSettings(request: {
2497
+ /** V1 error format. */
2498
+ "$.xgafv"?: string;
2499
+ /** OAuth access token. */
2500
+ access_token?: string;
2501
+ /** Data format for response. */
2502
+ alt?: string;
2503
+ /** JSONP */
2504
+ callback?: string;
2505
+ /** Selector specifying which fields to include in a partial response. */
2506
+ fields?: string;
2507
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2508
+ key?: string;
2509
+ /**
2510
+ * The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings *
2511
+ * projects/{project}/webSecurityScannerSettings
2512
+ */
2513
+ name: string;
2514
+ /** OAuth 2.0 token for the current user. */
2515
+ oauth_token?: string;
2516
+ /** Returns response with indentations and line breaks. */
2517
+ prettyPrint?: boolean;
2518
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2519
+ quotaUser?: string;
2520
+ /** The list of fields to be updated. */
2521
+ updateMask?: string;
2522
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2523
+ upload_protocol?: string;
2524
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2525
+ uploadType?: string;
2526
+ /** Request body */
2527
+ resource: WebSecurityScannerSettings;
2528
+ }): Request<WebSecurityScannerSettings>;
2529
+ updateWebSecurityScannerSettings(request: {
2530
+ /** V1 error format. */
2531
+ "$.xgafv"?: string;
2532
+ /** OAuth access token. */
2533
+ access_token?: string;
2534
+ /** Data format for response. */
2535
+ alt?: string;
2536
+ /** JSONP */
2537
+ callback?: string;
2538
+ /** Selector specifying which fields to include in a partial response. */
2539
+ fields?: string;
2540
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2541
+ key?: string;
2542
+ /**
2543
+ * The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings *
2544
+ * projects/{project}/webSecurityScannerSettings
2545
+ */
2546
+ name: string;
2547
+ /** OAuth 2.0 token for the current user. */
2548
+ oauth_token?: string;
2549
+ /** Returns response with indentations and line breaks. */
2550
+ prettyPrint?: boolean;
2551
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2552
+ quotaUser?: string;
2553
+ /** The list of fields to be updated. */
2554
+ updateMask?: string;
2555
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2556
+ upload_protocol?: string;
2557
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2558
+ uploadType?: string;
2559
+ },
2560
+ body: WebSecurityScannerSettings): Request<WebSecurityScannerSettings>;
2561
+ containerThreatDetectionSettings: ContainerThreatDetectionSettingsResource;
2562
+ eventThreatDetectionSettings: EventThreatDetectionSettingsResource;
2563
+ rapidVulnerabilityDetectionSettings: RapidVulnerabilityDetectionSettingsResource;
2564
+ securityHealthAnalyticsSettings: SecurityHealthAnalyticsSettingsResource;
2565
+ virtualMachineThreatDetectionSettings: VirtualMachineThreatDetectionSettingsResource;
2566
+ webSecurityScannerSettings: WebSecurityScannerSettingsResource;
2567
+ }
2568
+ interface ContainerThreatDetectionSettingsResource {
2569
+ /** Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings. */
2570
+ calculate(request?: {
2571
+ /** V1 error format. */
2572
+ "$.xgafv"?: string;
2573
+ /** OAuth access token. */
2574
+ access_token?: string;
2575
+ /** Data format for response. */
2576
+ alt?: string;
2577
+ /** JSONP */
2578
+ callback?: string;
2579
+ /** Selector specifying which fields to include in a partial response. */
2580
+ fields?: string;
2581
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2582
+ key?: string;
2583
+ /**
2584
+ * Required. The name of the ContainerThreatDetectionSettings to calculate. Formats: * organizations/{organization}/containerThreatDetectionSettings *
2585
+ * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings *
2586
+ * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings
2587
+ */
2588
+ name: string;
2589
+ /** OAuth 2.0 token for the current user. */
2590
+ oauth_token?: string;
2591
+ /** Returns response with indentations and line breaks. */
2592
+ prettyPrint?: boolean;
2593
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2594
+ quotaUser?: string;
2595
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2596
+ upload_protocol?: string;
2597
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2598
+ uploadType?: string;
2599
+ }): Request<ContainerThreatDetectionSettings>;
2600
+ }
2601
+ interface EventThreatDetectionSettingsResource {
2602
+ /** Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings. */
2603
+ calculate(request?: {
2604
+ /** V1 error format. */
2605
+ "$.xgafv"?: string;
2606
+ /** OAuth access token. */
2607
+ access_token?: string;
2608
+ /** Data format for response. */
2609
+ alt?: string;
2610
+ /** JSONP */
2611
+ callback?: string;
2612
+ /** Selector specifying which fields to include in a partial response. */
2613
+ fields?: string;
2614
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2615
+ key?: string;
2616
+ /**
2617
+ * Required. The name of the EventThreatDetectionSettings to calculate. Formats: * organizations/{organization}/eventThreatDetectionSettings *
2618
+ * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings
2619
+ */
2620
+ name: string;
2621
+ /** OAuth 2.0 token for the current user. */
2622
+ oauth_token?: string;
2623
+ /** Returns response with indentations and line breaks. */
2624
+ prettyPrint?: boolean;
2625
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2626
+ quotaUser?: string;
2627
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2628
+ upload_protocol?: string;
2629
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2630
+ uploadType?: string;
2631
+ }): Request<EventThreatDetectionSettings>;
2632
+ }
2633
+ interface ContainerThreatDetectionSettingsResource {
2634
+ /** Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings. */
2635
+ calculate(request?: {
2636
+ /** V1 error format. */
2637
+ "$.xgafv"?: string;
2638
+ /** OAuth access token. */
2639
+ access_token?: string;
2640
+ /** Data format for response. */
2641
+ alt?: string;
2642
+ /** JSONP */
2643
+ callback?: string;
2644
+ /** Selector specifying which fields to include in a partial response. */
2645
+ fields?: string;
2646
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2647
+ key?: string;
2648
+ /**
2649
+ * Required. The name of the ContainerThreatDetectionSettings to calculate. Formats: * organizations/{organization}/containerThreatDetectionSettings *
2650
+ * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings *
2651
+ * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings
2652
+ */
2653
+ name: string;
2654
+ /** OAuth 2.0 token for the current user. */
2655
+ oauth_token?: string;
2656
+ /** Returns response with indentations and line breaks. */
2657
+ prettyPrint?: boolean;
2658
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2659
+ quotaUser?: string;
2660
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2661
+ upload_protocol?: string;
2662
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2663
+ uploadType?: string;
2664
+ }): Request<ContainerThreatDetectionSettings>;
2665
+ }
2666
+ interface ClustersResource {
2667
+ /** Get the ContainerThreatDetectionSettings resource. */
2668
+ getContainerThreatDetectionSettings(request?: {
2669
+ /** V1 error format. */
2670
+ "$.xgafv"?: string;
2671
+ /** OAuth access token. */
2672
+ access_token?: string;
2673
+ /** Data format for response. */
2674
+ alt?: string;
2675
+ /** JSONP */
2676
+ callback?: string;
2677
+ /** Selector specifying which fields to include in a partial response. */
2678
+ fields?: string;
2679
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2680
+ key?: string;
2681
+ /**
2682
+ * Required. The name of the ContainerThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/containerThreatDetectionSettings *
2683
+ * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings *
2684
+ * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings
2685
+ */
2686
+ name: string;
2687
+ /** OAuth 2.0 token for the current user. */
2688
+ oauth_token?: string;
2689
+ /** Returns response with indentations and line breaks. */
2690
+ prettyPrint?: boolean;
2691
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2692
+ quotaUser?: string;
2693
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2694
+ upload_protocol?: string;
2695
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2696
+ uploadType?: string;
2697
+ }): Request<ContainerThreatDetectionSettings>;
2698
+ /** Update the ContainerThreatDetectionSettings resource. */
2699
+ updateContainerThreatDetectionSettings(request: {
2700
+ /** V1 error format. */
2701
+ "$.xgafv"?: string;
2702
+ /** OAuth access token. */
2703
+ access_token?: string;
2704
+ /** Data format for response. */
2705
+ alt?: string;
2706
+ /** JSONP */
2707
+ callback?: string;
2708
+ /** Selector specifying which fields to include in a partial response. */
2709
+ fields?: string;
2710
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2711
+ key?: string;
2712
+ /**
2713
+ * The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings *
2714
+ * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings *
2715
+ * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings
2716
+ */
2717
+ name: string;
2718
+ /** OAuth 2.0 token for the current user. */
2719
+ oauth_token?: string;
2720
+ /** Returns response with indentations and line breaks. */
2721
+ prettyPrint?: boolean;
2722
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2723
+ quotaUser?: string;
2724
+ /** The list of fields to be updated. */
2725
+ updateMask?: string;
2726
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2727
+ upload_protocol?: string;
2728
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2729
+ uploadType?: string;
2730
+ /** Request body */
2731
+ resource: ContainerThreatDetectionSettings;
2732
+ }): Request<ContainerThreatDetectionSettings>;
2733
+ updateContainerThreatDetectionSettings(request: {
2734
+ /** V1 error format. */
2735
+ "$.xgafv"?: string;
2736
+ /** OAuth access token. */
2737
+ access_token?: string;
2738
+ /** Data format for response. */
2739
+ alt?: string;
2740
+ /** JSONP */
2741
+ callback?: string;
2742
+ /** Selector specifying which fields to include in a partial response. */
2743
+ fields?: string;
2744
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2745
+ key?: string;
2746
+ /**
2747
+ * The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings *
2748
+ * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings *
2749
+ * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings
2750
+ */
2751
+ name: string;
2752
+ /** OAuth 2.0 token for the current user. */
2753
+ oauth_token?: string;
2754
+ /** Returns response with indentations and line breaks. */
2755
+ prettyPrint?: boolean;
2756
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2757
+ quotaUser?: string;
2758
+ /** The list of fields to be updated. */
2759
+ updateMask?: string;
2760
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2761
+ upload_protocol?: string;
2762
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2763
+ uploadType?: string;
2764
+ },
2765
+ body: ContainerThreatDetectionSettings): Request<ContainerThreatDetectionSettings>;
2766
+ containerThreatDetectionSettings: ContainerThreatDetectionSettingsResource;
2767
+ }
2768
+ interface LocationsResource {
2769
+ clusters: ClustersResource;
2770
+ }
2771
+ interface RapidVulnerabilityDetectionSettingsResource {
2772
+ /** Calculates the effective RapidVulnerabilityDetectionSettings based on its level in the resource hierarchy and its settings. */
2773
+ calculate(request?: {
2774
+ /** V1 error format. */
2775
+ "$.xgafv"?: string;
2776
+ /** OAuth access token. */
2777
+ access_token?: string;
2778
+ /** Data format for response. */
2779
+ alt?: string;
2780
+ /** JSONP */
2781
+ callback?: string;
2782
+ /** Selector specifying which fields to include in a partial response. */
2783
+ fields?: string;
2784
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2785
+ key?: string;
2786
+ /**
2787
+ * Required. The name of the RapidVulnerabilityDetectionSettings to calculate. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings *
2788
+ * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings
2789
+ */
2790
+ name: string;
2791
+ /** OAuth 2.0 token for the current user. */
2792
+ oauth_token?: string;
2793
+ /** Returns response with indentations and line breaks. */
2794
+ prettyPrint?: boolean;
2795
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2796
+ quotaUser?: string;
2797
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2798
+ upload_protocol?: string;
2799
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2800
+ uploadType?: string;
2801
+ }): Request<RapidVulnerabilityDetectionSettings>;
2802
+ }
2803
+ interface SecurityHealthAnalyticsSettingsResource {
2804
+ /** Calculates the effective SecurityHealthAnalyticsSettings based on its level in the resource hierarchy and its settings. */
2805
+ calculate(request?: {
2806
+ /** V1 error format. */
2807
+ "$.xgafv"?: string;
2808
+ /** OAuth access token. */
2809
+ access_token?: string;
2810
+ /** Data format for response. */
2811
+ alt?: string;
2812
+ /** JSONP */
2813
+ callback?: string;
2814
+ /** Selector specifying which fields to include in a partial response. */
2815
+ fields?: string;
2816
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2817
+ key?: string;
2818
+ /**
2819
+ * Required. The name of the SecurityHealthAnalyticsSettings to calculate. Formats: * organizations/{organization}/securityHealthAnalyticsSettings *
2820
+ * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings
2821
+ */
2822
+ name: string;
2823
+ /** OAuth 2.0 token for the current user. */
2824
+ oauth_token?: string;
2825
+ /** Returns response with indentations and line breaks. */
2826
+ prettyPrint?: boolean;
2827
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2828
+ quotaUser?: string;
2829
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2830
+ upload_protocol?: string;
2831
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2832
+ uploadType?: string;
2833
+ }): Request<SecurityHealthAnalyticsSettings>;
2834
+ }
2835
+ interface VirtualMachineThreatDetectionSettingsResource {
2836
+ /** Calculates the effective VirtualMachineThreatDetectionSettings based on its level in the resource hierarchy and its settings. */
2837
+ calculate(request?: {
2838
+ /** V1 error format. */
2839
+ "$.xgafv"?: string;
2840
+ /** OAuth access token. */
2841
+ access_token?: string;
2842
+ /** Data format for response. */
2843
+ alt?: string;
2844
+ /** JSONP */
2845
+ callback?: string;
2846
+ /** Selector specifying which fields to include in a partial response. */
2847
+ fields?: string;
2848
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2849
+ key?: string;
2850
+ /**
2851
+ * Required. The name of the VirtualMachineThreatDetectionSettings to calculate. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings *
2852
+ * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings
2853
+ */
2854
+ name: string;
2855
+ /** OAuth 2.0 token for the current user. */
2856
+ oauth_token?: string;
2857
+ /** Returns response with indentations and line breaks. */
2858
+ prettyPrint?: boolean;
2859
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2860
+ quotaUser?: string;
2861
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2862
+ upload_protocol?: string;
2863
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2864
+ uploadType?: string;
2865
+ }): Request<VirtualMachineThreatDetectionSettings>;
2866
+ }
2867
+ interface WebSecurityScannerSettingsResource {
2868
+ /** Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings. */
2869
+ calculate(request?: {
2870
+ /** V1 error format. */
2871
+ "$.xgafv"?: string;
2872
+ /** OAuth access token. */
2873
+ access_token?: string;
2874
+ /** Data format for response. */
2875
+ alt?: string;
2876
+ /** JSONP */
2877
+ callback?: string;
2878
+ /** Selector specifying which fields to include in a partial response. */
2879
+ fields?: string;
2880
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2881
+ key?: string;
2882
+ /**
2883
+ * Required. The name of the WebSecurityScannerSettings to calculate. Formats: * organizations/{organization}/webSecurityScannerSettings *
2884
+ * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings
2885
+ */
2886
+ name: string;
2887
+ /** OAuth 2.0 token for the current user. */
2888
+ oauth_token?: string;
2889
+ /** Returns response with indentations and line breaks. */
2890
+ prettyPrint?: boolean;
2891
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2892
+ quotaUser?: string;
2893
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2894
+ upload_protocol?: string;
2895
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2896
+ uploadType?: string;
2897
+ }): Request<WebSecurityScannerSettings>;
2898
+ }
2899
+ interface ProjectsResource {
2900
+ /** Get the ContainerThreatDetectionSettings resource. */
2901
+ getContainerThreatDetectionSettings(request?: {
2902
+ /** V1 error format. */
2903
+ "$.xgafv"?: string;
2904
+ /** OAuth access token. */
2905
+ access_token?: string;
2906
+ /** Data format for response. */
2907
+ alt?: string;
2908
+ /** JSONP */
2909
+ callback?: string;
2910
+ /** Selector specifying which fields to include in a partial response. */
2911
+ fields?: string;
2912
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2913
+ key?: string;
2914
+ /**
2915
+ * Required. The name of the ContainerThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/containerThreatDetectionSettings *
2916
+ * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings *
2917
+ * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings
2918
+ */
2919
+ name: string;
2920
+ /** OAuth 2.0 token for the current user. */
2921
+ oauth_token?: string;
2922
+ /** Returns response with indentations and line breaks. */
2923
+ prettyPrint?: boolean;
2924
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2925
+ quotaUser?: string;
2926
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2927
+ upload_protocol?: string;
2928
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2929
+ uploadType?: string;
2930
+ }): Request<ContainerThreatDetectionSettings>;
2931
+ /** Get the EventThreatDetectionSettings resource. */
2932
+ getEventThreatDetectionSettings(request?: {
2933
+ /** V1 error format. */
2934
+ "$.xgafv"?: string;
2935
+ /** OAuth access token. */
2936
+ access_token?: string;
2937
+ /** Data format for response. */
2938
+ alt?: string;
2939
+ /** JSONP */
2940
+ callback?: string;
2941
+ /** Selector specifying which fields to include in a partial response. */
2942
+ fields?: string;
2943
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2944
+ key?: string;
2945
+ /**
2946
+ * Required. The name of the EventThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/eventThreatDetectionSettings *
2947
+ * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings
2948
+ */
2949
+ name: string;
2950
+ /** OAuth 2.0 token for the current user. */
2951
+ oauth_token?: string;
2952
+ /** Returns response with indentations and line breaks. */
2953
+ prettyPrint?: boolean;
2954
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2955
+ quotaUser?: string;
2956
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2957
+ upload_protocol?: string;
2958
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2959
+ uploadType?: string;
2960
+ }): Request<EventThreatDetectionSettings>;
2961
+ /** Retrieve the OnboardingState of a resource. */
2962
+ getOnboardingState(request?: {
2963
+ /** V1 error format. */
2964
+ "$.xgafv"?: string;
2965
+ /** OAuth access token. */
2966
+ access_token?: string;
2967
+ /** Data format for response. */
2968
+ alt?: string;
2969
+ /** JSONP */
2970
+ callback?: string;
2971
+ /** Selector specifying which fields to include in a partial response. */
2972
+ fields?: string;
2973
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2974
+ key?: string;
2975
+ /**
2976
+ * Required. The name of the OnboardingState to retrieve. Formats: * organizations/{organization}/onboardingState * folders/{folder}/onboardingState *
2977
+ * projects/{project}/onboardingState
2978
+ */
2979
+ name: string;
2980
+ /** OAuth 2.0 token for the current user. */
2981
+ oauth_token?: string;
2982
+ /** Returns response with indentations and line breaks. */
2983
+ prettyPrint?: boolean;
2984
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2985
+ quotaUser?: string;
2986
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2987
+ upload_protocol?: string;
2988
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2989
+ uploadType?: string;
2990
+ }): Request<OnboardingState>;
2991
+ /** Get the RapidVulnerabilityDetectionSettings resource. */
2992
+ getRapidVulnerabilityDetectionSettings(request?: {
2993
+ /** V1 error format. */
2994
+ "$.xgafv"?: string;
2995
+ /** OAuth access token. */
2996
+ access_token?: string;
2997
+ /** Data format for response. */
2998
+ alt?: string;
2999
+ /** JSONP */
3000
+ callback?: string;
3001
+ /** Selector specifying which fields to include in a partial response. */
3002
+ fields?: string;
3003
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3004
+ key?: string;
3005
+ /**
3006
+ * Required. The name of the RapidVulnerabilityDetectionSettings to retrieve. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings *
3007
+ * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings
3008
+ */
3009
+ name: string;
3010
+ /** OAuth 2.0 token for the current user. */
3011
+ oauth_token?: string;
3012
+ /** Returns response with indentations and line breaks. */
3013
+ prettyPrint?: boolean;
3014
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3015
+ quotaUser?: string;
3016
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3017
+ upload_protocol?: string;
3018
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3019
+ uploadType?: string;
3020
+ }): Request<RapidVulnerabilityDetectionSettings>;
3021
+ /** Get the SecurityCenterSettings resource. */
3022
+ getSecurityCenterSettings(request?: {
3023
+ /** V1 error format. */
3024
+ "$.xgafv"?: string;
3025
+ /** OAuth access token. */
3026
+ access_token?: string;
3027
+ /** Data format for response. */
3028
+ alt?: string;
3029
+ /** JSONP */
3030
+ callback?: string;
3031
+ /** Selector specifying which fields to include in a partial response. */
3032
+ fields?: string;
3033
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3034
+ key?: string;
3035
+ /**
3036
+ * Required. The name of the SecurityCenterSettings to retrieve. Format: organizations/{organization}/securityCenterSettings Format: folders/{folder}/securityCenterSettings Format:
3037
+ * projects/{project}/securityCenterSettings
3038
+ */
3039
+ name: string;
3040
+ /** OAuth 2.0 token for the current user. */
3041
+ oauth_token?: string;
3042
+ /** Returns response with indentations and line breaks. */
3043
+ prettyPrint?: boolean;
3044
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3045
+ quotaUser?: string;
3046
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3047
+ upload_protocol?: string;
3048
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3049
+ uploadType?: string;
3050
+ }): Request<SecurityCenterSettings>;
3051
+ /** Get the SecurityHealthAnalyticsSettings resource. */
3052
+ getSecurityHealthAnalyticsSettings(request?: {
3053
+ /** V1 error format. */
3054
+ "$.xgafv"?: string;
3055
+ /** OAuth access token. */
3056
+ access_token?: string;
3057
+ /** Data format for response. */
3058
+ alt?: string;
3059
+ /** JSONP */
3060
+ callback?: string;
3061
+ /** Selector specifying which fields to include in a partial response. */
3062
+ fields?: string;
3063
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3064
+ key?: string;
3065
+ /**
3066
+ * Required. The name of the SecurityHealthAnalyticsSettings to retrieve. Formats: * organizations/{organization}/securityHealthAnalyticsSettings *
3067
+ * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings
3068
+ */
3069
+ name: string;
3070
+ /** OAuth 2.0 token for the current user. */
3071
+ oauth_token?: string;
3072
+ /** Returns response with indentations and line breaks. */
3073
+ prettyPrint?: boolean;
3074
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3075
+ quotaUser?: string;
3076
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3077
+ upload_protocol?: string;
3078
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3079
+ uploadType?: string;
3080
+ }): Request<SecurityHealthAnalyticsSettings>;
3081
+ /** Get the VirtualMachineThreatDetectionSettings resource. */
3082
+ getVirtualMachineThreatDetectionSettings(request?: {
3083
+ /** V1 error format. */
3084
+ "$.xgafv"?: string;
3085
+ /** OAuth access token. */
3086
+ access_token?: string;
3087
+ /** Data format for response. */
3088
+ alt?: string;
3089
+ /** JSONP */
3090
+ callback?: string;
3091
+ /** Selector specifying which fields to include in a partial response. */
3092
+ fields?: string;
3093
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3094
+ key?: string;
3095
+ /**
3096
+ * Required. The name of the VirtualMachineThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings *
3097
+ * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings
3098
+ */
3099
+ name: string;
3100
+ /** OAuth 2.0 token for the current user. */
3101
+ oauth_token?: string;
3102
+ /** Returns response with indentations and line breaks. */
3103
+ prettyPrint?: boolean;
3104
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3105
+ quotaUser?: string;
3106
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3107
+ upload_protocol?: string;
3108
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3109
+ uploadType?: string;
3110
+ }): Request<VirtualMachineThreatDetectionSettings>;
3111
+ /** Get the WebSecurityScannerSettings resource. */
3112
+ getWebSecurityScannerSettings(request?: {
3113
+ /** V1 error format. */
3114
+ "$.xgafv"?: string;
3115
+ /** OAuth access token. */
3116
+ access_token?: string;
3117
+ /** Data format for response. */
3118
+ alt?: string;
3119
+ /** JSONP */
3120
+ callback?: string;
3121
+ /** Selector specifying which fields to include in a partial response. */
3122
+ fields?: string;
3123
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3124
+ key?: string;
3125
+ /**
3126
+ * Required. The name of the WebSecurityScannerSettings to retrieve. Formats: * organizations/{organization}/webSecurityScannerSettings *
3127
+ * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings
3128
+ */
3129
+ name: string;
3130
+ /** OAuth 2.0 token for the current user. */
3131
+ oauth_token?: string;
3132
+ /** Returns response with indentations and line breaks. */
3133
+ prettyPrint?: boolean;
3134
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3135
+ quotaUser?: string;
3136
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3137
+ upload_protocol?: string;
3138
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3139
+ uploadType?: string;
3140
+ }): Request<WebSecurityScannerSettings>;
3141
+ /** Update the ContainerThreatDetectionSettings resource. */
3142
+ updateContainerThreatDetectionSettings(request: {
3143
+ /** V1 error format. */
3144
+ "$.xgafv"?: string;
3145
+ /** OAuth access token. */
3146
+ access_token?: string;
3147
+ /** Data format for response. */
3148
+ alt?: string;
3149
+ /** JSONP */
3150
+ callback?: string;
3151
+ /** Selector specifying which fields to include in a partial response. */
3152
+ fields?: string;
3153
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3154
+ key?: string;
3155
+ /**
3156
+ * The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings *
3157
+ * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings *
3158
+ * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings
3159
+ */
3160
+ name: string;
3161
+ /** OAuth 2.0 token for the current user. */
3162
+ oauth_token?: string;
3163
+ /** Returns response with indentations and line breaks. */
3164
+ prettyPrint?: boolean;
3165
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3166
+ quotaUser?: string;
3167
+ /** The list of fields to be updated. */
3168
+ updateMask?: string;
3169
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3170
+ upload_protocol?: string;
3171
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3172
+ uploadType?: string;
3173
+ /** Request body */
3174
+ resource: ContainerThreatDetectionSettings;
3175
+ }): Request<ContainerThreatDetectionSettings>;
3176
+ updateContainerThreatDetectionSettings(request: {
3177
+ /** V1 error format. */
3178
+ "$.xgafv"?: string;
3179
+ /** OAuth access token. */
3180
+ access_token?: string;
3181
+ /** Data format for response. */
3182
+ alt?: string;
3183
+ /** JSONP */
3184
+ callback?: string;
3185
+ /** Selector specifying which fields to include in a partial response. */
3186
+ fields?: string;
3187
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3188
+ key?: string;
3189
+ /**
3190
+ * The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings *
3191
+ * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings *
3192
+ * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings
3193
+ */
3194
+ name: string;
3195
+ /** OAuth 2.0 token for the current user. */
3196
+ oauth_token?: string;
3197
+ /** Returns response with indentations and line breaks. */
3198
+ prettyPrint?: boolean;
3199
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3200
+ quotaUser?: string;
3201
+ /** The list of fields to be updated. */
3202
+ updateMask?: string;
3203
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3204
+ upload_protocol?: string;
3205
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3206
+ uploadType?: string;
3207
+ },
3208
+ body: ContainerThreatDetectionSettings): Request<ContainerThreatDetectionSettings>;
3209
+ /** Update the EventThreatDetectionSettings resource. */
3210
+ updateEventThreatDetectionSettings(request: {
3211
+ /** V1 error format. */
3212
+ "$.xgafv"?: string;
3213
+ /** OAuth access token. */
3214
+ access_token?: string;
3215
+ /** Data format for response. */
3216
+ alt?: string;
3217
+ /** JSONP */
3218
+ callback?: string;
3219
+ /** Selector specifying which fields to include in a partial response. */
3220
+ fields?: string;
3221
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3222
+ key?: string;
3223
+ /**
3224
+ * The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings *
3225
+ * projects/{project}/eventThreatDetectionSettings
3226
+ */
3227
+ name: string;
3228
+ /** OAuth 2.0 token for the current user. */
3229
+ oauth_token?: string;
3230
+ /** Returns response with indentations and line breaks. */
3231
+ prettyPrint?: boolean;
3232
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3233
+ quotaUser?: string;
3234
+ /** The list of fields to be updated. */
3235
+ updateMask?: string;
3236
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3237
+ upload_protocol?: string;
3238
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3239
+ uploadType?: string;
3240
+ /** Request body */
3241
+ resource: EventThreatDetectionSettings;
3242
+ }): Request<EventThreatDetectionSettings>;
3243
+ updateEventThreatDetectionSettings(request: {
3244
+ /** V1 error format. */
3245
+ "$.xgafv"?: string;
3246
+ /** OAuth access token. */
3247
+ access_token?: string;
3248
+ /** Data format for response. */
3249
+ alt?: string;
3250
+ /** JSONP */
3251
+ callback?: string;
3252
+ /** Selector specifying which fields to include in a partial response. */
3253
+ fields?: string;
3254
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3255
+ key?: string;
3256
+ /**
3257
+ * The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings *
3258
+ * projects/{project}/eventThreatDetectionSettings
3259
+ */
3260
+ name: string;
3261
+ /** OAuth 2.0 token for the current user. */
3262
+ oauth_token?: string;
3263
+ /** Returns response with indentations and line breaks. */
3264
+ prettyPrint?: boolean;
3265
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3266
+ quotaUser?: string;
3267
+ /** The list of fields to be updated. */
3268
+ updateMask?: string;
3269
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3270
+ upload_protocol?: string;
3271
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3272
+ uploadType?: string;
3273
+ },
3274
+ body: EventThreatDetectionSettings): Request<EventThreatDetectionSettings>;
3275
+ /** Update the RapidVulnerabilityDetectionSettings resource. */
3276
+ updateRapidVulnerabilityDetectionSettings(request: {
3277
+ /** V1 error format. */
3278
+ "$.xgafv"?: string;
3279
+ /** OAuth access token. */
3280
+ access_token?: string;
3281
+ /** Data format for response. */
3282
+ alt?: string;
3283
+ /** JSONP */
3284
+ callback?: string;
3285
+ /** Selector specifying which fields to include in a partial response. */
3286
+ fields?: string;
3287
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3288
+ key?: string;
3289
+ /**
3290
+ * The resource name of the RapidVulnerabilityDetectionSettings. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings *
3291
+ * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings
3292
+ */
3293
+ name: string;
3294
+ /** OAuth 2.0 token for the current user. */
3295
+ oauth_token?: string;
3296
+ /** Returns response with indentations and line breaks. */
3297
+ prettyPrint?: boolean;
3298
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3299
+ quotaUser?: string;
3300
+ /** The list of fields to be updated. */
3301
+ updateMask?: string;
3302
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3303
+ upload_protocol?: string;
3304
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3305
+ uploadType?: string;
3306
+ /** Request body */
3307
+ resource: RapidVulnerabilityDetectionSettings;
3308
+ }): Request<RapidVulnerabilityDetectionSettings>;
3309
+ updateRapidVulnerabilityDetectionSettings(request: {
3310
+ /** V1 error format. */
3311
+ "$.xgafv"?: string;
3312
+ /** OAuth access token. */
3313
+ access_token?: string;
3314
+ /** Data format for response. */
3315
+ alt?: string;
3316
+ /** JSONP */
3317
+ callback?: string;
3318
+ /** Selector specifying which fields to include in a partial response. */
3319
+ fields?: string;
3320
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3321
+ key?: string;
3322
+ /**
3323
+ * The resource name of the RapidVulnerabilityDetectionSettings. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings *
3324
+ * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings
3325
+ */
3326
+ name: string;
3327
+ /** OAuth 2.0 token for the current user. */
3328
+ oauth_token?: string;
3329
+ /** Returns response with indentations and line breaks. */
3330
+ prettyPrint?: boolean;
3331
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3332
+ quotaUser?: string;
3333
+ /** The list of fields to be updated. */
3334
+ updateMask?: string;
3335
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3336
+ upload_protocol?: string;
3337
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3338
+ uploadType?: string;
3339
+ },
3340
+ body: RapidVulnerabilityDetectionSettings): Request<RapidVulnerabilityDetectionSettings>;
3341
+ /** Update the SecurityHealthAnalyticsSettings resource. */
3342
+ updateSecurityHealthAnalyticsSettings(request: {
3343
+ /** V1 error format. */
3344
+ "$.xgafv"?: string;
3345
+ /** OAuth access token. */
3346
+ access_token?: string;
3347
+ /** Data format for response. */
3348
+ alt?: string;
3349
+ /** JSONP */
3350
+ callback?: string;
3351
+ /** Selector specifying which fields to include in a partial response. */
3352
+ fields?: string;
3353
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3354
+ key?: string;
3355
+ /**
3356
+ * The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings *
3357
+ * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings
3358
+ */
3359
+ name: string;
3360
+ /** OAuth 2.0 token for the current user. */
3361
+ oauth_token?: string;
3362
+ /** Returns response with indentations and line breaks. */
3363
+ prettyPrint?: boolean;
3364
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3365
+ quotaUser?: string;
3366
+ /** The list of fields to be updated. */
3367
+ updateMask?: string;
3368
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3369
+ upload_protocol?: string;
3370
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3371
+ uploadType?: string;
3372
+ /** Request body */
3373
+ resource: SecurityHealthAnalyticsSettings;
3374
+ }): Request<SecurityHealthAnalyticsSettings>;
3375
+ updateSecurityHealthAnalyticsSettings(request: {
3376
+ /** V1 error format. */
3377
+ "$.xgafv"?: string;
3378
+ /** OAuth access token. */
3379
+ access_token?: string;
3380
+ /** Data format for response. */
3381
+ alt?: string;
3382
+ /** JSONP */
3383
+ callback?: string;
3384
+ /** Selector specifying which fields to include in a partial response. */
3385
+ fields?: string;
3386
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3387
+ key?: string;
3388
+ /**
3389
+ * The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings *
3390
+ * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings
3391
+ */
3392
+ name: string;
3393
+ /** OAuth 2.0 token for the current user. */
3394
+ oauth_token?: string;
3395
+ /** Returns response with indentations and line breaks. */
3396
+ prettyPrint?: boolean;
3397
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3398
+ quotaUser?: string;
3399
+ /** The list of fields to be updated. */
3400
+ updateMask?: string;
3401
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3402
+ upload_protocol?: string;
3403
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3404
+ uploadType?: string;
3405
+ },
3406
+ body: SecurityHealthAnalyticsSettings): Request<SecurityHealthAnalyticsSettings>;
3407
+ /** Update the VirtualMachineThreatDetectionSettings resource. */
3408
+ updateVirtualMachineThreatDetectionSettings(request: {
3409
+ /** V1 error format. */
3410
+ "$.xgafv"?: string;
3411
+ /** OAuth access token. */
3412
+ access_token?: string;
3413
+ /** Data format for response. */
3414
+ alt?: string;
3415
+ /** JSONP */
3416
+ callback?: string;
3417
+ /** Selector specifying which fields to include in a partial response. */
3418
+ fields?: string;
3419
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3420
+ key?: string;
3421
+ /**
3422
+ * The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings *
3423
+ * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings
3424
+ */
3425
+ name: string;
3426
+ /** OAuth 2.0 token for the current user. */
3427
+ oauth_token?: string;
3428
+ /** Returns response with indentations and line breaks. */
3429
+ prettyPrint?: boolean;
3430
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3431
+ quotaUser?: string;
3432
+ /** The list of fields to be updated. */
3433
+ updateMask?: string;
3434
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3435
+ upload_protocol?: string;
3436
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3437
+ uploadType?: string;
3438
+ /** Request body */
3439
+ resource: VirtualMachineThreatDetectionSettings;
3440
+ }): Request<VirtualMachineThreatDetectionSettings>;
3441
+ updateVirtualMachineThreatDetectionSettings(request: {
3442
+ /** V1 error format. */
3443
+ "$.xgafv"?: string;
3444
+ /** OAuth access token. */
3445
+ access_token?: string;
3446
+ /** Data format for response. */
3447
+ alt?: string;
3448
+ /** JSONP */
3449
+ callback?: string;
3450
+ /** Selector specifying which fields to include in a partial response. */
3451
+ fields?: string;
3452
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3453
+ key?: string;
3454
+ /**
3455
+ * The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings *
3456
+ * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings
3457
+ */
3458
+ name: string;
3459
+ /** OAuth 2.0 token for the current user. */
3460
+ oauth_token?: string;
3461
+ /** Returns response with indentations and line breaks. */
3462
+ prettyPrint?: boolean;
3463
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3464
+ quotaUser?: string;
3465
+ /** The list of fields to be updated. */
3466
+ updateMask?: string;
3467
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3468
+ upload_protocol?: string;
3469
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3470
+ uploadType?: string;
3471
+ },
3472
+ body: VirtualMachineThreatDetectionSettings): Request<VirtualMachineThreatDetectionSettings>;
3473
+ /** Update the WebSecurityScannerSettings resource. */
3474
+ updateWebSecurityScannerSettings(request: {
3475
+ /** V1 error format. */
3476
+ "$.xgafv"?: string;
3477
+ /** OAuth access token. */
3478
+ access_token?: string;
3479
+ /** Data format for response. */
3480
+ alt?: string;
3481
+ /** JSONP */
3482
+ callback?: string;
3483
+ /** Selector specifying which fields to include in a partial response. */
3484
+ fields?: string;
3485
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3486
+ key?: string;
3487
+ /**
3488
+ * The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings *
3489
+ * projects/{project}/webSecurityScannerSettings
3490
+ */
3491
+ name: string;
3492
+ /** OAuth 2.0 token for the current user. */
3493
+ oauth_token?: string;
3494
+ /** Returns response with indentations and line breaks. */
3495
+ prettyPrint?: boolean;
3496
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3497
+ quotaUser?: string;
3498
+ /** The list of fields to be updated. */
3499
+ updateMask?: string;
3500
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3501
+ upload_protocol?: string;
3502
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3503
+ uploadType?: string;
3504
+ /** Request body */
3505
+ resource: WebSecurityScannerSettings;
3506
+ }): Request<WebSecurityScannerSettings>;
3507
+ updateWebSecurityScannerSettings(request: {
3508
+ /** V1 error format. */
3509
+ "$.xgafv"?: string;
3510
+ /** OAuth access token. */
3511
+ access_token?: string;
3512
+ /** Data format for response. */
3513
+ alt?: string;
3514
+ /** JSONP */
3515
+ callback?: string;
3516
+ /** Selector specifying which fields to include in a partial response. */
3517
+ fields?: string;
3518
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3519
+ key?: string;
3520
+ /**
3521
+ * The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings *
3522
+ * projects/{project}/webSecurityScannerSettings
3523
+ */
3524
+ name: string;
3525
+ /** OAuth 2.0 token for the current user. */
3526
+ oauth_token?: string;
3527
+ /** Returns response with indentations and line breaks. */
3528
+ prettyPrint?: boolean;
3529
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3530
+ quotaUser?: string;
3531
+ /** The list of fields to be updated. */
3532
+ updateMask?: string;
3533
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3534
+ upload_protocol?: string;
3535
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3536
+ uploadType?: string;
3537
+ },
3538
+ body: WebSecurityScannerSettings): Request<WebSecurityScannerSettings>;
3539
+ containerThreatDetectionSettings: ContainerThreatDetectionSettingsResource;
3540
+ eventThreatDetectionSettings: EventThreatDetectionSettingsResource;
3541
+ locations: LocationsResource;
3542
+ rapidVulnerabilityDetectionSettings: RapidVulnerabilityDetectionSettingsResource;
3543
+ securityHealthAnalyticsSettings: SecurityHealthAnalyticsSettingsResource;
3544
+ virtualMachineThreatDetectionSettings: VirtualMachineThreatDetectionSettingsResource;
3545
+ webSecurityScannerSettings: WebSecurityScannerSettingsResource;
3546
+ }
3547
+
3548
+ const folders: FoldersResource;
3549
+
3550
+ const organizations: OrganizationsResource;
3551
+
3552
+ const projects: ProjectsResource;
3553
+ }
3554
+ }