@maxim_mazurok/gapi.client.securitycenter-v1beta2 0.2.20260227 → 0.3.20260309

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.
Files changed (2) hide show
  1. package/index.d.ts +1305 -289
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://securitycenter.googleapis.com/$discovery/rest?version=v1beta2
12
- // Revision: 20260227
12
+ // Revision: 20260309
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -92,7 +92,12 @@ declare namespace gapi.client {
92
92
  }
93
93
  interface AiModel {
94
94
  /** The platform on which the model is deployed. */
95
- deploymentPlatform?: string;
95
+ deploymentPlatform?:
96
+ | 'DEPLOYMENT_PLATFORM_UNSPECIFIED'
97
+ | 'VERTEX_AI'
98
+ | 'GKE'
99
+ | 'GCE'
100
+ | 'FINE_TUNED_MODEL';
96
101
  /** The user defined display name of model. Ex. baseline-classification-model */
97
102
  displayName?: string;
98
103
  /** The domain of the model, for example, “image-classification”. */
@@ -130,7 +135,7 @@ declare namespace gapi.client {
130
135
  /** The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy". */
131
136
  policyId?: string;
132
137
  /** The type of the policy evaluation. */
133
- type?: string;
138
+ type?: 'ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED' | 'VULNERABILITY';
134
139
  }
135
140
  interface Attack {
136
141
  /** Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'. */
@@ -158,7 +163,7 @@ declare namespace gapi.client {
158
163
  /** A number between 0 (inclusive) and infinity that represents how important this finding is to remediate. The higher the score, the more important it is to remediate. */
159
164
  score?: number;
160
165
  /** What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not. */
161
- state?: string;
166
+ state?: 'STATE_UNSPECIFIED' | 'CALCULATED' | 'NOT_CALCULATED';
162
167
  }
163
168
  interface AwsAccount {
164
169
  /** The unique identifier (ID) of the account, containing exactly 12 digits. */
@@ -268,7 +273,7 @@ declare namespace gapi.client {
268
273
  /** Policy type of the CloudControl */
269
274
  policyType?: string;
270
275
  /** Type of cloud control. */
271
- type?: string;
276
+ type?: 'CLOUD_CONTROL_TYPE_UNSPECIFIED' | 'BUILT_IN' | 'CUSTOM';
272
277
  /** Version of the Cloud Control */
273
278
  version?: number;
274
279
  }
@@ -278,7 +283,7 @@ declare namespace gapi.client {
278
283
  /** Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type. */
279
284
  infoTypes?: InfoType[];
280
285
  /** The resource hierarchy level at which the data profile was generated. */
281
- parentType?: string;
286
+ parentType?: 'PARENT_TYPE_UNSPECIFIED' | 'ORGANIZATION' | 'PROJECT';
282
287
  }
283
288
  interface CloudDlpInspection {
284
289
  /** Whether Cloud DLP scanned the complete resource or a sampled subset. */
@@ -318,7 +323,11 @@ declare namespace gapi.client {
318
323
  }
319
324
  interface Config {
320
325
  /** The state of enablement for the module at its level of the resource hierarchy. */
321
- moduleEnablementState?: string;
326
+ moduleEnablementState?:
327
+ | 'ENABLEMENT_STATE_UNSPECIFIED'
328
+ | 'INHERITED'
329
+ | 'ENABLED'
330
+ | 'DISABLED';
322
331
  /** The configuration value for the module. The absence of this field implies its inheritance from the parent. */
323
332
  value?: {[P in string]: any};
324
333
  }
@@ -328,7 +337,13 @@ declare namespace gapi.client {
328
337
  /** Destination port. Not present for sockets that are listening and not connected. */
329
338
  destinationPort?: number;
330
339
  /** IANA Internet Protocol Number such as TCP(6) and UDP(17). */
331
- protocol?: string;
340
+ protocol?:
341
+ | 'PROTOCOL_UNSPECIFIED'
342
+ | 'ICMP'
343
+ | 'TCP'
344
+ | 'UDP'
345
+ | 'GRE'
346
+ | 'ESP';
332
347
  /** Source IP address. */
333
348
  sourceIp?: string;
334
349
  /** Source port. */
@@ -362,7 +377,11 @@ declare namespace gapi.client {
362
377
  /** 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 above a project. */
363
378
  serviceAccount?: string;
364
379
  /** 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. */
365
- serviceEnablementState?: string;
380
+ serviceEnablementState?:
381
+ | 'ENABLEMENT_STATE_UNSPECIFIED'
382
+ | 'INHERITED'
383
+ | 'ENABLED'
384
+ | 'DISABLED';
366
385
  /** Output only. The time the settings were last updated. */
367
386
  updateTime?: string;
368
387
  }
@@ -376,7 +395,13 @@ declare namespace gapi.client {
376
395
  /** Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document */
377
396
  cvssv3?: Cvssv3;
378
397
  /** The exploitation activity of the vulnerability in the wild. */
379
- exploitationActivity?: string;
398
+ exploitationActivity?:
399
+ | 'EXPLOITATION_ACTIVITY_UNSPECIFIED'
400
+ | 'WIDE'
401
+ | 'CONFIRMED'
402
+ | 'AVAILABLE'
403
+ | 'ANTICIPATED'
404
+ | 'NO_KNOWN';
380
405
  /** Date the first publicly available exploit or PoC was released. */
381
406
  exploitReleaseDate?: string;
382
407
  /** Date of the earliest known exploitation. */
@@ -384,7 +409,12 @@ declare namespace gapi.client {
384
409
  /** The unique identifier for the vulnerability. e.g. CVE-2021-34527 */
385
410
  id?: string;
386
411
  /** The potential impact of the vulnerability if it was to be exploited. */
387
- impact?: string;
412
+ impact?:
413
+ | 'RISK_RATING_UNSPECIFIED'
414
+ | 'LOW'
415
+ | 'MEDIUM'
416
+ | 'HIGH'
417
+ | 'CRITICAL';
388
418
  /** Whether or not the vulnerability has been observed in the wild. */
389
419
  observedInTheWild?: boolean;
390
420
  /** Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527 */
@@ -396,23 +426,50 @@ declare namespace gapi.client {
396
426
  }
397
427
  interface Cvssv3 {
398
428
  /** This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability. */
399
- attackComplexity?: string;
429
+ attackComplexity?:
430
+ | 'ATTACK_COMPLEXITY_UNSPECIFIED'
431
+ | 'ATTACK_COMPLEXITY_LOW'
432
+ | 'ATTACK_COMPLEXITY_HIGH';
400
433
  /** 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 vulnerability exploitation is possible. */
401
- attackVector?: string;
434
+ attackVector?:
435
+ | 'ATTACK_VECTOR_UNSPECIFIED'
436
+ | 'ATTACK_VECTOR_NETWORK'
437
+ | 'ATTACK_VECTOR_ADJACENT'
438
+ | 'ATTACK_VECTOR_LOCAL'
439
+ | 'ATTACK_VECTOR_PHYSICAL';
402
440
  /** This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability. */
403
- availabilityImpact?: string;
441
+ availabilityImpact?:
442
+ | 'IMPACT_UNSPECIFIED'
443
+ | 'IMPACT_HIGH'
444
+ | 'IMPACT_LOW'
445
+ | 'IMPACT_NONE';
404
446
  /** The base score is a function of the base metric scores. */
405
447
  baseScore?: number;
406
448
  /** This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability. */
407
- confidentialityImpact?: string;
449
+ confidentialityImpact?:
450
+ | 'IMPACT_UNSPECIFIED'
451
+ | 'IMPACT_HIGH'
452
+ | 'IMPACT_LOW'
453
+ | 'IMPACT_NONE';
408
454
  /** This metric measures the impact to integrity of a successfully exploited vulnerability. */
409
- integrityImpact?: string;
455
+ integrityImpact?:
456
+ | 'IMPACT_UNSPECIFIED'
457
+ | 'IMPACT_HIGH'
458
+ | 'IMPACT_LOW'
459
+ | 'IMPACT_NONE';
410
460
  /** This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability. */
411
- privilegesRequired?: string;
461
+ privilegesRequired?:
462
+ | 'PRIVILEGES_REQUIRED_UNSPECIFIED'
463
+ | 'PRIVILEGES_REQUIRED_NONE'
464
+ | 'PRIVILEGES_REQUIRED_LOW'
465
+ | 'PRIVILEGES_REQUIRED_HIGH';
412
466
  /** The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope. */
413
- scope?: string;
467
+ scope?: 'SCOPE_UNSPECIFIED' | 'SCOPE_UNCHANGED' | 'SCOPE_CHANGED';
414
468
  /** This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component. */
415
- userInteraction?: string;
469
+ userInteraction?:
470
+ | 'USER_INTERACTION_UNSPECIFIED'
471
+ | 'USER_INTERACTION_NONE'
472
+ | 'USER_INTERACTION_REQUIRED';
416
473
  }
417
474
  interface Cwe {
418
475
  /** The CWE identifier, e.g. CWE-94 */
@@ -426,7 +483,7 @@ declare namespace gapi.client {
426
483
  /** Timestamp of data access event. */
427
484
  eventTime?: string;
428
485
  /** The operation performed by the principal to access the data. */
429
- operation?: string;
486
+ operation?: 'OPERATION_UNSPECIFIED' | 'READ' | 'MOVE' | 'COPY';
430
487
  /** The email address of the principal that accessed the data. The principal could be a user account, service account, Google group, or other. */
431
488
  principalEmail?: string;
432
489
  }
@@ -450,7 +507,7 @@ declare namespace gapi.client {
450
507
  /** Timestamp of data flow event. */
451
508
  eventTime?: string;
452
509
  /** The operation performed by the principal for the data flow event. */
453
- operation?: string;
510
+ operation?: 'OPERATION_UNSPECIFIED' | 'READ' | 'MOVE' | 'COPY';
454
511
  /** The email address of the principal that initiated the data flow event. The principal could be a user account, service account, Google group, or other. */
455
512
  principalEmail?: string;
456
513
  /** Non-compliant location of the principal or the data destination. */
@@ -462,7 +519,12 @@ declare namespace gapi.client {
462
519
  /** Timestamp indicating when the event was detected. */
463
520
  eventDetectionTime?: string;
464
521
  /** Type of the DRD event. */
465
- eventType?: string;
522
+ eventType?:
523
+ | 'EVENT_TYPE_UNSPECIFIED'
524
+ | 'EVENT_TYPE_MAX_TTL_EXCEEDED'
525
+ | 'EVENT_TYPE_MAX_TTL_FROM_CREATION'
526
+ | 'EVENT_TYPE_MAX_TTL_FROM_LAST_MODIFICATION'
527
+ | 'EVENT_TYPE_MIN_TTL_FROM_CREATION';
466
528
  /** Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days. */
467
529
  maxRetentionAllowed?: string;
468
530
  /** Min duration of retention allowed from the DSPM retention control. This field is only populated when event type is set to EVENT_TYPE_MIN_TTL_FROM_CREATION. */
@@ -486,7 +548,13 @@ declare namespace gapi.client {
486
548
  /** The time the subscription has or will start. */
487
549
  startTime?: string;
488
550
  /** The type of subscription */
489
- type?: string;
551
+ type?:
552
+ | 'TYPE_UNSPECIFIED'
553
+ | 'STANDARD'
554
+ | 'TRIAL'
555
+ | 'ALPHA'
556
+ | 'DEMO'
557
+ | 'PAY_AS_YOU_GO';
490
558
  }
491
559
  interface Detection {
492
560
  /** The name of the binary associated with the memory hash signature detection. */
@@ -522,7 +590,11 @@ declare namespace gapi.client {
522
590
  /** Identifier. The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings */
523
591
  name?: string;
524
592
  /** 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. */
525
- serviceEnablementState?: string;
593
+ serviceEnablementState?:
594
+ | 'ENABLEMENT_STATE_UNSPECIFIED'
595
+ | 'INHERITED'
596
+ | 'ENABLED'
597
+ | 'DISABLED';
526
598
  /** Output only. The time the settings were last updated. */
527
599
  updateTime?: string;
528
600
  }
@@ -589,7 +661,10 @@ declare namespace gapi.client {
589
661
  /** Path of the file in terms of underlying disk/partition identifiers. */
590
662
  diskPath?: DiskPath;
591
663
  /** The load state of the file. */
592
- fileLoadState?: string;
664
+ fileLoadState?:
665
+ | 'FILE_LOAD_STATE_UNSPECIFIED'
666
+ | 'LOADED_BY_PROCESS'
667
+ | 'NOT_LOADED_BY_PROCESS';
593
668
  /** The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file. */
594
669
  hashedSize?: string;
595
670
  /** Operation(s) performed on a file. */
@@ -605,7 +680,13 @@ declare namespace gapi.client {
605
680
  }
606
681
  interface FileOperation {
607
682
  /** The type of the operation */
608
- type?: string;
683
+ type?:
684
+ | 'OPERATION_TYPE_UNSPECIFIED'
685
+ | 'OPEN'
686
+ | 'READ'
687
+ | 'RENAME'
688
+ | 'WRITE'
689
+ | 'EXECUTE';
609
690
  }
610
691
  interface Finding {
611
692
  /** Access details associated with the finding, such as more information on the caller, which method was accessed, and from where. */
@@ -673,7 +754,18 @@ declare namespace gapi.client {
673
754
  /** File associated with the finding. */
674
755
  files?: File[];
675
756
  /** The class of the finding. */
676
- findingClass?: string;
757
+ findingClass?:
758
+ | 'FINDING_CLASS_UNSPECIFIED'
759
+ | 'THREAT'
760
+ | 'VULNERABILITY'
761
+ | 'MISCONFIGURATION'
762
+ | 'OBSERVATION'
763
+ | 'SCC_ERROR'
764
+ | 'POSTURE_VIOLATION'
765
+ | 'TOXIC_COMBINATION'
766
+ | 'SENSITIVE_DATA_RISK'
767
+ | 'CHOKEPOINT'
768
+ | 'EXTERNAL_EXPOSURE';
677
769
  /** Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests. */
678
770
  groupMemberships?: GroupMembership[];
679
771
  /** Represents IAM bindings associated with the finding. */
@@ -697,7 +789,7 @@ declare namespace gapi.client {
697
789
  /** Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885 */
698
790
  moduleName?: string;
699
791
  /** 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. */
700
- mute?: string;
792
+ mute?: 'MUTE_UNSPECIFIED' | 'MUTED' | 'UNMUTED' | 'UNDEFINED';
701
793
  /** Output only. The mute information regarding this finding. */
702
794
  muteInfo?: MuteInfo;
703
795
  /** Records additional information about the mute operation, for example, the [mute configuration](/security-command-center/docs/how-to-mute-findings) that muted the finding and the user who muted the finding. */
@@ -729,11 +821,16 @@ declare namespace gapi.client {
729
821
  /** The security posture associated with the finding. */
730
822
  securityPosture?: SecurityPosture;
731
823
  /** The severity of the finding. This field is managed by the source that writes the finding. */
732
- severity?: string;
824
+ severity?:
825
+ | 'SEVERITY_UNSPECIFIED'
826
+ | 'CRITICAL'
827
+ | 'HIGH'
828
+ | 'MEDIUM'
829
+ | 'LOW';
733
830
  /** 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 must start with a letter and contain alphanumeric characters or underscores only. */
734
831
  sourceProperties?: {[P in string]: any};
735
832
  /** The state of the finding. */
736
- state?: string;
833
+ state?: 'STATE_UNSPECIFIED' | 'ACTIVE' | 'INACTIVE';
737
834
  /** Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests. */
738
835
  toxicCombination?: ToxicCombination;
739
836
  /** VertexAi associated with the finding. */
@@ -749,7 +846,13 @@ declare namespace gapi.client {
749
846
  }
750
847
  interface Framework {
751
848
  /** Category of the framework associated with the finding. E.g. Security Benchmark, or Assured Workloads */
752
- category?: string[];
849
+ category?:
850
+ | 'FRAMEWORK_CATEGORY_UNSPECIFIED'
851
+ | 'SECURITY_BENCHMARKS'
852
+ | 'ASSURED_WORKLOADS'
853
+ | 'DATA_SECURITY'
854
+ | 'GOOGLE_BEST_PRACTICES'
855
+ | 'CUSTOM_FRAMEWORK'[];
753
856
  /** The controls associated with the framework. */
754
857
  controls?: Control[];
755
858
  /** Display name of the framework. For a standard framework, this will look like e.g. PCI DSS 3.2.1, whereas for a custom framework it can be a user defined string like MyFramework */
@@ -757,7 +860,10 @@ declare namespace gapi.client {
757
860
  /** Name of the framework associated with the finding */
758
861
  name?: string;
759
862
  /** Type of the framework associated with the finding, to specify whether the framework is built-in (pre-defined and immutable) or a custom framework defined by the customer (equivalent to security posture) */
760
- type?: string;
863
+ type?:
864
+ | 'FRAMEWORK_TYPE_UNSPECIFIED'
865
+ | 'FRAMEWORK_TYPE_BUILT_IN'
866
+ | 'FRAMEWORK_TYPE_CUSTOM';
761
867
  }
762
868
  interface GcpMetadata {
763
869
  /** 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 Organization. */
@@ -781,7 +887,7 @@ declare namespace gapi.client {
781
887
  /** The duration between asset discovery run start and end */
782
888
  duration?: string;
783
889
  /** The state of an asset discovery run. */
784
- state?: string;
890
+ state?: 'STATE_UNSPECIFIED' | 'COMPLETED' | 'SUPERSEDED' | 'TERMINATED';
785
891
  }
786
892
  interface GoogleCloudSecuritycenterV1BigQueryExport {
787
893
  /** Output only. The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation. */
@@ -824,7 +930,12 @@ declare namespace gapi.client {
824
930
  /** The resource types that the custom module operates on. Each custom module can specify up to 5 resource types. */
825
931
  resourceSelector?: GoogleCloudSecuritycenterV1ResourceSelector;
826
932
  /** The severity to assign to findings generated by the module. */
827
- severity?: string;
933
+ severity?:
934
+ | 'SEVERITY_UNSPECIFIED'
935
+ | 'CRITICAL'
936
+ | 'HIGH'
937
+ | 'MEDIUM'
938
+ | 'LOW';
828
939
  }
829
940
  interface GoogleCloudSecuritycenterV1CustomOutputSpec {
830
941
  /** A list of custom output properties to add to the finding. */
@@ -832,13 +943,17 @@ declare namespace gapi.client {
832
943
  }
833
944
  interface GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule {
834
945
  /** The cloud provider of the custom module. */
835
- cloudProvider?: string;
946
+ cloudProvider?:
947
+ | 'CLOUD_PROVIDER_UNSPECIFIED'
948
+ | 'GOOGLE_CLOUD_PLATFORM'
949
+ | 'AMAZON_WEB_SERVICES'
950
+ | 'MICROSOFT_AZURE';
836
951
  /** Output only. The user-specified configuration for the module. */
837
952
  customConfig?: GoogleCloudSecuritycenterV1CustomConfig;
838
953
  /** Output only. The display name for the custom module. The name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only. */
839
954
  displayName?: string;
840
955
  /** Output only. The effective state of enablement for the module at the given level of the hierarchy. */
841
- enablementState?: string;
956
+ enablementState?: 'ENABLEMENT_STATE_UNSPECIFIED' | 'ENABLED' | 'DISABLED';
842
957
  /** Output only. The resource name of the custom module. Its format is "organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", or "folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", or "projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}" */
843
958
  name?: string;
844
959
  }
@@ -882,7 +997,7 @@ declare namespace gapi.client {
882
997
  /** This field will be ignored if provided on config creation. Format `organizations/{organization}/muteConfigs/{mute_config}` `folders/{folder}/muteConfigs/{mute_config}` `projects/{project}/muteConfigs/{mute_config}` `organizations/{organization}/locations/global/muteConfigs/{mute_config}` `folders/{folder}/locations/global/muteConfigs/{mute_config}` `projects/{project}/locations/global/muteConfigs/{mute_config}` */
883
998
  name?: string;
884
999
  /** Optional. The type of the mute config, which determines what type of mute state the config affects. The static mute state takes precedence over the dynamic mute state. Immutable after creation. STATIC by default if not set during creation. */
885
- type?: string;
1000
+ type?: 'MUTE_CONFIG_TYPE_UNSPECIFIED' | 'STATIC' | 'DYNAMIC';
886
1001
  /** 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. */
887
1002
  updateTime?: string;
888
1003
  }
@@ -914,11 +1029,16 @@ declare namespace gapi.client {
914
1029
  /** 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. */
915
1030
  securityMarks?: GoogleCloudSecuritycenterV1p1beta1SecurityMarks;
916
1031
  /** The severity of the finding. This field is managed by the source that writes the finding. */
917
- severity?: string;
1032
+ severity?:
1033
+ | 'SEVERITY_UNSPECIFIED'
1034
+ | 'CRITICAL'
1035
+ | 'HIGH'
1036
+ | 'MEDIUM'
1037
+ | 'LOW';
918
1038
  /** 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 must start with a letter and contain alphanumeric characters or underscores only. */
919
1039
  sourceProperties?: {[P in string]: any};
920
1040
  /** The state of the finding. */
921
- state?: string;
1041
+ state?: 'STATE_UNSPECIFIED' | 'ACTIVE' | 'INACTIVE';
922
1042
  }
923
1043
  interface GoogleCloudSecuritycenterV1p1beta1Folder {
924
1044
  /** Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name */
@@ -952,7 +1072,7 @@ declare namespace gapi.client {
952
1072
  /** The duration between asset discovery run start and end */
953
1073
  duration?: string;
954
1074
  /** The state of an asset discovery run. */
955
- state?: string;
1075
+ state?: 'STATE_UNSPECIFIED' | 'COMPLETED' | 'SUPERSEDED' | 'TERMINATED';
956
1076
  }
957
1077
  interface GoogleCloudSecuritycenterV1p1beta1SecurityMarks {
958
1078
  /** The canonical name of the marks. Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" "folders/{folder_id}/assets/{asset_id}/securityMarks" "projects/{project_number}/assets/{asset_id}/securityMarks" "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks" "folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks" "projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks" */
@@ -982,7 +1102,11 @@ declare namespace gapi.client {
982
1102
  /** The Azure metadata associated with the finding. */
983
1103
  azureMetadata?: AzureMetadata;
984
1104
  /** Indicates which cloud provider the resource resides in. */
985
- cloudProvider?: string;
1105
+ cloudProvider?:
1106
+ | 'CLOUD_PROVIDER_UNSPECIFIED'
1107
+ | 'GOOGLE_CLOUD_PLATFORM'
1108
+ | 'AMAZON_WEB_SERVICES'
1109
+ | 'MICROSOFT_AZURE';
986
1110
  /** The human readable name of the resource. */
987
1111
  displayName?: string;
988
1112
  /** 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 Organization. */
@@ -1034,11 +1158,21 @@ declare namespace gapi.client {
1034
1158
  }
1035
1159
  interface GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality {
1036
1160
  /** Criticality Type. */
1037
- type?: string;
1161
+ type?:
1162
+ | 'CRITICALITY_TYPE_UNSPECIFIED'
1163
+ | 'MISSION_CRITICAL'
1164
+ | 'HIGH'
1165
+ | 'MEDIUM'
1166
+ | 'LOW';
1038
1167
  }
1039
1168
  interface GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment {
1040
1169
  /** Environment Type. */
1041
- type?: string;
1170
+ type?:
1171
+ | 'ENVIRONMENT_TYPE_UNSPECIFIED'
1172
+ | 'PRODUCTION'
1173
+ | 'STAGING'
1174
+ | 'TEST'
1175
+ | 'DEVELOPMENT';
1042
1176
  }
1043
1177
  interface GoogleCloudSecuritycenterV1ResourceSelector {
1044
1178
  /** The resource types to run the detector on. */
@@ -1046,7 +1180,11 @@ declare namespace gapi.client {
1046
1180
  }
1047
1181
  interface GoogleCloudSecuritycenterV1ResourceValueConfig {
1048
1182
  /** Cloud provider this configuration applies to */
1049
- cloudProvider?: string;
1183
+ cloudProvider?:
1184
+ | 'CLOUD_PROVIDER_UNSPECIFIED'
1185
+ | 'GOOGLE_CLOUD_PLATFORM'
1186
+ | 'AMAZON_WEB_SERVICES'
1187
+ | 'MICROSOFT_AZURE';
1050
1188
  /** Output only. Timestamp this resource value configuration was created. */
1051
1189
  createTime?: string;
1052
1190
  /** Description of the resource value configuration. */
@@ -1058,7 +1196,12 @@ declare namespace gapi.client {
1058
1196
  /** Apply resource_value only to resources that match resource_type. resource_type will be checked with `AND` of other resources. For example, "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources. */
1059
1197
  resourceType?: string;
1060
1198
  /** Required. Resource value level this expression represents */
1061
- resourceValue?: string;
1199
+ resourceValue?:
1200
+ | 'RESOURCE_VALUE_UNSPECIFIED'
1201
+ | 'HIGH'
1202
+ | 'MEDIUM'
1203
+ | 'LOW'
1204
+ | 'NONE';
1062
1205
  /** Project or folder to scope this configuration to. For example, "project/456" would apply this configuration only to resources in "project/456" scope will be checked with `AND` of other resources. */
1063
1206
  scope?: string;
1064
1207
  /** A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. "bigquery.googleapis.com/Dataset". */
@@ -1072,19 +1215,27 @@ declare namespace gapi.client {
1072
1215
  /** The duration between asset discovery run start and end */
1073
1216
  duration?: string;
1074
1217
  /** The state of an asset discovery run. */
1075
- state?: string;
1218
+ state?: 'STATE_UNSPECIFIED' | 'COMPLETED' | 'SUPERSEDED' | 'TERMINATED';
1076
1219
  }
1077
1220
  interface GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule {
1078
1221
  /** Output only. If empty, indicates that the custom module was created in the organization, folder, or project in which you are viewing the custom module. Otherwise, `ancestor_module` specifies the organization or folder from which the custom module is inherited. */
1079
1222
  ancestorModule?: string;
1080
1223
  /** The cloud provider of the custom module. */
1081
- cloudProvider?: string;
1224
+ cloudProvider?:
1225
+ | 'CLOUD_PROVIDER_UNSPECIFIED'
1226
+ | 'GOOGLE_CLOUD_PLATFORM'
1227
+ | 'AMAZON_WEB_SERVICES'
1228
+ | 'MICROSOFT_AZURE';
1082
1229
  /** The user specified custom configuration for the module. */
1083
1230
  customConfig?: GoogleCloudSecuritycenterV1CustomConfig;
1084
1231
  /** The display name of the Security Health Analytics custom module. This display name becomes the finding category for all findings that are returned by this custom module. The display name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only. */
1085
1232
  displayName?: string;
1086
1233
  /** The enablement state of the custom module. */
1087
- enablementState?: string;
1234
+ enablementState?:
1235
+ | 'ENABLEMENT_STATE_UNSPECIFIED'
1236
+ | 'ENABLED'
1237
+ | 'DISABLED'
1238
+ | 'INHERITED';
1088
1239
  /** Output only. The editor that last updated the custom module. */
1089
1240
  lastEditor?: string;
1090
1241
  /** Immutable. The resource name of the custom module. Its format is "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", or "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", or "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" The id {customModule} is server-generated and is not user settable. It will be a numeric id containing 1-20 digits. */
@@ -1094,9 +1245,19 @@ declare namespace gapi.client {
1094
1245
  }
1095
1246
  interface GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping {
1096
1247
  /** Resource value mapping for high-sensitivity Sensitive Data Protection findings */
1097
- highSensitivityMapping?: string;
1248
+ highSensitivityMapping?:
1249
+ | 'RESOURCE_VALUE_UNSPECIFIED'
1250
+ | 'HIGH'
1251
+ | 'MEDIUM'
1252
+ | 'LOW'
1253
+ | 'NONE';
1098
1254
  /** Resource value mapping for medium-sensitivity Sensitive Data Protection findings */
1099
- mediumSensitivityMapping?: string;
1255
+ mediumSensitivityMapping?:
1256
+ | 'RESOURCE_VALUE_UNSPECIFIED'
1257
+ | 'HIGH'
1258
+ | 'MEDIUM'
1259
+ | 'LOW'
1260
+ | 'NONE';
1100
1261
  }
1101
1262
  interface GoogleCloudSecuritycenterV2Access {
1102
1263
  /** Caller's IP address, such as "1.1.1.1". */
@@ -1162,7 +1323,12 @@ declare namespace gapi.client {
1162
1323
  }
1163
1324
  interface GoogleCloudSecuritycenterV2AiModel {
1164
1325
  /** The platform on which the model is deployed. */
1165
- deploymentPlatform?: string;
1326
+ deploymentPlatform?:
1327
+ | 'DEPLOYMENT_PLATFORM_UNSPECIFIED'
1328
+ | 'VERTEX_AI'
1329
+ | 'GKE'
1330
+ | 'GCE'
1331
+ | 'FINE_TUNED_MODEL';
1166
1332
  /** The user defined display name of model. Ex. baseline-classification-model */
1167
1333
  displayName?: string;
1168
1334
  /** The domain of the model, for example, “image-classification”. */
@@ -1200,7 +1366,7 @@ declare namespace gapi.client {
1200
1366
  /** The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy". */
1201
1367
  policyId?: string;
1202
1368
  /** The type of the policy evaluation. */
1203
- type?: string;
1369
+ type?: 'ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED' | 'VULNERABILITY';
1204
1370
  }
1205
1371
  interface GoogleCloudSecuritycenterV2Attack {
1206
1372
  /** Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'. */
@@ -1228,7 +1394,7 @@ declare namespace gapi.client {
1228
1394
  /** A number between 0 (inclusive) and infinity that represents how important this finding is to remediate. The higher the score, the more important it is to remediate. */
1229
1395
  score?: number;
1230
1396
  /** Output only. What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not. */
1231
- state?: string;
1397
+ state?: 'STATE_UNSPECIFIED' | 'CALCULATED' | 'NOT_CALCULATED';
1232
1398
  }
1233
1399
  interface GoogleCloudSecuritycenterV2AwsAccount {
1234
1400
  /** The unique identifier (ID) of the account, containing exactly 12 digits. */
@@ -1365,7 +1531,7 @@ declare namespace gapi.client {
1365
1531
  /** Policy type of the CloudControl */
1366
1532
  policyType?: string;
1367
1533
  /** Type of cloud control. */
1368
- type?: string;
1534
+ type?: 'CLOUD_CONTROL_TYPE_UNSPECIFIED' | 'BUILT_IN' | 'CUSTOM';
1369
1535
  /** Version of the Cloud Control */
1370
1536
  version?: number;
1371
1537
  }
@@ -1375,7 +1541,7 @@ declare namespace gapi.client {
1375
1541
  /** Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type. */
1376
1542
  infoTypes?: GoogleCloudSecuritycenterV2InfoType[];
1377
1543
  /** The resource hierarchy level at which the data profile was generated. */
1378
- parentType?: string;
1544
+ parentType?: 'PARENT_TYPE_UNSPECIFIED' | 'ORGANIZATION' | 'PROJECT';
1379
1545
  }
1380
1546
  interface GoogleCloudSecuritycenterV2CloudDlpInspection {
1381
1547
  /** Whether Cloud DLP scanned the complete resource or a sampled subset. */
@@ -1419,7 +1585,13 @@ declare namespace gapi.client {
1419
1585
  /** Destination port. Not present for sockets that are listening and not connected. */
1420
1586
  destinationPort?: number;
1421
1587
  /** IANA Internet Protocol Number such as TCP(6) and UDP(17). */
1422
- protocol?: string;
1588
+ protocol?:
1589
+ | 'PROTOCOL_UNSPECIFIED'
1590
+ | 'ICMP'
1591
+ | 'TCP'
1592
+ | 'UDP'
1593
+ | 'GRE'
1594
+ | 'ESP';
1423
1595
  /** Source IP address. */
1424
1596
  sourceIp?: string;
1425
1597
  /** Source port. */
@@ -1455,7 +1627,13 @@ declare namespace gapi.client {
1455
1627
  /** Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document */
1456
1628
  cvssv3?: GoogleCloudSecuritycenterV2Cvssv3;
1457
1629
  /** The exploitation activity of the vulnerability in the wild. */
1458
- exploitationActivity?: string;
1630
+ exploitationActivity?:
1631
+ | 'EXPLOITATION_ACTIVITY_UNSPECIFIED'
1632
+ | 'WIDE'
1633
+ | 'CONFIRMED'
1634
+ | 'AVAILABLE'
1635
+ | 'ANTICIPATED'
1636
+ | 'NO_KNOWN';
1459
1637
  /** Date the first publicly available exploit or PoC was released. */
1460
1638
  exploitReleaseDate?: string;
1461
1639
  /** Date of the earliest known exploitation. */
@@ -1463,7 +1641,12 @@ declare namespace gapi.client {
1463
1641
  /** The unique identifier for the vulnerability. e.g. CVE-2021-34527 */
1464
1642
  id?: string;
1465
1643
  /** The potential impact of the vulnerability if it was to be exploited. */
1466
- impact?: string;
1644
+ impact?:
1645
+ | 'RISK_RATING_UNSPECIFIED'
1646
+ | 'LOW'
1647
+ | 'MEDIUM'
1648
+ | 'HIGH'
1649
+ | 'CRITICAL';
1467
1650
  /** Whether or not the vulnerability has been observed in the wild. */
1468
1651
  observedInTheWild?: boolean;
1469
1652
  /** Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527 */
@@ -1475,23 +1658,50 @@ declare namespace gapi.client {
1475
1658
  }
1476
1659
  interface GoogleCloudSecuritycenterV2Cvssv3 {
1477
1660
  /** This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability. */
1478
- attackComplexity?: string;
1661
+ attackComplexity?:
1662
+ | 'ATTACK_COMPLEXITY_UNSPECIFIED'
1663
+ | 'ATTACK_COMPLEXITY_LOW'
1664
+ | 'ATTACK_COMPLEXITY_HIGH';
1479
1665
  /** 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 vulnerability exploitation is possible. */
1480
- attackVector?: string;
1666
+ attackVector?:
1667
+ | 'ATTACK_VECTOR_UNSPECIFIED'
1668
+ | 'ATTACK_VECTOR_NETWORK'
1669
+ | 'ATTACK_VECTOR_ADJACENT'
1670
+ | 'ATTACK_VECTOR_LOCAL'
1671
+ | 'ATTACK_VECTOR_PHYSICAL';
1481
1672
  /** This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability. */
1482
- availabilityImpact?: string;
1673
+ availabilityImpact?:
1674
+ | 'IMPACT_UNSPECIFIED'
1675
+ | 'IMPACT_HIGH'
1676
+ | 'IMPACT_LOW'
1677
+ | 'IMPACT_NONE';
1483
1678
  /** The base score is a function of the base metric scores. */
1484
1679
  baseScore?: number;
1485
1680
  /** This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability. */
1486
- confidentialityImpact?: string;
1681
+ confidentialityImpact?:
1682
+ | 'IMPACT_UNSPECIFIED'
1683
+ | 'IMPACT_HIGH'
1684
+ | 'IMPACT_LOW'
1685
+ | 'IMPACT_NONE';
1487
1686
  /** This metric measures the impact to integrity of a successfully exploited vulnerability. */
1488
- integrityImpact?: string;
1687
+ integrityImpact?:
1688
+ | 'IMPACT_UNSPECIFIED'
1689
+ | 'IMPACT_HIGH'
1690
+ | 'IMPACT_LOW'
1691
+ | 'IMPACT_NONE';
1489
1692
  /** This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability. */
1490
- privilegesRequired?: string;
1693
+ privilegesRequired?:
1694
+ | 'PRIVILEGES_REQUIRED_UNSPECIFIED'
1695
+ | 'PRIVILEGES_REQUIRED_NONE'
1696
+ | 'PRIVILEGES_REQUIRED_LOW'
1697
+ | 'PRIVILEGES_REQUIRED_HIGH';
1491
1698
  /** The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope. */
1492
- scope?: string;
1699
+ scope?: 'SCOPE_UNSPECIFIED' | 'SCOPE_UNCHANGED' | 'SCOPE_CHANGED';
1493
1700
  /** This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component. */
1494
- userInteraction?: string;
1701
+ userInteraction?:
1702
+ | 'USER_INTERACTION_UNSPECIFIED'
1703
+ | 'USER_INTERACTION_NONE'
1704
+ | 'USER_INTERACTION_REQUIRED';
1495
1705
  }
1496
1706
  interface GoogleCloudSecuritycenterV2Cwe {
1497
1707
  /** The CWE identifier, e.g. CWE-94 */
@@ -1505,7 +1715,7 @@ declare namespace gapi.client {
1505
1715
  /** Timestamp of data access event. */
1506
1716
  eventTime?: string;
1507
1717
  /** The operation performed by the principal to access the data. */
1508
- operation?: string;
1718
+ operation?: 'OPERATION_UNSPECIFIED' | 'READ' | 'MOVE' | 'COPY';
1509
1719
  /** The email address of the principal that accessed the data. The principal could be a user account, service account, Google group, or other. */
1510
1720
  principalEmail?: string;
1511
1721
  }
@@ -1529,7 +1739,7 @@ declare namespace gapi.client {
1529
1739
  /** Timestamp of data flow event. */
1530
1740
  eventTime?: string;
1531
1741
  /** The operation performed by the principal for the data flow event. */
1532
- operation?: string;
1742
+ operation?: 'OPERATION_UNSPECIFIED' | 'READ' | 'MOVE' | 'COPY';
1533
1743
  /** The email address of the principal that initiated the data flow event. The principal could be a user account, service account, Google group, or other. */
1534
1744
  principalEmail?: string;
1535
1745
  /** Non-compliant location of the principal or the data destination. */
@@ -1541,7 +1751,12 @@ declare namespace gapi.client {
1541
1751
  /** Timestamp indicating when the event was detected. */
1542
1752
  eventDetectionTime?: string;
1543
1753
  /** Type of the DRD event. */
1544
- eventType?: string;
1754
+ eventType?:
1755
+ | 'EVENT_TYPE_UNSPECIFIED'
1756
+ | 'EVENT_TYPE_MAX_TTL_EXCEEDED'
1757
+ | 'EVENT_TYPE_MAX_TTL_FROM_CREATION'
1758
+ | 'EVENT_TYPE_MAX_TTL_FROM_LAST_MODIFICATION'
1759
+ | 'EVENT_TYPE_MIN_TTL_FROM_CREATION';
1545
1760
  /** Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days. */
1546
1761
  maxRetentionAllowed?: string;
1547
1762
  /** Min duration of retention allowed from the DSPM retention control. This field is only populated when event type is set to EVENT_TYPE_MIN_TTL_FROM_CREATION. */
@@ -1657,7 +1872,10 @@ declare namespace gapi.client {
1657
1872
  /** Path of the file in terms of underlying disk/partition identifiers. */
1658
1873
  diskPath?: GoogleCloudSecuritycenterV2DiskPath;
1659
1874
  /** The load state of the file. */
1660
- fileLoadState?: string;
1875
+ fileLoadState?:
1876
+ | 'FILE_LOAD_STATE_UNSPECIFIED'
1877
+ | 'LOADED_BY_PROCESS'
1878
+ | 'NOT_LOADED_BY_PROCESS';
1661
1879
  /** The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file. */
1662
1880
  hashedSize?: string;
1663
1881
  /** Operation(s) performed on a file. */
@@ -1673,7 +1891,13 @@ declare namespace gapi.client {
1673
1891
  }
1674
1892
  interface GoogleCloudSecuritycenterV2FileOperation {
1675
1893
  /** The type of the operation */
1676
- type?: string;
1894
+ type?:
1895
+ | 'OPERATION_TYPE_UNSPECIFIED'
1896
+ | 'OPEN'
1897
+ | 'READ'
1898
+ | 'RENAME'
1899
+ | 'WRITE'
1900
+ | 'EXECUTE';
1677
1901
  }
1678
1902
  interface GoogleCloudSecuritycenterV2Finding {
1679
1903
  /** Access details associated with the finding, such as more information on the caller, which method was accessed, and from where. */
@@ -1743,7 +1967,18 @@ declare namespace gapi.client {
1743
1967
  /** File associated with the finding. */
1744
1968
  files?: GoogleCloudSecuritycenterV2File[];
1745
1969
  /** The class of the finding. */
1746
- findingClass?: string;
1970
+ findingClass?:
1971
+ | 'FINDING_CLASS_UNSPECIFIED'
1972
+ | 'THREAT'
1973
+ | 'VULNERABILITY'
1974
+ | 'MISCONFIGURATION'
1975
+ | 'OBSERVATION'
1976
+ | 'SCC_ERROR'
1977
+ | 'POSTURE_VIOLATION'
1978
+ | 'TOXIC_COMBINATION'
1979
+ | 'SENSITIVE_DATA_RISK'
1980
+ | 'CHOKEPOINT'
1981
+ | 'EXTERNAL_EXPOSURE';
1747
1982
  /** Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests. */
1748
1983
  groupMemberships?: GoogleCloudSecuritycenterV2GroupMembership[];
1749
1984
  /** Represents IAM bindings associated with the finding. */
@@ -1767,7 +2002,7 @@ declare namespace gapi.client {
1767
2002
  /** Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885 */
1768
2003
  moduleName?: string;
1769
2004
  /** 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. */
1770
- mute?: string;
2005
+ mute?: 'MUTE_UNSPECIFIED' | 'MUTED' | 'UNMUTED' | 'UNDEFINED';
1771
2006
  /** Output only. The mute information regarding this finding. */
1772
2007
  muteInfo?: GoogleCloudSecuritycenterV2MuteInfo;
1773
2008
  /** Records additional information about the mute operation, for example, the [mute configuration](https://cloud.google.com/security-command-center/docs/how-to-mute-findings) that muted the finding and the user who muted the finding. */
@@ -1799,11 +2034,16 @@ declare namespace gapi.client {
1799
2034
  /** The security posture associated with the finding. */
1800
2035
  securityPosture?: GoogleCloudSecuritycenterV2SecurityPosture;
1801
2036
  /** The severity of the finding. This field is managed by the source that writes the finding. */
1802
- severity?: string;
2037
+ severity?:
2038
+ | 'SEVERITY_UNSPECIFIED'
2039
+ | 'CRITICAL'
2040
+ | 'HIGH'
2041
+ | 'MEDIUM'
2042
+ | 'LOW';
1803
2043
  /** 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 must start with a letter and contain alphanumeric characters or underscores only. */
1804
2044
  sourceProperties?: {[P in string]: any};
1805
2045
  /** Output only. The state of the finding. */
1806
- state?: string;
2046
+ state?: 'STATE_UNSPECIFIED' | 'ACTIVE' | 'INACTIVE';
1807
2047
  /** Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests. */
1808
2048
  toxicCombination?: GoogleCloudSecuritycenterV2ToxicCombination;
1809
2049
  /** VertexAi associated with the finding. */
@@ -1819,7 +2059,13 @@ declare namespace gapi.client {
1819
2059
  }
1820
2060
  interface GoogleCloudSecuritycenterV2Framework {
1821
2061
  /** Category of the framework associated with the finding. E.g. Security Benchmark, or Assured Workloads */
1822
- category?: string[];
2062
+ category?:
2063
+ | 'FRAMEWORK_CATEGORY_UNSPECIFIED'
2064
+ | 'SECURITY_BENCHMARKS'
2065
+ | 'ASSURED_WORKLOADS'
2066
+ | 'DATA_SECURITY'
2067
+ | 'GOOGLE_BEST_PRACTICES'
2068
+ | 'CUSTOM_FRAMEWORK'[];
1823
2069
  /** The controls associated with the framework. */
1824
2070
  controls?: GoogleCloudSecuritycenterV2Control[];
1825
2071
  /** Display name of the framework. For a standard framework, this will look like e.g. PCI DSS 3.2.1, whereas for a custom framework it can be a user defined string like MyFramework */
@@ -1827,7 +2073,10 @@ declare namespace gapi.client {
1827
2073
  /** Name of the framework associated with the finding */
1828
2074
  name?: string;
1829
2075
  /** Type of the framework associated with the finding, to specify whether the framework is built-in (pre-defined and immutable) or a custom framework defined by the customer (equivalent to security posture) */
1830
- type?: string;
2076
+ type?:
2077
+ | 'FRAMEWORK_TYPE_UNSPECIFIED'
2078
+ | 'FRAMEWORK_TYPE_BUILT_IN'
2079
+ | 'FRAMEWORK_TYPE_CUSTOM';
1831
2080
  }
1832
2081
  interface GoogleCloudSecuritycenterV2Geolocation {
1833
2082
  /** A CLDR. */
@@ -1837,11 +2086,14 @@ declare namespace gapi.client {
1837
2086
  /** ID of the group. */
1838
2087
  groupId?: string;
1839
2088
  /** Type of group. */
1840
- groupType?: string;
2089
+ groupType?:
2090
+ | 'GROUP_TYPE_UNSPECIFIED'
2091
+ | 'GROUP_TYPE_TOXIC_COMBINATION'
2092
+ | 'GROUP_TYPE_CHOKEPOINT';
1841
2093
  }
1842
2094
  interface GoogleCloudSecuritycenterV2IamBinding {
1843
2095
  /** The action that was performed on a Binding. */
1844
- action?: string;
2096
+ action?: 'ACTION_UNSPECIFIED' | 'ADD' | 'REMOVE';
1845
2097
  /** A single identity requesting access for a Cloud Platform resource, for example, "foo@google.com". */
1846
2098
  member?: string;
1847
2099
  /** Role that is assigned to "members". For example, "roles/viewer", "roles/editor", or "roles/owner". */
@@ -1879,7 +2131,7 @@ declare namespace gapi.client {
1879
2131
  /** If destination IP ranges are specified, the firewall rule applies only to traffic that has a destination IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4. */
1880
2132
  destinationIpRanges?: string[];
1881
2133
  /** The direction that the rule is applicable to, one of ingress or egress. */
1882
- direction?: string;
2134
+ direction?: 'DIRECTION_UNSPECIFIED' | 'INGRESS' | 'EGRESS';
1883
2135
  /** Name of the network protocol service, such as FTP, that is exposed by the open port. Follows the naming convention available at: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml. */
1884
2136
  exposedServices?: string[];
1885
2137
  /** If source IP ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4. */
@@ -1897,7 +2149,11 @@ declare namespace gapi.client {
1897
2149
  /** The exposure score of the issue. */
1898
2150
  exposureScore?: number;
1899
2151
  /** The type of the issue. */
1900
- issueType?: string;
2152
+ issueType?:
2153
+ | 'ISSUE_TYPE_UNSPECIFIED'
2154
+ | 'CHOKEPOINT'
2155
+ | 'TOXIC_COMBINATION'
2156
+ | 'INSIGHT';
1901
2157
  /** The time the issue was last observed. */
1902
2158
  lastObservationTime?: string;
1903
2159
  /** The mute information of the issue. */
@@ -1915,15 +2171,28 @@ declare namespace gapi.client {
1915
2171
  /** The security context of the issue. */
1916
2172
  securityContexts?: GoogleCloudSecuritycenterV2IssueSecurityContext[];
1917
2173
  /** The severity of the issue. */
1918
- severity?: string;
2174
+ severity?:
2175
+ | 'SEVERITY_UNSPECIFIED'
2176
+ | 'CRITICAL'
2177
+ | 'HIGH'
2178
+ | 'MEDIUM'
2179
+ | 'LOW';
1919
2180
  /** Output only. The state of the issue. */
1920
- state?: string;
2181
+ state?: 'STATE_UNSPECIFIED' | 'ACTIVE' | 'INACTIVE';
1921
2182
  /** Output only. The time the issue was last updated. */
1922
2183
  updateTime?: string;
1923
2184
  }
1924
2185
  interface GoogleCloudSecuritycenterV2IssueDomain {
1925
2186
  /** The domain category of the issue. */
1926
- domainCategory?: string;
2187
+ domainCategory?:
2188
+ | 'DOMAIN_CATEGORY_UNSPECIFIED'
2189
+ | 'AI'
2190
+ | 'CODE'
2191
+ | 'CONTAINER'
2192
+ | 'DATA'
2193
+ | 'IDENTITY_AND_ACCESS'
2194
+ | 'VULNERABILITY'
2195
+ | 'THREAT';
1927
2196
  }
1928
2197
  interface GoogleCloudSecuritycenterV2IssueFinding {
1929
2198
  /** The CVE of the finding. */
@@ -1947,7 +2216,7 @@ declare namespace gapi.client {
1947
2216
  /** The user-provided reason for muting the issue. */
1948
2217
  muteReason?: string;
1949
2218
  /** Output only. The mute state of the issue. */
1950
- muteState?: string;
2219
+ muteState?: 'MUTE_STATE_UNSPECIFIED' | 'NOT_MUTED' | 'MUTED';
1951
2220
  /** The time the issue was muted. */
1952
2221
  muteUpdateTime?: string;
1953
2222
  }
@@ -1965,7 +2234,11 @@ declare namespace gapi.client {
1965
2234
  /** The Azure metadata of the resource associated with the issue. Only populated for Azure resources. */
1966
2235
  azureMetadata?: GoogleCloudSecuritycenterV2IssueResourceAzureMetadata;
1967
2236
  /** The cloud provider of the resource associated with the issue. */
1968
- cloudProvider?: string;
2237
+ cloudProvider?:
2238
+ | 'CLOUD_PROVIDER_UNSPECIFIED'
2239
+ | 'GOOGLE_CLOUD'
2240
+ | 'AMAZON_WEB_SERVICES'
2241
+ | 'MICROSOFT_AZURE';
1969
2242
  /** The resource-type specific display name of the resource associated with the issue. */
1970
2243
  displayName?: string;
1971
2244
  /** The Google Cloud metadata of the resource associated with the issue. Only populated for Google Cloud resources. */
@@ -2013,11 +2286,21 @@ declare namespace gapi.client {
2013
2286
  }
2014
2287
  interface GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality {
2015
2288
  /** Criticality Type. */
2016
- type?: string;
2289
+ type?:
2290
+ | 'CRITICALITY_TYPE_UNSPECIFIED'
2291
+ | 'MISSION_CRITICAL'
2292
+ | 'HIGH'
2293
+ | 'MEDIUM'
2294
+ | 'LOW';
2017
2295
  }
2018
2296
  interface GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment {
2019
2297
  /** Environment Type. */
2020
- type?: string;
2298
+ type?:
2299
+ | 'ENVIRONMENT_TYPE_UNSPECIFIED'
2300
+ | 'PRODUCTION'
2301
+ | 'STAGING'
2302
+ | 'TEST'
2303
+ | 'DEVELOPMENT';
2021
2304
  }
2022
2305
  interface GoogleCloudSecuritycenterV2IssueResourceAwsMetadata {
2023
2306
  /** The AWS account of the resource associated with the issue. */
@@ -2069,7 +2352,12 @@ declare namespace gapi.client {
2069
2352
  /** The fully-qualified name for a job. e.g. `projects//jobs/` */
2070
2353
  name?: string;
2071
2354
  /** Output only. State of the job, such as `RUNNING` or `PENDING`. */
2072
- state?: string;
2355
+ state?:
2356
+ | 'JOB_STATE_UNSPECIFIED'
2357
+ | 'PENDING'
2358
+ | 'RUNNING'
2359
+ | 'SUCCEEDED'
2360
+ | 'FAILED';
2073
2361
  }
2074
2362
  interface GoogleCloudSecuritycenterV2KernelRootkit {
2075
2363
  /** Rootkit name, when available. */
@@ -2129,13 +2417,321 @@ declare namespace gapi.client {
2129
2417
  }
2130
2418
  interface GoogleCloudSecuritycenterV2MitreAttack {
2131
2419
  /** Additional MITRE ATT&CK tactics related to this finding, if any. */
2132
- additionalTactics?: string[];
2420
+ additionalTactics?:
2421
+ | 'TACTIC_UNSPECIFIED'
2422
+ | 'RECONNAISSANCE'
2423
+ | 'RESOURCE_DEVELOPMENT'
2424
+ | 'INITIAL_ACCESS'
2425
+ | 'EXECUTION'
2426
+ | 'PERSISTENCE'
2427
+ | 'PRIVILEGE_ESCALATION'
2428
+ | 'DEFENSE_EVASION'
2429
+ | 'CREDENTIAL_ACCESS'
2430
+ | 'DISCOVERY'
2431
+ | 'LATERAL_MOVEMENT'
2432
+ | 'COLLECTION'
2433
+ | 'COMMAND_AND_CONTROL'
2434
+ | 'EXFILTRATION'
2435
+ | 'IMPACT'[];
2133
2436
  /** Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques. */
2134
- additionalTechniques?: string[];
2437
+ additionalTechniques?:
2438
+ | 'TECHNIQUE_UNSPECIFIED'
2439
+ | 'DATA_OBFUSCATION'
2440
+ | 'DATA_OBFUSCATION_STEGANOGRAPHY'
2441
+ | 'OS_CREDENTIAL_DUMPING'
2442
+ | 'OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM'
2443
+ | 'OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW'
2444
+ | 'DATA_FROM_LOCAL_SYSTEM'
2445
+ | 'AUTOMATED_EXFILTRATION'
2446
+ | 'OBFUSCATED_FILES_OR_INFO'
2447
+ | 'STEGANOGRAPHY'
2448
+ | 'COMPILE_AFTER_DELIVERY'
2449
+ | 'COMMAND_OBFUSCATION'
2450
+ | 'SCHEDULED_TRANSFER'
2451
+ | 'SYSTEM_OWNER_USER_DISCOVERY'
2452
+ | 'MASQUERADING'
2453
+ | 'MATCH_LEGITIMATE_NAME_OR_LOCATION'
2454
+ | 'BOOT_OR_LOGON_INITIALIZATION_SCRIPTS'
2455
+ | 'STARTUP_ITEMS'
2456
+ | 'NETWORK_SERVICE_DISCOVERY'
2457
+ | 'SCHEDULED_TASK_JOB'
2458
+ | 'SCHEDULED_TASK_JOB_CRON'
2459
+ | 'CONTAINER_ORCHESTRATION_JOB'
2460
+ | 'PROCESS_INJECTION'
2461
+ | 'INPUT_CAPTURE'
2462
+ | 'INPUT_CAPTURE_KEYLOGGING'
2463
+ | 'PROCESS_DISCOVERY'
2464
+ | 'COMMAND_AND_SCRIPTING_INTERPRETER'
2465
+ | 'UNIX_SHELL'
2466
+ | 'PYTHON'
2467
+ | 'EXPLOITATION_FOR_PRIVILEGE_ESCALATION'
2468
+ | 'PERMISSION_GROUPS_DISCOVERY'
2469
+ | 'CLOUD_GROUPS'
2470
+ | 'INDICATOR_REMOVAL'
2471
+ | 'INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS'
2472
+ | 'INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY'
2473
+ | 'INDICATOR_REMOVAL_FILE_DELETION'
2474
+ | 'INDICATOR_REMOVAL_TIMESTOMP'
2475
+ | 'INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA'
2476
+ | 'APPLICATION_LAYER_PROTOCOL'
2477
+ | 'DNS'
2478
+ | 'SOFTWARE_DEPLOYMENT_TOOLS'
2479
+ | 'VALID_ACCOUNTS'
2480
+ | 'DEFAULT_ACCOUNTS'
2481
+ | 'LOCAL_ACCOUNTS'
2482
+ | 'CLOUD_ACCOUNTS'
2483
+ | 'FILE_AND_DIRECTORY_DISCOVERY'
2484
+ | 'ACCOUNT_DISCOVERY_LOCAL_ACCOUNT'
2485
+ | 'PROXY'
2486
+ | 'EXTERNAL_PROXY'
2487
+ | 'MULTI_HOP_PROXY'
2488
+ | 'ACCOUNT_MANIPULATION'
2489
+ | 'ADDITIONAL_CLOUD_CREDENTIALS'
2490
+ | 'ADDITIONAL_CLOUD_ROLES'
2491
+ | 'SSH_AUTHORIZED_KEYS'
2492
+ | 'ADDITIONAL_CONTAINER_CLUSTER_ROLES'
2493
+ | 'MULTI_STAGE_CHANNELS'
2494
+ | 'INGRESS_TOOL_TRANSFER'
2495
+ | 'NATIVE_API'
2496
+ | 'BRUTE_FORCE'
2497
+ | 'AUTOMATED_COLLECTION'
2498
+ | 'SHARED_MODULES'
2499
+ | 'DATA_ENCODING'
2500
+ | 'STANDARD_ENCODING'
2501
+ | 'ACCESS_TOKEN_MANIPULATION'
2502
+ | 'TOKEN_IMPERSONATION_OR_THEFT'
2503
+ | 'CREATE_ACCOUNT'
2504
+ | 'LOCAL_ACCOUNT'
2505
+ | 'DEOBFUSCATE_DECODE_FILES_OR_INFO'
2506
+ | 'EXPLOIT_PUBLIC_FACING_APPLICATION'
2507
+ | 'SUPPLY_CHAIN_COMPROMISE'
2508
+ | 'COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS'
2509
+ | 'EXPLOITATION_FOR_CLIENT_EXECUTION'
2510
+ | 'USER_EXECUTION'
2511
+ | 'EXPLOITATION_FOR_CREDENTIAL_ACCESS'
2512
+ | 'LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION'
2513
+ | 'DOMAIN_POLICY_MODIFICATION'
2514
+ | 'DATA_DESTRUCTION'
2515
+ | 'DATA_ENCRYPTED_FOR_IMPACT'
2516
+ | 'SERVICE_STOP'
2517
+ | 'INHIBIT_SYSTEM_RECOVERY'
2518
+ | 'FIRMWARE_CORRUPTION'
2519
+ | 'RESOURCE_HIJACKING'
2520
+ | 'NETWORK_DENIAL_OF_SERVICE'
2521
+ | 'CLOUD_SERVICE_DISCOVERY'
2522
+ | 'STEAL_APPLICATION_ACCESS_TOKEN'
2523
+ | 'ACCOUNT_ACCESS_REMOVAL'
2524
+ | 'TRANSFER_DATA_TO_CLOUD_ACCOUNT'
2525
+ | 'STEAL_WEB_SESSION_COOKIE'
2526
+ | 'CREATE_OR_MODIFY_SYSTEM_PROCESS'
2527
+ | 'EVENT_TRIGGERED_EXECUTION'
2528
+ | 'BOOT_OR_LOGON_AUTOSTART_EXECUTION'
2529
+ | 'KERNEL_MODULES_AND_EXTENSIONS'
2530
+ | 'SHORTCUT_MODIFICATION'
2531
+ | 'ABUSE_ELEVATION_CONTROL_MECHANISM'
2532
+ | 'ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID'
2533
+ | 'ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING'
2534
+ | 'UNSECURED_CREDENTIALS'
2535
+ | 'CREDENTIALS_IN_FILES'
2536
+ | 'BASH_HISTORY'
2537
+ | 'PRIVATE_KEYS'
2538
+ | 'SUBVERT_TRUST_CONTROL'
2539
+ | 'INSTALL_ROOT_CERTIFICATE'
2540
+ | 'COMPROMISE_HOST_SOFTWARE_BINARY'
2541
+ | 'CREDENTIALS_FROM_PASSWORD_STORES'
2542
+ | 'MODIFY_AUTHENTICATION_PROCESS'
2543
+ | 'PLUGGABLE_AUTHENTICATION_MODULES'
2544
+ | 'MULTI_FACTOR_AUTHENTICATION'
2545
+ | 'IMPAIR_DEFENSES'
2546
+ | 'DISABLE_OR_MODIFY_TOOLS'
2547
+ | 'INDICATOR_BLOCKING'
2548
+ | 'DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM'
2549
+ | 'HIDE_ARTIFACTS'
2550
+ | 'HIDDEN_FILES_AND_DIRECTORIES'
2551
+ | 'HIDDEN_USERS'
2552
+ | 'EXFILTRATION_OVER_WEB_SERVICE'
2553
+ | 'EXFILTRATION_TO_CLOUD_STORAGE'
2554
+ | 'DYNAMIC_RESOLUTION'
2555
+ | 'LATERAL_TOOL_TRANSFER'
2556
+ | 'HIJACK_EXECUTION_FLOW'
2557
+ | 'HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING'
2558
+ | 'MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE'
2559
+ | 'CREATE_SNAPSHOT'
2560
+ | 'CLOUD_INFRASTRUCTURE_DISCOVERY'
2561
+ | 'DEVELOP_CAPABILITIES'
2562
+ | 'DEVELOP_CAPABILITIES_MALWARE'
2563
+ | 'OBTAIN_CAPABILITIES'
2564
+ | 'OBTAIN_CAPABILITIES_MALWARE'
2565
+ | 'OBTAIN_CAPABILITIES_VULNERABILITIES'
2566
+ | 'ACTIVE_SCANNING'
2567
+ | 'SCANNING_IP_BLOCKS'
2568
+ | 'STAGE_CAPABILITIES'
2569
+ | 'UPLOAD_MALWARE'
2570
+ | 'CONTAINER_ADMINISTRATION_COMMAND'
2571
+ | 'DEPLOY_CONTAINER'
2572
+ | 'ESCAPE_TO_HOST'
2573
+ | 'CONTAINER_AND_RESOURCE_DISCOVERY'
2574
+ | 'REFLECTIVE_CODE_LOADING'
2575
+ | 'STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES'
2576
+ | 'FINANCIAL_THEFT'[];
2135
2577
  /** The MITRE ATT&CK tactic most closely represented by this finding, if any. */
2136
- primaryTactic?: string;
2578
+ primaryTactic?:
2579
+ | 'TACTIC_UNSPECIFIED'
2580
+ | 'RECONNAISSANCE'
2581
+ | 'RESOURCE_DEVELOPMENT'
2582
+ | 'INITIAL_ACCESS'
2583
+ | 'EXECUTION'
2584
+ | 'PERSISTENCE'
2585
+ | 'PRIVILEGE_ESCALATION'
2586
+ | 'DEFENSE_EVASION'
2587
+ | 'CREDENTIAL_ACCESS'
2588
+ | 'DISCOVERY'
2589
+ | 'LATERAL_MOVEMENT'
2590
+ | 'COLLECTION'
2591
+ | 'COMMAND_AND_CONTROL'
2592
+ | 'EXFILTRATION'
2593
+ | 'IMPACT';
2137
2594
  /** 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 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. `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`). */
2138
- primaryTechniques?: string[];
2595
+ primaryTechniques?:
2596
+ | 'TECHNIQUE_UNSPECIFIED'
2597
+ | 'DATA_OBFUSCATION'
2598
+ | 'DATA_OBFUSCATION_STEGANOGRAPHY'
2599
+ | 'OS_CREDENTIAL_DUMPING'
2600
+ | 'OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM'
2601
+ | 'OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW'
2602
+ | 'DATA_FROM_LOCAL_SYSTEM'
2603
+ | 'AUTOMATED_EXFILTRATION'
2604
+ | 'OBFUSCATED_FILES_OR_INFO'
2605
+ | 'STEGANOGRAPHY'
2606
+ | 'COMPILE_AFTER_DELIVERY'
2607
+ | 'COMMAND_OBFUSCATION'
2608
+ | 'SCHEDULED_TRANSFER'
2609
+ | 'SYSTEM_OWNER_USER_DISCOVERY'
2610
+ | 'MASQUERADING'
2611
+ | 'MATCH_LEGITIMATE_NAME_OR_LOCATION'
2612
+ | 'BOOT_OR_LOGON_INITIALIZATION_SCRIPTS'
2613
+ | 'STARTUP_ITEMS'
2614
+ | 'NETWORK_SERVICE_DISCOVERY'
2615
+ | 'SCHEDULED_TASK_JOB'
2616
+ | 'SCHEDULED_TASK_JOB_CRON'
2617
+ | 'CONTAINER_ORCHESTRATION_JOB'
2618
+ | 'PROCESS_INJECTION'
2619
+ | 'INPUT_CAPTURE'
2620
+ | 'INPUT_CAPTURE_KEYLOGGING'
2621
+ | 'PROCESS_DISCOVERY'
2622
+ | 'COMMAND_AND_SCRIPTING_INTERPRETER'
2623
+ | 'UNIX_SHELL'
2624
+ | 'PYTHON'
2625
+ | 'EXPLOITATION_FOR_PRIVILEGE_ESCALATION'
2626
+ | 'PERMISSION_GROUPS_DISCOVERY'
2627
+ | 'CLOUD_GROUPS'
2628
+ | 'INDICATOR_REMOVAL'
2629
+ | 'INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS'
2630
+ | 'INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY'
2631
+ | 'INDICATOR_REMOVAL_FILE_DELETION'
2632
+ | 'INDICATOR_REMOVAL_TIMESTOMP'
2633
+ | 'INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA'
2634
+ | 'APPLICATION_LAYER_PROTOCOL'
2635
+ | 'DNS'
2636
+ | 'SOFTWARE_DEPLOYMENT_TOOLS'
2637
+ | 'VALID_ACCOUNTS'
2638
+ | 'DEFAULT_ACCOUNTS'
2639
+ | 'LOCAL_ACCOUNTS'
2640
+ | 'CLOUD_ACCOUNTS'
2641
+ | 'FILE_AND_DIRECTORY_DISCOVERY'
2642
+ | 'ACCOUNT_DISCOVERY_LOCAL_ACCOUNT'
2643
+ | 'PROXY'
2644
+ | 'EXTERNAL_PROXY'
2645
+ | 'MULTI_HOP_PROXY'
2646
+ | 'ACCOUNT_MANIPULATION'
2647
+ | 'ADDITIONAL_CLOUD_CREDENTIALS'
2648
+ | 'ADDITIONAL_CLOUD_ROLES'
2649
+ | 'SSH_AUTHORIZED_KEYS'
2650
+ | 'ADDITIONAL_CONTAINER_CLUSTER_ROLES'
2651
+ | 'MULTI_STAGE_CHANNELS'
2652
+ | 'INGRESS_TOOL_TRANSFER'
2653
+ | 'NATIVE_API'
2654
+ | 'BRUTE_FORCE'
2655
+ | 'AUTOMATED_COLLECTION'
2656
+ | 'SHARED_MODULES'
2657
+ | 'DATA_ENCODING'
2658
+ | 'STANDARD_ENCODING'
2659
+ | 'ACCESS_TOKEN_MANIPULATION'
2660
+ | 'TOKEN_IMPERSONATION_OR_THEFT'
2661
+ | 'CREATE_ACCOUNT'
2662
+ | 'LOCAL_ACCOUNT'
2663
+ | 'DEOBFUSCATE_DECODE_FILES_OR_INFO'
2664
+ | 'EXPLOIT_PUBLIC_FACING_APPLICATION'
2665
+ | 'SUPPLY_CHAIN_COMPROMISE'
2666
+ | 'COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS'
2667
+ | 'EXPLOITATION_FOR_CLIENT_EXECUTION'
2668
+ | 'USER_EXECUTION'
2669
+ | 'EXPLOITATION_FOR_CREDENTIAL_ACCESS'
2670
+ | 'LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION'
2671
+ | 'DOMAIN_POLICY_MODIFICATION'
2672
+ | 'DATA_DESTRUCTION'
2673
+ | 'DATA_ENCRYPTED_FOR_IMPACT'
2674
+ | 'SERVICE_STOP'
2675
+ | 'INHIBIT_SYSTEM_RECOVERY'
2676
+ | 'FIRMWARE_CORRUPTION'
2677
+ | 'RESOURCE_HIJACKING'
2678
+ | 'NETWORK_DENIAL_OF_SERVICE'
2679
+ | 'CLOUD_SERVICE_DISCOVERY'
2680
+ | 'STEAL_APPLICATION_ACCESS_TOKEN'
2681
+ | 'ACCOUNT_ACCESS_REMOVAL'
2682
+ | 'TRANSFER_DATA_TO_CLOUD_ACCOUNT'
2683
+ | 'STEAL_WEB_SESSION_COOKIE'
2684
+ | 'CREATE_OR_MODIFY_SYSTEM_PROCESS'
2685
+ | 'EVENT_TRIGGERED_EXECUTION'
2686
+ | 'BOOT_OR_LOGON_AUTOSTART_EXECUTION'
2687
+ | 'KERNEL_MODULES_AND_EXTENSIONS'
2688
+ | 'SHORTCUT_MODIFICATION'
2689
+ | 'ABUSE_ELEVATION_CONTROL_MECHANISM'
2690
+ | 'ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID'
2691
+ | 'ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING'
2692
+ | 'UNSECURED_CREDENTIALS'
2693
+ | 'CREDENTIALS_IN_FILES'
2694
+ | 'BASH_HISTORY'
2695
+ | 'PRIVATE_KEYS'
2696
+ | 'SUBVERT_TRUST_CONTROL'
2697
+ | 'INSTALL_ROOT_CERTIFICATE'
2698
+ | 'COMPROMISE_HOST_SOFTWARE_BINARY'
2699
+ | 'CREDENTIALS_FROM_PASSWORD_STORES'
2700
+ | 'MODIFY_AUTHENTICATION_PROCESS'
2701
+ | 'PLUGGABLE_AUTHENTICATION_MODULES'
2702
+ | 'MULTI_FACTOR_AUTHENTICATION'
2703
+ | 'IMPAIR_DEFENSES'
2704
+ | 'DISABLE_OR_MODIFY_TOOLS'
2705
+ | 'INDICATOR_BLOCKING'
2706
+ | 'DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM'
2707
+ | 'HIDE_ARTIFACTS'
2708
+ | 'HIDDEN_FILES_AND_DIRECTORIES'
2709
+ | 'HIDDEN_USERS'
2710
+ | 'EXFILTRATION_OVER_WEB_SERVICE'
2711
+ | 'EXFILTRATION_TO_CLOUD_STORAGE'
2712
+ | 'DYNAMIC_RESOLUTION'
2713
+ | 'LATERAL_TOOL_TRANSFER'
2714
+ | 'HIJACK_EXECUTION_FLOW'
2715
+ | 'HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING'
2716
+ | 'MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE'
2717
+ | 'CREATE_SNAPSHOT'
2718
+ | 'CLOUD_INFRASTRUCTURE_DISCOVERY'
2719
+ | 'DEVELOP_CAPABILITIES'
2720
+ | 'DEVELOP_CAPABILITIES_MALWARE'
2721
+ | 'OBTAIN_CAPABILITIES'
2722
+ | 'OBTAIN_CAPABILITIES_MALWARE'
2723
+ | 'OBTAIN_CAPABILITIES_VULNERABILITIES'
2724
+ | 'ACTIVE_SCANNING'
2725
+ | 'SCANNING_IP_BLOCKS'
2726
+ | 'STAGE_CAPABILITIES'
2727
+ | 'UPLOAD_MALWARE'
2728
+ | 'CONTAINER_ADMINISTRATION_COMMAND'
2729
+ | 'DEPLOY_CONTAINER'
2730
+ | 'ESCAPE_TO_HOST'
2731
+ | 'CONTAINER_AND_RESOURCE_DISCOVERY'
2732
+ | 'REFLECTIVE_CODE_LOADING'
2733
+ | 'STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES'
2734
+ | 'FINANCIAL_THEFT'[];
2139
2735
  /** The MITRE ATT&CK version referenced by the above fields. E.g. "8". */
2140
2736
  version?: string;
2141
2737
  }
@@ -2155,7 +2751,7 @@ declare namespace gapi.client {
2155
2751
  /** Identifier. This field will be ignored if provided on config creation. The following list shows some examples of the format: + `organizations/{organization}/muteConfigs/{mute_config}` + `organizations/{organization}locations/{location}//muteConfigs/{mute_config}` + `folders/{folder}/muteConfigs/{mute_config}` + `folders/{folder}/locations/{location}/muteConfigs/{mute_config}` + `projects/{project}/muteConfigs/{mute_config}` + `projects/{project}/locations/{location}/muteConfigs/{mute_config}` */
2156
2752
  name?: string;
2157
2753
  /** Required. The type of the mute config, which determines what type of mute state the config affects. Immutable after creation. */
2158
- type?: string;
2754
+ type?: 'MUTE_CONFIG_TYPE_UNSPECIFIED' | 'STATIC' | 'DYNAMIC';
2159
2755
  /** 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. */
2160
2756
  updateTime?: string;
2161
2757
  }
@@ -2281,7 +2877,10 @@ declare namespace gapi.client {
2281
2877
  /** Signature indicating that a binary family was matched. */
2282
2878
  memoryHashSignature?: GoogleCloudSecuritycenterV2MemoryHashSignature;
2283
2879
  /** Describes the type of resource associated with the signature. */
2284
- signatureType?: string;
2880
+ signatureType?:
2881
+ | 'SIGNATURE_TYPE_UNSPECIFIED'
2882
+ | 'SIGNATURE_TYPE_PROCESS'
2883
+ | 'SIGNATURE_TYPE_FILE';
2285
2884
  /** Signature indicating that a YARA rule was matched. */
2286
2885
  yaraRuleSignature?: GoogleCloudSecuritycenterV2YaraRuleSignature;
2287
2886
  }
@@ -2315,7 +2914,11 @@ declare namespace gapi.client {
2315
2914
  /** The Azure metadata associated with the finding. */
2316
2915
  azureMetadata?: GoogleCloudSecuritycenterV2AzureMetadata;
2317
2916
  /** Indicates which cloud provider the finding is from. */
2318
- cloudProvider?: string;
2917
+ cloudProvider?:
2918
+ | 'CLOUD_PROVIDER_UNSPECIFIED'
2919
+ | 'GOOGLE_CLOUD_PLATFORM'
2920
+ | 'AMAZON_WEB_SERVICES'
2921
+ | 'MICROSOFT_AZURE';
2319
2922
  /** The human readable name of the resource. */
2320
2923
  displayName?: string;
2321
2924
  /** The Google Cloud metadata associated with the finding. */
@@ -2357,11 +2960,21 @@ declare namespace gapi.client {
2357
2960
  }
2358
2961
  interface GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality {
2359
2962
  /** Criticality Type. */
2360
- type?: string;
2963
+ type?:
2964
+ | 'CRITICALITY_TYPE_UNSPECIFIED'
2965
+ | 'MISSION_CRITICAL'
2966
+ | 'HIGH'
2967
+ | 'MEDIUM'
2968
+ | 'LOW';
2361
2969
  }
2362
2970
  interface GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment {
2363
2971
  /** Environment Type. */
2364
- type?: string;
2972
+ type?:
2973
+ | 'ENVIRONMENT_TYPE_UNSPECIFIED'
2974
+ | 'PRODUCTION'
2975
+ | 'STAGING'
2976
+ | 'TEST'
2977
+ | 'DEVELOPMENT';
2365
2978
  }
2366
2979
  interface GoogleCloudSecuritycenterV2ResourcePath {
2367
2980
  /** The list of nodes that make the up resource path, ordered from lowest level to highest level. */
@@ -2373,11 +2986,25 @@ declare namespace gapi.client {
2373
2986
  /** The ID of the resource this node represents. */
2374
2987
  id?: string;
2375
2988
  /** The type of resource this node represents. */
2376
- nodeType?: string;
2989
+ nodeType?:
2990
+ | 'RESOURCE_PATH_NODE_TYPE_UNSPECIFIED'
2991
+ | 'GCP_ORGANIZATION'
2992
+ | 'GCP_FOLDER'
2993
+ | 'GCP_PROJECT'
2994
+ | 'AWS_ORGANIZATION'
2995
+ | 'AWS_ORGANIZATIONAL_UNIT'
2996
+ | 'AWS_ACCOUNT'
2997
+ | 'AZURE_MANAGEMENT_GROUP'
2998
+ | 'AZURE_SUBSCRIPTION'
2999
+ | 'AZURE_RESOURCE_GROUP';
2377
3000
  }
2378
3001
  interface GoogleCloudSecuritycenterV2ResourceValueConfig {
2379
3002
  /** Cloud provider this configuration applies to */
2380
- cloudProvider?: string;
3003
+ cloudProvider?:
3004
+ | 'CLOUD_PROVIDER_UNSPECIFIED'
3005
+ | 'GOOGLE_CLOUD_PLATFORM'
3006
+ | 'AMAZON_WEB_SERVICES'
3007
+ | 'MICROSOFT_AZURE';
2381
3008
  /** Output only. Timestamp this resource value configuration was created. */
2382
3009
  createTime?: string;
2383
3010
  /** Description of the resource value configuration. */
@@ -2389,7 +3016,12 @@ declare namespace gapi.client {
2389
3016
  /** Apply resource_value only to resources that match resource_type. resource_type will be checked with `AND` of other resources. For example, "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources. */
2390
3017
  resourceType?: string;
2391
3018
  /** Resource value level this expression represents Only required when there is no Sensitive Data Protection mapping in the request */
2392
- resourceValue?: string;
3019
+ resourceValue?:
3020
+ | 'RESOURCE_VALUE_UNSPECIFIED'
3021
+ | 'HIGH'
3022
+ | 'MEDIUM'
3023
+ | 'LOW'
3024
+ | 'NONE';
2393
3025
  /** Project or folder to scope this configuration to. For example, "project/456" would apply this configuration only to resources in "project/456" scope and will be checked with `AND` of other resources. */
2394
3026
  scope?: string;
2395
3027
  /** A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. "bigquery.googleapis.com/Dataset". */
@@ -2401,7 +3033,7 @@ declare namespace gapi.client {
2401
3033
  }
2402
3034
  interface GoogleCloudSecuritycenterV2Role {
2403
3035
  /** Role type. */
2404
- kind?: string;
3036
+ kind?: 'KIND_UNSPECIFIED' | 'ROLE' | 'CLUSTER_ROLE';
2405
3037
  /** Role name. */
2406
3038
  name?: string;
2407
3039
  /** Role namespace. */
@@ -2429,7 +3061,12 @@ declare namespace gapi.client {
2429
3061
  /** Time that the secret was found. */
2430
3062
  lastUpdatedTime?: string;
2431
3063
  /** The validity of the secret. */
2432
- validity?: string;
3064
+ validity?:
3065
+ | 'SECRET_VALIDITY_UNSPECIFIED'
3066
+ | 'SECRET_VALIDITY_UNSUPPORTED'
3067
+ | 'SECRET_VALIDITY_FAILED'
3068
+ | 'SECRET_VALIDITY_INVALID'
3069
+ | 'SECRET_VALIDITY_VALID';
2433
3070
  }
2434
3071
  interface GoogleCloudSecuritycenterV2SecurityBulletin {
2435
3072
  /** ID of the bulletin corresponding to the vulnerability. */
@@ -2475,13 +3112,28 @@ declare namespace gapi.client {
2475
3112
  }
2476
3113
  interface GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping {
2477
3114
  /** Resource value mapping for high-sensitivity Sensitive Data Protection findings */
2478
- highSensitivityMapping?: string;
3115
+ highSensitivityMapping?:
3116
+ | 'RESOURCE_VALUE_UNSPECIFIED'
3117
+ | 'HIGH'
3118
+ | 'MEDIUM'
3119
+ | 'LOW'
3120
+ | 'NONE';
2479
3121
  /** Resource value mapping for medium-sensitivity Sensitive Data Protection findings */
2480
- mediumSensitivityMapping?: string;
3122
+ mediumSensitivityMapping?:
3123
+ | 'RESOURCE_VALUE_UNSPECIFIED'
3124
+ | 'HIGH'
3125
+ | 'MEDIUM'
3126
+ | 'LOW'
3127
+ | 'NONE';
2481
3128
  }
2482
3129
  interface GoogleCloudSecuritycenterV2SensitivityScore {
2483
3130
  /** The sensitivity score applied to the resource. */
2484
- score?: string;
3131
+ score?:
3132
+ | 'SENSITIVITY_SCORE_LEVEL_UNSPECIFIED'
3133
+ | 'SENSITIVITY_LOW'
3134
+ | 'SENSITIVITY_UNKNOWN'
3135
+ | 'SENSITIVITY_MODERATE'
3136
+ | 'SENSITIVITY_HIGH';
2485
3137
  }
2486
3138
  interface GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo {
2487
3139
  /** The email address of a Google account. */
@@ -2493,11 +3145,11 @@ declare namespace gapi.client {
2493
3145
  /** When the static mute was applied. */
2494
3146
  applyTime?: string;
2495
3147
  /** The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding's overall mute state will have the same value. */
2496
- state?: string;
3148
+ state?: 'MUTE_UNSPECIFIED' | 'MUTED' | 'UNMUTED' | 'UNDEFINED';
2497
3149
  }
2498
3150
  interface GoogleCloudSecuritycenterV2Subject {
2499
3151
  /** Authentication type for the subject. */
2500
- kind?: string;
3152
+ kind?: 'AUTH_TYPE_UNSPECIFIED' | 'USER' | 'SERVICEACCOUNT' | 'GROUP';
2501
3153
  /** Name for the subject. */
2502
3154
  name?: string;
2503
3155
  /** Namespace for the subject. */
@@ -2553,11 +3205,14 @@ declare namespace gapi.client {
2553
3205
  /** ID of the group. */
2554
3206
  groupId?: string;
2555
3207
  /** Type of group. */
2556
- groupType?: string;
3208
+ groupType?:
3209
+ | 'GROUP_TYPE_UNSPECIFIED'
3210
+ | 'GROUP_TYPE_TOXIC_COMBINATION'
3211
+ | 'GROUP_TYPE_CHOKEPOINT';
2557
3212
  }
2558
3213
  interface IamBinding {
2559
3214
  /** The action that was performed on a Binding. */
2560
- action?: string;
3215
+ action?: 'ACTION_UNSPECIFIED' | 'ADD' | 'REMOVE';
2561
3216
  /** A single identity requesting access for a Cloud Platform resource, for example, "foo@google.com". */
2562
3217
  member?: string;
2563
3218
  /** Role that is assigned to "members". For example, "roles/viewer", "roles/editor", or "roles/owner". */
@@ -2595,7 +3250,7 @@ declare namespace gapi.client {
2595
3250
  /** If destination IP ranges are specified, the firewall rule applies only to traffic that has a destination IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4. */
2596
3251
  destinationIpRanges?: string[];
2597
3252
  /** The direction that the rule is applicable to, one of ingress or egress. */
2598
- direction?: string;
3253
+ direction?: 'DIRECTION_UNSPECIFIED' | 'INGRESS' | 'EGRESS';
2599
3254
  /** Name of the network protocol service, such as FTP, that is exposed by the open port. Follows the naming convention available at: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml. */
2600
3255
  exposedServices?: string[];
2601
3256
  /** If source IP ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4. */
@@ -2609,7 +3264,12 @@ declare namespace gapi.client {
2609
3264
  /** The fully-qualified name for a job. e.g. `projects//jobs/` */
2610
3265
  name?: string;
2611
3266
  /** Output only. State of the job, such as `RUNNING` or `PENDING`. */
2612
- state?: string;
3267
+ state?:
3268
+ | 'JOB_STATE_UNSPECIFIED'
3269
+ | 'PENDING'
3270
+ | 'RUNNING'
3271
+ | 'SUCCEEDED'
3272
+ | 'FAILED';
2613
3273
  }
2614
3274
  interface KernelRootkit {
2615
3275
  /** Rootkit name, when available. */
@@ -2669,13 +3329,321 @@ declare namespace gapi.client {
2669
3329
  }
2670
3330
  interface MitreAttack {
2671
3331
  /** Additional MITRE ATT&CK tactics related to this finding, if any. */
2672
- additionalTactics?: string[];
3332
+ additionalTactics?:
3333
+ | 'TACTIC_UNSPECIFIED'
3334
+ | 'RECONNAISSANCE'
3335
+ | 'RESOURCE_DEVELOPMENT'
3336
+ | 'INITIAL_ACCESS'
3337
+ | 'EXECUTION'
3338
+ | 'PERSISTENCE'
3339
+ | 'PRIVILEGE_ESCALATION'
3340
+ | 'DEFENSE_EVASION'
3341
+ | 'CREDENTIAL_ACCESS'
3342
+ | 'DISCOVERY'
3343
+ | 'LATERAL_MOVEMENT'
3344
+ | 'COLLECTION'
3345
+ | 'COMMAND_AND_CONTROL'
3346
+ | 'EXFILTRATION'
3347
+ | 'IMPACT'[];
2673
3348
  /** Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques. */
2674
- additionalTechniques?: string[];
3349
+ additionalTechniques?:
3350
+ | 'TECHNIQUE_UNSPECIFIED'
3351
+ | 'DATA_OBFUSCATION'
3352
+ | 'DATA_OBFUSCATION_STEGANOGRAPHY'
3353
+ | 'OS_CREDENTIAL_DUMPING'
3354
+ | 'OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM'
3355
+ | 'OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW'
3356
+ | 'DATA_FROM_LOCAL_SYSTEM'
3357
+ | 'AUTOMATED_EXFILTRATION'
3358
+ | 'OBFUSCATED_FILES_OR_INFO'
3359
+ | 'STEGANOGRAPHY'
3360
+ | 'COMPILE_AFTER_DELIVERY'
3361
+ | 'COMMAND_OBFUSCATION'
3362
+ | 'SCHEDULED_TRANSFER'
3363
+ | 'SYSTEM_OWNER_USER_DISCOVERY'
3364
+ | 'MASQUERADING'
3365
+ | 'MATCH_LEGITIMATE_NAME_OR_LOCATION'
3366
+ | 'BOOT_OR_LOGON_INITIALIZATION_SCRIPTS'
3367
+ | 'STARTUP_ITEMS'
3368
+ | 'NETWORK_SERVICE_DISCOVERY'
3369
+ | 'SCHEDULED_TASK_JOB'
3370
+ | 'SCHEDULED_TASK_JOB_CRON'
3371
+ | 'CONTAINER_ORCHESTRATION_JOB'
3372
+ | 'PROCESS_INJECTION'
3373
+ | 'INPUT_CAPTURE'
3374
+ | 'INPUT_CAPTURE_KEYLOGGING'
3375
+ | 'PROCESS_DISCOVERY'
3376
+ | 'COMMAND_AND_SCRIPTING_INTERPRETER'
3377
+ | 'UNIX_SHELL'
3378
+ | 'PYTHON'
3379
+ | 'EXPLOITATION_FOR_PRIVILEGE_ESCALATION'
3380
+ | 'PERMISSION_GROUPS_DISCOVERY'
3381
+ | 'CLOUD_GROUPS'
3382
+ | 'INDICATOR_REMOVAL'
3383
+ | 'INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS'
3384
+ | 'INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY'
3385
+ | 'INDICATOR_REMOVAL_FILE_DELETION'
3386
+ | 'INDICATOR_REMOVAL_TIMESTOMP'
3387
+ | 'INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA'
3388
+ | 'APPLICATION_LAYER_PROTOCOL'
3389
+ | 'DNS'
3390
+ | 'SOFTWARE_DEPLOYMENT_TOOLS'
3391
+ | 'VALID_ACCOUNTS'
3392
+ | 'DEFAULT_ACCOUNTS'
3393
+ | 'LOCAL_ACCOUNTS'
3394
+ | 'CLOUD_ACCOUNTS'
3395
+ | 'FILE_AND_DIRECTORY_DISCOVERY'
3396
+ | 'ACCOUNT_DISCOVERY_LOCAL_ACCOUNT'
3397
+ | 'PROXY'
3398
+ | 'EXTERNAL_PROXY'
3399
+ | 'MULTI_HOP_PROXY'
3400
+ | 'ACCOUNT_MANIPULATION'
3401
+ | 'ADDITIONAL_CLOUD_CREDENTIALS'
3402
+ | 'ADDITIONAL_CLOUD_ROLES'
3403
+ | 'SSH_AUTHORIZED_KEYS'
3404
+ | 'ADDITIONAL_CONTAINER_CLUSTER_ROLES'
3405
+ | 'MULTI_STAGE_CHANNELS'
3406
+ | 'INGRESS_TOOL_TRANSFER'
3407
+ | 'NATIVE_API'
3408
+ | 'BRUTE_FORCE'
3409
+ | 'AUTOMATED_COLLECTION'
3410
+ | 'SHARED_MODULES'
3411
+ | 'DATA_ENCODING'
3412
+ | 'STANDARD_ENCODING'
3413
+ | 'ACCESS_TOKEN_MANIPULATION'
3414
+ | 'TOKEN_IMPERSONATION_OR_THEFT'
3415
+ | 'CREATE_ACCOUNT'
3416
+ | 'LOCAL_ACCOUNT'
3417
+ | 'DEOBFUSCATE_DECODE_FILES_OR_INFO'
3418
+ | 'EXPLOIT_PUBLIC_FACING_APPLICATION'
3419
+ | 'SUPPLY_CHAIN_COMPROMISE'
3420
+ | 'COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS'
3421
+ | 'EXPLOITATION_FOR_CLIENT_EXECUTION'
3422
+ | 'USER_EXECUTION'
3423
+ | 'EXPLOITATION_FOR_CREDENTIAL_ACCESS'
3424
+ | 'LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION'
3425
+ | 'DOMAIN_POLICY_MODIFICATION'
3426
+ | 'DATA_DESTRUCTION'
3427
+ | 'DATA_ENCRYPTED_FOR_IMPACT'
3428
+ | 'SERVICE_STOP'
3429
+ | 'INHIBIT_SYSTEM_RECOVERY'
3430
+ | 'FIRMWARE_CORRUPTION'
3431
+ | 'RESOURCE_HIJACKING'
3432
+ | 'NETWORK_DENIAL_OF_SERVICE'
3433
+ | 'CLOUD_SERVICE_DISCOVERY'
3434
+ | 'STEAL_APPLICATION_ACCESS_TOKEN'
3435
+ | 'ACCOUNT_ACCESS_REMOVAL'
3436
+ | 'TRANSFER_DATA_TO_CLOUD_ACCOUNT'
3437
+ | 'STEAL_WEB_SESSION_COOKIE'
3438
+ | 'CREATE_OR_MODIFY_SYSTEM_PROCESS'
3439
+ | 'EVENT_TRIGGERED_EXECUTION'
3440
+ | 'BOOT_OR_LOGON_AUTOSTART_EXECUTION'
3441
+ | 'KERNEL_MODULES_AND_EXTENSIONS'
3442
+ | 'SHORTCUT_MODIFICATION'
3443
+ | 'ABUSE_ELEVATION_CONTROL_MECHANISM'
3444
+ | 'ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID'
3445
+ | 'ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING'
3446
+ | 'UNSECURED_CREDENTIALS'
3447
+ | 'CREDENTIALS_IN_FILES'
3448
+ | 'BASH_HISTORY'
3449
+ | 'PRIVATE_KEYS'
3450
+ | 'SUBVERT_TRUST_CONTROL'
3451
+ | 'INSTALL_ROOT_CERTIFICATE'
3452
+ | 'COMPROMISE_HOST_SOFTWARE_BINARY'
3453
+ | 'CREDENTIALS_FROM_PASSWORD_STORES'
3454
+ | 'MODIFY_AUTHENTICATION_PROCESS'
3455
+ | 'PLUGGABLE_AUTHENTICATION_MODULES'
3456
+ | 'MULTI_FACTOR_AUTHENTICATION'
3457
+ | 'IMPAIR_DEFENSES'
3458
+ | 'DISABLE_OR_MODIFY_TOOLS'
3459
+ | 'INDICATOR_BLOCKING'
3460
+ | 'DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM'
3461
+ | 'HIDE_ARTIFACTS'
3462
+ | 'HIDDEN_FILES_AND_DIRECTORIES'
3463
+ | 'HIDDEN_USERS'
3464
+ | 'EXFILTRATION_OVER_WEB_SERVICE'
3465
+ | 'EXFILTRATION_TO_CLOUD_STORAGE'
3466
+ | 'DYNAMIC_RESOLUTION'
3467
+ | 'LATERAL_TOOL_TRANSFER'
3468
+ | 'HIJACK_EXECUTION_FLOW'
3469
+ | 'HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING'
3470
+ | 'MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE'
3471
+ | 'CREATE_SNAPSHOT'
3472
+ | 'CLOUD_INFRASTRUCTURE_DISCOVERY'
3473
+ | 'DEVELOP_CAPABILITIES'
3474
+ | 'DEVELOP_CAPABILITIES_MALWARE'
3475
+ | 'OBTAIN_CAPABILITIES'
3476
+ | 'OBTAIN_CAPABILITIES_MALWARE'
3477
+ | 'OBTAIN_CAPABILITIES_VULNERABILITIES'
3478
+ | 'ACTIVE_SCANNING'
3479
+ | 'SCANNING_IP_BLOCKS'
3480
+ | 'STAGE_CAPABILITIES'
3481
+ | 'UPLOAD_MALWARE'
3482
+ | 'CONTAINER_ADMINISTRATION_COMMAND'
3483
+ | 'DEPLOY_CONTAINER'
3484
+ | 'ESCAPE_TO_HOST'
3485
+ | 'CONTAINER_AND_RESOURCE_DISCOVERY'
3486
+ | 'REFLECTIVE_CODE_LOADING'
3487
+ | 'STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES'
3488
+ | 'FINANCIAL_THEFT'[];
2675
3489
  /** The MITRE ATT&CK tactic most closely represented by this finding, if any. */
2676
- primaryTactic?: string;
3490
+ primaryTactic?:
3491
+ | 'TACTIC_UNSPECIFIED'
3492
+ | 'RECONNAISSANCE'
3493
+ | 'RESOURCE_DEVELOPMENT'
3494
+ | 'INITIAL_ACCESS'
3495
+ | 'EXECUTION'
3496
+ | 'PERSISTENCE'
3497
+ | 'PRIVILEGE_ESCALATION'
3498
+ | 'DEFENSE_EVASION'
3499
+ | 'CREDENTIAL_ACCESS'
3500
+ | 'DISCOVERY'
3501
+ | 'LATERAL_MOVEMENT'
3502
+ | 'COLLECTION'
3503
+ | 'COMMAND_AND_CONTROL'
3504
+ | 'EXFILTRATION'
3505
+ | 'IMPACT';
2677
3506
  /** 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 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. `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`). */
2678
- primaryTechniques?: string[];
3507
+ primaryTechniques?:
3508
+ | 'TECHNIQUE_UNSPECIFIED'
3509
+ | 'DATA_OBFUSCATION'
3510
+ | 'DATA_OBFUSCATION_STEGANOGRAPHY'
3511
+ | 'OS_CREDENTIAL_DUMPING'
3512
+ | 'OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM'
3513
+ | 'OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW'
3514
+ | 'DATA_FROM_LOCAL_SYSTEM'
3515
+ | 'AUTOMATED_EXFILTRATION'
3516
+ | 'OBFUSCATED_FILES_OR_INFO'
3517
+ | 'STEGANOGRAPHY'
3518
+ | 'COMPILE_AFTER_DELIVERY'
3519
+ | 'COMMAND_OBFUSCATION'
3520
+ | 'SCHEDULED_TRANSFER'
3521
+ | 'SYSTEM_OWNER_USER_DISCOVERY'
3522
+ | 'MASQUERADING'
3523
+ | 'MATCH_LEGITIMATE_NAME_OR_LOCATION'
3524
+ | 'BOOT_OR_LOGON_INITIALIZATION_SCRIPTS'
3525
+ | 'STARTUP_ITEMS'
3526
+ | 'NETWORK_SERVICE_DISCOVERY'
3527
+ | 'SCHEDULED_TASK_JOB'
3528
+ | 'SCHEDULED_TASK_JOB_CRON'
3529
+ | 'CONTAINER_ORCHESTRATION_JOB'
3530
+ | 'PROCESS_INJECTION'
3531
+ | 'INPUT_CAPTURE'
3532
+ | 'INPUT_CAPTURE_KEYLOGGING'
3533
+ | 'PROCESS_DISCOVERY'
3534
+ | 'COMMAND_AND_SCRIPTING_INTERPRETER'
3535
+ | 'UNIX_SHELL'
3536
+ | 'PYTHON'
3537
+ | 'EXPLOITATION_FOR_PRIVILEGE_ESCALATION'
3538
+ | 'PERMISSION_GROUPS_DISCOVERY'
3539
+ | 'CLOUD_GROUPS'
3540
+ | 'INDICATOR_REMOVAL'
3541
+ | 'INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS'
3542
+ | 'INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY'
3543
+ | 'INDICATOR_REMOVAL_FILE_DELETION'
3544
+ | 'INDICATOR_REMOVAL_TIMESTOMP'
3545
+ | 'INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA'
3546
+ | 'APPLICATION_LAYER_PROTOCOL'
3547
+ | 'DNS'
3548
+ | 'SOFTWARE_DEPLOYMENT_TOOLS'
3549
+ | 'VALID_ACCOUNTS'
3550
+ | 'DEFAULT_ACCOUNTS'
3551
+ | 'LOCAL_ACCOUNTS'
3552
+ | 'CLOUD_ACCOUNTS'
3553
+ | 'FILE_AND_DIRECTORY_DISCOVERY'
3554
+ | 'ACCOUNT_DISCOVERY_LOCAL_ACCOUNT'
3555
+ | 'PROXY'
3556
+ | 'EXTERNAL_PROXY'
3557
+ | 'MULTI_HOP_PROXY'
3558
+ | 'ACCOUNT_MANIPULATION'
3559
+ | 'ADDITIONAL_CLOUD_CREDENTIALS'
3560
+ | 'ADDITIONAL_CLOUD_ROLES'
3561
+ | 'SSH_AUTHORIZED_KEYS'
3562
+ | 'ADDITIONAL_CONTAINER_CLUSTER_ROLES'
3563
+ | 'MULTI_STAGE_CHANNELS'
3564
+ | 'INGRESS_TOOL_TRANSFER'
3565
+ | 'NATIVE_API'
3566
+ | 'BRUTE_FORCE'
3567
+ | 'AUTOMATED_COLLECTION'
3568
+ | 'SHARED_MODULES'
3569
+ | 'DATA_ENCODING'
3570
+ | 'STANDARD_ENCODING'
3571
+ | 'ACCESS_TOKEN_MANIPULATION'
3572
+ | 'TOKEN_IMPERSONATION_OR_THEFT'
3573
+ | 'CREATE_ACCOUNT'
3574
+ | 'LOCAL_ACCOUNT'
3575
+ | 'DEOBFUSCATE_DECODE_FILES_OR_INFO'
3576
+ | 'EXPLOIT_PUBLIC_FACING_APPLICATION'
3577
+ | 'SUPPLY_CHAIN_COMPROMISE'
3578
+ | 'COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS'
3579
+ | 'EXPLOITATION_FOR_CLIENT_EXECUTION'
3580
+ | 'USER_EXECUTION'
3581
+ | 'EXPLOITATION_FOR_CREDENTIAL_ACCESS'
3582
+ | 'LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION'
3583
+ | 'DOMAIN_POLICY_MODIFICATION'
3584
+ | 'DATA_DESTRUCTION'
3585
+ | 'DATA_ENCRYPTED_FOR_IMPACT'
3586
+ | 'SERVICE_STOP'
3587
+ | 'INHIBIT_SYSTEM_RECOVERY'
3588
+ | 'FIRMWARE_CORRUPTION'
3589
+ | 'RESOURCE_HIJACKING'
3590
+ | 'NETWORK_DENIAL_OF_SERVICE'
3591
+ | 'CLOUD_SERVICE_DISCOVERY'
3592
+ | 'STEAL_APPLICATION_ACCESS_TOKEN'
3593
+ | 'ACCOUNT_ACCESS_REMOVAL'
3594
+ | 'TRANSFER_DATA_TO_CLOUD_ACCOUNT'
3595
+ | 'STEAL_WEB_SESSION_COOKIE'
3596
+ | 'CREATE_OR_MODIFY_SYSTEM_PROCESS'
3597
+ | 'EVENT_TRIGGERED_EXECUTION'
3598
+ | 'BOOT_OR_LOGON_AUTOSTART_EXECUTION'
3599
+ | 'KERNEL_MODULES_AND_EXTENSIONS'
3600
+ | 'SHORTCUT_MODIFICATION'
3601
+ | 'ABUSE_ELEVATION_CONTROL_MECHANISM'
3602
+ | 'ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID'
3603
+ | 'ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING'
3604
+ | 'UNSECURED_CREDENTIALS'
3605
+ | 'CREDENTIALS_IN_FILES'
3606
+ | 'BASH_HISTORY'
3607
+ | 'PRIVATE_KEYS'
3608
+ | 'SUBVERT_TRUST_CONTROL'
3609
+ | 'INSTALL_ROOT_CERTIFICATE'
3610
+ | 'COMPROMISE_HOST_SOFTWARE_BINARY'
3611
+ | 'CREDENTIALS_FROM_PASSWORD_STORES'
3612
+ | 'MODIFY_AUTHENTICATION_PROCESS'
3613
+ | 'PLUGGABLE_AUTHENTICATION_MODULES'
3614
+ | 'MULTI_FACTOR_AUTHENTICATION'
3615
+ | 'IMPAIR_DEFENSES'
3616
+ | 'DISABLE_OR_MODIFY_TOOLS'
3617
+ | 'INDICATOR_BLOCKING'
3618
+ | 'DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM'
3619
+ | 'HIDE_ARTIFACTS'
3620
+ | 'HIDDEN_FILES_AND_DIRECTORIES'
3621
+ | 'HIDDEN_USERS'
3622
+ | 'EXFILTRATION_OVER_WEB_SERVICE'
3623
+ | 'EXFILTRATION_TO_CLOUD_STORAGE'
3624
+ | 'DYNAMIC_RESOLUTION'
3625
+ | 'LATERAL_TOOL_TRANSFER'
3626
+ | 'HIJACK_EXECUTION_FLOW'
3627
+ | 'HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING'
3628
+ | 'MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE'
3629
+ | 'CREATE_SNAPSHOT'
3630
+ | 'CLOUD_INFRASTRUCTURE_DISCOVERY'
3631
+ | 'DEVELOP_CAPABILITIES'
3632
+ | 'DEVELOP_CAPABILITIES_MALWARE'
3633
+ | 'OBTAIN_CAPABILITIES'
3634
+ | 'OBTAIN_CAPABILITIES_MALWARE'
3635
+ | 'OBTAIN_CAPABILITIES_VULNERABILITIES'
3636
+ | 'ACTIVE_SCANNING'
3637
+ | 'SCANNING_IP_BLOCKS'
3638
+ | 'STAGE_CAPABILITIES'
3639
+ | 'UPLOAD_MALWARE'
3640
+ | 'CONTAINER_ADMINISTRATION_COMMAND'
3641
+ | 'DEPLOY_CONTAINER'
3642
+ | 'ESCAPE_TO_HOST'
3643
+ | 'CONTAINER_AND_RESOURCE_DISCOVERY'
3644
+ | 'REFLECTIVE_CODE_LOADING'
3645
+ | 'STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES'
3646
+ | 'FINANCIAL_THEFT'[];
2679
3647
  /** The MITRE ATT&CK version referenced by the above fields. E.g. "8". */
2680
3648
  version?: string;
2681
3649
  }
@@ -2793,7 +3761,10 @@ declare namespace gapi.client {
2793
3761
  /** Signature indicating that a binary family was matched. */
2794
3762
  memoryHashSignature?: MemoryHashSignature;
2795
3763
  /** Describes the type of resource associated with the signature. */
2796
- signatureType?: string;
3764
+ signatureType?:
3765
+ | 'SIGNATURE_TYPE_UNSPECIFIED'
3766
+ | 'SIGNATURE_TYPE_PROCESS'
3767
+ | 'SIGNATURE_TYPE_FILE';
2797
3768
  /** Signature indicating that a YARA rule was matched. */
2798
3769
  yaraRuleSignature?: YaraRuleSignature;
2799
3770
  }
@@ -2803,7 +3774,11 @@ declare namespace gapi.client {
2803
3774
  /** The resource name of the RapidVulnerabilityDetectionSettings. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings */
2804
3775
  name?: string;
2805
3776
  /** 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. */
2806
- serviceEnablementState?: string;
3777
+ serviceEnablementState?:
3778
+ | 'ENABLEMENT_STATE_UNSPECIFIED'
3779
+ | 'INHERITED'
3780
+ | 'ENABLED'
3781
+ | 'DISABLED';
2807
3782
  /** Output only. The time the settings were last updated. */
2808
3783
  updateTime?: string;
2809
3784
  }
@@ -2833,11 +3808,21 @@ declare namespace gapi.client {
2833
3808
  /** The ID of the resource this node represents. */
2834
3809
  id?: string;
2835
3810
  /** The type of resource this node represents. */
2836
- nodeType?: string;
3811
+ nodeType?:
3812
+ | 'RESOURCE_PATH_NODE_TYPE_UNSPECIFIED'
3813
+ | 'GCP_ORGANIZATION'
3814
+ | 'GCP_FOLDER'
3815
+ | 'GCP_PROJECT'
3816
+ | 'AWS_ORGANIZATION'
3817
+ | 'AWS_ORGANIZATIONAL_UNIT'
3818
+ | 'AWS_ACCOUNT'
3819
+ | 'AZURE_MANAGEMENT_GROUP'
3820
+ | 'AZURE_SUBSCRIPTION'
3821
+ | 'AZURE_RESOURCE_GROUP';
2837
3822
  }
2838
3823
  interface Role {
2839
3824
  /** Role type. */
2840
- kind?: string;
3825
+ kind?: 'KIND_UNSPECIFIED' | 'ROLE' | 'CLUSTER_ROLE';
2841
3826
  /** Role name. */
2842
3827
  name?: string;
2843
3828
  /** Role namespace. */
@@ -2865,7 +3850,12 @@ declare namespace gapi.client {
2865
3850
  /** Time that the secret was found. */
2866
3851
  lastUpdatedTime?: string;
2867
3852
  /** The validity of the secret. */
2868
- validity?: string;
3853
+ validity?:
3854
+ | 'SECRET_VALIDITY_UNSPECIFIED'
3855
+ | 'SECRET_VALIDITY_UNSUPPORTED'
3856
+ | 'SECRET_VALIDITY_FAILED'
3857
+ | 'SECRET_VALIDITY_INVALID'
3858
+ | 'SECRET_VALIDITY_VALID';
2869
3859
  }
2870
3860
  interface SecurityBulletin {
2871
3861
  /** ID of the bulletin corresponding to the vulnerability. */
@@ -2895,7 +3885,11 @@ declare namespace gapi.client {
2895
3885
  /** Output only. The service account used by Security Health Analytics detectors. */
2896
3886
  serviceAccount?: string;
2897
3887
  /** 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. */
2898
- serviceEnablementState?: string;
3888
+ serviceEnablementState?:
3889
+ | 'ENABLEMENT_STATE_UNSPECIFIED'
3890
+ | 'INHERITED'
3891
+ | 'ENABLED'
3892
+ | 'DISABLED';
2899
3893
  /** Output only. The time the settings were last updated. */
2900
3894
  updateTime?: string;
2901
3895
  }
@@ -2935,7 +3929,12 @@ declare namespace gapi.client {
2935
3929
  }
2936
3930
  interface SensitivityScore {
2937
3931
  /** The sensitivity score applied to the resource. */
2938
- score?: string;
3932
+ score?:
3933
+ | 'SENSITIVITY_SCORE_LEVEL_UNSPECIFIED'
3934
+ | 'SENSITIVITY_LOW'
3935
+ | 'SENSITIVITY_UNKNOWN'
3936
+ | 'SENSITIVITY_MODERATE'
3937
+ | 'SENSITIVITY_HIGH';
2939
3938
  }
2940
3939
  interface ServiceAccountDelegationInfo {
2941
3940
  /** The email address of a Google account. */
@@ -2947,11 +3946,11 @@ declare namespace gapi.client {
2947
3946
  /** When the static mute was applied. */
2948
3947
  applyTime?: string;
2949
3948
  /** The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding's overall mute state will have the same value. */
2950
- state?: string;
3949
+ state?: 'MUTE_UNSPECIFIED' | 'MUTED' | 'UNMUTED' | 'UNDEFINED';
2951
3950
  }
2952
3951
  interface Subject {
2953
3952
  /** Authentication type for the subject. */
2954
- kind?: string;
3953
+ kind?: 'AUTH_TYPE_UNSPECIFIED' | 'USER' | 'SERVICEACCOUNT' | 'GROUP';
2955
3954
  /** Name for the subject. */
2956
3955
  name?: string;
2957
3956
  /** Namespace for the subject. */
@@ -2963,7 +3962,12 @@ declare namespace gapi.client {
2963
3962
  /** The resource name of the subscription. Format: organizations/{organization}/subscription */
2964
3963
  name?: string;
2965
3964
  /** The tier of SCC features this organization currently has access to. */
2966
- tier?: string;
3965
+ tier?:
3966
+ | 'TIER_UNSPECIFIED'
3967
+ | 'STANDARD'
3968
+ | 'PREMIUM'
3969
+ | 'ENTERPRISE'
3970
+ | 'ENTERPRISE_MC';
2967
3971
  }
2968
3972
  interface TicketInfo {
2969
3973
  /** The assignee of the ticket in the ticket system. */
@@ -2999,7 +4003,11 @@ declare namespace gapi.client {
2999
4003
  /** Output only. The service account used by Virtual Machine Threat Detection detectors. */
3000
4004
  serviceAccount?: string;
3001
4005
  /** 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. */
3002
- serviceEnablementState?: string;
4006
+ serviceEnablementState?:
4007
+ | 'ENABLEMENT_STATE_UNSPECIFIED'
4008
+ | 'INHERITED'
4009
+ | 'ENABLED'
4010
+ | 'DISABLED';
3003
4011
  /** Output only. The time the settings were last updated. */
3004
4012
  updateTime?: string;
3005
4013
  }
@@ -3025,7 +4033,11 @@ declare namespace gapi.client {
3025
4033
  }
3026
4034
  interface VulnerabilitySnapshot {
3027
4035
  /** The cloud provider for the vulnerability snapshot. */
3028
- cloudProvider?: string;
4036
+ cloudProvider?:
4037
+ | 'CLOUD_PROVIDER_UNSPECIFIED'
4038
+ | 'GOOGLE_CLOUD_PLATFORM'
4039
+ | 'AMAZON_WEB_SERVICES'
4040
+ | 'MICROSOFT_AZURE';
3029
4041
  /** The vulnerability count by severity. */
3030
4042
  findingCount?: VulnerabilityCountBySeverity;
3031
4043
  /** Identifier. The vulnerability snapshot name. Format: //locations//vulnerabilitySnapshots/ */
@@ -3039,7 +4051,11 @@ declare namespace gapi.client {
3039
4051
  /** Identifier. The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings */
3040
4052
  name?: string;
3041
4053
  /** 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. */
3042
- serviceEnablementState?: string;
4054
+ serviceEnablementState?:
4055
+ | 'ENABLEMENT_STATE_UNSPECIFIED'
4056
+ | 'INHERITED'
4057
+ | 'ENABLED'
4058
+ | 'DISABLED';
3043
4059
  /** Output only. The time the settings were last updated. */
3044
4060
  updateTime?: string;
3045
4061
  }
@@ -3051,11 +4067,11 @@ declare namespace gapi.client {
3051
4067
  /** Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail. */
3052
4068
  calculate(request?: {
3053
4069
  /** V1 error format. */
3054
- '$.xgafv'?: string;
4070
+ '$.xgafv'?: '1' | '2';
3055
4071
  /** OAuth access token. */
3056
4072
  access_token?: string;
3057
4073
  /** Data format for response. */
3058
- alt?: string;
4074
+ alt?: 'json' | 'media' | 'proto';
3059
4075
  /** JSONP */
3060
4076
  callback?: string;
3061
4077
  /** Selector specifying which fields to include in a partial response. */
@@ -3082,11 +4098,11 @@ declare namespace gapi.client {
3082
4098
  /** Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail. */
3083
4099
  calculate(request?: {
3084
4100
  /** V1 error format. */
3085
- '$.xgafv'?: string;
4101
+ '$.xgafv'?: '1' | '2';
3086
4102
  /** OAuth access token. */
3087
4103
  access_token?: string;
3088
4104
  /** Data format for response. */
3089
- alt?: string;
4105
+ alt?: 'json' | 'media' | 'proto';
3090
4106
  /** JSONP */
3091
4107
  callback?: string;
3092
4108
  /** Selector specifying which fields to include in a partial response. */
@@ -3113,11 +4129,11 @@ declare namespace gapi.client {
3113
4129
  /** Calculates the effective RapidVulnerabilityDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail. */
3114
4130
  calculate(request?: {
3115
4131
  /** V1 error format. */
3116
- '$.xgafv'?: string;
4132
+ '$.xgafv'?: '1' | '2';
3117
4133
  /** OAuth access token. */
3118
4134
  access_token?: string;
3119
4135
  /** Data format for response. */
3120
- alt?: string;
4136
+ alt?: 'json' | 'media' | 'proto';
3121
4137
  /** JSONP */
3122
4138
  callback?: string;
3123
4139
  /** Selector specifying which fields to include in a partial response. */
@@ -3142,11 +4158,11 @@ declare namespace gapi.client {
3142
4158
  /** Calculates the effective SecurityHealthAnalyticsSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail. */
3143
4159
  calculate(request?: {
3144
4160
  /** V1 error format. */
3145
- '$.xgafv'?: string;
4161
+ '$.xgafv'?: '1' | '2';
3146
4162
  /** OAuth access token. */
3147
4163
  access_token?: string;
3148
4164
  /** Data format for response. */
3149
- alt?: string;
4165
+ alt?: 'json' | 'media' | 'proto';
3150
4166
  /** JSONP */
3151
4167
  callback?: string;
3152
4168
  /** Selector specifying which fields to include in a partial response. */
@@ -3173,11 +4189,11 @@ declare namespace gapi.client {
3173
4189
  /** Calculates the effective VirtualMachineThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail. */
3174
4190
  calculate(request?: {
3175
4191
  /** V1 error format. */
3176
- '$.xgafv'?: string;
4192
+ '$.xgafv'?: '1' | '2';
3177
4193
  /** OAuth access token. */
3178
4194
  access_token?: string;
3179
4195
  /** Data format for response. */
3180
- alt?: string;
4196
+ alt?: 'json' | 'media' | 'proto';
3181
4197
  /** JSONP */
3182
4198
  callback?: string;
3183
4199
  /** Selector specifying which fields to include in a partial response. */
@@ -3204,11 +4220,11 @@ declare namespace gapi.client {
3204
4220
  /** Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail. */
3205
4221
  calculate(request?: {
3206
4222
  /** V1 error format. */
3207
- '$.xgafv'?: string;
4223
+ '$.xgafv'?: '1' | '2';
3208
4224
  /** OAuth access token. */
3209
4225
  access_token?: string;
3210
4226
  /** Data format for response. */
3211
- alt?: string;
4227
+ alt?: 'json' | 'media' | 'proto';
3212
4228
  /** JSONP */
3213
4229
  callback?: string;
3214
4230
  /** Selector specifying which fields to include in a partial response. */
@@ -3235,11 +4251,11 @@ declare namespace gapi.client {
3235
4251
  /** Get the ContainerThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetContainerThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateContainerThreatDetectionSettings for this purpose. */
3236
4252
  getContainerThreatDetectionSettings(request?: {
3237
4253
  /** V1 error format. */
3238
- '$.xgafv'?: string;
4254
+ '$.xgafv'?: '1' | '2';
3239
4255
  /** OAuth access token. */
3240
4256
  access_token?: string;
3241
4257
  /** Data format for response. */
3242
- alt?: string;
4258
+ alt?: 'json' | 'media' | 'proto';
3243
4259
  /** JSONP */
3244
4260
  callback?: string;
3245
4261
  /** Selector specifying which fields to include in a partial response. */
@@ -3262,11 +4278,11 @@ declare namespace gapi.client {
3262
4278
  /** Get the EventThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetEventThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateEventThreatDetectionSettings for this purpose. */
3263
4279
  getEventThreatDetectionSettings(request?: {
3264
4280
  /** V1 error format. */
3265
- '$.xgafv'?: string;
4281
+ '$.xgafv'?: '1' | '2';
3266
4282
  /** OAuth access token. */
3267
4283
  access_token?: string;
3268
4284
  /** Data format for response. */
3269
- alt?: string;
4285
+ alt?: 'json' | 'media' | 'proto';
3270
4286
  /** JSONP */
3271
4287
  callback?: string;
3272
4288
  /** Selector specifying which fields to include in a partial response. */
@@ -3289,11 +4305,11 @@ declare namespace gapi.client {
3289
4305
  /** Get the RapidVulnerabilityDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetRapidVulnerabilityDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateRapidVulnerabilityDetectionSettings for this purpose. */
3290
4306
  getRapidVulnerabilityDetectionSettings(request?: {
3291
4307
  /** V1 error format. */
3292
- '$.xgafv'?: string;
4308
+ '$.xgafv'?: '1' | '2';
3293
4309
  /** OAuth access token. */
3294
4310
  access_token?: string;
3295
4311
  /** Data format for response. */
3296
- alt?: string;
4312
+ alt?: 'json' | 'media' | 'proto';
3297
4313
  /** JSONP */
3298
4314
  callback?: string;
3299
4315
  /** Selector specifying which fields to include in a partial response. */
@@ -3316,11 +4332,11 @@ declare namespace gapi.client {
3316
4332
  /** Get the SecurityCenterSettings resource. */
3317
4333
  getSecurityCenterSettings(request?: {
3318
4334
  /** V1 error format. */
3319
- '$.xgafv'?: string;
4335
+ '$.xgafv'?: '1' | '2';
3320
4336
  /** OAuth access token. */
3321
4337
  access_token?: string;
3322
4338
  /** Data format for response. */
3323
- alt?: string;
4339
+ alt?: 'json' | 'media' | 'proto';
3324
4340
  /** JSONP */
3325
4341
  callback?: string;
3326
4342
  /** Selector specifying which fields to include in a partial response. */
@@ -3343,11 +4359,11 @@ declare namespace gapi.client {
3343
4359
  /** Get the SecurityHealthAnalyticsSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetSecurityHealthAnalyticsSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateSecurityHealthAnalyticsSettings for this purpose. */
3344
4360
  getSecurityHealthAnalyticsSettings(request?: {
3345
4361
  /** V1 error format. */
3346
- '$.xgafv'?: string;
4362
+ '$.xgafv'?: '1' | '2';
3347
4363
  /** OAuth access token. */
3348
4364
  access_token?: string;
3349
4365
  /** Data format for response. */
3350
- alt?: string;
4366
+ alt?: 'json' | 'media' | 'proto';
3351
4367
  /** JSONP */
3352
4368
  callback?: string;
3353
4369
  /** Selector specifying which fields to include in a partial response. */
@@ -3370,11 +4386,11 @@ declare namespace gapi.client {
3370
4386
  /** Get the VirtualMachineThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetVirtualMachineThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateVirtualMachineThreatDetectionSettings for this purpose. */
3371
4387
  getVirtualMachineThreatDetectionSettings(request?: {
3372
4388
  /** V1 error format. */
3373
- '$.xgafv'?: string;
4389
+ '$.xgafv'?: '1' | '2';
3374
4390
  /** OAuth access token. */
3375
4391
  access_token?: string;
3376
4392
  /** Data format for response. */
3377
- alt?: string;
4393
+ alt?: 'json' | 'media' | 'proto';
3378
4394
  /** JSONP */
3379
4395
  callback?: string;
3380
4396
  /** Selector specifying which fields to include in a partial response. */
@@ -3397,11 +4413,11 @@ declare namespace gapi.client {
3397
4413
  /** Get the WebSecurityScannerSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetWebSecurityScannerSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateWebSecurityScannerSettings for this purpose. */
3398
4414
  getWebSecurityScannerSettings(request?: {
3399
4415
  /** V1 error format. */
3400
- '$.xgafv'?: string;
4416
+ '$.xgafv'?: '1' | '2';
3401
4417
  /** OAuth access token. */
3402
4418
  access_token?: string;
3403
4419
  /** Data format for response. */
3404
- alt?: string;
4420
+ alt?: 'json' | 'media' | 'proto';
3405
4421
  /** JSONP */
3406
4422
  callback?: string;
3407
4423
  /** Selector specifying which fields to include in a partial response. */
@@ -3424,11 +4440,11 @@ declare namespace gapi.client {
3424
4440
  /** Update the ContainerThreatDetectionSettings resource. */
3425
4441
  updateContainerThreatDetectionSettings(request: {
3426
4442
  /** V1 error format. */
3427
- '$.xgafv'?: string;
4443
+ '$.xgafv'?: '1' | '2';
3428
4444
  /** OAuth access token. */
3429
4445
  access_token?: string;
3430
4446
  /** Data format for response. */
3431
- alt?: string;
4447
+ alt?: 'json' | 'media' | 'proto';
3432
4448
  /** JSONP */
3433
4449
  callback?: string;
3434
4450
  /** Selector specifying which fields to include in a partial response. */
@@ -3455,11 +4471,11 @@ declare namespace gapi.client {
3455
4471
  updateContainerThreatDetectionSettings(
3456
4472
  request: {
3457
4473
  /** V1 error format. */
3458
- '$.xgafv'?: string;
4474
+ '$.xgafv'?: '1' | '2';
3459
4475
  /** OAuth access token. */
3460
4476
  access_token?: string;
3461
4477
  /** Data format for response. */
3462
- alt?: string;
4478
+ alt?: 'json' | 'media' | 'proto';
3463
4479
  /** JSONP */
3464
4480
  callback?: string;
3465
4481
  /** Selector specifying which fields to include in a partial response. */
@@ -3486,11 +4502,11 @@ declare namespace gapi.client {
3486
4502
  /** Update the EventThreatDetectionSettings resource. */
3487
4503
  updateEventThreatDetectionSettings(request: {
3488
4504
  /** V1 error format. */
3489
- '$.xgafv'?: string;
4505
+ '$.xgafv'?: '1' | '2';
3490
4506
  /** OAuth access token. */
3491
4507
  access_token?: string;
3492
4508
  /** Data format for response. */
3493
- alt?: string;
4509
+ alt?: 'json' | 'media' | 'proto';
3494
4510
  /** JSONP */
3495
4511
  callback?: string;
3496
4512
  /** Selector specifying which fields to include in a partial response. */
@@ -3517,11 +4533,11 @@ declare namespace gapi.client {
3517
4533
  updateEventThreatDetectionSettings(
3518
4534
  request: {
3519
4535
  /** V1 error format. */
3520
- '$.xgafv'?: string;
4536
+ '$.xgafv'?: '1' | '2';
3521
4537
  /** OAuth access token. */
3522
4538
  access_token?: string;
3523
4539
  /** Data format for response. */
3524
- alt?: string;
4540
+ alt?: 'json' | 'media' | 'proto';
3525
4541
  /** JSONP */
3526
4542
  callback?: string;
3527
4543
  /** Selector specifying which fields to include in a partial response. */
@@ -3548,11 +4564,11 @@ declare namespace gapi.client {
3548
4564
  /** Update the RapidVulnerabilityDetectionSettings resource. */
3549
4565
  updateRapidVulnerabilityDetectionSettings(request: {
3550
4566
  /** V1 error format. */
3551
- '$.xgafv'?: string;
4567
+ '$.xgafv'?: '1' | '2';
3552
4568
  /** OAuth access token. */
3553
4569
  access_token?: string;
3554
4570
  /** Data format for response. */
3555
- alt?: string;
4571
+ alt?: 'json' | 'media' | 'proto';
3556
4572
  /** JSONP */
3557
4573
  callback?: string;
3558
4574
  /** Selector specifying which fields to include in a partial response. */
@@ -3579,11 +4595,11 @@ declare namespace gapi.client {
3579
4595
  updateRapidVulnerabilityDetectionSettings(
3580
4596
  request: {
3581
4597
  /** V1 error format. */
3582
- '$.xgafv'?: string;
4598
+ '$.xgafv'?: '1' | '2';
3583
4599
  /** OAuth access token. */
3584
4600
  access_token?: string;
3585
4601
  /** Data format for response. */
3586
- alt?: string;
4602
+ alt?: 'json' | 'media' | 'proto';
3587
4603
  /** JSONP */
3588
4604
  callback?: string;
3589
4605
  /** Selector specifying which fields to include in a partial response. */
@@ -3610,11 +4626,11 @@ declare namespace gapi.client {
3610
4626
  /** Update the SecurityHealthAnalyticsSettings resource. */
3611
4627
  updateSecurityHealthAnalyticsSettings(request: {
3612
4628
  /** V1 error format. */
3613
- '$.xgafv'?: string;
4629
+ '$.xgafv'?: '1' | '2';
3614
4630
  /** OAuth access token. */
3615
4631
  access_token?: string;
3616
4632
  /** Data format for response. */
3617
- alt?: string;
4633
+ alt?: 'json' | 'media' | 'proto';
3618
4634
  /** JSONP */
3619
4635
  callback?: string;
3620
4636
  /** Selector specifying which fields to include in a partial response. */
@@ -3641,11 +4657,11 @@ declare namespace gapi.client {
3641
4657
  updateSecurityHealthAnalyticsSettings(
3642
4658
  request: {
3643
4659
  /** V1 error format. */
3644
- '$.xgafv'?: string;
4660
+ '$.xgafv'?: '1' | '2';
3645
4661
  /** OAuth access token. */
3646
4662
  access_token?: string;
3647
4663
  /** Data format for response. */
3648
- alt?: string;
4664
+ alt?: 'json' | 'media' | 'proto';
3649
4665
  /** JSONP */
3650
4666
  callback?: string;
3651
4667
  /** Selector specifying which fields to include in a partial response. */
@@ -3672,11 +4688,11 @@ declare namespace gapi.client {
3672
4688
  /** Update the VirtualMachineThreatDetectionSettings resource. */
3673
4689
  updateVirtualMachineThreatDetectionSettings(request: {
3674
4690
  /** V1 error format. */
3675
- '$.xgafv'?: string;
4691
+ '$.xgafv'?: '1' | '2';
3676
4692
  /** OAuth access token. */
3677
4693
  access_token?: string;
3678
4694
  /** Data format for response. */
3679
- alt?: string;
4695
+ alt?: 'json' | 'media' | 'proto';
3680
4696
  /** JSONP */
3681
4697
  callback?: string;
3682
4698
  /** Selector specifying which fields to include in a partial response. */
@@ -3703,11 +4719,11 @@ declare namespace gapi.client {
3703
4719
  updateVirtualMachineThreatDetectionSettings(
3704
4720
  request: {
3705
4721
  /** V1 error format. */
3706
- '$.xgafv'?: string;
4722
+ '$.xgafv'?: '1' | '2';
3707
4723
  /** OAuth access token. */
3708
4724
  access_token?: string;
3709
4725
  /** Data format for response. */
3710
- alt?: string;
4726
+ alt?: 'json' | 'media' | 'proto';
3711
4727
  /** JSONP */
3712
4728
  callback?: string;
3713
4729
  /** Selector specifying which fields to include in a partial response. */
@@ -3734,11 +4750,11 @@ declare namespace gapi.client {
3734
4750
  /** Update the WebSecurityScannerSettings resource. */
3735
4751
  updateWebSecurityScannerSettings(request: {
3736
4752
  /** V1 error format. */
3737
- '$.xgafv'?: string;
4753
+ '$.xgafv'?: '1' | '2';
3738
4754
  /** OAuth access token. */
3739
4755
  access_token?: string;
3740
4756
  /** Data format for response. */
3741
- alt?: string;
4757
+ alt?: 'json' | 'media' | 'proto';
3742
4758
  /** JSONP */
3743
4759
  callback?: string;
3744
4760
  /** Selector specifying which fields to include in a partial response. */
@@ -3765,11 +4781,11 @@ declare namespace gapi.client {
3765
4781
  updateWebSecurityScannerSettings(
3766
4782
  request: {
3767
4783
  /** V1 error format. */
3768
- '$.xgafv'?: string;
4784
+ '$.xgafv'?: '1' | '2';
3769
4785
  /** OAuth access token. */
3770
4786
  access_token?: string;
3771
4787
  /** Data format for response. */
3772
- alt?: string;
4788
+ alt?: 'json' | 'media' | 'proto';
3773
4789
  /** JSONP */
3774
4790
  callback?: string;
3775
4791
  /** Selector specifying which fields to include in a partial response. */
@@ -3804,11 +4820,11 @@ declare namespace gapi.client {
3804
4820
  /** Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail. */
3805
4821
  calculate(request?: {
3806
4822
  /** V1 error format. */
3807
- '$.xgafv'?: string;
4823
+ '$.xgafv'?: '1' | '2';
3808
4824
  /** OAuth access token. */
3809
4825
  access_token?: string;
3810
4826
  /** Data format for response. */
3811
- alt?: string;
4827
+ alt?: 'json' | 'media' | 'proto';
3812
4828
  /** JSONP */
3813
4829
  callback?: string;
3814
4830
  /** Selector specifying which fields to include in a partial response. */
@@ -3835,11 +4851,11 @@ declare namespace gapi.client {
3835
4851
  /** Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail. */
3836
4852
  calculate(request?: {
3837
4853
  /** V1 error format. */
3838
- '$.xgafv'?: string;
4854
+ '$.xgafv'?: '1' | '2';
3839
4855
  /** OAuth access token. */
3840
4856
  access_token?: string;
3841
4857
  /** Data format for response. */
3842
- alt?: string;
4858
+ alt?: 'json' | 'media' | 'proto';
3843
4859
  /** JSONP */
3844
4860
  callback?: string;
3845
4861
  /** Selector specifying which fields to include in a partial response. */
@@ -3866,11 +4882,11 @@ declare namespace gapi.client {
3866
4882
  /** Calculates the effective RapidVulnerabilityDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail. */
3867
4883
  calculate(request?: {
3868
4884
  /** V1 error format. */
3869
- '$.xgafv'?: string;
4885
+ '$.xgafv'?: '1' | '2';
3870
4886
  /** OAuth access token. */
3871
4887
  access_token?: string;
3872
4888
  /** Data format for response. */
3873
- alt?: string;
4889
+ alt?: 'json' | 'media' | 'proto';
3874
4890
  /** JSONP */
3875
4891
  callback?: string;
3876
4892
  /** Selector specifying which fields to include in a partial response. */
@@ -3895,11 +4911,11 @@ declare namespace gapi.client {
3895
4911
  /** Calculates the effective SecurityHealthAnalyticsSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail. */
3896
4912
  calculate(request?: {
3897
4913
  /** V1 error format. */
3898
- '$.xgafv'?: string;
4914
+ '$.xgafv'?: '1' | '2';
3899
4915
  /** OAuth access token. */
3900
4916
  access_token?: string;
3901
4917
  /** Data format for response. */
3902
- alt?: string;
4918
+ alt?: 'json' | 'media' | 'proto';
3903
4919
  /** JSONP */
3904
4920
  callback?: string;
3905
4921
  /** Selector specifying which fields to include in a partial response. */
@@ -3926,11 +4942,11 @@ declare namespace gapi.client {
3926
4942
  /** Calculates the effective VirtualMachineThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail. */
3927
4943
  calculate(request?: {
3928
4944
  /** V1 error format. */
3929
- '$.xgafv'?: string;
4945
+ '$.xgafv'?: '1' | '2';
3930
4946
  /** OAuth access token. */
3931
4947
  access_token?: string;
3932
4948
  /** Data format for response. */
3933
- alt?: string;
4949
+ alt?: 'json' | 'media' | 'proto';
3934
4950
  /** JSONP */
3935
4951
  callback?: string;
3936
4952
  /** Selector specifying which fields to include in a partial response. */
@@ -3957,11 +4973,11 @@ declare namespace gapi.client {
3957
4973
  /** Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail. */
3958
4974
  calculate(request?: {
3959
4975
  /** V1 error format. */
3960
- '$.xgafv'?: string;
4976
+ '$.xgafv'?: '1' | '2';
3961
4977
  /** OAuth access token. */
3962
4978
  access_token?: string;
3963
4979
  /** Data format for response. */
3964
- alt?: string;
4980
+ alt?: 'json' | 'media' | 'proto';
3965
4981
  /** JSONP */
3966
4982
  callback?: string;
3967
4983
  /** Selector specifying which fields to include in a partial response. */
@@ -3988,11 +5004,11 @@ declare namespace gapi.client {
3988
5004
  /** Get the ContainerThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetContainerThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateContainerThreatDetectionSettings for this purpose. */
3989
5005
  getContainerThreatDetectionSettings(request?: {
3990
5006
  /** V1 error format. */
3991
- '$.xgafv'?: string;
5007
+ '$.xgafv'?: '1' | '2';
3992
5008
  /** OAuth access token. */
3993
5009
  access_token?: string;
3994
5010
  /** Data format for response. */
3995
- alt?: string;
5011
+ alt?: 'json' | 'media' | 'proto';
3996
5012
  /** JSONP */
3997
5013
  callback?: string;
3998
5014
  /** Selector specifying which fields to include in a partial response. */
@@ -4015,11 +5031,11 @@ declare namespace gapi.client {
4015
5031
  /** Get the EventThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetEventThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateEventThreatDetectionSettings for this purpose. */
4016
5032
  getEventThreatDetectionSettings(request?: {
4017
5033
  /** V1 error format. */
4018
- '$.xgafv'?: string;
5034
+ '$.xgafv'?: '1' | '2';
4019
5035
  /** OAuth access token. */
4020
5036
  access_token?: string;
4021
5037
  /** Data format for response. */
4022
- alt?: string;
5038
+ alt?: 'json' | 'media' | 'proto';
4023
5039
  /** JSONP */
4024
5040
  callback?: string;
4025
5041
  /** Selector specifying which fields to include in a partial response. */
@@ -4042,11 +5058,11 @@ declare namespace gapi.client {
4042
5058
  /** Get the RapidVulnerabilityDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetRapidVulnerabilityDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateRapidVulnerabilityDetectionSettings for this purpose. */
4043
5059
  getRapidVulnerabilityDetectionSettings(request?: {
4044
5060
  /** V1 error format. */
4045
- '$.xgafv'?: string;
5061
+ '$.xgafv'?: '1' | '2';
4046
5062
  /** OAuth access token. */
4047
5063
  access_token?: string;
4048
5064
  /** Data format for response. */
4049
- alt?: string;
5065
+ alt?: 'json' | 'media' | 'proto';
4050
5066
  /** JSONP */
4051
5067
  callback?: string;
4052
5068
  /** Selector specifying which fields to include in a partial response. */
@@ -4069,11 +5085,11 @@ declare namespace gapi.client {
4069
5085
  /** Get the SecurityCenterSettings resource. */
4070
5086
  getSecurityCenterSettings(request?: {
4071
5087
  /** V1 error format. */
4072
- '$.xgafv'?: string;
5088
+ '$.xgafv'?: '1' | '2';
4073
5089
  /** OAuth access token. */
4074
5090
  access_token?: string;
4075
5091
  /** Data format for response. */
4076
- alt?: string;
5092
+ alt?: 'json' | 'media' | 'proto';
4077
5093
  /** JSONP */
4078
5094
  callback?: string;
4079
5095
  /** Selector specifying which fields to include in a partial response. */
@@ -4096,11 +5112,11 @@ declare namespace gapi.client {
4096
5112
  /** Get the SecurityHealthAnalyticsSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetSecurityHealthAnalyticsSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateSecurityHealthAnalyticsSettings for this purpose. */
4097
5113
  getSecurityHealthAnalyticsSettings(request?: {
4098
5114
  /** V1 error format. */
4099
- '$.xgafv'?: string;
5115
+ '$.xgafv'?: '1' | '2';
4100
5116
  /** OAuth access token. */
4101
5117
  access_token?: string;
4102
5118
  /** Data format for response. */
4103
- alt?: string;
5119
+ alt?: 'json' | 'media' | 'proto';
4104
5120
  /** JSONP */
4105
5121
  callback?: string;
4106
5122
  /** Selector specifying which fields to include in a partial response. */
@@ -4123,11 +5139,11 @@ declare namespace gapi.client {
4123
5139
  /** Get the Subscription resource. */
4124
5140
  getSubscription(request?: {
4125
5141
  /** V1 error format. */
4126
- '$.xgafv'?: string;
5142
+ '$.xgafv'?: '1' | '2';
4127
5143
  /** OAuth access token. */
4128
5144
  access_token?: string;
4129
5145
  /** Data format for response. */
4130
- alt?: string;
5146
+ alt?: 'json' | 'media' | 'proto';
4131
5147
  /** JSONP */
4132
5148
  callback?: string;
4133
5149
  /** Selector specifying which fields to include in a partial response. */
@@ -4150,11 +5166,11 @@ declare namespace gapi.client {
4150
5166
  /** Get the VirtualMachineThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetVirtualMachineThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateVirtualMachineThreatDetectionSettings for this purpose. */
4151
5167
  getVirtualMachineThreatDetectionSettings(request?: {
4152
5168
  /** V1 error format. */
4153
- '$.xgafv'?: string;
5169
+ '$.xgafv'?: '1' | '2';
4154
5170
  /** OAuth access token. */
4155
5171
  access_token?: string;
4156
5172
  /** Data format for response. */
4157
- alt?: string;
5173
+ alt?: 'json' | 'media' | 'proto';
4158
5174
  /** JSONP */
4159
5175
  callback?: string;
4160
5176
  /** Selector specifying which fields to include in a partial response. */
@@ -4177,11 +5193,11 @@ declare namespace gapi.client {
4177
5193
  /** Get the WebSecurityScannerSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetWebSecurityScannerSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateWebSecurityScannerSettings for this purpose. */
4178
5194
  getWebSecurityScannerSettings(request?: {
4179
5195
  /** V1 error format. */
4180
- '$.xgafv'?: string;
5196
+ '$.xgafv'?: '1' | '2';
4181
5197
  /** OAuth access token. */
4182
5198
  access_token?: string;
4183
5199
  /** Data format for response. */
4184
- alt?: string;
5200
+ alt?: 'json' | 'media' | 'proto';
4185
5201
  /** JSONP */
4186
5202
  callback?: string;
4187
5203
  /** Selector specifying which fields to include in a partial response. */
@@ -4204,11 +5220,11 @@ declare namespace gapi.client {
4204
5220
  /** Update the ContainerThreatDetectionSettings resource. */
4205
5221
  updateContainerThreatDetectionSettings(request: {
4206
5222
  /** V1 error format. */
4207
- '$.xgafv'?: string;
5223
+ '$.xgafv'?: '1' | '2';
4208
5224
  /** OAuth access token. */
4209
5225
  access_token?: string;
4210
5226
  /** Data format for response. */
4211
- alt?: string;
5227
+ alt?: 'json' | 'media' | 'proto';
4212
5228
  /** JSONP */
4213
5229
  callback?: string;
4214
5230
  /** Selector specifying which fields to include in a partial response. */
@@ -4235,11 +5251,11 @@ declare namespace gapi.client {
4235
5251
  updateContainerThreatDetectionSettings(
4236
5252
  request: {
4237
5253
  /** V1 error format. */
4238
- '$.xgafv'?: string;
5254
+ '$.xgafv'?: '1' | '2';
4239
5255
  /** OAuth access token. */
4240
5256
  access_token?: string;
4241
5257
  /** Data format for response. */
4242
- alt?: string;
5258
+ alt?: 'json' | 'media' | 'proto';
4243
5259
  /** JSONP */
4244
5260
  callback?: string;
4245
5261
  /** Selector specifying which fields to include in a partial response. */
@@ -4266,11 +5282,11 @@ declare namespace gapi.client {
4266
5282
  /** Update the EventThreatDetectionSettings resource. */
4267
5283
  updateEventThreatDetectionSettings(request: {
4268
5284
  /** V1 error format. */
4269
- '$.xgafv'?: string;
5285
+ '$.xgafv'?: '1' | '2';
4270
5286
  /** OAuth access token. */
4271
5287
  access_token?: string;
4272
5288
  /** Data format for response. */
4273
- alt?: string;
5289
+ alt?: 'json' | 'media' | 'proto';
4274
5290
  /** JSONP */
4275
5291
  callback?: string;
4276
5292
  /** Selector specifying which fields to include in a partial response. */
@@ -4297,11 +5313,11 @@ declare namespace gapi.client {
4297
5313
  updateEventThreatDetectionSettings(
4298
5314
  request: {
4299
5315
  /** V1 error format. */
4300
- '$.xgafv'?: string;
5316
+ '$.xgafv'?: '1' | '2';
4301
5317
  /** OAuth access token. */
4302
5318
  access_token?: string;
4303
5319
  /** Data format for response. */
4304
- alt?: string;
5320
+ alt?: 'json' | 'media' | 'proto';
4305
5321
  /** JSONP */
4306
5322
  callback?: string;
4307
5323
  /** Selector specifying which fields to include in a partial response. */
@@ -4328,11 +5344,11 @@ declare namespace gapi.client {
4328
5344
  /** Update the RapidVulnerabilityDetectionSettings resource. */
4329
5345
  updateRapidVulnerabilityDetectionSettings(request: {
4330
5346
  /** V1 error format. */
4331
- '$.xgafv'?: string;
5347
+ '$.xgafv'?: '1' | '2';
4332
5348
  /** OAuth access token. */
4333
5349
  access_token?: string;
4334
5350
  /** Data format for response. */
4335
- alt?: string;
5351
+ alt?: 'json' | 'media' | 'proto';
4336
5352
  /** JSONP */
4337
5353
  callback?: string;
4338
5354
  /** Selector specifying which fields to include in a partial response. */
@@ -4359,11 +5375,11 @@ declare namespace gapi.client {
4359
5375
  updateRapidVulnerabilityDetectionSettings(
4360
5376
  request: {
4361
5377
  /** V1 error format. */
4362
- '$.xgafv'?: string;
5378
+ '$.xgafv'?: '1' | '2';
4363
5379
  /** OAuth access token. */
4364
5380
  access_token?: string;
4365
5381
  /** Data format for response. */
4366
- alt?: string;
5382
+ alt?: 'json' | 'media' | 'proto';
4367
5383
  /** JSONP */
4368
5384
  callback?: string;
4369
5385
  /** Selector specifying which fields to include in a partial response. */
@@ -4390,11 +5406,11 @@ declare namespace gapi.client {
4390
5406
  /** Update the SecurityHealthAnalyticsSettings resource. */
4391
5407
  updateSecurityHealthAnalyticsSettings(request: {
4392
5408
  /** V1 error format. */
4393
- '$.xgafv'?: string;
5409
+ '$.xgafv'?: '1' | '2';
4394
5410
  /** OAuth access token. */
4395
5411
  access_token?: string;
4396
5412
  /** Data format for response. */
4397
- alt?: string;
5413
+ alt?: 'json' | 'media' | 'proto';
4398
5414
  /** JSONP */
4399
5415
  callback?: string;
4400
5416
  /** Selector specifying which fields to include in a partial response. */
@@ -4421,11 +5437,11 @@ declare namespace gapi.client {
4421
5437
  updateSecurityHealthAnalyticsSettings(
4422
5438
  request: {
4423
5439
  /** V1 error format. */
4424
- '$.xgafv'?: string;
5440
+ '$.xgafv'?: '1' | '2';
4425
5441
  /** OAuth access token. */
4426
5442
  access_token?: string;
4427
5443
  /** Data format for response. */
4428
- alt?: string;
5444
+ alt?: 'json' | 'media' | 'proto';
4429
5445
  /** JSONP */
4430
5446
  callback?: string;
4431
5447
  /** Selector specifying which fields to include in a partial response. */
@@ -4452,11 +5468,11 @@ declare namespace gapi.client {
4452
5468
  /** Update the VirtualMachineThreatDetectionSettings resource. */
4453
5469
  updateVirtualMachineThreatDetectionSettings(request: {
4454
5470
  /** V1 error format. */
4455
- '$.xgafv'?: string;
5471
+ '$.xgafv'?: '1' | '2';
4456
5472
  /** OAuth access token. */
4457
5473
  access_token?: string;
4458
5474
  /** Data format for response. */
4459
- alt?: string;
5475
+ alt?: 'json' | 'media' | 'proto';
4460
5476
  /** JSONP */
4461
5477
  callback?: string;
4462
5478
  /** Selector specifying which fields to include in a partial response. */
@@ -4483,11 +5499,11 @@ declare namespace gapi.client {
4483
5499
  updateVirtualMachineThreatDetectionSettings(
4484
5500
  request: {
4485
5501
  /** V1 error format. */
4486
- '$.xgafv'?: string;
5502
+ '$.xgafv'?: '1' | '2';
4487
5503
  /** OAuth access token. */
4488
5504
  access_token?: string;
4489
5505
  /** Data format for response. */
4490
- alt?: string;
5506
+ alt?: 'json' | 'media' | 'proto';
4491
5507
  /** JSONP */
4492
5508
  callback?: string;
4493
5509
  /** Selector specifying which fields to include in a partial response. */
@@ -4514,11 +5530,11 @@ declare namespace gapi.client {
4514
5530
  /** Update the WebSecurityScannerSettings resource. */
4515
5531
  updateWebSecurityScannerSettings(request: {
4516
5532
  /** V1 error format. */
4517
- '$.xgafv'?: string;
5533
+ '$.xgafv'?: '1' | '2';
4518
5534
  /** OAuth access token. */
4519
5535
  access_token?: string;
4520
5536
  /** Data format for response. */
4521
- alt?: string;
5537
+ alt?: 'json' | 'media' | 'proto';
4522
5538
  /** JSONP */
4523
5539
  callback?: string;
4524
5540
  /** Selector specifying which fields to include in a partial response. */
@@ -4545,11 +5561,11 @@ declare namespace gapi.client {
4545
5561
  updateWebSecurityScannerSettings(
4546
5562
  request: {
4547
5563
  /** V1 error format. */
4548
- '$.xgafv'?: string;
5564
+ '$.xgafv'?: '1' | '2';
4549
5565
  /** OAuth access token. */
4550
5566
  access_token?: string;
4551
5567
  /** Data format for response. */
4552
- alt?: string;
5568
+ alt?: 'json' | 'media' | 'proto';
4553
5569
  /** JSONP */
4554
5570
  callback?: string;
4555
5571
  /** Selector specifying which fields to include in a partial response. */
@@ -4584,11 +5600,11 @@ declare namespace gapi.client {
4584
5600
  /** Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail. */
4585
5601
  calculate(request?: {
4586
5602
  /** V1 error format. */
4587
- '$.xgafv'?: string;
5603
+ '$.xgafv'?: '1' | '2';
4588
5604
  /** OAuth access token. */
4589
5605
  access_token?: string;
4590
5606
  /** Data format for response. */
4591
- alt?: string;
5607
+ alt?: 'json' | 'media' | 'proto';
4592
5608
  /** JSONP */
4593
5609
  callback?: string;
4594
5610
  /** Selector specifying which fields to include in a partial response. */
@@ -4615,11 +5631,11 @@ declare namespace gapi.client {
4615
5631
  /** Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail. */
4616
5632
  calculate(request?: {
4617
5633
  /** V1 error format. */
4618
- '$.xgafv'?: string;
5634
+ '$.xgafv'?: '1' | '2';
4619
5635
  /** OAuth access token. */
4620
5636
  access_token?: string;
4621
5637
  /** Data format for response. */
4622
- alt?: string;
5638
+ alt?: 'json' | 'media' | 'proto';
4623
5639
  /** JSONP */
4624
5640
  callback?: string;
4625
5641
  /** Selector specifying which fields to include in a partial response. */
@@ -4646,11 +5662,11 @@ declare namespace gapi.client {
4646
5662
  /** Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail. */
4647
5663
  calculate(request?: {
4648
5664
  /** V1 error format. */
4649
- '$.xgafv'?: string;
5665
+ '$.xgafv'?: '1' | '2';
4650
5666
  /** OAuth access token. */
4651
5667
  access_token?: string;
4652
5668
  /** Data format for response. */
4653
- alt?: string;
5669
+ alt?: 'json' | 'media' | 'proto';
4654
5670
  /** JSONP */
4655
5671
  callback?: string;
4656
5672
  /** Selector specifying which fields to include in a partial response. */
@@ -4677,11 +5693,11 @@ declare namespace gapi.client {
4677
5693
  /** Get the ContainerThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetContainerThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateContainerThreatDetectionSettings for this purpose. */
4678
5694
  getContainerThreatDetectionSettings(request?: {
4679
5695
  /** V1 error format. */
4680
- '$.xgafv'?: string;
5696
+ '$.xgafv'?: '1' | '2';
4681
5697
  /** OAuth access token. */
4682
5698
  access_token?: string;
4683
5699
  /** Data format for response. */
4684
- alt?: string;
5700
+ alt?: 'json' | 'media' | 'proto';
4685
5701
  /** JSONP */
4686
5702
  callback?: string;
4687
5703
  /** Selector specifying which fields to include in a partial response. */
@@ -4704,11 +5720,11 @@ declare namespace gapi.client {
4704
5720
  /** Update the ContainerThreatDetectionSettings resource. */
4705
5721
  updateContainerThreatDetectionSettings(request: {
4706
5722
  /** V1 error format. */
4707
- '$.xgafv'?: string;
5723
+ '$.xgafv'?: '1' | '2';
4708
5724
  /** OAuth access token. */
4709
5725
  access_token?: string;
4710
5726
  /** Data format for response. */
4711
- alt?: string;
5727
+ alt?: 'json' | 'media' | 'proto';
4712
5728
  /** JSONP */
4713
5729
  callback?: string;
4714
5730
  /** Selector specifying which fields to include in a partial response. */
@@ -4735,11 +5751,11 @@ declare namespace gapi.client {
4735
5751
  updateContainerThreatDetectionSettings(
4736
5752
  request: {
4737
5753
  /** V1 error format. */
4738
- '$.xgafv'?: string;
5754
+ '$.xgafv'?: '1' | '2';
4739
5755
  /** OAuth access token. */
4740
5756
  access_token?: string;
4741
5757
  /** Data format for response. */
4742
- alt?: string;
5758
+ alt?: 'json' | 'media' | 'proto';
4743
5759
  /** JSONP */
4744
5760
  callback?: string;
4745
5761
  /** Selector specifying which fields to include in a partial response. */
@@ -4772,11 +5788,11 @@ declare namespace gapi.client {
4772
5788
  /** Calculates the effective RapidVulnerabilityDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail. */
4773
5789
  calculate(request?: {
4774
5790
  /** V1 error format. */
4775
- '$.xgafv'?: string;
5791
+ '$.xgafv'?: '1' | '2';
4776
5792
  /** OAuth access token. */
4777
5793
  access_token?: string;
4778
5794
  /** Data format for response. */
4779
- alt?: string;
5795
+ alt?: 'json' | 'media' | 'proto';
4780
5796
  /** JSONP */
4781
5797
  callback?: string;
4782
5798
  /** Selector specifying which fields to include in a partial response. */
@@ -4801,11 +5817,11 @@ declare namespace gapi.client {
4801
5817
  /** Calculates the effective SecurityHealthAnalyticsSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail. */
4802
5818
  calculate(request?: {
4803
5819
  /** V1 error format. */
4804
- '$.xgafv'?: string;
5820
+ '$.xgafv'?: '1' | '2';
4805
5821
  /** OAuth access token. */
4806
5822
  access_token?: string;
4807
5823
  /** Data format for response. */
4808
- alt?: string;
5824
+ alt?: 'json' | 'media' | 'proto';
4809
5825
  /** JSONP */
4810
5826
  callback?: string;
4811
5827
  /** Selector specifying which fields to include in a partial response. */
@@ -4832,11 +5848,11 @@ declare namespace gapi.client {
4832
5848
  /** Calculates the effective VirtualMachineThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail. */
4833
5849
  calculate(request?: {
4834
5850
  /** V1 error format. */
4835
- '$.xgafv'?: string;
5851
+ '$.xgafv'?: '1' | '2';
4836
5852
  /** OAuth access token. */
4837
5853
  access_token?: string;
4838
5854
  /** Data format for response. */
4839
- alt?: string;
5855
+ alt?: 'json' | 'media' | 'proto';
4840
5856
  /** JSONP */
4841
5857
  callback?: string;
4842
5858
  /** Selector specifying which fields to include in a partial response. */
@@ -4863,11 +5879,11 @@ declare namespace gapi.client {
4863
5879
  /** Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail. */
4864
5880
  calculate(request?: {
4865
5881
  /** V1 error format. */
4866
- '$.xgafv'?: string;
5882
+ '$.xgafv'?: '1' | '2';
4867
5883
  /** OAuth access token. */
4868
5884
  access_token?: string;
4869
5885
  /** Data format for response. */
4870
- alt?: string;
5886
+ alt?: 'json' | 'media' | 'proto';
4871
5887
  /** JSONP */
4872
5888
  callback?: string;
4873
5889
  /** Selector specifying which fields to include in a partial response. */
@@ -4894,11 +5910,11 @@ declare namespace gapi.client {
4894
5910
  /** Get the ContainerThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetContainerThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateContainerThreatDetectionSettings for this purpose. */
4895
5911
  getContainerThreatDetectionSettings(request?: {
4896
5912
  /** V1 error format. */
4897
- '$.xgafv'?: string;
5913
+ '$.xgafv'?: '1' | '2';
4898
5914
  /** OAuth access token. */
4899
5915
  access_token?: string;
4900
5916
  /** Data format for response. */
4901
- alt?: string;
5917
+ alt?: 'json' | 'media' | 'proto';
4902
5918
  /** JSONP */
4903
5919
  callback?: string;
4904
5920
  /** Selector specifying which fields to include in a partial response. */
@@ -4921,11 +5937,11 @@ declare namespace gapi.client {
4921
5937
  /** Get the EventThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetEventThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateEventThreatDetectionSettings for this purpose. */
4922
5938
  getEventThreatDetectionSettings(request?: {
4923
5939
  /** V1 error format. */
4924
- '$.xgafv'?: string;
5940
+ '$.xgafv'?: '1' | '2';
4925
5941
  /** OAuth access token. */
4926
5942
  access_token?: string;
4927
5943
  /** Data format for response. */
4928
- alt?: string;
5944
+ alt?: 'json' | 'media' | 'proto';
4929
5945
  /** JSONP */
4930
5946
  callback?: string;
4931
5947
  /** Selector specifying which fields to include in a partial response. */
@@ -4948,11 +5964,11 @@ declare namespace gapi.client {
4948
5964
  /** Get the RapidVulnerabilityDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetRapidVulnerabilityDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateRapidVulnerabilityDetectionSettings for this purpose. */
4949
5965
  getRapidVulnerabilityDetectionSettings(request?: {
4950
5966
  /** V1 error format. */
4951
- '$.xgafv'?: string;
5967
+ '$.xgafv'?: '1' | '2';
4952
5968
  /** OAuth access token. */
4953
5969
  access_token?: string;
4954
5970
  /** Data format for response. */
4955
- alt?: string;
5971
+ alt?: 'json' | 'media' | 'proto';
4956
5972
  /** JSONP */
4957
5973
  callback?: string;
4958
5974
  /** Selector specifying which fields to include in a partial response. */
@@ -4975,11 +5991,11 @@ declare namespace gapi.client {
4975
5991
  /** Get the SecurityCenterSettings resource. */
4976
5992
  getSecurityCenterSettings(request?: {
4977
5993
  /** V1 error format. */
4978
- '$.xgafv'?: string;
5994
+ '$.xgafv'?: '1' | '2';
4979
5995
  /** OAuth access token. */
4980
5996
  access_token?: string;
4981
5997
  /** Data format for response. */
4982
- alt?: string;
5998
+ alt?: 'json' | 'media' | 'proto';
4983
5999
  /** JSONP */
4984
6000
  callback?: string;
4985
6001
  /** Selector specifying which fields to include in a partial response. */
@@ -5002,11 +6018,11 @@ declare namespace gapi.client {
5002
6018
  /** Get the SecurityHealthAnalyticsSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetSecurityHealthAnalyticsSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateSecurityHealthAnalyticsSettings for this purpose. */
5003
6019
  getSecurityHealthAnalyticsSettings(request?: {
5004
6020
  /** V1 error format. */
5005
- '$.xgafv'?: string;
6021
+ '$.xgafv'?: '1' | '2';
5006
6022
  /** OAuth access token. */
5007
6023
  access_token?: string;
5008
6024
  /** Data format for response. */
5009
- alt?: string;
6025
+ alt?: 'json' | 'media' | 'proto';
5010
6026
  /** JSONP */
5011
6027
  callback?: string;
5012
6028
  /** Selector specifying which fields to include in a partial response. */
@@ -5029,11 +6045,11 @@ declare namespace gapi.client {
5029
6045
  /** Get the VirtualMachineThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetVirtualMachineThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateVirtualMachineThreatDetectionSettings for this purpose. */
5030
6046
  getVirtualMachineThreatDetectionSettings(request?: {
5031
6047
  /** V1 error format. */
5032
- '$.xgafv'?: string;
6048
+ '$.xgafv'?: '1' | '2';
5033
6049
  /** OAuth access token. */
5034
6050
  access_token?: string;
5035
6051
  /** Data format for response. */
5036
- alt?: string;
6052
+ alt?: 'json' | 'media' | 'proto';
5037
6053
  /** JSONP */
5038
6054
  callback?: string;
5039
6055
  /** Selector specifying which fields to include in a partial response. */
@@ -5056,11 +6072,11 @@ declare namespace gapi.client {
5056
6072
  /** Get the WebSecurityScannerSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetWebSecurityScannerSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateWebSecurityScannerSettings for this purpose. */
5057
6073
  getWebSecurityScannerSettings(request?: {
5058
6074
  /** V1 error format. */
5059
- '$.xgafv'?: string;
6075
+ '$.xgafv'?: '1' | '2';
5060
6076
  /** OAuth access token. */
5061
6077
  access_token?: string;
5062
6078
  /** Data format for response. */
5063
- alt?: string;
6079
+ alt?: 'json' | 'media' | 'proto';
5064
6080
  /** JSONP */
5065
6081
  callback?: string;
5066
6082
  /** Selector specifying which fields to include in a partial response. */
@@ -5083,11 +6099,11 @@ declare namespace gapi.client {
5083
6099
  /** Update the ContainerThreatDetectionSettings resource. */
5084
6100
  updateContainerThreatDetectionSettings(request: {
5085
6101
  /** V1 error format. */
5086
- '$.xgafv'?: string;
6102
+ '$.xgafv'?: '1' | '2';
5087
6103
  /** OAuth access token. */
5088
6104
  access_token?: string;
5089
6105
  /** Data format for response. */
5090
- alt?: string;
6106
+ alt?: 'json' | 'media' | 'proto';
5091
6107
  /** JSONP */
5092
6108
  callback?: string;
5093
6109
  /** Selector specifying which fields to include in a partial response. */
@@ -5114,11 +6130,11 @@ declare namespace gapi.client {
5114
6130
  updateContainerThreatDetectionSettings(
5115
6131
  request: {
5116
6132
  /** V1 error format. */
5117
- '$.xgafv'?: string;
6133
+ '$.xgafv'?: '1' | '2';
5118
6134
  /** OAuth access token. */
5119
6135
  access_token?: string;
5120
6136
  /** Data format for response. */
5121
- alt?: string;
6137
+ alt?: 'json' | 'media' | 'proto';
5122
6138
  /** JSONP */
5123
6139
  callback?: string;
5124
6140
  /** Selector specifying which fields to include in a partial response. */
@@ -5145,11 +6161,11 @@ declare namespace gapi.client {
5145
6161
  /** Update the EventThreatDetectionSettings resource. */
5146
6162
  updateEventThreatDetectionSettings(request: {
5147
6163
  /** V1 error format. */
5148
- '$.xgafv'?: string;
6164
+ '$.xgafv'?: '1' | '2';
5149
6165
  /** OAuth access token. */
5150
6166
  access_token?: string;
5151
6167
  /** Data format for response. */
5152
- alt?: string;
6168
+ alt?: 'json' | 'media' | 'proto';
5153
6169
  /** JSONP */
5154
6170
  callback?: string;
5155
6171
  /** Selector specifying which fields to include in a partial response. */
@@ -5176,11 +6192,11 @@ declare namespace gapi.client {
5176
6192
  updateEventThreatDetectionSettings(
5177
6193
  request: {
5178
6194
  /** V1 error format. */
5179
- '$.xgafv'?: string;
6195
+ '$.xgafv'?: '1' | '2';
5180
6196
  /** OAuth access token. */
5181
6197
  access_token?: string;
5182
6198
  /** Data format for response. */
5183
- alt?: string;
6199
+ alt?: 'json' | 'media' | 'proto';
5184
6200
  /** JSONP */
5185
6201
  callback?: string;
5186
6202
  /** Selector specifying which fields to include in a partial response. */
@@ -5207,11 +6223,11 @@ declare namespace gapi.client {
5207
6223
  /** Update the RapidVulnerabilityDetectionSettings resource. */
5208
6224
  updateRapidVulnerabilityDetectionSettings(request: {
5209
6225
  /** V1 error format. */
5210
- '$.xgafv'?: string;
6226
+ '$.xgafv'?: '1' | '2';
5211
6227
  /** OAuth access token. */
5212
6228
  access_token?: string;
5213
6229
  /** Data format for response. */
5214
- alt?: string;
6230
+ alt?: 'json' | 'media' | 'proto';
5215
6231
  /** JSONP */
5216
6232
  callback?: string;
5217
6233
  /** Selector specifying which fields to include in a partial response. */
@@ -5238,11 +6254,11 @@ declare namespace gapi.client {
5238
6254
  updateRapidVulnerabilityDetectionSettings(
5239
6255
  request: {
5240
6256
  /** V1 error format. */
5241
- '$.xgafv'?: string;
6257
+ '$.xgafv'?: '1' | '2';
5242
6258
  /** OAuth access token. */
5243
6259
  access_token?: string;
5244
6260
  /** Data format for response. */
5245
- alt?: string;
6261
+ alt?: 'json' | 'media' | 'proto';
5246
6262
  /** JSONP */
5247
6263
  callback?: string;
5248
6264
  /** Selector specifying which fields to include in a partial response. */
@@ -5269,11 +6285,11 @@ declare namespace gapi.client {
5269
6285
  /** Update the SecurityHealthAnalyticsSettings resource. */
5270
6286
  updateSecurityHealthAnalyticsSettings(request: {
5271
6287
  /** V1 error format. */
5272
- '$.xgafv'?: string;
6288
+ '$.xgafv'?: '1' | '2';
5273
6289
  /** OAuth access token. */
5274
6290
  access_token?: string;
5275
6291
  /** Data format for response. */
5276
- alt?: string;
6292
+ alt?: 'json' | 'media' | 'proto';
5277
6293
  /** JSONP */
5278
6294
  callback?: string;
5279
6295
  /** Selector specifying which fields to include in a partial response. */
@@ -5300,11 +6316,11 @@ declare namespace gapi.client {
5300
6316
  updateSecurityHealthAnalyticsSettings(
5301
6317
  request: {
5302
6318
  /** V1 error format. */
5303
- '$.xgafv'?: string;
6319
+ '$.xgafv'?: '1' | '2';
5304
6320
  /** OAuth access token. */
5305
6321
  access_token?: string;
5306
6322
  /** Data format for response. */
5307
- alt?: string;
6323
+ alt?: 'json' | 'media' | 'proto';
5308
6324
  /** JSONP */
5309
6325
  callback?: string;
5310
6326
  /** Selector specifying which fields to include in a partial response. */
@@ -5331,11 +6347,11 @@ declare namespace gapi.client {
5331
6347
  /** Update the VirtualMachineThreatDetectionSettings resource. */
5332
6348
  updateVirtualMachineThreatDetectionSettings(request: {
5333
6349
  /** V1 error format. */
5334
- '$.xgafv'?: string;
6350
+ '$.xgafv'?: '1' | '2';
5335
6351
  /** OAuth access token. */
5336
6352
  access_token?: string;
5337
6353
  /** Data format for response. */
5338
- alt?: string;
6354
+ alt?: 'json' | 'media' | 'proto';
5339
6355
  /** JSONP */
5340
6356
  callback?: string;
5341
6357
  /** Selector specifying which fields to include in a partial response. */
@@ -5362,11 +6378,11 @@ declare namespace gapi.client {
5362
6378
  updateVirtualMachineThreatDetectionSettings(
5363
6379
  request: {
5364
6380
  /** V1 error format. */
5365
- '$.xgafv'?: string;
6381
+ '$.xgafv'?: '1' | '2';
5366
6382
  /** OAuth access token. */
5367
6383
  access_token?: string;
5368
6384
  /** Data format for response. */
5369
- alt?: string;
6385
+ alt?: 'json' | 'media' | 'proto';
5370
6386
  /** JSONP */
5371
6387
  callback?: string;
5372
6388
  /** Selector specifying which fields to include in a partial response. */
@@ -5393,11 +6409,11 @@ declare namespace gapi.client {
5393
6409
  /** Update the WebSecurityScannerSettings resource. */
5394
6410
  updateWebSecurityScannerSettings(request: {
5395
6411
  /** V1 error format. */
5396
- '$.xgafv'?: string;
6412
+ '$.xgafv'?: '1' | '2';
5397
6413
  /** OAuth access token. */
5398
6414
  access_token?: string;
5399
6415
  /** Data format for response. */
5400
- alt?: string;
6416
+ alt?: 'json' | 'media' | 'proto';
5401
6417
  /** JSONP */
5402
6418
  callback?: string;
5403
6419
  /** Selector specifying which fields to include in a partial response. */
@@ -5424,11 +6440,11 @@ declare namespace gapi.client {
5424
6440
  updateWebSecurityScannerSettings(
5425
6441
  request: {
5426
6442
  /** V1 error format. */
5427
- '$.xgafv'?: string;
6443
+ '$.xgafv'?: '1' | '2';
5428
6444
  /** OAuth access token. */
5429
6445
  access_token?: string;
5430
6446
  /** Data format for response. */
5431
- alt?: string;
6447
+ alt?: 'json' | 'media' | 'proto';
5432
6448
  /** JSONP */
5433
6449
  callback?: string;
5434
6450
  /** Selector specifying which fields to include in a partial response. */