@maxim_mazurok/gapi.client.containeranalysis-v1 0.0.20260313 → 0.1.20260313

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 +453 -176
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -30,7 +30,7 @@ declare namespace gapi.client {
30
30
  namespace containeranalysis {
31
31
  interface AliasContext {
32
32
  /** The alias kind. */
33
- kind?: string;
33
+ kind?: 'KIND_UNSPECIFIED' | 'FIXED' | 'MOVABLE' | 'OTHER';
34
34
  /** The alias name. */
35
35
  name?: string;
36
36
  }
@@ -61,7 +61,12 @@ declare namespace gapi.client {
61
61
  /** A one sentence description of this Vex. */
62
62
  shortDescription?: string;
63
63
  /** Provides the state of this Vulnerability assessment. */
64
- state?: string;
64
+ state?:
65
+ | 'STATE_UNSPECIFIED'
66
+ | 'AFFECTED'
67
+ | 'NOT_AFFECTED'
68
+ | 'FIXED'
69
+ | 'UNDER_INVESTIGATION';
65
70
  /** The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc. */
66
71
  vulnerabilityId?: string;
67
72
  }
@@ -200,7 +205,18 @@ declare namespace gapi.client {
200
205
  /** A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. */
201
206
  secretEnv?: string[];
202
207
  /** Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses. */
203
- status?: string;
208
+ status?:
209
+ | 'STATUS_UNKNOWN'
210
+ | 'PENDING'
211
+ | 'QUEUING'
212
+ | 'QUEUED'
213
+ | 'WORKING'
214
+ | 'SUCCESS'
215
+ | 'FAILURE'
216
+ | 'INTERNAL_ERROR'
217
+ | 'TIMEOUT'
218
+ | 'CANCELLED'
219
+ | 'EXPIRED';
204
220
  /** Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out. */
205
221
  timeout?: string;
206
222
  /** Output only. Stores timing information for executing this build step. */
@@ -222,7 +238,13 @@ declare namespace gapi.client {
222
238
  }
223
239
  interface CisBenchmark {
224
240
  profileLevel?: number;
225
- severity?: string;
241
+ severity?:
242
+ | 'SEVERITY_UNSPECIFIED'
243
+ | 'MINIMAL'
244
+ | 'LOW'
245
+ | 'MEDIUM'
246
+ | 'HIGH'
247
+ | 'CRITICAL';
226
248
  }
227
249
  interface CloudRepoSourceContext {
228
250
  /** An alias, which may be a branch or tag. */
@@ -297,7 +319,7 @@ declare namespace gapi.client {
297
319
  /** Optional. An optional comment for this manual approval result. */
298
320
  comment?: string;
299
321
  /** Required. The decision of this manual approval. */
300
- decision?: string;
322
+ decision?: 'DECISION_UNSPECIFIED' | 'APPROVED' | 'REJECTED';
301
323
  /** Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build. */
302
324
  url?: string;
303
325
  }
@@ -421,7 +443,17 @@ declare namespace gapi.client {
421
443
  /** Output only. Time at which execution of the build was started. */
422
444
  startTime?: string;
423
445
  /** Output only. Status of the build. */
424
- status?: string;
446
+ status?:
447
+ | 'STATUS_UNKNOWN'
448
+ | 'PENDING'
449
+ | 'QUEUED'
450
+ | 'WORKING'
451
+ | 'SUCCESS'
452
+ | 'FAILURE'
453
+ | 'INTERNAL_ERROR'
454
+ | 'TIMEOUT'
455
+ | 'CANCELLED'
456
+ | 'EXPIRED';
425
457
  /** Output only. Customer-readable message about the current status. */
426
458
  statusDetail?: string;
427
459
  /** Required. The operations to be performed on the workspace. */
@@ -445,19 +477,34 @@ declare namespace gapi.client {
445
477
  /** Output only. Result of manual approval for this Build. */
446
478
  result?: ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult;
447
479
  /** Output only. The state of this build's approval. */
448
- state?: string;
480
+ state?:
481
+ | 'STATE_UNSPECIFIED'
482
+ | 'PENDING'
483
+ | 'APPROVED'
484
+ | 'REJECTED'
485
+ | 'CANCELLED';
449
486
  }
450
487
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo {
451
488
  /** Explains the failure issue in more detail using hard-coded text. */
452
489
  detail?: string;
453
490
  /** The name of the failure. */
454
- type?: string;
491
+ type?:
492
+ | 'FAILURE_TYPE_UNSPECIFIED'
493
+ | 'PUSH_FAILED'
494
+ | 'PUSH_IMAGE_NOT_FOUND'
495
+ | 'PUSH_NOT_AUTHORIZED'
496
+ | 'LOGGING_FAILURE'
497
+ | 'USER_BUILD_STEP'
498
+ | 'FETCH_SOURCE_FAILED';
455
499
  }
456
500
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions {
457
501
  /** Option to include built-in and custom substitutions as env variables for all build steps. */
458
502
  automapSubstitutions?: boolean;
459
503
  /** Optional. Option to specify how default logs buckets are setup. */
460
- defaultLogsBucketBehavior?: string;
504
+ defaultLogsBucketBehavior?:
505
+ | 'DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED'
506
+ | 'REGIONAL_USER_OWNED_BUCKET'
507
+ | 'LEGACY_BUCKET';
461
508
  /** Requested disk size for the VM that runs the build. Note that this is *NOT* "disk free"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 4000GB; builds that request more than the maximum are rejected with an error. */
462
509
  diskSizeGb?: string;
463
510
  /** Option to specify whether or not to apply bash style string operations to the substitutions. NOTE: this is always enabled for triggered builds and cannot be overridden in the build configuration file. */
@@ -467,23 +514,41 @@ declare namespace gapi.client {
467
514
  /** A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". */
468
515
  env?: string[];
469
516
  /** Option to specify the logging mode, which determines if and where build logs are stored. */
470
- logging?: string;
517
+ logging?:
518
+ | 'LOGGING_UNSPECIFIED'
519
+ | 'LEGACY'
520
+ | 'GCS_ONLY'
521
+ | 'STACKDRIVER_ONLY'
522
+ | 'CLOUD_LOGGING_ONLY'
523
+ | 'NONE';
471
524
  /** Option to define build log streaming behavior to Cloud Storage. */
472
- logStreamingOption?: string;
525
+ logStreamingOption?: 'STREAM_DEFAULT' | 'STREAM_ON' | 'STREAM_OFF';
473
526
  /** Compute Engine machine type on which to run the build. */
474
- machineType?: string;
527
+ machineType?:
528
+ | 'UNSPECIFIED'
529
+ | 'N1_HIGHCPU_8'
530
+ | 'N1_HIGHCPU_32'
531
+ | 'E2_HIGHCPU_8'
532
+ | 'E2_HIGHCPU_32'
533
+ | 'E2_MEDIUM';
475
534
  /** Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. */
476
535
  pool?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption;
477
536
  /** Optional. Option to specify the Pub/Sub topic to receive build status updates. */
478
537
  pubsubTopic?: string;
479
538
  /** Requested verifiability options. */
480
- requestedVerifyOption?: string;
539
+ requestedVerifyOption?: 'NOT_VERIFIED' | 'VERIFIED';
481
540
  /** A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. */
482
541
  secretEnv?: string[];
483
542
  /** Requested hash for SourceProvenance. */
484
- sourceProvenanceHash?: string[];
543
+ sourceProvenanceHash?:
544
+ | 'NONE'
545
+ | 'SHA256'
546
+ | 'MD5'
547
+ | 'GO_MODULE_H1'
548
+ | 'SHA512'
549
+ | 'DIRSUM_SHA256'[];
485
550
  /** Option to specify behavior when there is an error in the substitution checks. NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file. */
486
- substitutionOption?: string;
551
+ substitutionOption?: 'MUST_MATCH' | 'ALLOW_LOOSE';
487
552
  /** Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration. */
488
553
  volumes?: ContaineranalysisGoogleDevtoolsCloudbuildV1Volume[];
489
554
  /** This field deprecated; please use `pool.name` instead. */
@@ -521,7 +586,17 @@ declare namespace gapi.client {
521
586
  /** A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. */
522
587
  secretEnv?: string[];
523
588
  /** Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses. */
524
- status?: string;
589
+ status?:
590
+ | 'STATUS_UNKNOWN'
591
+ | 'PENDING'
592
+ | 'QUEUED'
593
+ | 'WORKING'
594
+ | 'SUCCESS'
595
+ | 'FAILURE'
596
+ | 'INTERNAL_ERROR'
597
+ | 'TIMEOUT'
598
+ | 'CANCELLED'
599
+ | 'EXPIRED';
525
600
  /** Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out. */
526
601
  timeout?: string;
527
602
  /** Output only. Stores timing information for executing this build step. */
@@ -533,7 +608,7 @@ declare namespace gapi.client {
533
608
  }
534
609
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning {
535
610
  /** The priority for this warning. */
536
- priority?: string;
611
+ priority?: 'PRIORITY_UNSPECIFIED' | 'INFO' | 'WARNING' | 'ALERT';
537
612
  /** Explanation of the warning generated. */
538
613
  text?: string;
539
614
  }
@@ -545,7 +620,10 @@ declare namespace gapi.client {
545
620
  /** Name used to push the container image to Google Container Registry, as presented to `docker push`. */
546
621
  name?: string;
547
622
  /** Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will have an unspecified value. */
548
- ociMediaType?: string;
623
+ ociMediaType?:
624
+ | 'OCI_MEDIA_TYPE_UNSPECIFIED'
625
+ | 'IMAGE_MANIFEST'
626
+ | 'IMAGE_INDEX';
549
627
  /** Output only. Stores timing information for pushing the specified image. */
550
628
  pushTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
551
629
  }
@@ -611,7 +689,13 @@ declare namespace gapi.client {
611
689
  }
612
690
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1Hash {
613
691
  /** The type of hash that was performed. */
614
- type?: string;
692
+ type?:
693
+ | 'NONE'
694
+ | 'SHA256'
695
+ | 'MD5'
696
+ | 'GO_MODULE_H1'
697
+ | 'SHA512'
698
+ | 'DIRSUM_SHA256';
615
699
  /** The hash value. */
616
700
  value?: string;
617
701
  }
@@ -717,7 +801,7 @@ declare namespace gapi.client {
717
801
  /** Required. Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. */
718
802
  object?: string;
719
803
  /** Optional. Option to specify the tool to fetch the source file for the build. */
720
- sourceFetcher?: string;
804
+ sourceFetcher?: 'SOURCE_FETCHER_UNSPECIFIED' | 'GSUTIL' | 'GCS_FETCHER';
721
805
  }
722
806
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest {
723
807
  /** Required. Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
@@ -780,35 +864,100 @@ declare namespace gapi.client {
780
864
  path?: string;
781
865
  }
782
866
  interface CVSS {
783
- attackComplexity?: string;
867
+ attackComplexity?:
868
+ | 'ATTACK_COMPLEXITY_UNSPECIFIED'
869
+ | 'ATTACK_COMPLEXITY_LOW'
870
+ | 'ATTACK_COMPLEXITY_HIGH'
871
+ | 'ATTACK_COMPLEXITY_MEDIUM';
784
872
  /** Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. */
785
- attackVector?: string;
786
- authentication?: string;
787
- availabilityImpact?: string;
873
+ attackVector?:
874
+ | 'ATTACK_VECTOR_UNSPECIFIED'
875
+ | 'ATTACK_VECTOR_NETWORK'
876
+ | 'ATTACK_VECTOR_ADJACENT'
877
+ | 'ATTACK_VECTOR_LOCAL'
878
+ | 'ATTACK_VECTOR_PHYSICAL';
879
+ authentication?:
880
+ | 'AUTHENTICATION_UNSPECIFIED'
881
+ | 'AUTHENTICATION_MULTIPLE'
882
+ | 'AUTHENTICATION_SINGLE'
883
+ | 'AUTHENTICATION_NONE';
884
+ availabilityImpact?:
885
+ | 'IMPACT_UNSPECIFIED'
886
+ | 'IMPACT_HIGH'
887
+ | 'IMPACT_LOW'
888
+ | 'IMPACT_NONE'
889
+ | 'IMPACT_PARTIAL'
890
+ | 'IMPACT_COMPLETE';
788
891
  /** The base score is a function of the base metric scores. */
789
892
  baseScore?: number;
790
- confidentialityImpact?: string;
893
+ confidentialityImpact?:
894
+ | 'IMPACT_UNSPECIFIED'
895
+ | 'IMPACT_HIGH'
896
+ | 'IMPACT_LOW'
897
+ | 'IMPACT_NONE'
898
+ | 'IMPACT_PARTIAL'
899
+ | 'IMPACT_COMPLETE';
791
900
  exploitabilityScore?: number;
792
901
  impactScore?: number;
793
- integrityImpact?: string;
794
- privilegesRequired?: string;
795
- scope?: string;
796
- userInteraction?: string;
902
+ integrityImpact?:
903
+ | 'IMPACT_UNSPECIFIED'
904
+ | 'IMPACT_HIGH'
905
+ | 'IMPACT_LOW'
906
+ | 'IMPACT_NONE'
907
+ | 'IMPACT_PARTIAL'
908
+ | 'IMPACT_COMPLETE';
909
+ privilegesRequired?:
910
+ | 'PRIVILEGES_REQUIRED_UNSPECIFIED'
911
+ | 'PRIVILEGES_REQUIRED_NONE'
912
+ | 'PRIVILEGES_REQUIRED_LOW'
913
+ | 'PRIVILEGES_REQUIRED_HIGH';
914
+ scope?: 'SCOPE_UNSPECIFIED' | 'SCOPE_UNCHANGED' | 'SCOPE_CHANGED';
915
+ userInteraction?:
916
+ | 'USER_INTERACTION_UNSPECIFIED'
917
+ | 'USER_INTERACTION_NONE'
918
+ | 'USER_INTERACTION_REQUIRED';
797
919
  }
798
920
  interface CVSSv3 {
799
- attackComplexity?: string;
921
+ attackComplexity?:
922
+ | 'ATTACK_COMPLEXITY_UNSPECIFIED'
923
+ | 'ATTACK_COMPLEXITY_LOW'
924
+ | 'ATTACK_COMPLEXITY_HIGH';
800
925
  /** Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. */
801
- attackVector?: string;
802
- availabilityImpact?: string;
926
+ attackVector?:
927
+ | 'ATTACK_VECTOR_UNSPECIFIED'
928
+ | 'ATTACK_VECTOR_NETWORK'
929
+ | 'ATTACK_VECTOR_ADJACENT'
930
+ | 'ATTACK_VECTOR_LOCAL'
931
+ | 'ATTACK_VECTOR_PHYSICAL';
932
+ availabilityImpact?:
933
+ | 'IMPACT_UNSPECIFIED'
934
+ | 'IMPACT_HIGH'
935
+ | 'IMPACT_LOW'
936
+ | 'IMPACT_NONE';
803
937
  /** The base score is a function of the base metric scores. */
804
938
  baseScore?: number;
805
- confidentialityImpact?: string;
939
+ confidentialityImpact?:
940
+ | 'IMPACT_UNSPECIFIED'
941
+ | 'IMPACT_HIGH'
942
+ | 'IMPACT_LOW'
943
+ | 'IMPACT_NONE';
806
944
  exploitabilityScore?: number;
807
945
  impactScore?: number;
808
- integrityImpact?: string;
809
- privilegesRequired?: string;
810
- scope?: string;
811
- userInteraction?: string;
946
+ integrityImpact?:
947
+ | 'IMPACT_UNSPECIFIED'
948
+ | 'IMPACT_HIGH'
949
+ | 'IMPACT_LOW'
950
+ | 'IMPACT_NONE';
951
+ privilegesRequired?:
952
+ | 'PRIVILEGES_REQUIRED_UNSPECIFIED'
953
+ | 'PRIVILEGES_REQUIRED_NONE'
954
+ | 'PRIVILEGES_REQUIRED_LOW'
955
+ | 'PRIVILEGES_REQUIRED_HIGH';
956
+ scope?: 'SCOPE_UNSPECIFIED' | 'SCOPE_UNCHANGED' | 'SCOPE_CHANGED';
957
+ userInteraction?:
958
+ | 'USER_INTERACTION_UNSPECIFIED'
959
+ | 'USER_INTERACTION_NONE'
960
+ | 'USER_INTERACTION_REQUIRED';
812
961
  }
813
962
  interface DeploymentNote {
814
963
  /** Required. Resource URI for the artifact being deployed. */
@@ -822,7 +971,7 @@ declare namespace gapi.client {
822
971
  /** Required. Beginning of the lifetime of this deployment. */
823
972
  deployTime?: string;
824
973
  /** Platform hosting this deployment. */
825
- platform?: string;
974
+ platform?: 'PLATFORM_UNSPECIFIED' | 'GKE' | 'FLEX' | 'CUSTOM';
826
975
  /** Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name. */
827
976
  resourceUri?: string[];
828
977
  /** End of the lifetime of this deployment. */
@@ -868,20 +1017,44 @@ declare namespace gapi.client {
868
1017
  }
869
1018
  interface DiscoveryNote {
870
1019
  /** Required. Immutable. The kind of analysis that is handled by this discovery. */
871
- analysisKind?: string;
1020
+ analysisKind?:
1021
+ | 'NOTE_KIND_UNSPECIFIED'
1022
+ | 'VULNERABILITY'
1023
+ | 'BUILD'
1024
+ | 'IMAGE'
1025
+ | 'PACKAGE'
1026
+ | 'DEPLOYMENT'
1027
+ | 'DISCOVERY'
1028
+ | 'ATTESTATION'
1029
+ | 'UPGRADE'
1030
+ | 'COMPLIANCE'
1031
+ | 'DSSE_ATTESTATION'
1032
+ | 'VULNERABILITY_ASSESSMENT'
1033
+ | 'SBOM_REFERENCE'
1034
+ | 'SECRET';
872
1035
  }
873
1036
  interface DiscoveryOccurrence {
874
1037
  analysisCompleted?: AnalysisCompleted;
875
1038
  /** Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors. */
876
1039
  analysisError?: Status[];
877
1040
  /** The status of discovery for the resource. */
878
- analysisStatus?: string;
1041
+ analysisStatus?:
1042
+ | 'ANALYSIS_STATUS_UNSPECIFIED'
1043
+ | 'PENDING'
1044
+ | 'SCANNING'
1045
+ | 'FINISHED_SUCCESS'
1046
+ | 'COMPLETE'
1047
+ | 'FINISHED_FAILED'
1048
+ | 'FINISHED_UNSUPPORTED';
879
1049
  /** When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage is output only and populated by the API. */
880
1050
  analysisStatusError?: Status;
881
1051
  /** Output only. The time occurrences related to this discovery occurrence were archived. */
882
1052
  archiveTime?: string;
883
1053
  /** Whether the resource is continuously analyzed. */
884
- continuousAnalysis?: string;
1054
+ continuousAnalysis?:
1055
+ | 'CONTINUOUS_ANALYSIS_UNSPECIFIED'
1056
+ | 'ACTIVE'
1057
+ | 'INACTIVE';
885
1058
  /** The CPE of the resource being scanned. */
886
1059
  cpe?: string;
887
1060
  /** Files that make up the resource described by the occurrence. */
@@ -895,7 +1068,7 @@ declare namespace gapi.client {
895
1068
  }
896
1069
  interface Distribution {
897
1070
  /** The CPU architecture for which packages in this distribution channel were built. */
898
- architecture?: string;
1071
+ architecture?: 'ARCHITECTURE_UNSPECIFIED' | 'X86' | 'X64';
899
1072
  /** Required. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. */
900
1073
  cpeUri?: string;
901
1074
  /** The distribution channel-specific description of this package. */
@@ -976,7 +1149,13 @@ declare namespace gapi.client {
976
1149
  /** The affected resource. */
977
1150
  resourceUri?: string;
978
1151
  /** The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities. */
979
- severity?: string;
1152
+ severity?:
1153
+ | 'SEVERITY_UNSPECIFIED'
1154
+ | 'MINIMAL'
1155
+ | 'LOW'
1156
+ | 'MEDIUM'
1157
+ | 'HIGH'
1158
+ | 'CRITICAL';
980
1159
  /** The total number of vulnerabilities associated with this resource. */
981
1160
  totalCount?: string;
982
1161
  }
@@ -1109,7 +1288,13 @@ declare namespace gapi.client {
1109
1288
  /** Additional details on why this justification was chosen. */
1110
1289
  details?: string;
1111
1290
  /** The justification type for this vulnerability. */
1112
- justificationType?: string;
1291
+ justificationType?:
1292
+ | 'JUSTIFICATION_TYPE_UNSPECIFIED'
1293
+ | 'COMPONENT_NOT_PRESENT'
1294
+ | 'VULNERABLE_CODE_NOT_PRESENT'
1295
+ | 'VULNERABLE_CODE_NOT_IN_EXECUTE_PATH'
1296
+ | 'VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY'
1297
+ | 'INLINE_MITIGATIONS_ALREADY_EXIST';
1113
1298
  }
1114
1299
  interface Jwt {
1115
1300
  /** The compact encoding of a JWS, which is always three base64 encoded strings joined by periods. For details, see: https://tools.ietf.org/html/rfc7515.html#section-3.1 */
@@ -1219,7 +1404,21 @@ declare namespace gapi.client {
1219
1404
  /** A note describing a base image. */
1220
1405
  image?: ImageNote;
1221
1406
  /** Output only. The type of analysis. This field can be used as a filter in list requests. */
1222
- kind?: string;
1407
+ kind?:
1408
+ | 'NOTE_KIND_UNSPECIFIED'
1409
+ | 'VULNERABILITY'
1410
+ | 'BUILD'
1411
+ | 'IMAGE'
1412
+ | 'PACKAGE'
1413
+ | 'DEPLOYMENT'
1414
+ | 'DISCOVERY'
1415
+ | 'ATTESTATION'
1416
+ | 'UPGRADE'
1417
+ | 'COMPLIANCE'
1418
+ | 'DSSE_ATTESTATION'
1419
+ | 'VULNERABILITY_ASSESSMENT'
1420
+ | 'SBOM_REFERENCE'
1421
+ | 'SECRET';
1223
1422
  /** A detailed description of this note. */
1224
1423
  longDescription?: string;
1225
1424
  /** Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
@@ -1265,7 +1464,21 @@ declare namespace gapi.client {
1265
1464
  /** Describes how this resource derives from the basis in the associated note. */
1266
1465
  image?: ImageOccurrence;
1267
1466
  /** Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests. */
1268
- kind?: string;
1467
+ kind?:
1468
+ | 'NOTE_KIND_UNSPECIFIED'
1469
+ | 'VULNERABILITY'
1470
+ | 'BUILD'
1471
+ | 'IMAGE'
1472
+ | 'PACKAGE'
1473
+ | 'DEPLOYMENT'
1474
+ | 'DISCOVERY'
1475
+ | 'ATTESTATION'
1476
+ | 'UPGRADE'
1477
+ | 'COMPLIANCE'
1478
+ | 'DSSE_ATTESTATION'
1479
+ | 'VULNERABILITY_ASSESSMENT'
1480
+ | 'SBOM_REFERENCE'
1481
+ | 'SECRET';
1269
1482
  /** Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
1270
1483
  name?: string;
1271
1484
  /** Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests. */
@@ -1295,7 +1508,13 @@ declare namespace gapi.client {
1295
1508
  /** Required. The version of the package that is installed on the resource affected by this vulnerability. */
1296
1509
  affectedVersion?: Version;
1297
1510
  /** Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when it is not available. */
1298
- effectiveSeverity?: string;
1511
+ effectiveSeverity?:
1512
+ | 'SEVERITY_UNSPECIFIED'
1513
+ | 'MINIMAL'
1514
+ | 'LOW'
1515
+ | 'MEDIUM'
1516
+ | 'HIGH'
1517
+ | 'CRITICAL';
1299
1518
  /** The location at which this package was found. */
1300
1519
  fileLocation?: GrafeasV1FileLocation[];
1301
1520
  /** Output only. Whether a fix is available for this package. */
@@ -1311,7 +1530,7 @@ declare namespace gapi.client {
1311
1530
  }
1312
1531
  interface PackageNote {
1313
1532
  /** The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. */
1314
- architecture?: string;
1533
+ architecture?: 'ARCHITECTURE_UNSPECIFIED' | 'X86' | 'X64';
1315
1534
  /** The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages. */
1316
1535
  cpeUri?: string;
1317
1536
  /** The description of this package. */
@@ -1335,7 +1554,7 @@ declare namespace gapi.client {
1335
1554
  }
1336
1555
  interface PackageOccurrence {
1337
1556
  /** Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. */
1338
- architecture?: string;
1557
+ architecture?: 'ARCHITECTURE_UNSPECIFIED' | 'X86' | 'X64';
1339
1558
  /** Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages. */
1340
1559
  cpeUri?: string;
1341
1560
  /** Licenses that have been declared by the authors of the package. */
@@ -1406,7 +1625,13 @@ declare namespace gapi.client {
1406
1625
  /** Contains a comprehensive human-readable discussion of the remediation. */
1407
1626
  details?: string;
1408
1627
  /** The type of remediation that can be applied. */
1409
- remediationType?: string;
1628
+ remediationType?:
1629
+ | 'REMEDIATION_TYPE_UNSPECIFIED'
1630
+ | 'MITIGATION'
1631
+ | 'NO_FIX_PLANNED'
1632
+ | 'NONE_AVAILABLE'
1633
+ | 'VENDOR_FIX'
1634
+ | 'WORKAROUND';
1410
1635
  /** Contains the URL where to obtain the remediation. */
1411
1636
  remediationUri?: RelatedUrl;
1412
1637
  }
@@ -1474,7 +1699,7 @@ declare namespace gapi.client {
1474
1699
  /** If there was an error generating an SBOM, this will indicate what that error was. */
1475
1700
  error?: string;
1476
1701
  /** The progress of the SBOM generation. */
1477
- sbomState?: string;
1702
+ sbomState?: 'SBOM_STATE_UNSPECIFIED' | 'PENDING' | 'COMPLETE';
1478
1703
  }
1479
1704
  interface SecretLocation {
1480
1705
  /** The secret is found from a file. */
@@ -1483,7 +1708,30 @@ declare namespace gapi.client {
1483
1708
  interface SecretNote {}
1484
1709
  interface SecretOccurrence {
1485
1710
  /** Required. Type of secret. */
1486
- kind?: string;
1711
+ kind?:
1712
+ | 'SECRET_KIND_UNSPECIFIED'
1713
+ | 'SECRET_KIND_UNKNOWN'
1714
+ | 'SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY'
1715
+ | 'SECRET_KIND_GCP_API_KEY'
1716
+ | 'SECRET_KIND_GCP_OAUTH2_CLIENT_CREDENTIALS'
1717
+ | 'SECRET_KIND_GCP_OAUTH2_ACCESS_TOKEN'
1718
+ | 'SECRET_KIND_ANTHROPIC_ADMIN_API_KEY'
1719
+ | 'SECRET_KIND_ANTHROPIC_API_KEY'
1720
+ | 'SECRET_KIND_AZURE_ACCESS_TOKEN'
1721
+ | 'SECRET_KIND_AZURE_IDENTITY_TOKEN'
1722
+ | 'SECRET_KIND_DOCKER_HUB_PERSONAL_ACCESS_TOKEN'
1723
+ | 'SECRET_KIND_GITHUB_APP_REFRESH_TOKEN'
1724
+ | 'SECRET_KIND_GITHUB_APP_SERVER_TO_SERVER_TOKEN'
1725
+ | 'SECRET_KIND_GITHUB_APP_USER_TO_SERVER_TOKEN'
1726
+ | 'SECRET_KIND_GITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN'
1727
+ | 'SECRET_KIND_GITHUB_FINE_GRAINED_PERSONAL_ACCESS_TOKEN'
1728
+ | 'SECRET_KIND_GITHUB_OAUTH_TOKEN'
1729
+ | 'SECRET_KIND_HUGGINGFACE_API_KEY'
1730
+ | 'SECRET_KIND_OPENAI_API_KEY'
1731
+ | 'SECRET_KIND_PERPLEXITY_API_KEY'
1732
+ | 'SECRET_KIND_STRIPE_SECRET_KEY'
1733
+ | 'SECRET_KIND_STRIPE_RESTRICTED_KEY'
1734
+ | 'SECRET_KIND_STRIPE_WEBHOOK_SECRET';
1487
1735
  /** Optional. Locations where the secret is detected. */
1488
1736
  locations?: SecretLocation[];
1489
1737
  /** Optional. Status of the secret. */
@@ -1493,7 +1741,7 @@ declare namespace gapi.client {
1493
1741
  /** Optional. Optional message about the status code. */
1494
1742
  message?: string;
1495
1743
  /** Optional. The status of the secret. */
1496
- status?: string;
1744
+ status?: 'STATUS_UNSPECIFIED' | 'UNKNOWN' | 'VALID' | 'INVALID';
1497
1745
  /** Optional. The time the secret status was last updated. */
1498
1746
  updateTime?: string;
1499
1747
  }
@@ -1653,7 +1901,7 @@ declare namespace gapi.client {
1653
1901
  /** Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range. */
1654
1902
  inclusive?: boolean;
1655
1903
  /** Required. Distinguishes between sentinel MIN/MAX versions and normal versions. */
1656
- kind?: string;
1904
+ kind?: 'VERSION_KIND_UNSPECIFIED' | 'NORMAL' | 'MINIMUM' | 'MAXIMUM';
1657
1905
  /** Required only when version kind is NORMAL. The main part of the version name. */
1658
1906
  name?: string;
1659
1907
  /** The iteration of the package build from the above version. */
@@ -1673,7 +1921,12 @@ declare namespace gapi.client {
1673
1921
  /** Specifies details on how to handle (and presumably, fix) a vulnerability. */
1674
1922
  remediations?: Remediation[];
1675
1923
  /** Provides the state of this Vulnerability assessment. */
1676
- state?: string;
1924
+ state?:
1925
+ | 'STATE_UNSPECIFIED'
1926
+ | 'AFFECTED'
1927
+ | 'NOT_AFFECTED'
1928
+ | 'FIXED'
1929
+ | 'UNDER_INVESTIGATION';
1677
1930
  /** The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc. */
1678
1931
  vulnerabilityId?: string;
1679
1932
  }
@@ -1709,11 +1962,20 @@ declare namespace gapi.client {
1709
1962
  /** The full description of the CVSSv3 for this vulnerability. */
1710
1963
  cvssV3?: CVSSv3;
1711
1964
  /** CVSS version used to populate cvss_score and severity. */
1712
- cvssVersion?: string;
1965
+ cvssVersion?:
1966
+ | 'CVSS_VERSION_UNSPECIFIED'
1967
+ | 'CVSS_VERSION_2'
1968
+ | 'CVSS_VERSION_3';
1713
1969
  /** Details of all known distros and packages affected by this vulnerability. */
1714
1970
  details?: Detail[];
1715
1971
  /** The note provider assigned severity of this vulnerability. */
1716
- severity?: string;
1972
+ severity?:
1973
+ | 'SEVERITY_UNSPECIFIED'
1974
+ | 'MINIMAL'
1975
+ | 'LOW'
1976
+ | 'MEDIUM'
1977
+ | 'HIGH'
1978
+ | 'CRITICAL';
1717
1979
  /** The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker. */
1718
1980
  sourceUpdateTime?: string;
1719
1981
  /** Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version. */
@@ -1727,9 +1989,18 @@ declare namespace gapi.client {
1727
1989
  /** The cvss v3 score for the vulnerability. */
1728
1990
  cvssv3?: CVSS;
1729
1991
  /** Output only. CVSS version used to populate cvss_score and severity. */
1730
- cvssVersion?: string;
1992
+ cvssVersion?:
1993
+ | 'CVSS_VERSION_UNSPECIFIED'
1994
+ | 'CVSS_VERSION_2'
1995
+ | 'CVSS_VERSION_3';
1731
1996
  /** The distro assigned severity for this vulnerability when it is available, otherwise this is the note provider assigned severity. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues. */
1732
- effectiveSeverity?: string;
1997
+ effectiveSeverity?:
1998
+ | 'SEVERITY_UNSPECIFIED'
1999
+ | 'MINIMAL'
2000
+ | 'LOW'
2001
+ | 'MEDIUM'
2002
+ | 'HIGH'
2003
+ | 'CRITICAL';
1733
2004
  /** Occurrence-specific extra details about the vulnerability. */
1734
2005
  extraDetails?: string;
1735
2006
  /** Output only. Whether at least one of the affected packages has a fix available. */
@@ -1743,7 +2014,13 @@ declare namespace gapi.client {
1743
2014
  /** Risk information about the vulnerability, such as CISA, EPSS, etc. */
1744
2015
  risk?: Risk;
1745
2016
  /** Output only. The note provider assigned severity of this vulnerability. */
1746
- severity?: string;
2017
+ severity?:
2018
+ | 'SEVERITY_UNSPECIFIED'
2019
+ | 'MINIMAL'
2020
+ | 'LOW'
2021
+ | 'MEDIUM'
2022
+ | 'HIGH'
2023
+ | 'CRITICAL';
1747
2024
  /** Output only. A one sentence description of this vulnerability. */
1748
2025
  shortDescription?: string;
1749
2026
  /** The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.). */
@@ -1786,11 +2063,11 @@ declare namespace gapi.client {
1786
2063
  /** Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note. */
1787
2064
  list(request?: {
1788
2065
  /** V1 error format. */
1789
- '$.xgafv'?: string;
2066
+ '$.xgafv'?: '1' | '2';
1790
2067
  /** OAuth access token. */
1791
2068
  access_token?: string;
1792
2069
  /** Data format for response. */
1793
- alt?: string;
2070
+ alt?: 'json' | 'media' | 'proto';
1794
2071
  /** JSONP */
1795
2072
  callback?: string;
1796
2073
  /** Selector specifying which fields to include in a partial response. */
@@ -1821,11 +2098,11 @@ declare namespace gapi.client {
1821
2098
  /** Creates new notes in batch. */
1822
2099
  batchCreate(request: {
1823
2100
  /** V1 error format. */
1824
- '$.xgafv'?: string;
2101
+ '$.xgafv'?: '1' | '2';
1825
2102
  /** OAuth access token. */
1826
2103
  access_token?: string;
1827
2104
  /** Data format for response. */
1828
- alt?: string;
2105
+ alt?: 'json' | 'media' | 'proto';
1829
2106
  /** JSONP */
1830
2107
  callback?: string;
1831
2108
  /** Selector specifying which fields to include in a partial response. */
@@ -1850,11 +2127,11 @@ declare namespace gapi.client {
1850
2127
  batchCreate(
1851
2128
  request: {
1852
2129
  /** V1 error format. */
1853
- '$.xgafv'?: string;
2130
+ '$.xgafv'?: '1' | '2';
1854
2131
  /** OAuth access token. */
1855
2132
  access_token?: string;
1856
2133
  /** Data format for response. */
1857
- alt?: string;
2134
+ alt?: 'json' | 'media' | 'proto';
1858
2135
  /** JSONP */
1859
2136
  callback?: string;
1860
2137
  /** Selector specifying which fields to include in a partial response. */
@@ -1879,11 +2156,11 @@ declare namespace gapi.client {
1879
2156
  /** Creates a new note. */
1880
2157
  create(request: {
1881
2158
  /** V1 error format. */
1882
- '$.xgafv'?: string;
2159
+ '$.xgafv'?: '1' | '2';
1883
2160
  /** OAuth access token. */
1884
2161
  access_token?: string;
1885
2162
  /** Data format for response. */
1886
- alt?: string;
2163
+ alt?: 'json' | 'media' | 'proto';
1887
2164
  /** JSONP */
1888
2165
  callback?: string;
1889
2166
  /** Selector specifying which fields to include in a partial response. */
@@ -1910,11 +2187,11 @@ declare namespace gapi.client {
1910
2187
  create(
1911
2188
  request: {
1912
2189
  /** V1 error format. */
1913
- '$.xgafv'?: string;
2190
+ '$.xgafv'?: '1' | '2';
1914
2191
  /** OAuth access token. */
1915
2192
  access_token?: string;
1916
2193
  /** Data format for response. */
1917
- alt?: string;
2194
+ alt?: 'json' | 'media' | 'proto';
1918
2195
  /** JSONP */
1919
2196
  callback?: string;
1920
2197
  /** Selector specifying which fields to include in a partial response. */
@@ -1941,11 +2218,11 @@ declare namespace gapi.client {
1941
2218
  /** Deletes the specified note. */
1942
2219
  delete(request?: {
1943
2220
  /** V1 error format. */
1944
- '$.xgafv'?: string;
2221
+ '$.xgafv'?: '1' | '2';
1945
2222
  /** OAuth access token. */
1946
2223
  access_token?: string;
1947
2224
  /** Data format for response. */
1948
- alt?: string;
2225
+ alt?: 'json' | 'media' | 'proto';
1949
2226
  /** JSONP */
1950
2227
  callback?: string;
1951
2228
  /** Selector specifying which fields to include in a partial response. */
@@ -1968,11 +2245,11 @@ declare namespace gapi.client {
1968
2245
  /** Gets the specified note. */
1969
2246
  get(request?: {
1970
2247
  /** V1 error format. */
1971
- '$.xgafv'?: string;
2248
+ '$.xgafv'?: '1' | '2';
1972
2249
  /** OAuth access token. */
1973
2250
  access_token?: string;
1974
2251
  /** Data format for response. */
1975
- alt?: string;
2252
+ alt?: 'json' | 'media' | 'proto';
1976
2253
  /** JSONP */
1977
2254
  callback?: string;
1978
2255
  /** Selector specifying which fields to include in a partial response. */
@@ -1996,11 +2273,11 @@ declare namespace gapi.client {
1996
2273
  getIamPolicy(
1997
2274
  request: {
1998
2275
  /** V1 error format. */
1999
- '$.xgafv'?: string;
2276
+ '$.xgafv'?: '1' | '2';
2000
2277
  /** OAuth access token. */
2001
2278
  access_token?: string;
2002
2279
  /** Data format for response. */
2003
- alt?: string;
2280
+ alt?: 'json' | 'media' | 'proto';
2004
2281
  /** JSONP */
2005
2282
  callback?: string;
2006
2283
  /** Selector specifying which fields to include in a partial response. */
@@ -2025,11 +2302,11 @@ declare namespace gapi.client {
2025
2302
  /** Lists notes for the specified project. */
2026
2303
  list(request?: {
2027
2304
  /** V1 error format. */
2028
- '$.xgafv'?: string;
2305
+ '$.xgafv'?: '1' | '2';
2029
2306
  /** OAuth access token. */
2030
2307
  access_token?: string;
2031
2308
  /** Data format for response. */
2032
- alt?: string;
2309
+ alt?: 'json' | 'media' | 'proto';
2033
2310
  /** JSONP */
2034
2311
  callback?: string;
2035
2312
  /** Selector specifying which fields to include in a partial response. */
@@ -2060,11 +2337,11 @@ declare namespace gapi.client {
2060
2337
  /** Updates the specified note. */
2061
2338
  patch(request: {
2062
2339
  /** V1 error format. */
2063
- '$.xgafv'?: string;
2340
+ '$.xgafv'?: '1' | '2';
2064
2341
  /** OAuth access token. */
2065
2342
  access_token?: string;
2066
2343
  /** Data format for response. */
2067
- alt?: string;
2344
+ alt?: 'json' | 'media' | 'proto';
2068
2345
  /** JSONP */
2069
2346
  callback?: string;
2070
2347
  /** Selector specifying which fields to include in a partial response. */
@@ -2091,11 +2368,11 @@ declare namespace gapi.client {
2091
2368
  patch(
2092
2369
  request: {
2093
2370
  /** V1 error format. */
2094
- '$.xgafv'?: string;
2371
+ '$.xgafv'?: '1' | '2';
2095
2372
  /** OAuth access token. */
2096
2373
  access_token?: string;
2097
2374
  /** Data format for response. */
2098
- alt?: string;
2375
+ alt?: 'json' | 'media' | 'proto';
2099
2376
  /** JSONP */
2100
2377
  callback?: string;
2101
2378
  /** Selector specifying which fields to include in a partial response. */
@@ -2123,11 +2400,11 @@ declare namespace gapi.client {
2123
2400
  setIamPolicy(
2124
2401
  request: {
2125
2402
  /** V1 error format. */
2126
- '$.xgafv'?: string;
2403
+ '$.xgafv'?: '1' | '2';
2127
2404
  /** OAuth access token. */
2128
2405
  access_token?: string;
2129
2406
  /** Data format for response. */
2130
- alt?: string;
2407
+ alt?: 'json' | 'media' | 'proto';
2131
2408
  /** JSONP */
2132
2409
  callback?: string;
2133
2410
  /** Selector specifying which fields to include in a partial response. */
@@ -2153,11 +2430,11 @@ declare namespace gapi.client {
2153
2430
  testIamPermissions(
2154
2431
  request: {
2155
2432
  /** V1 error format. */
2156
- '$.xgafv'?: string;
2433
+ '$.xgafv'?: '1' | '2';
2157
2434
  /** OAuth access token. */
2158
2435
  access_token?: string;
2159
2436
  /** Data format for response. */
2160
- alt?: string;
2437
+ alt?: 'json' | 'media' | 'proto';
2161
2438
  /** JSONP */
2162
2439
  callback?: string;
2163
2440
  /** Selector specifying which fields to include in a partial response. */
@@ -2185,11 +2462,11 @@ declare namespace gapi.client {
2185
2462
  /** Creates new occurrences in batch. */
2186
2463
  batchCreate(request: {
2187
2464
  /** V1 error format. */
2188
- '$.xgafv'?: string;
2465
+ '$.xgafv'?: '1' | '2';
2189
2466
  /** OAuth access token. */
2190
2467
  access_token?: string;
2191
2468
  /** Data format for response. */
2192
- alt?: string;
2469
+ alt?: 'json' | 'media' | 'proto';
2193
2470
  /** JSONP */
2194
2471
  callback?: string;
2195
2472
  /** Selector specifying which fields to include in a partial response. */
@@ -2214,11 +2491,11 @@ declare namespace gapi.client {
2214
2491
  batchCreate(
2215
2492
  request: {
2216
2493
  /** V1 error format. */
2217
- '$.xgafv'?: string;
2494
+ '$.xgafv'?: '1' | '2';
2218
2495
  /** OAuth access token. */
2219
2496
  access_token?: string;
2220
2497
  /** Data format for response. */
2221
- alt?: string;
2498
+ alt?: 'json' | 'media' | 'proto';
2222
2499
  /** JSONP */
2223
2500
  callback?: string;
2224
2501
  /** Selector specifying which fields to include in a partial response. */
@@ -2243,11 +2520,11 @@ declare namespace gapi.client {
2243
2520
  /** Creates a new occurrence. */
2244
2521
  create(request: {
2245
2522
  /** V1 error format. */
2246
- '$.xgafv'?: string;
2523
+ '$.xgafv'?: '1' | '2';
2247
2524
  /** OAuth access token. */
2248
2525
  access_token?: string;
2249
2526
  /** Data format for response. */
2250
- alt?: string;
2527
+ alt?: 'json' | 'media' | 'proto';
2251
2528
  /** JSONP */
2252
2529
  callback?: string;
2253
2530
  /** Selector specifying which fields to include in a partial response. */
@@ -2272,11 +2549,11 @@ declare namespace gapi.client {
2272
2549
  create(
2273
2550
  request: {
2274
2551
  /** V1 error format. */
2275
- '$.xgafv'?: string;
2552
+ '$.xgafv'?: '1' | '2';
2276
2553
  /** OAuth access token. */
2277
2554
  access_token?: string;
2278
2555
  /** Data format for response. */
2279
- alt?: string;
2556
+ alt?: 'json' | 'media' | 'proto';
2280
2557
  /** JSONP */
2281
2558
  callback?: string;
2282
2559
  /** Selector specifying which fields to include in a partial response. */
@@ -2301,11 +2578,11 @@ declare namespace gapi.client {
2301
2578
  /** Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource. */
2302
2579
  delete(request?: {
2303
2580
  /** V1 error format. */
2304
- '$.xgafv'?: string;
2581
+ '$.xgafv'?: '1' | '2';
2305
2582
  /** OAuth access token. */
2306
2583
  access_token?: string;
2307
2584
  /** Data format for response. */
2308
- alt?: string;
2585
+ alt?: 'json' | 'media' | 'proto';
2309
2586
  /** JSONP */
2310
2587
  callback?: string;
2311
2588
  /** Selector specifying which fields to include in a partial response. */
@@ -2328,11 +2605,11 @@ declare namespace gapi.client {
2328
2605
  /** Gets the specified occurrence. */
2329
2606
  get(request?: {
2330
2607
  /** V1 error format. */
2331
- '$.xgafv'?: string;
2608
+ '$.xgafv'?: '1' | '2';
2332
2609
  /** OAuth access token. */
2333
2610
  access_token?: string;
2334
2611
  /** Data format for response. */
2335
- alt?: string;
2612
+ alt?: 'json' | 'media' | 'proto';
2336
2613
  /** JSONP */
2337
2614
  callback?: string;
2338
2615
  /** Selector specifying which fields to include in a partial response. */
@@ -2356,11 +2633,11 @@ declare namespace gapi.client {
2356
2633
  getIamPolicy(
2357
2634
  request: {
2358
2635
  /** V1 error format. */
2359
- '$.xgafv'?: string;
2636
+ '$.xgafv'?: '1' | '2';
2360
2637
  /** OAuth access token. */
2361
2638
  access_token?: string;
2362
2639
  /** Data format for response. */
2363
- alt?: string;
2640
+ alt?: 'json' | 'media' | 'proto';
2364
2641
  /** JSONP */
2365
2642
  callback?: string;
2366
2643
  /** Selector specifying which fields to include in a partial response. */
@@ -2385,11 +2662,11 @@ declare namespace gapi.client {
2385
2662
  /** Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project. */
2386
2663
  getNotes(request?: {
2387
2664
  /** V1 error format. */
2388
- '$.xgafv'?: string;
2665
+ '$.xgafv'?: '1' | '2';
2389
2666
  /** OAuth access token. */
2390
2667
  access_token?: string;
2391
2668
  /** Data format for response. */
2392
- alt?: string;
2669
+ alt?: 'json' | 'media' | 'proto';
2393
2670
  /** JSONP */
2394
2671
  callback?: string;
2395
2672
  /** Selector specifying which fields to include in a partial response. */
@@ -2412,11 +2689,11 @@ declare namespace gapi.client {
2412
2689
  /** Gets a summary of the number and severity of occurrences. */
2413
2690
  getVulnerabilitySummary(request?: {
2414
2691
  /** V1 error format. */
2415
- '$.xgafv'?: string;
2692
+ '$.xgafv'?: '1' | '2';
2416
2693
  /** OAuth access token. */
2417
2694
  access_token?: string;
2418
2695
  /** Data format for response. */
2419
- alt?: string;
2696
+ alt?: 'json' | 'media' | 'proto';
2420
2697
  /** JSONP */
2421
2698
  callback?: string;
2422
2699
  /** Selector specifying which fields to include in a partial response. */
@@ -2443,11 +2720,11 @@ declare namespace gapi.client {
2443
2720
  /** Lists occurrences for the specified project. */
2444
2721
  list(request?: {
2445
2722
  /** V1 error format. */
2446
- '$.xgafv'?: string;
2723
+ '$.xgafv'?: '1' | '2';
2447
2724
  /** OAuth access token. */
2448
2725
  access_token?: string;
2449
2726
  /** Data format for response. */
2450
- alt?: string;
2727
+ alt?: 'json' | 'media' | 'proto';
2451
2728
  /** JSONP */
2452
2729
  callback?: string;
2453
2730
  /** Selector specifying which fields to include in a partial response. */
@@ -2478,11 +2755,11 @@ declare namespace gapi.client {
2478
2755
  /** Updates the specified occurrence. */
2479
2756
  patch(request: {
2480
2757
  /** V1 error format. */
2481
- '$.xgafv'?: string;
2758
+ '$.xgafv'?: '1' | '2';
2482
2759
  /** OAuth access token. */
2483
2760
  access_token?: string;
2484
2761
  /** Data format for response. */
2485
- alt?: string;
2762
+ alt?: 'json' | 'media' | 'proto';
2486
2763
  /** JSONP */
2487
2764
  callback?: string;
2488
2765
  /** Selector specifying which fields to include in a partial response. */
@@ -2509,11 +2786,11 @@ declare namespace gapi.client {
2509
2786
  patch(
2510
2787
  request: {
2511
2788
  /** V1 error format. */
2512
- '$.xgafv'?: string;
2789
+ '$.xgafv'?: '1' | '2';
2513
2790
  /** OAuth access token. */
2514
2791
  access_token?: string;
2515
2792
  /** Data format for response. */
2516
- alt?: string;
2793
+ alt?: 'json' | 'media' | 'proto';
2517
2794
  /** JSONP */
2518
2795
  callback?: string;
2519
2796
  /** Selector specifying which fields to include in a partial response. */
@@ -2541,11 +2818,11 @@ declare namespace gapi.client {
2541
2818
  setIamPolicy(
2542
2819
  request: {
2543
2820
  /** V1 error format. */
2544
- '$.xgafv'?: string;
2821
+ '$.xgafv'?: '1' | '2';
2545
2822
  /** OAuth access token. */
2546
2823
  access_token?: string;
2547
2824
  /** Data format for response. */
2548
- alt?: string;
2825
+ alt?: 'json' | 'media' | 'proto';
2549
2826
  /** JSONP */
2550
2827
  callback?: string;
2551
2828
  /** Selector specifying which fields to include in a partial response. */
@@ -2571,11 +2848,11 @@ declare namespace gapi.client {
2571
2848
  testIamPermissions(
2572
2849
  request: {
2573
2850
  /** V1 error format. */
2574
- '$.xgafv'?: string;
2851
+ '$.xgafv'?: '1' | '2';
2575
2852
  /** OAuth access token. */
2576
2853
  access_token?: string;
2577
2854
  /** Data format for response. */
2578
- alt?: string;
2855
+ alt?: 'json' | 'media' | 'proto';
2579
2856
  /** JSONP */
2580
2857
  callback?: string;
2581
2858
  /** Selector specifying which fields to include in a partial response. */
@@ -2602,11 +2879,11 @@ declare namespace gapi.client {
2602
2879
  /** Generates an SBOM for the given resource. */
2603
2880
  exportSBOM(request: {
2604
2881
  /** V1 error format. */
2605
- '$.xgafv'?: string;
2882
+ '$.xgafv'?: '1' | '2';
2606
2883
  /** OAuth access token. */
2607
2884
  access_token?: string;
2608
2885
  /** Data format for response. */
2609
- alt?: string;
2886
+ alt?: 'json' | 'media' | 'proto';
2610
2887
  /** JSONP */
2611
2888
  callback?: string;
2612
2889
  /** Selector specifying which fields to include in a partial response. */
@@ -2631,11 +2908,11 @@ declare namespace gapi.client {
2631
2908
  exportSBOM(
2632
2909
  request: {
2633
2910
  /** V1 error format. */
2634
- '$.xgafv'?: string;
2911
+ '$.xgafv'?: '1' | '2';
2635
2912
  /** OAuth access token. */
2636
2913
  access_token?: string;
2637
2914
  /** Data format for response. */
2638
- alt?: string;
2915
+ alt?: 'json' | 'media' | 'proto';
2639
2916
  /** JSONP */
2640
2917
  callback?: string;
2641
2918
  /** Selector specifying which fields to include in a partial response. */
@@ -2667,11 +2944,11 @@ declare namespace gapi.client {
2667
2944
  /** Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note. */
2668
2945
  list(request?: {
2669
2946
  /** V1 error format. */
2670
- '$.xgafv'?: string;
2947
+ '$.xgafv'?: '1' | '2';
2671
2948
  /** OAuth access token. */
2672
2949
  access_token?: string;
2673
2950
  /** Data format for response. */
2674
- alt?: string;
2951
+ alt?: 'json' | 'media' | 'proto';
2675
2952
  /** JSONP */
2676
2953
  callback?: string;
2677
2954
  /** Selector specifying which fields to include in a partial response. */
@@ -2702,11 +2979,11 @@ declare namespace gapi.client {
2702
2979
  /** Creates new notes in batch. */
2703
2980
  batchCreate(request: {
2704
2981
  /** V1 error format. */
2705
- '$.xgafv'?: string;
2982
+ '$.xgafv'?: '1' | '2';
2706
2983
  /** OAuth access token. */
2707
2984
  access_token?: string;
2708
2985
  /** Data format for response. */
2709
- alt?: string;
2986
+ alt?: 'json' | 'media' | 'proto';
2710
2987
  /** JSONP */
2711
2988
  callback?: string;
2712
2989
  /** Selector specifying which fields to include in a partial response. */
@@ -2731,11 +3008,11 @@ declare namespace gapi.client {
2731
3008
  batchCreate(
2732
3009
  request: {
2733
3010
  /** V1 error format. */
2734
- '$.xgafv'?: string;
3011
+ '$.xgafv'?: '1' | '2';
2735
3012
  /** OAuth access token. */
2736
3013
  access_token?: string;
2737
3014
  /** Data format for response. */
2738
- alt?: string;
3015
+ alt?: 'json' | 'media' | 'proto';
2739
3016
  /** JSONP */
2740
3017
  callback?: string;
2741
3018
  /** Selector specifying which fields to include in a partial response. */
@@ -2760,11 +3037,11 @@ declare namespace gapi.client {
2760
3037
  /** Creates a new note. */
2761
3038
  create(request: {
2762
3039
  /** V1 error format. */
2763
- '$.xgafv'?: string;
3040
+ '$.xgafv'?: '1' | '2';
2764
3041
  /** OAuth access token. */
2765
3042
  access_token?: string;
2766
3043
  /** Data format for response. */
2767
- alt?: string;
3044
+ alt?: 'json' | 'media' | 'proto';
2768
3045
  /** JSONP */
2769
3046
  callback?: string;
2770
3047
  /** Selector specifying which fields to include in a partial response. */
@@ -2791,11 +3068,11 @@ declare namespace gapi.client {
2791
3068
  create(
2792
3069
  request: {
2793
3070
  /** V1 error format. */
2794
- '$.xgafv'?: string;
3071
+ '$.xgafv'?: '1' | '2';
2795
3072
  /** OAuth access token. */
2796
3073
  access_token?: string;
2797
3074
  /** Data format for response. */
2798
- alt?: string;
3075
+ alt?: 'json' | 'media' | 'proto';
2799
3076
  /** JSONP */
2800
3077
  callback?: string;
2801
3078
  /** Selector specifying which fields to include in a partial response. */
@@ -2822,11 +3099,11 @@ declare namespace gapi.client {
2822
3099
  /** Deletes the specified note. */
2823
3100
  delete(request?: {
2824
3101
  /** V1 error format. */
2825
- '$.xgafv'?: string;
3102
+ '$.xgafv'?: '1' | '2';
2826
3103
  /** OAuth access token. */
2827
3104
  access_token?: string;
2828
3105
  /** Data format for response. */
2829
- alt?: string;
3106
+ alt?: 'json' | 'media' | 'proto';
2830
3107
  /** JSONP */
2831
3108
  callback?: string;
2832
3109
  /** Selector specifying which fields to include in a partial response. */
@@ -2849,11 +3126,11 @@ declare namespace gapi.client {
2849
3126
  /** Gets the specified note. */
2850
3127
  get(request?: {
2851
3128
  /** V1 error format. */
2852
- '$.xgafv'?: string;
3129
+ '$.xgafv'?: '1' | '2';
2853
3130
  /** OAuth access token. */
2854
3131
  access_token?: string;
2855
3132
  /** Data format for response. */
2856
- alt?: string;
3133
+ alt?: 'json' | 'media' | 'proto';
2857
3134
  /** JSONP */
2858
3135
  callback?: string;
2859
3136
  /** Selector specifying which fields to include in a partial response. */
@@ -2877,11 +3154,11 @@ declare namespace gapi.client {
2877
3154
  getIamPolicy(
2878
3155
  request: {
2879
3156
  /** V1 error format. */
2880
- '$.xgafv'?: string;
3157
+ '$.xgafv'?: '1' | '2';
2881
3158
  /** OAuth access token. */
2882
3159
  access_token?: string;
2883
3160
  /** Data format for response. */
2884
- alt?: string;
3161
+ alt?: 'json' | 'media' | 'proto';
2885
3162
  /** JSONP */
2886
3163
  callback?: string;
2887
3164
  /** Selector specifying which fields to include in a partial response. */
@@ -2906,11 +3183,11 @@ declare namespace gapi.client {
2906
3183
  /** Lists notes for the specified project. */
2907
3184
  list(request?: {
2908
3185
  /** V1 error format. */
2909
- '$.xgafv'?: string;
3186
+ '$.xgafv'?: '1' | '2';
2910
3187
  /** OAuth access token. */
2911
3188
  access_token?: string;
2912
3189
  /** Data format for response. */
2913
- alt?: string;
3190
+ alt?: 'json' | 'media' | 'proto';
2914
3191
  /** JSONP */
2915
3192
  callback?: string;
2916
3193
  /** Selector specifying which fields to include in a partial response. */
@@ -2941,11 +3218,11 @@ declare namespace gapi.client {
2941
3218
  /** Updates the specified note. */
2942
3219
  patch(request: {
2943
3220
  /** V1 error format. */
2944
- '$.xgafv'?: string;
3221
+ '$.xgafv'?: '1' | '2';
2945
3222
  /** OAuth access token. */
2946
3223
  access_token?: string;
2947
3224
  /** Data format for response. */
2948
- alt?: string;
3225
+ alt?: 'json' | 'media' | 'proto';
2949
3226
  /** JSONP */
2950
3227
  callback?: string;
2951
3228
  /** Selector specifying which fields to include in a partial response. */
@@ -2972,11 +3249,11 @@ declare namespace gapi.client {
2972
3249
  patch(
2973
3250
  request: {
2974
3251
  /** V1 error format. */
2975
- '$.xgafv'?: string;
3252
+ '$.xgafv'?: '1' | '2';
2976
3253
  /** OAuth access token. */
2977
3254
  access_token?: string;
2978
3255
  /** Data format for response. */
2979
- alt?: string;
3256
+ alt?: 'json' | 'media' | 'proto';
2980
3257
  /** JSONP */
2981
3258
  callback?: string;
2982
3259
  /** Selector specifying which fields to include in a partial response. */
@@ -3004,11 +3281,11 @@ declare namespace gapi.client {
3004
3281
  setIamPolicy(
3005
3282
  request: {
3006
3283
  /** V1 error format. */
3007
- '$.xgafv'?: string;
3284
+ '$.xgafv'?: '1' | '2';
3008
3285
  /** OAuth access token. */
3009
3286
  access_token?: string;
3010
3287
  /** Data format for response. */
3011
- alt?: string;
3288
+ alt?: 'json' | 'media' | 'proto';
3012
3289
  /** JSONP */
3013
3290
  callback?: string;
3014
3291
  /** Selector specifying which fields to include in a partial response. */
@@ -3034,11 +3311,11 @@ declare namespace gapi.client {
3034
3311
  testIamPermissions(
3035
3312
  request: {
3036
3313
  /** V1 error format. */
3037
- '$.xgafv'?: string;
3314
+ '$.xgafv'?: '1' | '2';
3038
3315
  /** OAuth access token. */
3039
3316
  access_token?: string;
3040
3317
  /** Data format for response. */
3041
- alt?: string;
3318
+ alt?: 'json' | 'media' | 'proto';
3042
3319
  /** JSONP */
3043
3320
  callback?: string;
3044
3321
  /** Selector specifying which fields to include in a partial response. */
@@ -3066,11 +3343,11 @@ declare namespace gapi.client {
3066
3343
  /** Creates new occurrences in batch. */
3067
3344
  batchCreate(request: {
3068
3345
  /** V1 error format. */
3069
- '$.xgafv'?: string;
3346
+ '$.xgafv'?: '1' | '2';
3070
3347
  /** OAuth access token. */
3071
3348
  access_token?: string;
3072
3349
  /** Data format for response. */
3073
- alt?: string;
3350
+ alt?: 'json' | 'media' | 'proto';
3074
3351
  /** JSONP */
3075
3352
  callback?: string;
3076
3353
  /** Selector specifying which fields to include in a partial response. */
@@ -3095,11 +3372,11 @@ declare namespace gapi.client {
3095
3372
  batchCreate(
3096
3373
  request: {
3097
3374
  /** V1 error format. */
3098
- '$.xgafv'?: string;
3375
+ '$.xgafv'?: '1' | '2';
3099
3376
  /** OAuth access token. */
3100
3377
  access_token?: string;
3101
3378
  /** Data format for response. */
3102
- alt?: string;
3379
+ alt?: 'json' | 'media' | 'proto';
3103
3380
  /** JSONP */
3104
3381
  callback?: string;
3105
3382
  /** Selector specifying which fields to include in a partial response. */
@@ -3124,11 +3401,11 @@ declare namespace gapi.client {
3124
3401
  /** Creates a new occurrence. */
3125
3402
  create(request: {
3126
3403
  /** V1 error format. */
3127
- '$.xgafv'?: string;
3404
+ '$.xgafv'?: '1' | '2';
3128
3405
  /** OAuth access token. */
3129
3406
  access_token?: string;
3130
3407
  /** Data format for response. */
3131
- alt?: string;
3408
+ alt?: 'json' | 'media' | 'proto';
3132
3409
  /** JSONP */
3133
3410
  callback?: string;
3134
3411
  /** Selector specifying which fields to include in a partial response. */
@@ -3153,11 +3430,11 @@ declare namespace gapi.client {
3153
3430
  create(
3154
3431
  request: {
3155
3432
  /** V1 error format. */
3156
- '$.xgafv'?: string;
3433
+ '$.xgafv'?: '1' | '2';
3157
3434
  /** OAuth access token. */
3158
3435
  access_token?: string;
3159
3436
  /** Data format for response. */
3160
- alt?: string;
3437
+ alt?: 'json' | 'media' | 'proto';
3161
3438
  /** JSONP */
3162
3439
  callback?: string;
3163
3440
  /** Selector specifying which fields to include in a partial response. */
@@ -3182,11 +3459,11 @@ declare namespace gapi.client {
3182
3459
  /** Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource. */
3183
3460
  delete(request?: {
3184
3461
  /** V1 error format. */
3185
- '$.xgafv'?: string;
3462
+ '$.xgafv'?: '1' | '2';
3186
3463
  /** OAuth access token. */
3187
3464
  access_token?: string;
3188
3465
  /** Data format for response. */
3189
- alt?: string;
3466
+ alt?: 'json' | 'media' | 'proto';
3190
3467
  /** JSONP */
3191
3468
  callback?: string;
3192
3469
  /** Selector specifying which fields to include in a partial response. */
@@ -3209,11 +3486,11 @@ declare namespace gapi.client {
3209
3486
  /** Gets the specified occurrence. */
3210
3487
  get(request?: {
3211
3488
  /** V1 error format. */
3212
- '$.xgafv'?: string;
3489
+ '$.xgafv'?: '1' | '2';
3213
3490
  /** OAuth access token. */
3214
3491
  access_token?: string;
3215
3492
  /** Data format for response. */
3216
- alt?: string;
3493
+ alt?: 'json' | 'media' | 'proto';
3217
3494
  /** JSONP */
3218
3495
  callback?: string;
3219
3496
  /** Selector specifying which fields to include in a partial response. */
@@ -3237,11 +3514,11 @@ declare namespace gapi.client {
3237
3514
  getIamPolicy(
3238
3515
  request: {
3239
3516
  /** V1 error format. */
3240
- '$.xgafv'?: string;
3517
+ '$.xgafv'?: '1' | '2';
3241
3518
  /** OAuth access token. */
3242
3519
  access_token?: string;
3243
3520
  /** Data format for response. */
3244
- alt?: string;
3521
+ alt?: 'json' | 'media' | 'proto';
3245
3522
  /** JSONP */
3246
3523
  callback?: string;
3247
3524
  /** Selector specifying which fields to include in a partial response. */
@@ -3266,11 +3543,11 @@ declare namespace gapi.client {
3266
3543
  /** Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project. */
3267
3544
  getNotes(request?: {
3268
3545
  /** V1 error format. */
3269
- '$.xgafv'?: string;
3546
+ '$.xgafv'?: '1' | '2';
3270
3547
  /** OAuth access token. */
3271
3548
  access_token?: string;
3272
3549
  /** Data format for response. */
3273
- alt?: string;
3550
+ alt?: 'json' | 'media' | 'proto';
3274
3551
  /** JSONP */
3275
3552
  callback?: string;
3276
3553
  /** Selector specifying which fields to include in a partial response. */
@@ -3293,11 +3570,11 @@ declare namespace gapi.client {
3293
3570
  /** Gets a summary of the number and severity of occurrences. */
3294
3571
  getVulnerabilitySummary(request?: {
3295
3572
  /** V1 error format. */
3296
- '$.xgafv'?: string;
3573
+ '$.xgafv'?: '1' | '2';
3297
3574
  /** OAuth access token. */
3298
3575
  access_token?: string;
3299
3576
  /** Data format for response. */
3300
- alt?: string;
3577
+ alt?: 'json' | 'media' | 'proto';
3301
3578
  /** JSONP */
3302
3579
  callback?: string;
3303
3580
  /** Selector specifying which fields to include in a partial response. */
@@ -3324,11 +3601,11 @@ declare namespace gapi.client {
3324
3601
  /** Lists occurrences for the specified project. */
3325
3602
  list(request?: {
3326
3603
  /** V1 error format. */
3327
- '$.xgafv'?: string;
3604
+ '$.xgafv'?: '1' | '2';
3328
3605
  /** OAuth access token. */
3329
3606
  access_token?: string;
3330
3607
  /** Data format for response. */
3331
- alt?: string;
3608
+ alt?: 'json' | 'media' | 'proto';
3332
3609
  /** JSONP */
3333
3610
  callback?: string;
3334
3611
  /** Selector specifying which fields to include in a partial response. */
@@ -3359,11 +3636,11 @@ declare namespace gapi.client {
3359
3636
  /** Updates the specified occurrence. */
3360
3637
  patch(request: {
3361
3638
  /** V1 error format. */
3362
- '$.xgafv'?: string;
3639
+ '$.xgafv'?: '1' | '2';
3363
3640
  /** OAuth access token. */
3364
3641
  access_token?: string;
3365
3642
  /** Data format for response. */
3366
- alt?: string;
3643
+ alt?: 'json' | 'media' | 'proto';
3367
3644
  /** JSONP */
3368
3645
  callback?: string;
3369
3646
  /** Selector specifying which fields to include in a partial response. */
@@ -3390,11 +3667,11 @@ declare namespace gapi.client {
3390
3667
  patch(
3391
3668
  request: {
3392
3669
  /** V1 error format. */
3393
- '$.xgafv'?: string;
3670
+ '$.xgafv'?: '1' | '2';
3394
3671
  /** OAuth access token. */
3395
3672
  access_token?: string;
3396
3673
  /** Data format for response. */
3397
- alt?: string;
3674
+ alt?: 'json' | 'media' | 'proto';
3398
3675
  /** JSONP */
3399
3676
  callback?: string;
3400
3677
  /** Selector specifying which fields to include in a partial response. */
@@ -3422,11 +3699,11 @@ declare namespace gapi.client {
3422
3699
  setIamPolicy(
3423
3700
  request: {
3424
3701
  /** V1 error format. */
3425
- '$.xgafv'?: string;
3702
+ '$.xgafv'?: '1' | '2';
3426
3703
  /** OAuth access token. */
3427
3704
  access_token?: string;
3428
3705
  /** Data format for response. */
3429
- alt?: string;
3706
+ alt?: 'json' | 'media' | 'proto';
3430
3707
  /** JSONP */
3431
3708
  callback?: string;
3432
3709
  /** Selector specifying which fields to include in a partial response. */
@@ -3452,11 +3729,11 @@ declare namespace gapi.client {
3452
3729
  testIamPermissions(
3453
3730
  request: {
3454
3731
  /** V1 error format. */
3455
- '$.xgafv'?: string;
3732
+ '$.xgafv'?: '1' | '2';
3456
3733
  /** OAuth access token. */
3457
3734
  access_token?: string;
3458
3735
  /** Data format for response. */
3459
- alt?: string;
3736
+ alt?: 'json' | 'media' | 'proto';
3460
3737
  /** JSONP */
3461
3738
  callback?: string;
3462
3739
  /** Selector specifying which fields to include in a partial response. */
@@ -3483,11 +3760,11 @@ declare namespace gapi.client {
3483
3760
  /** Generates an SBOM for the given resource. */
3484
3761
  exportSBOM(request: {
3485
3762
  /** V1 error format. */
3486
- '$.xgafv'?: string;
3763
+ '$.xgafv'?: '1' | '2';
3487
3764
  /** OAuth access token. */
3488
3765
  access_token?: string;
3489
3766
  /** Data format for response. */
3490
- alt?: string;
3767
+ alt?: 'json' | 'media' | 'proto';
3491
3768
  /** JSONP */
3492
3769
  callback?: string;
3493
3770
  /** Selector specifying which fields to include in a partial response. */
@@ -3512,11 +3789,11 @@ declare namespace gapi.client {
3512
3789
  exportSBOM(
3513
3790
  request: {
3514
3791
  /** V1 error format. */
3515
- '$.xgafv'?: string;
3792
+ '$.xgafv'?: '1' | '2';
3516
3793
  /** OAuth access token. */
3517
3794
  access_token?: string;
3518
3795
  /** Data format for response. */
3519
- alt?: string;
3796
+ alt?: 'json' | 'media' | 'proto';
3520
3797
  /** JSONP */
3521
3798
  callback?: string;
3522
3799
  /** Selector specifying which fields to include in a partial response. */