@maxim_mazurok/gapi.client.containeranalysis-v1beta1 0.1.20260313 → 0.2.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.
- package/index.d.ts +597 -192
- 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?:
|
|
33
|
+
kind?: 'KIND_UNSPECIFIED' | 'FIXED' | 'MOVABLE' | 'OTHER';
|
|
34
34
|
/** The alias name. */
|
|
35
35
|
name?: string;
|
|
36
36
|
}
|
|
@@ -67,7 +67,12 @@ declare namespace gapi.client {
|
|
|
67
67
|
/** A one sentence description of this Vex. */
|
|
68
68
|
shortDescription?: string;
|
|
69
69
|
/** Provides the state of this Vulnerability assessment. */
|
|
70
|
-
state?:
|
|
70
|
+
state?:
|
|
71
|
+
| 'STATE_UNSPECIFIED'
|
|
72
|
+
| 'AFFECTED'
|
|
73
|
+
| 'NOT_AFFECTED'
|
|
74
|
+
| 'FIXED'
|
|
75
|
+
| 'UNDER_INVESTIGATION';
|
|
71
76
|
/** The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc. */
|
|
72
77
|
vulnerabilityId?: string;
|
|
73
78
|
}
|
|
@@ -159,7 +164,7 @@ declare namespace gapi.client {
|
|
|
159
164
|
/** An ID for the key used to sign. This could be either an ID for the key stored in `public_key` (such as the ID or fingerprint for a PGP key, or the CN for a cert), or a reference to an external key (such as a reference to a key in Cloud Key Management Service). */
|
|
160
165
|
keyId?: string;
|
|
161
166
|
/** The type of the key, either stored in `public_key` or referenced in `key_id`. */
|
|
162
|
-
keyType?:
|
|
167
|
+
keyType?: 'KEY_TYPE_UNSPECIFIED' | 'PGP_ASCII_ARMORED' | 'PKIX_PEM';
|
|
163
168
|
/** Public key of the builder which can be used to verify that the related findings are valid and unchanged. If `key_type` is empty, this defaults to PEM encoded public keys. This field may be empty if `key_id` references an external key. For Cloud Build based signatures, this is a PEM encoded public key. To verify the Cloud Build signature, place the contents of this field into a file (public.pem). The signature field is base64-decoded into its binary representation in signature.bin, and the provenance bytes from `BuildDetails` are base64-decoded into a binary representation in signed.bin. OpenSSL can then verify the signature: `openssl sha256 -verify public.pem -signature signature.bin signed.bin` */
|
|
164
169
|
publicKey?: string;
|
|
165
170
|
/** Required. Signature of the related `BuildProvenance`. In JSON, this is base-64 encoded. */
|
|
@@ -196,7 +201,18 @@ declare namespace gapi.client {
|
|
|
196
201
|
/** 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`. */
|
|
197
202
|
secretEnv?: string[];
|
|
198
203
|
/** 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. */
|
|
199
|
-
status?:
|
|
204
|
+
status?:
|
|
205
|
+
| 'STATUS_UNKNOWN'
|
|
206
|
+
| 'PENDING'
|
|
207
|
+
| 'QUEUING'
|
|
208
|
+
| 'QUEUED'
|
|
209
|
+
| 'WORKING'
|
|
210
|
+
| 'SUCCESS'
|
|
211
|
+
| 'FAILURE'
|
|
212
|
+
| 'INTERNAL_ERROR'
|
|
213
|
+
| 'TIMEOUT'
|
|
214
|
+
| 'CANCELLED'
|
|
215
|
+
| 'EXPIRED';
|
|
200
216
|
/** 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. */
|
|
201
217
|
timeout?: string;
|
|
202
218
|
/** Output only. Stores timing information for executing this build step. */
|
|
@@ -243,7 +259,7 @@ declare namespace gapi.client {
|
|
|
243
259
|
/** Optional. An optional comment for this manual approval result. */
|
|
244
260
|
comment?: string;
|
|
245
261
|
/** Required. The decision of this manual approval. */
|
|
246
|
-
decision?:
|
|
262
|
+
decision?: 'DECISION_UNSPECIFIED' | 'APPROVED' | 'REJECTED';
|
|
247
263
|
/** 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. */
|
|
248
264
|
url?: string;
|
|
249
265
|
}
|
|
@@ -367,7 +383,17 @@ declare namespace gapi.client {
|
|
|
367
383
|
/** Output only. Time at which execution of the build was started. */
|
|
368
384
|
startTime?: string;
|
|
369
385
|
/** Output only. Status of the build. */
|
|
370
|
-
status?:
|
|
386
|
+
status?:
|
|
387
|
+
| 'STATUS_UNKNOWN'
|
|
388
|
+
| 'PENDING'
|
|
389
|
+
| 'QUEUED'
|
|
390
|
+
| 'WORKING'
|
|
391
|
+
| 'SUCCESS'
|
|
392
|
+
| 'FAILURE'
|
|
393
|
+
| 'INTERNAL_ERROR'
|
|
394
|
+
| 'TIMEOUT'
|
|
395
|
+
| 'CANCELLED'
|
|
396
|
+
| 'EXPIRED';
|
|
371
397
|
/** Output only. Customer-readable message about the current status. */
|
|
372
398
|
statusDetail?: string;
|
|
373
399
|
/** Required. The operations to be performed on the workspace. */
|
|
@@ -391,19 +417,34 @@ declare namespace gapi.client {
|
|
|
391
417
|
/** Output only. Result of manual approval for this Build. */
|
|
392
418
|
result?: ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult;
|
|
393
419
|
/** Output only. The state of this build's approval. */
|
|
394
|
-
state?:
|
|
420
|
+
state?:
|
|
421
|
+
| 'STATE_UNSPECIFIED'
|
|
422
|
+
| 'PENDING'
|
|
423
|
+
| 'APPROVED'
|
|
424
|
+
| 'REJECTED'
|
|
425
|
+
| 'CANCELLED';
|
|
395
426
|
}
|
|
396
427
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo {
|
|
397
428
|
/** Explains the failure issue in more detail using hard-coded text. */
|
|
398
429
|
detail?: string;
|
|
399
430
|
/** The name of the failure. */
|
|
400
|
-
type?:
|
|
431
|
+
type?:
|
|
432
|
+
| 'FAILURE_TYPE_UNSPECIFIED'
|
|
433
|
+
| 'PUSH_FAILED'
|
|
434
|
+
| 'PUSH_IMAGE_NOT_FOUND'
|
|
435
|
+
| 'PUSH_NOT_AUTHORIZED'
|
|
436
|
+
| 'LOGGING_FAILURE'
|
|
437
|
+
| 'USER_BUILD_STEP'
|
|
438
|
+
| 'FETCH_SOURCE_FAILED';
|
|
401
439
|
}
|
|
402
440
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions {
|
|
403
441
|
/** Option to include built-in and custom substitutions as env variables for all build steps. */
|
|
404
442
|
automapSubstitutions?: boolean;
|
|
405
443
|
/** Optional. Option to specify how default logs buckets are setup. */
|
|
406
|
-
defaultLogsBucketBehavior?:
|
|
444
|
+
defaultLogsBucketBehavior?:
|
|
445
|
+
| 'DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED'
|
|
446
|
+
| 'REGIONAL_USER_OWNED_BUCKET'
|
|
447
|
+
| 'LEGACY_BUCKET';
|
|
407
448
|
/** 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. */
|
|
408
449
|
diskSizeGb?: string;
|
|
409
450
|
/** 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. */
|
|
@@ -413,23 +454,41 @@ declare namespace gapi.client {
|
|
|
413
454
|
/** 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". */
|
|
414
455
|
env?: string[];
|
|
415
456
|
/** Option to specify the logging mode, which determines if and where build logs are stored. */
|
|
416
|
-
logging?:
|
|
457
|
+
logging?:
|
|
458
|
+
| 'LOGGING_UNSPECIFIED'
|
|
459
|
+
| 'LEGACY'
|
|
460
|
+
| 'GCS_ONLY'
|
|
461
|
+
| 'STACKDRIVER_ONLY'
|
|
462
|
+
| 'CLOUD_LOGGING_ONLY'
|
|
463
|
+
| 'NONE';
|
|
417
464
|
/** Option to define build log streaming behavior to Cloud Storage. */
|
|
418
|
-
logStreamingOption?:
|
|
465
|
+
logStreamingOption?: 'STREAM_DEFAULT' | 'STREAM_ON' | 'STREAM_OFF';
|
|
419
466
|
/** Compute Engine machine type on which to run the build. */
|
|
420
|
-
machineType?:
|
|
467
|
+
machineType?:
|
|
468
|
+
| 'UNSPECIFIED'
|
|
469
|
+
| 'N1_HIGHCPU_8'
|
|
470
|
+
| 'N1_HIGHCPU_32'
|
|
471
|
+
| 'E2_HIGHCPU_8'
|
|
472
|
+
| 'E2_HIGHCPU_32'
|
|
473
|
+
| 'E2_MEDIUM';
|
|
421
474
|
/** 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. */
|
|
422
475
|
pool?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption;
|
|
423
476
|
/** Optional. Option to specify the Pub/Sub topic to receive build status updates. */
|
|
424
477
|
pubsubTopic?: string;
|
|
425
478
|
/** Requested verifiability options. */
|
|
426
|
-
requestedVerifyOption?:
|
|
479
|
+
requestedVerifyOption?: 'NOT_VERIFIED' | 'VERIFIED';
|
|
427
480
|
/** 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. */
|
|
428
481
|
secretEnv?: string[];
|
|
429
482
|
/** Requested hash for SourceProvenance. */
|
|
430
|
-
sourceProvenanceHash?:
|
|
483
|
+
sourceProvenanceHash?:
|
|
484
|
+
| 'NONE'
|
|
485
|
+
| 'SHA256'
|
|
486
|
+
| 'MD5'
|
|
487
|
+
| 'GO_MODULE_H1'
|
|
488
|
+
| 'SHA512'
|
|
489
|
+
| 'DIRSUM_SHA256'[];
|
|
431
490
|
/** 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. */
|
|
432
|
-
substitutionOption?:
|
|
491
|
+
substitutionOption?: 'MUST_MATCH' | 'ALLOW_LOOSE';
|
|
433
492
|
/** 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. */
|
|
434
493
|
volumes?: ContaineranalysisGoogleDevtoolsCloudbuildV1Volume[];
|
|
435
494
|
/** This field deprecated; please use `pool.name` instead. */
|
|
@@ -467,7 +526,17 @@ declare namespace gapi.client {
|
|
|
467
526
|
/** 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`. */
|
|
468
527
|
secretEnv?: string[];
|
|
469
528
|
/** 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. */
|
|
470
|
-
status?:
|
|
529
|
+
status?:
|
|
530
|
+
| 'STATUS_UNKNOWN'
|
|
531
|
+
| 'PENDING'
|
|
532
|
+
| 'QUEUED'
|
|
533
|
+
| 'WORKING'
|
|
534
|
+
| 'SUCCESS'
|
|
535
|
+
| 'FAILURE'
|
|
536
|
+
| 'INTERNAL_ERROR'
|
|
537
|
+
| 'TIMEOUT'
|
|
538
|
+
| 'CANCELLED'
|
|
539
|
+
| 'EXPIRED';
|
|
471
540
|
/** 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. */
|
|
472
541
|
timeout?: string;
|
|
473
542
|
/** Output only. Stores timing information for executing this build step. */
|
|
@@ -479,7 +548,7 @@ declare namespace gapi.client {
|
|
|
479
548
|
}
|
|
480
549
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning {
|
|
481
550
|
/** The priority for this warning. */
|
|
482
|
-
priority?:
|
|
551
|
+
priority?: 'PRIORITY_UNSPECIFIED' | 'INFO' | 'WARNING' | 'ALERT';
|
|
483
552
|
/** Explanation of the warning generated. */
|
|
484
553
|
text?: string;
|
|
485
554
|
}
|
|
@@ -491,7 +560,10 @@ declare namespace gapi.client {
|
|
|
491
560
|
/** Name used to push the container image to Google Container Registry, as presented to `docker push`. */
|
|
492
561
|
name?: string;
|
|
493
562
|
/** Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will have an unspecified value. */
|
|
494
|
-
ociMediaType?:
|
|
563
|
+
ociMediaType?:
|
|
564
|
+
| 'OCI_MEDIA_TYPE_UNSPECIFIED'
|
|
565
|
+
| 'IMAGE_MANIFEST'
|
|
566
|
+
| 'IMAGE_INDEX';
|
|
495
567
|
/** Output only. Stores timing information for pushing the specified image. */
|
|
496
568
|
pushTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
497
569
|
}
|
|
@@ -557,7 +629,13 @@ declare namespace gapi.client {
|
|
|
557
629
|
}
|
|
558
630
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Hash {
|
|
559
631
|
/** The type of hash that was performed. */
|
|
560
|
-
type?:
|
|
632
|
+
type?:
|
|
633
|
+
| 'NONE'
|
|
634
|
+
| 'SHA256'
|
|
635
|
+
| 'MD5'
|
|
636
|
+
| 'GO_MODULE_H1'
|
|
637
|
+
| 'SHA512'
|
|
638
|
+
| 'DIRSUM_SHA256';
|
|
561
639
|
/** The hash value. */
|
|
562
640
|
value?: string;
|
|
563
641
|
}
|
|
@@ -663,7 +741,7 @@ declare namespace gapi.client {
|
|
|
663
741
|
/** Required. Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. */
|
|
664
742
|
object?: string;
|
|
665
743
|
/** Optional. Option to specify the tool to fetch the source file for the build. */
|
|
666
|
-
sourceFetcher?:
|
|
744
|
+
sourceFetcher?: 'SOURCE_FETCHER_UNSPECIFIED' | 'GSUTIL' | 'GCS_FETCHER';
|
|
667
745
|
}
|
|
668
746
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest {
|
|
669
747
|
/** Required. Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
|
|
@@ -727,42 +805,107 @@ declare namespace gapi.client {
|
|
|
727
805
|
}
|
|
728
806
|
interface CVSS {
|
|
729
807
|
/** Defined in CVSS v3, CVSS v2 */
|
|
730
|
-
attackComplexity?:
|
|
808
|
+
attackComplexity?:
|
|
809
|
+
| 'ATTACK_COMPLEXITY_UNSPECIFIED'
|
|
810
|
+
| 'ATTACK_COMPLEXITY_LOW'
|
|
811
|
+
| 'ATTACK_COMPLEXITY_HIGH'
|
|
812
|
+
| 'ATTACK_COMPLEXITY_MEDIUM';
|
|
731
813
|
/** Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. Defined in CVSS v3, CVSS v2 */
|
|
732
|
-
attackVector?:
|
|
814
|
+
attackVector?:
|
|
815
|
+
| 'ATTACK_VECTOR_UNSPECIFIED'
|
|
816
|
+
| 'ATTACK_VECTOR_NETWORK'
|
|
817
|
+
| 'ATTACK_VECTOR_ADJACENT'
|
|
818
|
+
| 'ATTACK_VECTOR_LOCAL'
|
|
819
|
+
| 'ATTACK_VECTOR_PHYSICAL';
|
|
733
820
|
/** Defined in CVSS v2 */
|
|
734
|
-
authentication?:
|
|
821
|
+
authentication?:
|
|
822
|
+
| 'AUTHENTICATION_UNSPECIFIED'
|
|
823
|
+
| 'AUTHENTICATION_MULTIPLE'
|
|
824
|
+
| 'AUTHENTICATION_SINGLE'
|
|
825
|
+
| 'AUTHENTICATION_NONE';
|
|
735
826
|
/** Defined in CVSS v3, CVSS v2 */
|
|
736
|
-
availabilityImpact?:
|
|
827
|
+
availabilityImpact?:
|
|
828
|
+
| 'IMPACT_UNSPECIFIED'
|
|
829
|
+
| 'IMPACT_HIGH'
|
|
830
|
+
| 'IMPACT_LOW'
|
|
831
|
+
| 'IMPACT_NONE'
|
|
832
|
+
| 'IMPACT_PARTIAL'
|
|
833
|
+
| 'IMPACT_COMPLETE';
|
|
737
834
|
/** The base score is a function of the base metric scores. */
|
|
738
835
|
baseScore?: number;
|
|
739
836
|
/** Defined in CVSS v3, CVSS v2 */
|
|
740
|
-
confidentialityImpact?:
|
|
837
|
+
confidentialityImpact?:
|
|
838
|
+
| 'IMPACT_UNSPECIFIED'
|
|
839
|
+
| 'IMPACT_HIGH'
|
|
840
|
+
| 'IMPACT_LOW'
|
|
841
|
+
| 'IMPACT_NONE'
|
|
842
|
+
| 'IMPACT_PARTIAL'
|
|
843
|
+
| 'IMPACT_COMPLETE';
|
|
741
844
|
exploitabilityScore?: number;
|
|
742
845
|
impactScore?: number;
|
|
743
846
|
/** Defined in CVSS v3, CVSS v2 */
|
|
744
|
-
integrityImpact?:
|
|
847
|
+
integrityImpact?:
|
|
848
|
+
| 'IMPACT_UNSPECIFIED'
|
|
849
|
+
| 'IMPACT_HIGH'
|
|
850
|
+
| 'IMPACT_LOW'
|
|
851
|
+
| 'IMPACT_NONE'
|
|
852
|
+
| 'IMPACT_PARTIAL'
|
|
853
|
+
| 'IMPACT_COMPLETE';
|
|
745
854
|
/** Defined in CVSS v3 */
|
|
746
|
-
privilegesRequired?:
|
|
855
|
+
privilegesRequired?:
|
|
856
|
+
| 'PRIVILEGES_REQUIRED_UNSPECIFIED'
|
|
857
|
+
| 'PRIVILEGES_REQUIRED_NONE'
|
|
858
|
+
| 'PRIVILEGES_REQUIRED_LOW'
|
|
859
|
+
| 'PRIVILEGES_REQUIRED_HIGH';
|
|
747
860
|
/** Defined in CVSS v3 */
|
|
748
|
-
scope?:
|
|
861
|
+
scope?: 'SCOPE_UNSPECIFIED' | 'SCOPE_UNCHANGED' | 'SCOPE_CHANGED';
|
|
749
862
|
/** Defined in CVSS v3 */
|
|
750
|
-
userInteraction?:
|
|
863
|
+
userInteraction?:
|
|
864
|
+
| 'USER_INTERACTION_UNSPECIFIED'
|
|
865
|
+
| 'USER_INTERACTION_NONE'
|
|
866
|
+
| 'USER_INTERACTION_REQUIRED';
|
|
751
867
|
}
|
|
752
868
|
interface CVSSv3 {
|
|
753
|
-
attackComplexity?:
|
|
869
|
+
attackComplexity?:
|
|
870
|
+
| 'ATTACK_COMPLEXITY_UNSPECIFIED'
|
|
871
|
+
| 'ATTACK_COMPLEXITY_LOW'
|
|
872
|
+
| 'ATTACK_COMPLEXITY_HIGH';
|
|
754
873
|
/** Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. */
|
|
755
|
-
attackVector?:
|
|
756
|
-
|
|
874
|
+
attackVector?:
|
|
875
|
+
| 'ATTACK_VECTOR_UNSPECIFIED'
|
|
876
|
+
| 'ATTACK_VECTOR_NETWORK'
|
|
877
|
+
| 'ATTACK_VECTOR_ADJACENT'
|
|
878
|
+
| 'ATTACK_VECTOR_LOCAL'
|
|
879
|
+
| 'ATTACK_VECTOR_PHYSICAL';
|
|
880
|
+
availabilityImpact?:
|
|
881
|
+
| 'IMPACT_UNSPECIFIED'
|
|
882
|
+
| 'IMPACT_HIGH'
|
|
883
|
+
| 'IMPACT_LOW'
|
|
884
|
+
| 'IMPACT_NONE';
|
|
757
885
|
/** The base score is a function of the base metric scores. */
|
|
758
886
|
baseScore?: number;
|
|
759
|
-
confidentialityImpact?:
|
|
887
|
+
confidentialityImpact?:
|
|
888
|
+
| 'IMPACT_UNSPECIFIED'
|
|
889
|
+
| 'IMPACT_HIGH'
|
|
890
|
+
| 'IMPACT_LOW'
|
|
891
|
+
| 'IMPACT_NONE';
|
|
760
892
|
exploitabilityScore?: number;
|
|
761
893
|
impactScore?: number;
|
|
762
|
-
integrityImpact?:
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
894
|
+
integrityImpact?:
|
|
895
|
+
| 'IMPACT_UNSPECIFIED'
|
|
896
|
+
| 'IMPACT_HIGH'
|
|
897
|
+
| 'IMPACT_LOW'
|
|
898
|
+
| 'IMPACT_NONE';
|
|
899
|
+
privilegesRequired?:
|
|
900
|
+
| 'PRIVILEGES_REQUIRED_UNSPECIFIED'
|
|
901
|
+
| 'PRIVILEGES_REQUIRED_NONE'
|
|
902
|
+
| 'PRIVILEGES_REQUIRED_LOW'
|
|
903
|
+
| 'PRIVILEGES_REQUIRED_HIGH';
|
|
904
|
+
scope?: 'SCOPE_UNSPECIFIED' | 'SCOPE_UNCHANGED' | 'SCOPE_CHANGED';
|
|
905
|
+
userInteraction?:
|
|
906
|
+
| 'USER_INTERACTION_UNSPECIFIED'
|
|
907
|
+
| 'USER_INTERACTION_NONE'
|
|
908
|
+
| 'USER_INTERACTION_REQUIRED';
|
|
766
909
|
}
|
|
767
910
|
interface Deployable {
|
|
768
911
|
/** Required. Resource URI for the artifact being deployed. */
|
|
@@ -776,7 +919,7 @@ declare namespace gapi.client {
|
|
|
776
919
|
/** Required. Beginning of the lifetime of this deployment. */
|
|
777
920
|
deployTime?: string;
|
|
778
921
|
/** Platform hosting this deployment. */
|
|
779
|
-
platform?:
|
|
922
|
+
platform?: 'PLATFORM_UNSPECIFIED' | 'GKE' | 'FLEX' | 'CUSTOM';
|
|
780
923
|
/** Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name. */
|
|
781
924
|
resourceUri?: string[];
|
|
782
925
|
/** End of the lifetime of this deployment. */
|
|
@@ -835,11 +978,21 @@ declare namespace gapi.client {
|
|
|
835
978
|
/** Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors. */
|
|
836
979
|
analysisError?: Status[];
|
|
837
980
|
/** The status of discovery for the resource. */
|
|
838
|
-
analysisStatus?:
|
|
981
|
+
analysisStatus?:
|
|
982
|
+
| 'ANALYSIS_STATUS_UNSPECIFIED'
|
|
983
|
+
| 'PENDING'
|
|
984
|
+
| 'SCANNING'
|
|
985
|
+
| 'FINISHED_SUCCESS'
|
|
986
|
+
| 'COMPLETE'
|
|
987
|
+
| 'FINISHED_FAILED'
|
|
988
|
+
| 'FINISHED_UNSUPPORTED';
|
|
839
989
|
/** 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. */
|
|
840
990
|
analysisStatusError?: Status;
|
|
841
991
|
/** Whether the resource is continuously analyzed. */
|
|
842
|
-
continuousAnalysis?:
|
|
992
|
+
continuousAnalysis?:
|
|
993
|
+
| 'CONTINUOUS_ANALYSIS_UNSPECIFIED'
|
|
994
|
+
| 'ACTIVE'
|
|
995
|
+
| 'INACTIVE';
|
|
843
996
|
/** Files that make up the resource described by the occurrence. */
|
|
844
997
|
files?: File[];
|
|
845
998
|
/** The last time continuous analysis was done for this resource. Deprecated, do not use. */
|
|
@@ -853,11 +1006,27 @@ declare namespace gapi.client {
|
|
|
853
1006
|
}
|
|
854
1007
|
interface Discovery {
|
|
855
1008
|
/** Required. Immutable. The kind of analysis that is handled by this discovery. */
|
|
856
|
-
analysisKind?:
|
|
1009
|
+
analysisKind?:
|
|
1010
|
+
| 'NOTE_KIND_UNSPECIFIED'
|
|
1011
|
+
| 'VULNERABILITY'
|
|
1012
|
+
| 'BUILD'
|
|
1013
|
+
| 'IMAGE'
|
|
1014
|
+
| 'PACKAGE'
|
|
1015
|
+
| 'DEPLOYMENT'
|
|
1016
|
+
| 'DISCOVERY'
|
|
1017
|
+
| 'ATTESTATION'
|
|
1018
|
+
| 'INTOTO'
|
|
1019
|
+
| 'SBOM'
|
|
1020
|
+
| 'SPDX_PACKAGE'
|
|
1021
|
+
| 'SPDX_FILE'
|
|
1022
|
+
| 'SPDX_RELATIONSHIP'
|
|
1023
|
+
| 'VULNERABILITY_ASSESSMENT'
|
|
1024
|
+
| 'SBOM_REFERENCE'
|
|
1025
|
+
| 'SECRET';
|
|
857
1026
|
}
|
|
858
1027
|
interface Distribution {
|
|
859
1028
|
/** The CPU architecture for which packages in this distribution channel were built. */
|
|
860
|
-
architecture?:
|
|
1029
|
+
architecture?: 'ARCHITECTURE_UNSPECIFIED' | 'X86' | 'X64';
|
|
861
1030
|
/** Required. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. */
|
|
862
1031
|
cpeUri?: string;
|
|
863
1032
|
/** The distribution channel-specific description of this package. */
|
|
@@ -925,7 +1094,12 @@ declare namespace gapi.client {
|
|
|
925
1094
|
}
|
|
926
1095
|
interface ExternalRef {
|
|
927
1096
|
/** An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package */
|
|
928
|
-
category?:
|
|
1097
|
+
category?:
|
|
1098
|
+
| 'CATEGORY_UNSPECIFIED'
|
|
1099
|
+
| 'SECURITY'
|
|
1100
|
+
| 'PACKAGE_MANAGER'
|
|
1101
|
+
| 'PERSISTENT_ID'
|
|
1102
|
+
| 'OTHER';
|
|
929
1103
|
/** Human-readable information about the purpose and target of the reference */
|
|
930
1104
|
comment?: string;
|
|
931
1105
|
/** The unique string with no spaces necessary to access the package-specific information, metadata, or content within the target location */
|
|
@@ -949,7 +1123,19 @@ declare namespace gapi.client {
|
|
|
949
1123
|
/** Provide a unique identifier to match analysis information on each specific file in a package */
|
|
950
1124
|
checksum?: string[];
|
|
951
1125
|
/** This field provides information about the type of file identified */
|
|
952
|
-
fileType?:
|
|
1126
|
+
fileType?:
|
|
1127
|
+
| 'FILE_TYPE_UNSPECIFIED'
|
|
1128
|
+
| 'SOURCE'
|
|
1129
|
+
| 'BINARY'
|
|
1130
|
+
| 'ARCHIVE'
|
|
1131
|
+
| 'APPLICATION'
|
|
1132
|
+
| 'AUDIO'
|
|
1133
|
+
| 'IMAGE'
|
|
1134
|
+
| 'TEXT'
|
|
1135
|
+
| 'VIDEO'
|
|
1136
|
+
| 'DOCUMENTATION'
|
|
1137
|
+
| 'SPDX'
|
|
1138
|
+
| 'OTHER';
|
|
953
1139
|
/** Identify the full path and filename that corresponds to the file information in this section */
|
|
954
1140
|
title?: string;
|
|
955
1141
|
}
|
|
@@ -985,14 +1171,20 @@ declare namespace gapi.client {
|
|
|
985
1171
|
/** The affected resource. */
|
|
986
1172
|
resource?: Resource;
|
|
987
1173
|
/** The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities. */
|
|
988
|
-
severity?:
|
|
1174
|
+
severity?:
|
|
1175
|
+
| 'SEVERITY_UNSPECIFIED'
|
|
1176
|
+
| 'MINIMAL'
|
|
1177
|
+
| 'LOW'
|
|
1178
|
+
| 'MEDIUM'
|
|
1179
|
+
| 'HIGH'
|
|
1180
|
+
| 'CRITICAL';
|
|
989
1181
|
/** The total number of vulnerabilities associated with this resource. */
|
|
990
1182
|
totalCount?: string;
|
|
991
1183
|
}
|
|
992
1184
|
interface GeneratePackagesSummaryRequest {}
|
|
993
1185
|
interface GenericSignedAttestation {
|
|
994
1186
|
/** Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema). */
|
|
995
|
-
contentType?:
|
|
1187
|
+
contentType?: 'CONTENT_TYPE_UNSPECIFIED' | 'SIMPLE_SIGNING_JSON';
|
|
996
1188
|
/** The serialized payload that is verified by one or more `signatures`. The encoding and semantic meaning of this payload must match what is set in `content_type`. */
|
|
997
1189
|
serializedPayload?: string;
|
|
998
1190
|
/** One or more signatures over `serialized_payload`. Verifier implementations should consider this attestation message verified if at least one `signature` verifies `serialized_payload`. See `Signature` in common.proto for more details on signature structure and verification. */
|
|
@@ -1071,9 +1263,18 @@ declare namespace gapi.client {
|
|
|
1071
1263
|
/** The cvss v3 score for the vulnerability. */
|
|
1072
1264
|
cvssV3?: CVSS;
|
|
1073
1265
|
/** Output only. CVSS version used to populate cvss_score and severity. */
|
|
1074
|
-
cvssVersion?:
|
|
1266
|
+
cvssVersion?:
|
|
1267
|
+
| 'CVSS_VERSION_UNSPECIFIED'
|
|
1268
|
+
| 'CVSS_VERSION_2'
|
|
1269
|
+
| 'CVSS_VERSION_3';
|
|
1075
1270
|
/** The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. 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. */
|
|
1076
|
-
effectiveSeverity?:
|
|
1271
|
+
effectiveSeverity?:
|
|
1272
|
+
| 'SEVERITY_UNSPECIFIED'
|
|
1273
|
+
| 'MINIMAL'
|
|
1274
|
+
| 'LOW'
|
|
1275
|
+
| 'MEDIUM'
|
|
1276
|
+
| 'HIGH'
|
|
1277
|
+
| 'CRITICAL';
|
|
1077
1278
|
/** Occurrence-specific extra details about the vulnerability. */
|
|
1078
1279
|
extraDetails?: string;
|
|
1079
1280
|
/** Output only. A detailed description of this vulnerability. */
|
|
@@ -1083,7 +1284,13 @@ declare namespace gapi.client {
|
|
|
1083
1284
|
/** Output only. URLs related to this vulnerability. */
|
|
1084
1285
|
relatedUrls?: RelatedUrl[];
|
|
1085
1286
|
/** Output only. The note provider assigned Severity of the vulnerability. */
|
|
1086
|
-
severity?:
|
|
1287
|
+
severity?:
|
|
1288
|
+
| 'SEVERITY_UNSPECIFIED'
|
|
1289
|
+
| 'MINIMAL'
|
|
1290
|
+
| 'LOW'
|
|
1291
|
+
| 'MEDIUM'
|
|
1292
|
+
| 'HIGH'
|
|
1293
|
+
| 'CRITICAL';
|
|
1087
1294
|
/** Output only. A one sentence description of this vulnerability. */
|
|
1088
1295
|
shortDescription?: string;
|
|
1089
1296
|
/** The type of package; whether native or non native(ruby gems, node.js packages etc) */
|
|
@@ -1092,7 +1299,12 @@ declare namespace gapi.client {
|
|
|
1092
1299
|
}
|
|
1093
1300
|
interface Hash {
|
|
1094
1301
|
/** Required. The type of hash that was performed. */
|
|
1095
|
-
type?:
|
|
1302
|
+
type?:
|
|
1303
|
+
| 'HASH_TYPE_UNSPECIFIED'
|
|
1304
|
+
| 'SHA256'
|
|
1305
|
+
| 'GO_MODULE_H1'
|
|
1306
|
+
| 'SHA512'
|
|
1307
|
+
| 'DIRSUM_SHA256';
|
|
1096
1308
|
/** Required. The hash value. */
|
|
1097
1309
|
value?: string;
|
|
1098
1310
|
}
|
|
@@ -1102,7 +1314,7 @@ declare namespace gapi.client {
|
|
|
1102
1314
|
}
|
|
1103
1315
|
interface Installation {
|
|
1104
1316
|
/** Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. */
|
|
1105
|
-
architecture?:
|
|
1317
|
+
architecture?: 'ARCHITECTURE_UNSPECIFIED' | 'X86' | 'X64';
|
|
1106
1318
|
/** 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. */
|
|
1107
1319
|
cpeUri?: string;
|
|
1108
1320
|
/** Licenses that have been declared by the authors of the package. */
|
|
@@ -1140,7 +1352,13 @@ declare namespace gapi.client {
|
|
|
1140
1352
|
/** Additional details on why this justification was chosen. */
|
|
1141
1353
|
details?: string;
|
|
1142
1354
|
/** The justification type for this vulnerability. */
|
|
1143
|
-
justificationType?:
|
|
1355
|
+
justificationType?:
|
|
1356
|
+
| 'JUSTIFICATION_TYPE_UNSPECIFIED'
|
|
1357
|
+
| 'COMPONENT_NOT_PRESENT'
|
|
1358
|
+
| 'VULNERABLE_CODE_NOT_PRESENT'
|
|
1359
|
+
| 'VULNERABLE_CODE_NOT_IN_EXECUTE_PATH'
|
|
1360
|
+
| 'VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY'
|
|
1361
|
+
| 'INLINE_MITIGATIONS_ALREADY_EXIST';
|
|
1144
1362
|
}
|
|
1145
1363
|
interface KnowledgeBase {
|
|
1146
1364
|
/** The KB name (generally of the form KB[0-9]+ i.e. KB123456). */
|
|
@@ -1152,7 +1370,25 @@ declare namespace gapi.client {
|
|
|
1152
1370
|
/** The recovered arguments to the Dockerfile directive. */
|
|
1153
1371
|
arguments?: string;
|
|
1154
1372
|
/** Required. The recovered Dockerfile directive used to construct this layer. */
|
|
1155
|
-
directive?:
|
|
1373
|
+
directive?:
|
|
1374
|
+
| 'DIRECTIVE_UNSPECIFIED'
|
|
1375
|
+
| 'MAINTAINER'
|
|
1376
|
+
| 'RUN'
|
|
1377
|
+
| 'CMD'
|
|
1378
|
+
| 'LABEL'
|
|
1379
|
+
| 'EXPOSE'
|
|
1380
|
+
| 'ENV'
|
|
1381
|
+
| 'ADD'
|
|
1382
|
+
| 'COPY'
|
|
1383
|
+
| 'ENTRYPOINT'
|
|
1384
|
+
| 'VOLUME'
|
|
1385
|
+
| 'USER'
|
|
1386
|
+
| 'WORKDIR'
|
|
1387
|
+
| 'ARG'
|
|
1388
|
+
| 'ONBUILD'
|
|
1389
|
+
| 'STOPSIGNAL'
|
|
1390
|
+
| 'HEALTHCHECK'
|
|
1391
|
+
| 'SHELL';
|
|
1156
1392
|
}
|
|
1157
1393
|
interface License {
|
|
1158
1394
|
/** Comments */
|
|
@@ -1226,7 +1462,23 @@ declare namespace gapi.client {
|
|
|
1226
1462
|
/** A note describing an in-toto link. */
|
|
1227
1463
|
intoto?: InToto;
|
|
1228
1464
|
/** Output only. The type of analysis. This field can be used as a filter in list requests. */
|
|
1229
|
-
kind?:
|
|
1465
|
+
kind?:
|
|
1466
|
+
| 'NOTE_KIND_UNSPECIFIED'
|
|
1467
|
+
| 'VULNERABILITY'
|
|
1468
|
+
| 'BUILD'
|
|
1469
|
+
| 'IMAGE'
|
|
1470
|
+
| 'PACKAGE'
|
|
1471
|
+
| 'DEPLOYMENT'
|
|
1472
|
+
| 'DISCOVERY'
|
|
1473
|
+
| 'ATTESTATION'
|
|
1474
|
+
| 'INTOTO'
|
|
1475
|
+
| 'SBOM'
|
|
1476
|
+
| 'SPDX_PACKAGE'
|
|
1477
|
+
| 'SPDX_FILE'
|
|
1478
|
+
| 'SPDX_RELATIONSHIP'
|
|
1479
|
+
| 'VULNERABILITY_ASSESSMENT'
|
|
1480
|
+
| 'SBOM_REFERENCE'
|
|
1481
|
+
| 'SECRET';
|
|
1230
1482
|
/** A detailed description of this note. */
|
|
1231
1483
|
longDescription?: string;
|
|
1232
1484
|
/** Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
|
|
@@ -1278,7 +1530,23 @@ declare namespace gapi.client {
|
|
|
1278
1530
|
/** Describes a specific in-toto link. */
|
|
1279
1531
|
intoto?: GrafeasV1beta1IntotoDetails;
|
|
1280
1532
|
/** Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests. */
|
|
1281
|
-
kind?:
|
|
1533
|
+
kind?:
|
|
1534
|
+
| 'NOTE_KIND_UNSPECIFIED'
|
|
1535
|
+
| 'VULNERABILITY'
|
|
1536
|
+
| 'BUILD'
|
|
1537
|
+
| 'IMAGE'
|
|
1538
|
+
| 'PACKAGE'
|
|
1539
|
+
| 'DEPLOYMENT'
|
|
1540
|
+
| 'DISCOVERY'
|
|
1541
|
+
| 'ATTESTATION'
|
|
1542
|
+
| 'INTOTO'
|
|
1543
|
+
| 'SBOM'
|
|
1544
|
+
| 'SPDX_PACKAGE'
|
|
1545
|
+
| 'SPDX_FILE'
|
|
1546
|
+
| 'SPDX_RELATIONSHIP'
|
|
1547
|
+
| 'VULNERABILITY_ASSESSMENT'
|
|
1548
|
+
| 'SBOM_REFERENCE'
|
|
1549
|
+
| 'SECRET';
|
|
1282
1550
|
/** Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
|
|
1283
1551
|
name?: string;
|
|
1284
1552
|
/** 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. */
|
|
@@ -1306,7 +1574,7 @@ declare namespace gapi.client {
|
|
|
1306
1574
|
}
|
|
1307
1575
|
interface Package {
|
|
1308
1576
|
/** The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. */
|
|
1309
|
-
architecture?:
|
|
1577
|
+
architecture?: 'ARCHITECTURE_UNSPECIFIED' | 'X86' | 'X64';
|
|
1310
1578
|
/** 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. */
|
|
1311
1579
|
cpeUri?: string;
|
|
1312
1580
|
/** The description of this package. */
|
|
@@ -1390,7 +1658,13 @@ declare namespace gapi.client {
|
|
|
1390
1658
|
/** Required. The location of the vulnerability. */
|
|
1391
1659
|
affectedLocation?: VulnerabilityLocation;
|
|
1392
1660
|
/** 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. */
|
|
1393
|
-
effectiveSeverity?:
|
|
1661
|
+
effectiveSeverity?:
|
|
1662
|
+
| 'SEVERITY_UNSPECIFIED'
|
|
1663
|
+
| 'MINIMAL'
|
|
1664
|
+
| 'LOW'
|
|
1665
|
+
| 'MEDIUM'
|
|
1666
|
+
| 'HIGH'
|
|
1667
|
+
| 'CRITICAL';
|
|
1394
1668
|
/** The location of the available fix for vulnerability. */
|
|
1395
1669
|
fixedLocation?: VulnerabilityLocation;
|
|
1396
1670
|
/** The type of package (e.g. OS, MAVEN, GO). */
|
|
@@ -1406,7 +1680,7 @@ declare namespace gapi.client {
|
|
|
1406
1680
|
}
|
|
1407
1681
|
interface PgpSignedAttestation {
|
|
1408
1682
|
/** Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema). */
|
|
1409
|
-
contentType?:
|
|
1683
|
+
contentType?: 'CONTENT_TYPE_UNSPECIFIED' | 'SIMPLE_SIGNING_JSON';
|
|
1410
1684
|
/** The cryptographic fingerprint of the key used to generate the signature, as output by, e.g. `gpg --list-keys`. This should be the version 4, full 160-bit fingerprint, expressed as a 40 character hexadecimal string. See https://tools.ietf.org/html/rfc4880#section-12.2 for details. Implementations may choose to acknowledge "LONG", "SHORT", or other abbreviated key IDs, but only the full fingerprint is guaranteed to work. In gpg, the full fingerprint can be retrieved from the `fpr` field returned when calling --list-keys with --with-colons. For example: ``` gpg --with-colons --with-fingerprint --force-v4-certs \ --list-keys attester@example.com tru::1:1513631572:0:3:1:5 pub:...... fpr:::::::::24FF6481B76AC91E66A00AC657A93A81EF3AE6FB: ``` Above, the fingerprint is `24FF6481B76AC91E66A00AC657A93A81EF3AE6FB`. */
|
|
1411
1685
|
pgpKeyId?: string;
|
|
1412
1686
|
/** Required. The raw content of the signature, as output by GNU Privacy Guard (GPG) or equivalent. Since this message only supports attached signatures, the payload that was signed must be attached. While the signature format supported is dependent on the verification implementation, currently only ASCII-armored (`--armor` to gpg), non-clearsigned (`--sign` rather than `--clearsign` to gpg) are supported. Concretely, `gpg --sign --armor --output=signature.gpg payload.json` will create the signature content expected in this field in `signature.gpg` for the `payload.json` attestation payload. */
|
|
@@ -1455,7 +1729,51 @@ declare namespace gapi.client {
|
|
|
1455
1729
|
}
|
|
1456
1730
|
interface RelationshipNote {
|
|
1457
1731
|
/** The type of relationship between the source and target SPDX elements */
|
|
1458
|
-
type?:
|
|
1732
|
+
type?:
|
|
1733
|
+
| 'RELATIONSHIP_TYPE_UNSPECIFIED'
|
|
1734
|
+
| 'DESCRIBES'
|
|
1735
|
+
| 'DESCRIBED_BY'
|
|
1736
|
+
| 'CONTAINS'
|
|
1737
|
+
| 'CONTAINED_BY'
|
|
1738
|
+
| 'DEPENDS_ON'
|
|
1739
|
+
| 'DEPENDENCY_OF'
|
|
1740
|
+
| 'DEPENDENCY_MANIFEST_OF'
|
|
1741
|
+
| 'BUILD_DEPENDENCY_OF'
|
|
1742
|
+
| 'DEV_DEPENDENCY_OF'
|
|
1743
|
+
| 'OPTIONAL_DEPENDENCY_OF'
|
|
1744
|
+
| 'PROVIDED_DEPENDENCY_OF'
|
|
1745
|
+
| 'TEST_DEPENDENCY_OF'
|
|
1746
|
+
| 'RUNTIME_DEPENDENCY_OF'
|
|
1747
|
+
| 'EXAMPLE_OF'
|
|
1748
|
+
| 'GENERATES'
|
|
1749
|
+
| 'GENERATED_FROM'
|
|
1750
|
+
| 'ANCESTOR_OF'
|
|
1751
|
+
| 'DESCENDANT_OF'
|
|
1752
|
+
| 'VARIANT_OF'
|
|
1753
|
+
| 'DISTRIBUTION_ARTIFACT'
|
|
1754
|
+
| 'PATCH_FOR'
|
|
1755
|
+
| 'PATCH_APPLIED'
|
|
1756
|
+
| 'COPY_OF'
|
|
1757
|
+
| 'FILE_ADDED'
|
|
1758
|
+
| 'FILE_DELETED'
|
|
1759
|
+
| 'FILE_MODIFIED'
|
|
1760
|
+
| 'EXPANDED_FROM_ARCHIVE'
|
|
1761
|
+
| 'DYNAMIC_LINK'
|
|
1762
|
+
| 'STATIC_LINK'
|
|
1763
|
+
| 'DATA_FILE_OF'
|
|
1764
|
+
| 'TEST_CASE_OF'
|
|
1765
|
+
| 'BUILD_TOOL_OF'
|
|
1766
|
+
| 'DEV_TOOL_OF'
|
|
1767
|
+
| 'TEST_OF'
|
|
1768
|
+
| 'TEST_TOOL_OF'
|
|
1769
|
+
| 'DOCUMENTATION_OF'
|
|
1770
|
+
| 'OPTIONAL_COMPONENT_OF'
|
|
1771
|
+
| 'METAFILE_OF'
|
|
1772
|
+
| 'PACKAGE_OF'
|
|
1773
|
+
| 'AMENDS'
|
|
1774
|
+
| 'PREREQUISITE_FOR'
|
|
1775
|
+
| 'HAS_PREREQUISITE'
|
|
1776
|
+
| 'OTHER';
|
|
1459
1777
|
}
|
|
1460
1778
|
interface RelationshipOccurrence {
|
|
1461
1779
|
/** A place for the SPDX file creator to record any general comments about the relationship */
|
|
@@ -1465,13 +1783,63 @@ declare namespace gapi.client {
|
|
|
1465
1783
|
/** Also referred to as SPDXRef-B The target SPDC element (file, package, etc) In cases where there are "known unknowns", the use of the keyword NOASSERTION can be used The keywords NONE can be used to indicate that an SPDX element (package/file/snippet) has no other elements connected by some relationship to it */
|
|
1466
1784
|
target?: string;
|
|
1467
1785
|
/** Output only. The type of relationship between the source and target SPDX elements */
|
|
1468
|
-
type?:
|
|
1786
|
+
type?:
|
|
1787
|
+
| 'RELATIONSHIP_TYPE_UNSPECIFIED'
|
|
1788
|
+
| 'DESCRIBES'
|
|
1789
|
+
| 'DESCRIBED_BY'
|
|
1790
|
+
| 'CONTAINS'
|
|
1791
|
+
| 'CONTAINED_BY'
|
|
1792
|
+
| 'DEPENDS_ON'
|
|
1793
|
+
| 'DEPENDENCY_OF'
|
|
1794
|
+
| 'DEPENDENCY_MANIFEST_OF'
|
|
1795
|
+
| 'BUILD_DEPENDENCY_OF'
|
|
1796
|
+
| 'DEV_DEPENDENCY_OF'
|
|
1797
|
+
| 'OPTIONAL_DEPENDENCY_OF'
|
|
1798
|
+
| 'PROVIDED_DEPENDENCY_OF'
|
|
1799
|
+
| 'TEST_DEPENDENCY_OF'
|
|
1800
|
+
| 'RUNTIME_DEPENDENCY_OF'
|
|
1801
|
+
| 'EXAMPLE_OF'
|
|
1802
|
+
| 'GENERATES'
|
|
1803
|
+
| 'GENERATED_FROM'
|
|
1804
|
+
| 'ANCESTOR_OF'
|
|
1805
|
+
| 'DESCENDANT_OF'
|
|
1806
|
+
| 'VARIANT_OF'
|
|
1807
|
+
| 'DISTRIBUTION_ARTIFACT'
|
|
1808
|
+
| 'PATCH_FOR'
|
|
1809
|
+
| 'PATCH_APPLIED'
|
|
1810
|
+
| 'COPY_OF'
|
|
1811
|
+
| 'FILE_ADDED'
|
|
1812
|
+
| 'FILE_DELETED'
|
|
1813
|
+
| 'FILE_MODIFIED'
|
|
1814
|
+
| 'EXPANDED_FROM_ARCHIVE'
|
|
1815
|
+
| 'DYNAMIC_LINK'
|
|
1816
|
+
| 'STATIC_LINK'
|
|
1817
|
+
| 'DATA_FILE_OF'
|
|
1818
|
+
| 'TEST_CASE_OF'
|
|
1819
|
+
| 'BUILD_TOOL_OF'
|
|
1820
|
+
| 'DEV_TOOL_OF'
|
|
1821
|
+
| 'TEST_OF'
|
|
1822
|
+
| 'TEST_TOOL_OF'
|
|
1823
|
+
| 'DOCUMENTATION_OF'
|
|
1824
|
+
| 'OPTIONAL_COMPONENT_OF'
|
|
1825
|
+
| 'METAFILE_OF'
|
|
1826
|
+
| 'PACKAGE_OF'
|
|
1827
|
+
| 'AMENDS'
|
|
1828
|
+
| 'PREREQUISITE_FOR'
|
|
1829
|
+
| 'HAS_PREREQUISITE'
|
|
1830
|
+
| 'OTHER';
|
|
1469
1831
|
}
|
|
1470
1832
|
interface Remediation {
|
|
1471
1833
|
/** Contains a comprehensive human-readable discussion of the remediation. */
|
|
1472
1834
|
details?: string;
|
|
1473
1835
|
/** The type of remediation that can be applied. */
|
|
1474
|
-
remediationType?:
|
|
1836
|
+
remediationType?:
|
|
1837
|
+
| 'REMEDIATION_TYPE_UNSPECIFIED'
|
|
1838
|
+
| 'MITIGATION'
|
|
1839
|
+
| 'NO_FIX_PLANNED'
|
|
1840
|
+
| 'NONE_AVAILABLE'
|
|
1841
|
+
| 'VENDOR_FIX'
|
|
1842
|
+
| 'WORKAROUND';
|
|
1475
1843
|
/** Contains the URL where to obtain the remediation. */
|
|
1476
1844
|
remediationUri?: RelatedUrl;
|
|
1477
1845
|
}
|
|
@@ -1541,7 +1909,7 @@ declare namespace gapi.client {
|
|
|
1541
1909
|
/** If there was an error generating an SBOM, this will indicate what that error was. */
|
|
1542
1910
|
error?: string;
|
|
1543
1911
|
/** The progress of the SBOM generation. */
|
|
1544
|
-
sbomState?:
|
|
1912
|
+
sbomState?: 'SBOM_STATE_UNSPECIFIED' | 'PENDING' | 'COMPLETE';
|
|
1545
1913
|
}
|
|
1546
1914
|
interface SecretLocation {
|
|
1547
1915
|
/** The secret is found from a file. */
|
|
@@ -1550,7 +1918,30 @@ declare namespace gapi.client {
|
|
|
1550
1918
|
interface SecretNote {}
|
|
1551
1919
|
interface SecretOccurrence {
|
|
1552
1920
|
/** Required. Type of secret. */
|
|
1553
|
-
kind?:
|
|
1921
|
+
kind?:
|
|
1922
|
+
| 'SECRET_KIND_UNSPECIFIED'
|
|
1923
|
+
| 'SECRET_KIND_UNKNOWN'
|
|
1924
|
+
| 'SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY'
|
|
1925
|
+
| 'SECRET_KIND_GCP_API_KEY'
|
|
1926
|
+
| 'SECRET_KIND_GCP_OAUTH2_CLIENT_CREDENTIALS'
|
|
1927
|
+
| 'SECRET_KIND_GCP_OAUTH2_ACCESS_TOKEN'
|
|
1928
|
+
| 'SECRET_KIND_ANTHROPIC_ADMIN_API_KEY'
|
|
1929
|
+
| 'SECRET_KIND_ANTHROPIC_API_KEY'
|
|
1930
|
+
| 'SECRET_KIND_AZURE_ACCESS_TOKEN'
|
|
1931
|
+
| 'SECRET_KIND_AZURE_IDENTITY_TOKEN'
|
|
1932
|
+
| 'SECRET_KIND_DOCKER_HUB_PERSONAL_ACCESS_TOKEN'
|
|
1933
|
+
| 'SECRET_KIND_GITHUB_APP_REFRESH_TOKEN'
|
|
1934
|
+
| 'SECRET_KIND_GITHUB_APP_SERVER_TO_SERVER_TOKEN'
|
|
1935
|
+
| 'SECRET_KIND_GITHUB_APP_USER_TO_SERVER_TOKEN'
|
|
1936
|
+
| 'SECRET_KIND_GITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN'
|
|
1937
|
+
| 'SECRET_KIND_GITHUB_FINE_GRAINED_PERSONAL_ACCESS_TOKEN'
|
|
1938
|
+
| 'SECRET_KIND_GITHUB_OAUTH_TOKEN'
|
|
1939
|
+
| 'SECRET_KIND_HUGGINGFACE_API_KEY'
|
|
1940
|
+
| 'SECRET_KIND_OPENAI_API_KEY'
|
|
1941
|
+
| 'SECRET_KIND_PERPLEXITY_API_KEY'
|
|
1942
|
+
| 'SECRET_KIND_STRIPE_SECRET_KEY'
|
|
1943
|
+
| 'SECRET_KIND_STRIPE_RESTRICTED_KEY'
|
|
1944
|
+
| 'SECRET_KIND_STRIPE_WEBHOOK_SECRET';
|
|
1554
1945
|
/** Optional. Locations where the secret is detected. */
|
|
1555
1946
|
locations?: SecretLocation[];
|
|
1556
1947
|
/** Optional. Status of the secret. */
|
|
@@ -1560,7 +1951,7 @@ declare namespace gapi.client {
|
|
|
1560
1951
|
/** Optional. Optional message about the status code. */
|
|
1561
1952
|
message?: string;
|
|
1562
1953
|
/** Optional. The status of the secret. */
|
|
1563
|
-
status?:
|
|
1954
|
+
status?: 'STATUS_UNSPECIFIED' | 'UNKNOWN' | 'VALID' | 'INVALID';
|
|
1564
1955
|
/** Optional. The time the secret status was last updated. */
|
|
1565
1956
|
updateTime?: string;
|
|
1566
1957
|
}
|
|
@@ -1647,7 +2038,7 @@ declare namespace gapi.client {
|
|
|
1647
2038
|
/** 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. */
|
|
1648
2039
|
inclusive?: boolean;
|
|
1649
2040
|
/** Required. Distinguishes between sentinel MIN/MAX versions and normal versions. */
|
|
1650
|
-
kind?:
|
|
2041
|
+
kind?: 'VERSION_KIND_UNSPECIFIED' | 'NORMAL' | 'MINIMUM' | 'MAXIMUM';
|
|
1651
2042
|
/** Required only when version kind is NORMAL. The main part of the version name. */
|
|
1652
2043
|
name?: string;
|
|
1653
2044
|
/** The iteration of the package build from the above version. */
|
|
@@ -1667,7 +2058,12 @@ declare namespace gapi.client {
|
|
|
1667
2058
|
/** Specifies details on how to handle (and presumably, fix) a vulnerability. */
|
|
1668
2059
|
remediations?: Remediation[];
|
|
1669
2060
|
/** Provides the state of this Vulnerability assessment. */
|
|
1670
|
-
state?:
|
|
2061
|
+
state?:
|
|
2062
|
+
| 'STATE_UNSPECIFIED'
|
|
2063
|
+
| 'AFFECTED'
|
|
2064
|
+
| 'NOT_AFFECTED'
|
|
2065
|
+
| 'FIXED'
|
|
2066
|
+
| 'UNDER_INVESTIGATION';
|
|
1671
2067
|
/** The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc. */
|
|
1672
2068
|
vulnerabilityId?: string;
|
|
1673
2069
|
}
|
|
@@ -1687,13 +2083,22 @@ declare namespace gapi.client {
|
|
|
1687
2083
|
/** The full description of the CVSS for version 3. */
|
|
1688
2084
|
cvssV3?: CVSSv3;
|
|
1689
2085
|
/** CVSS version used to populate cvss_score and severity. */
|
|
1690
|
-
cvssVersion?:
|
|
2086
|
+
cvssVersion?:
|
|
2087
|
+
| 'CVSS_VERSION_UNSPECIFIED'
|
|
2088
|
+
| 'CVSS_VERSION_2'
|
|
2089
|
+
| 'CVSS_VERSION_3';
|
|
1691
2090
|
/** A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html */
|
|
1692
2091
|
cwe?: string[];
|
|
1693
2092
|
/** All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in. */
|
|
1694
2093
|
details?: Detail[];
|
|
1695
2094
|
/** Note provider assigned impact of the vulnerability. */
|
|
1696
|
-
severity?:
|
|
2095
|
+
severity?:
|
|
2096
|
+
| 'SEVERITY_UNSPECIFIED'
|
|
2097
|
+
| 'MINIMAL'
|
|
2098
|
+
| 'LOW'
|
|
2099
|
+
| 'MEDIUM'
|
|
2100
|
+
| 'HIGH'
|
|
2101
|
+
| 'CRITICAL';
|
|
1697
2102
|
/** 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. */
|
|
1698
2103
|
sourceUpdateTime?: string;
|
|
1699
2104
|
/** 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. */
|
|
@@ -1743,11 +2148,11 @@ declare namespace gapi.client {
|
|
|
1743
2148
|
/** Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note. */
|
|
1744
2149
|
list(request?: {
|
|
1745
2150
|
/** V1 error format. */
|
|
1746
|
-
'$.xgafv'?:
|
|
2151
|
+
'$.xgafv'?: '1' | '2';
|
|
1747
2152
|
/** OAuth access token. */
|
|
1748
2153
|
access_token?: string;
|
|
1749
2154
|
/** Data format for response. */
|
|
1750
|
-
alt?:
|
|
2155
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1751
2156
|
/** JSONP */
|
|
1752
2157
|
callback?: string;
|
|
1753
2158
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1778,11 +2183,11 @@ declare namespace gapi.client {
|
|
|
1778
2183
|
/** Creates new notes in batch. */
|
|
1779
2184
|
batchCreate(request: {
|
|
1780
2185
|
/** V1 error format. */
|
|
1781
|
-
'$.xgafv'?:
|
|
2186
|
+
'$.xgafv'?: '1' | '2';
|
|
1782
2187
|
/** OAuth access token. */
|
|
1783
2188
|
access_token?: string;
|
|
1784
2189
|
/** Data format for response. */
|
|
1785
|
-
alt?:
|
|
2190
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1786
2191
|
/** JSONP */
|
|
1787
2192
|
callback?: string;
|
|
1788
2193
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1807,11 +2212,11 @@ declare namespace gapi.client {
|
|
|
1807
2212
|
batchCreate(
|
|
1808
2213
|
request: {
|
|
1809
2214
|
/** V1 error format. */
|
|
1810
|
-
'$.xgafv'?:
|
|
2215
|
+
'$.xgafv'?: '1' | '2';
|
|
1811
2216
|
/** OAuth access token. */
|
|
1812
2217
|
access_token?: string;
|
|
1813
2218
|
/** Data format for response. */
|
|
1814
|
-
alt?:
|
|
2219
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1815
2220
|
/** JSONP */
|
|
1816
2221
|
callback?: string;
|
|
1817
2222
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1836,11 +2241,11 @@ declare namespace gapi.client {
|
|
|
1836
2241
|
/** Creates a new note. */
|
|
1837
2242
|
create(request: {
|
|
1838
2243
|
/** V1 error format. */
|
|
1839
|
-
'$.xgafv'?:
|
|
2244
|
+
'$.xgafv'?: '1' | '2';
|
|
1840
2245
|
/** OAuth access token. */
|
|
1841
2246
|
access_token?: string;
|
|
1842
2247
|
/** Data format for response. */
|
|
1843
|
-
alt?:
|
|
2248
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1844
2249
|
/** JSONP */
|
|
1845
2250
|
callback?: string;
|
|
1846
2251
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1867,11 +2272,11 @@ declare namespace gapi.client {
|
|
|
1867
2272
|
create(
|
|
1868
2273
|
request: {
|
|
1869
2274
|
/** V1 error format. */
|
|
1870
|
-
'$.xgafv'?:
|
|
2275
|
+
'$.xgafv'?: '1' | '2';
|
|
1871
2276
|
/** OAuth access token. */
|
|
1872
2277
|
access_token?: string;
|
|
1873
2278
|
/** Data format for response. */
|
|
1874
|
-
alt?:
|
|
2279
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1875
2280
|
/** JSONP */
|
|
1876
2281
|
callback?: string;
|
|
1877
2282
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1898,11 +2303,11 @@ declare namespace gapi.client {
|
|
|
1898
2303
|
/** Deletes the specified note. */
|
|
1899
2304
|
delete(request?: {
|
|
1900
2305
|
/** V1 error format. */
|
|
1901
|
-
'$.xgafv'?:
|
|
2306
|
+
'$.xgafv'?: '1' | '2';
|
|
1902
2307
|
/** OAuth access token. */
|
|
1903
2308
|
access_token?: string;
|
|
1904
2309
|
/** Data format for response. */
|
|
1905
|
-
alt?:
|
|
2310
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1906
2311
|
/** JSONP */
|
|
1907
2312
|
callback?: string;
|
|
1908
2313
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1925,11 +2330,11 @@ declare namespace gapi.client {
|
|
|
1925
2330
|
/** Gets the specified note. */
|
|
1926
2331
|
get(request?: {
|
|
1927
2332
|
/** V1 error format. */
|
|
1928
|
-
'$.xgafv'?:
|
|
2333
|
+
'$.xgafv'?: '1' | '2';
|
|
1929
2334
|
/** OAuth access token. */
|
|
1930
2335
|
access_token?: string;
|
|
1931
2336
|
/** Data format for response. */
|
|
1932
|
-
alt?:
|
|
2337
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1933
2338
|
/** JSONP */
|
|
1934
2339
|
callback?: string;
|
|
1935
2340
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1953,11 +2358,11 @@ declare namespace gapi.client {
|
|
|
1953
2358
|
getIamPolicy(
|
|
1954
2359
|
request: {
|
|
1955
2360
|
/** V1 error format. */
|
|
1956
|
-
'$.xgafv'?:
|
|
2361
|
+
'$.xgafv'?: '1' | '2';
|
|
1957
2362
|
/** OAuth access token. */
|
|
1958
2363
|
access_token?: string;
|
|
1959
2364
|
/** Data format for response. */
|
|
1960
|
-
alt?:
|
|
2365
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1961
2366
|
/** JSONP */
|
|
1962
2367
|
callback?: string;
|
|
1963
2368
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1982,11 +2387,11 @@ declare namespace gapi.client {
|
|
|
1982
2387
|
/** Lists notes for the specified project. */
|
|
1983
2388
|
list(request?: {
|
|
1984
2389
|
/** V1 error format. */
|
|
1985
|
-
'$.xgafv'?:
|
|
2390
|
+
'$.xgafv'?: '1' | '2';
|
|
1986
2391
|
/** OAuth access token. */
|
|
1987
2392
|
access_token?: string;
|
|
1988
2393
|
/** Data format for response. */
|
|
1989
|
-
alt?:
|
|
2394
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1990
2395
|
/** JSONP */
|
|
1991
2396
|
callback?: string;
|
|
1992
2397
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2017,11 +2422,11 @@ declare namespace gapi.client {
|
|
|
2017
2422
|
/** Updates the specified note. */
|
|
2018
2423
|
patch(request: {
|
|
2019
2424
|
/** V1 error format. */
|
|
2020
|
-
'$.xgafv'?:
|
|
2425
|
+
'$.xgafv'?: '1' | '2';
|
|
2021
2426
|
/** OAuth access token. */
|
|
2022
2427
|
access_token?: string;
|
|
2023
2428
|
/** Data format for response. */
|
|
2024
|
-
alt?:
|
|
2429
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2025
2430
|
/** JSONP */
|
|
2026
2431
|
callback?: string;
|
|
2027
2432
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2048,11 +2453,11 @@ declare namespace gapi.client {
|
|
|
2048
2453
|
patch(
|
|
2049
2454
|
request: {
|
|
2050
2455
|
/** V1 error format. */
|
|
2051
|
-
'$.xgafv'?:
|
|
2456
|
+
'$.xgafv'?: '1' | '2';
|
|
2052
2457
|
/** OAuth access token. */
|
|
2053
2458
|
access_token?: string;
|
|
2054
2459
|
/** Data format for response. */
|
|
2055
|
-
alt?:
|
|
2460
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2056
2461
|
/** JSONP */
|
|
2057
2462
|
callback?: string;
|
|
2058
2463
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2080,11 +2485,11 @@ declare namespace gapi.client {
|
|
|
2080
2485
|
setIamPolicy(
|
|
2081
2486
|
request: {
|
|
2082
2487
|
/** V1 error format. */
|
|
2083
|
-
'$.xgafv'?:
|
|
2488
|
+
'$.xgafv'?: '1' | '2';
|
|
2084
2489
|
/** OAuth access token. */
|
|
2085
2490
|
access_token?: string;
|
|
2086
2491
|
/** Data format for response. */
|
|
2087
|
-
alt?:
|
|
2492
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2088
2493
|
/** JSONP */
|
|
2089
2494
|
callback?: string;
|
|
2090
2495
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2110,11 +2515,11 @@ declare namespace gapi.client {
|
|
|
2110
2515
|
testIamPermissions(
|
|
2111
2516
|
request: {
|
|
2112
2517
|
/** V1 error format. */
|
|
2113
|
-
'$.xgafv'?:
|
|
2518
|
+
'$.xgafv'?: '1' | '2';
|
|
2114
2519
|
/** OAuth access token. */
|
|
2115
2520
|
access_token?: string;
|
|
2116
2521
|
/** Data format for response. */
|
|
2117
|
-
alt?:
|
|
2522
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2118
2523
|
/** JSONP */
|
|
2119
2524
|
callback?: string;
|
|
2120
2525
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2142,11 +2547,11 @@ declare namespace gapi.client {
|
|
|
2142
2547
|
/** Creates new occurrences in batch. */
|
|
2143
2548
|
batchCreate(request: {
|
|
2144
2549
|
/** V1 error format. */
|
|
2145
|
-
'$.xgafv'?:
|
|
2550
|
+
'$.xgafv'?: '1' | '2';
|
|
2146
2551
|
/** OAuth access token. */
|
|
2147
2552
|
access_token?: string;
|
|
2148
2553
|
/** Data format for response. */
|
|
2149
|
-
alt?:
|
|
2554
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2150
2555
|
/** JSONP */
|
|
2151
2556
|
callback?: string;
|
|
2152
2557
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2171,11 +2576,11 @@ declare namespace gapi.client {
|
|
|
2171
2576
|
batchCreate(
|
|
2172
2577
|
request: {
|
|
2173
2578
|
/** V1 error format. */
|
|
2174
|
-
'$.xgafv'?:
|
|
2579
|
+
'$.xgafv'?: '1' | '2';
|
|
2175
2580
|
/** OAuth access token. */
|
|
2176
2581
|
access_token?: string;
|
|
2177
2582
|
/** Data format for response. */
|
|
2178
|
-
alt?:
|
|
2583
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2179
2584
|
/** JSONP */
|
|
2180
2585
|
callback?: string;
|
|
2181
2586
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2200,11 +2605,11 @@ declare namespace gapi.client {
|
|
|
2200
2605
|
/** Creates a new occurrence. */
|
|
2201
2606
|
create(request: {
|
|
2202
2607
|
/** V1 error format. */
|
|
2203
|
-
'$.xgafv'?:
|
|
2608
|
+
'$.xgafv'?: '1' | '2';
|
|
2204
2609
|
/** OAuth access token. */
|
|
2205
2610
|
access_token?: string;
|
|
2206
2611
|
/** Data format for response. */
|
|
2207
|
-
alt?:
|
|
2612
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2208
2613
|
/** JSONP */
|
|
2209
2614
|
callback?: string;
|
|
2210
2615
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2229,11 +2634,11 @@ declare namespace gapi.client {
|
|
|
2229
2634
|
create(
|
|
2230
2635
|
request: {
|
|
2231
2636
|
/** V1 error format. */
|
|
2232
|
-
'$.xgafv'?:
|
|
2637
|
+
'$.xgafv'?: '1' | '2';
|
|
2233
2638
|
/** OAuth access token. */
|
|
2234
2639
|
access_token?: string;
|
|
2235
2640
|
/** Data format for response. */
|
|
2236
|
-
alt?:
|
|
2641
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2237
2642
|
/** JSONP */
|
|
2238
2643
|
callback?: string;
|
|
2239
2644
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2258,11 +2663,11 @@ declare namespace gapi.client {
|
|
|
2258
2663
|
/** Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource. */
|
|
2259
2664
|
delete(request?: {
|
|
2260
2665
|
/** V1 error format. */
|
|
2261
|
-
'$.xgafv'?:
|
|
2666
|
+
'$.xgafv'?: '1' | '2';
|
|
2262
2667
|
/** OAuth access token. */
|
|
2263
2668
|
access_token?: string;
|
|
2264
2669
|
/** Data format for response. */
|
|
2265
|
-
alt?:
|
|
2670
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2266
2671
|
/** JSONP */
|
|
2267
2672
|
callback?: string;
|
|
2268
2673
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2285,11 +2690,11 @@ declare namespace gapi.client {
|
|
|
2285
2690
|
/** Gets the specified occurrence. */
|
|
2286
2691
|
get(request?: {
|
|
2287
2692
|
/** V1 error format. */
|
|
2288
|
-
'$.xgafv'?:
|
|
2693
|
+
'$.xgafv'?: '1' | '2';
|
|
2289
2694
|
/** OAuth access token. */
|
|
2290
2695
|
access_token?: string;
|
|
2291
2696
|
/** Data format for response. */
|
|
2292
|
-
alt?:
|
|
2697
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2293
2698
|
/** JSONP */
|
|
2294
2699
|
callback?: string;
|
|
2295
2700
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2313,11 +2718,11 @@ declare namespace gapi.client {
|
|
|
2313
2718
|
getIamPolicy(
|
|
2314
2719
|
request: {
|
|
2315
2720
|
/** V1 error format. */
|
|
2316
|
-
'$.xgafv'?:
|
|
2721
|
+
'$.xgafv'?: '1' | '2';
|
|
2317
2722
|
/** OAuth access token. */
|
|
2318
2723
|
access_token?: string;
|
|
2319
2724
|
/** Data format for response. */
|
|
2320
|
-
alt?:
|
|
2725
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2321
2726
|
/** JSONP */
|
|
2322
2727
|
callback?: string;
|
|
2323
2728
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2342,11 +2747,11 @@ declare namespace gapi.client {
|
|
|
2342
2747
|
/** Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project. */
|
|
2343
2748
|
getNotes(request?: {
|
|
2344
2749
|
/** V1 error format. */
|
|
2345
|
-
'$.xgafv'?:
|
|
2750
|
+
'$.xgafv'?: '1' | '2';
|
|
2346
2751
|
/** OAuth access token. */
|
|
2347
2752
|
access_token?: string;
|
|
2348
2753
|
/** Data format for response. */
|
|
2349
|
-
alt?:
|
|
2754
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2350
2755
|
/** JSONP */
|
|
2351
2756
|
callback?: string;
|
|
2352
2757
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2369,11 +2774,11 @@ declare namespace gapi.client {
|
|
|
2369
2774
|
/** Gets a summary of the number and severity of occurrences. */
|
|
2370
2775
|
getVulnerabilitySummary(request?: {
|
|
2371
2776
|
/** V1 error format. */
|
|
2372
|
-
'$.xgafv'?:
|
|
2777
|
+
'$.xgafv'?: '1' | '2';
|
|
2373
2778
|
/** OAuth access token. */
|
|
2374
2779
|
access_token?: string;
|
|
2375
2780
|
/** Data format for response. */
|
|
2376
|
-
alt?:
|
|
2781
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2377
2782
|
/** JSONP */
|
|
2378
2783
|
callback?: string;
|
|
2379
2784
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2400,11 +2805,11 @@ declare namespace gapi.client {
|
|
|
2400
2805
|
/** Lists occurrences for the specified project. */
|
|
2401
2806
|
list(request?: {
|
|
2402
2807
|
/** V1 error format. */
|
|
2403
|
-
'$.xgafv'?:
|
|
2808
|
+
'$.xgafv'?: '1' | '2';
|
|
2404
2809
|
/** OAuth access token. */
|
|
2405
2810
|
access_token?: string;
|
|
2406
2811
|
/** Data format for response. */
|
|
2407
|
-
alt?:
|
|
2812
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2408
2813
|
/** JSONP */
|
|
2409
2814
|
callback?: string;
|
|
2410
2815
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2435,11 +2840,11 @@ declare namespace gapi.client {
|
|
|
2435
2840
|
/** Updates the specified occurrence. */
|
|
2436
2841
|
patch(request: {
|
|
2437
2842
|
/** V1 error format. */
|
|
2438
|
-
'$.xgafv'?:
|
|
2843
|
+
'$.xgafv'?: '1' | '2';
|
|
2439
2844
|
/** OAuth access token. */
|
|
2440
2845
|
access_token?: string;
|
|
2441
2846
|
/** Data format for response. */
|
|
2442
|
-
alt?:
|
|
2847
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2443
2848
|
/** JSONP */
|
|
2444
2849
|
callback?: string;
|
|
2445
2850
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2466,11 +2871,11 @@ declare namespace gapi.client {
|
|
|
2466
2871
|
patch(
|
|
2467
2872
|
request: {
|
|
2468
2873
|
/** V1 error format. */
|
|
2469
|
-
'$.xgafv'?:
|
|
2874
|
+
'$.xgafv'?: '1' | '2';
|
|
2470
2875
|
/** OAuth access token. */
|
|
2471
2876
|
access_token?: string;
|
|
2472
2877
|
/** Data format for response. */
|
|
2473
|
-
alt?:
|
|
2878
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2474
2879
|
/** JSONP */
|
|
2475
2880
|
callback?: string;
|
|
2476
2881
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2498,11 +2903,11 @@ declare namespace gapi.client {
|
|
|
2498
2903
|
setIamPolicy(
|
|
2499
2904
|
request: {
|
|
2500
2905
|
/** V1 error format. */
|
|
2501
|
-
'$.xgafv'?:
|
|
2906
|
+
'$.xgafv'?: '1' | '2';
|
|
2502
2907
|
/** OAuth access token. */
|
|
2503
2908
|
access_token?: string;
|
|
2504
2909
|
/** Data format for response. */
|
|
2505
|
-
alt?:
|
|
2910
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2506
2911
|
/** JSONP */
|
|
2507
2912
|
callback?: string;
|
|
2508
2913
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2528,11 +2933,11 @@ declare namespace gapi.client {
|
|
|
2528
2933
|
testIamPermissions(
|
|
2529
2934
|
request: {
|
|
2530
2935
|
/** V1 error format. */
|
|
2531
|
-
'$.xgafv'?:
|
|
2936
|
+
'$.xgafv'?: '1' | '2';
|
|
2532
2937
|
/** OAuth access token. */
|
|
2533
2938
|
access_token?: string;
|
|
2534
2939
|
/** Data format for response. */
|
|
2535
|
-
alt?:
|
|
2940
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2536
2941
|
/** JSONP */
|
|
2537
2942
|
callback?: string;
|
|
2538
2943
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2559,11 +2964,11 @@ declare namespace gapi.client {
|
|
|
2559
2964
|
/** Generates an SBOM and other dependency information for the given resource. */
|
|
2560
2965
|
exportSBOM(request: {
|
|
2561
2966
|
/** V1 error format. */
|
|
2562
|
-
'$.xgafv'?:
|
|
2967
|
+
'$.xgafv'?: '1' | '2';
|
|
2563
2968
|
/** OAuth access token. */
|
|
2564
2969
|
access_token?: string;
|
|
2565
2970
|
/** Data format for response. */
|
|
2566
|
-
alt?:
|
|
2971
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2567
2972
|
/** JSONP */
|
|
2568
2973
|
callback?: string;
|
|
2569
2974
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2588,11 +2993,11 @@ declare namespace gapi.client {
|
|
|
2588
2993
|
exportSBOM(
|
|
2589
2994
|
request: {
|
|
2590
2995
|
/** V1 error format. */
|
|
2591
|
-
'$.xgafv'?:
|
|
2996
|
+
'$.xgafv'?: '1' | '2';
|
|
2592
2997
|
/** OAuth access token. */
|
|
2593
2998
|
access_token?: string;
|
|
2594
2999
|
/** Data format for response. */
|
|
2595
|
-
alt?:
|
|
3000
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2596
3001
|
/** JSONP */
|
|
2597
3002
|
callback?: string;
|
|
2598
3003
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2617,11 +3022,11 @@ declare namespace gapi.client {
|
|
|
2617
3022
|
/** Gets a summary of the packages within a given resource. */
|
|
2618
3023
|
generatePackagesSummary(request: {
|
|
2619
3024
|
/** V1 error format. */
|
|
2620
|
-
'$.xgafv'?:
|
|
3025
|
+
'$.xgafv'?: '1' | '2';
|
|
2621
3026
|
/** OAuth access token. */
|
|
2622
3027
|
access_token?: string;
|
|
2623
3028
|
/** Data format for response. */
|
|
2624
|
-
alt?:
|
|
3029
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2625
3030
|
/** JSONP */
|
|
2626
3031
|
callback?: string;
|
|
2627
3032
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2646,11 +3051,11 @@ declare namespace gapi.client {
|
|
|
2646
3051
|
generatePackagesSummary(
|
|
2647
3052
|
request: {
|
|
2648
3053
|
/** V1 error format. */
|
|
2649
|
-
'$.xgafv'?:
|
|
3054
|
+
'$.xgafv'?: '1' | '2';
|
|
2650
3055
|
/** OAuth access token. */
|
|
2651
3056
|
access_token?: string;
|
|
2652
3057
|
/** Data format for response. */
|
|
2653
|
-
alt?:
|
|
3058
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2654
3059
|
/** JSONP */
|
|
2655
3060
|
callback?: string;
|
|
2656
3061
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2682,11 +3087,11 @@ declare namespace gapi.client {
|
|
|
2682
3087
|
/** Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note. */
|
|
2683
3088
|
list(request?: {
|
|
2684
3089
|
/** V1 error format. */
|
|
2685
|
-
'$.xgafv'?:
|
|
3090
|
+
'$.xgafv'?: '1' | '2';
|
|
2686
3091
|
/** OAuth access token. */
|
|
2687
3092
|
access_token?: string;
|
|
2688
3093
|
/** Data format for response. */
|
|
2689
|
-
alt?:
|
|
3094
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2690
3095
|
/** JSONP */
|
|
2691
3096
|
callback?: string;
|
|
2692
3097
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2717,11 +3122,11 @@ declare namespace gapi.client {
|
|
|
2717
3122
|
/** Creates new notes in batch. */
|
|
2718
3123
|
batchCreate(request: {
|
|
2719
3124
|
/** V1 error format. */
|
|
2720
|
-
'$.xgafv'?:
|
|
3125
|
+
'$.xgafv'?: '1' | '2';
|
|
2721
3126
|
/** OAuth access token. */
|
|
2722
3127
|
access_token?: string;
|
|
2723
3128
|
/** Data format for response. */
|
|
2724
|
-
alt?:
|
|
3129
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2725
3130
|
/** JSONP */
|
|
2726
3131
|
callback?: string;
|
|
2727
3132
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2746,11 +3151,11 @@ declare namespace gapi.client {
|
|
|
2746
3151
|
batchCreate(
|
|
2747
3152
|
request: {
|
|
2748
3153
|
/** V1 error format. */
|
|
2749
|
-
'$.xgafv'?:
|
|
3154
|
+
'$.xgafv'?: '1' | '2';
|
|
2750
3155
|
/** OAuth access token. */
|
|
2751
3156
|
access_token?: string;
|
|
2752
3157
|
/** Data format for response. */
|
|
2753
|
-
alt?:
|
|
3158
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2754
3159
|
/** JSONP */
|
|
2755
3160
|
callback?: string;
|
|
2756
3161
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2775,11 +3180,11 @@ declare namespace gapi.client {
|
|
|
2775
3180
|
/** Creates a new note. */
|
|
2776
3181
|
create(request: {
|
|
2777
3182
|
/** V1 error format. */
|
|
2778
|
-
'$.xgafv'?:
|
|
3183
|
+
'$.xgafv'?: '1' | '2';
|
|
2779
3184
|
/** OAuth access token. */
|
|
2780
3185
|
access_token?: string;
|
|
2781
3186
|
/** Data format for response. */
|
|
2782
|
-
alt?:
|
|
3187
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2783
3188
|
/** JSONP */
|
|
2784
3189
|
callback?: string;
|
|
2785
3190
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2806,11 +3211,11 @@ declare namespace gapi.client {
|
|
|
2806
3211
|
create(
|
|
2807
3212
|
request: {
|
|
2808
3213
|
/** V1 error format. */
|
|
2809
|
-
'$.xgafv'?:
|
|
3214
|
+
'$.xgafv'?: '1' | '2';
|
|
2810
3215
|
/** OAuth access token. */
|
|
2811
3216
|
access_token?: string;
|
|
2812
3217
|
/** Data format for response. */
|
|
2813
|
-
alt?:
|
|
3218
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2814
3219
|
/** JSONP */
|
|
2815
3220
|
callback?: string;
|
|
2816
3221
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2837,11 +3242,11 @@ declare namespace gapi.client {
|
|
|
2837
3242
|
/** Deletes the specified note. */
|
|
2838
3243
|
delete(request?: {
|
|
2839
3244
|
/** V1 error format. */
|
|
2840
|
-
'$.xgafv'?:
|
|
3245
|
+
'$.xgafv'?: '1' | '2';
|
|
2841
3246
|
/** OAuth access token. */
|
|
2842
3247
|
access_token?: string;
|
|
2843
3248
|
/** Data format for response. */
|
|
2844
|
-
alt?:
|
|
3249
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2845
3250
|
/** JSONP */
|
|
2846
3251
|
callback?: string;
|
|
2847
3252
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2864,11 +3269,11 @@ declare namespace gapi.client {
|
|
|
2864
3269
|
/** Gets the specified note. */
|
|
2865
3270
|
get(request?: {
|
|
2866
3271
|
/** V1 error format. */
|
|
2867
|
-
'$.xgafv'?:
|
|
3272
|
+
'$.xgafv'?: '1' | '2';
|
|
2868
3273
|
/** OAuth access token. */
|
|
2869
3274
|
access_token?: string;
|
|
2870
3275
|
/** Data format for response. */
|
|
2871
|
-
alt?:
|
|
3276
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2872
3277
|
/** JSONP */
|
|
2873
3278
|
callback?: string;
|
|
2874
3279
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2892,11 +3297,11 @@ declare namespace gapi.client {
|
|
|
2892
3297
|
getIamPolicy(
|
|
2893
3298
|
request: {
|
|
2894
3299
|
/** V1 error format. */
|
|
2895
|
-
'$.xgafv'?:
|
|
3300
|
+
'$.xgafv'?: '1' | '2';
|
|
2896
3301
|
/** OAuth access token. */
|
|
2897
3302
|
access_token?: string;
|
|
2898
3303
|
/** Data format for response. */
|
|
2899
|
-
alt?:
|
|
3304
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2900
3305
|
/** JSONP */
|
|
2901
3306
|
callback?: string;
|
|
2902
3307
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2921,11 +3326,11 @@ declare namespace gapi.client {
|
|
|
2921
3326
|
/** Lists notes for the specified project. */
|
|
2922
3327
|
list(request?: {
|
|
2923
3328
|
/** V1 error format. */
|
|
2924
|
-
'$.xgafv'?:
|
|
3329
|
+
'$.xgafv'?: '1' | '2';
|
|
2925
3330
|
/** OAuth access token. */
|
|
2926
3331
|
access_token?: string;
|
|
2927
3332
|
/** Data format for response. */
|
|
2928
|
-
alt?:
|
|
3333
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2929
3334
|
/** JSONP */
|
|
2930
3335
|
callback?: string;
|
|
2931
3336
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2956,11 +3361,11 @@ declare namespace gapi.client {
|
|
|
2956
3361
|
/** Updates the specified note. */
|
|
2957
3362
|
patch(request: {
|
|
2958
3363
|
/** V1 error format. */
|
|
2959
|
-
'$.xgafv'?:
|
|
3364
|
+
'$.xgafv'?: '1' | '2';
|
|
2960
3365
|
/** OAuth access token. */
|
|
2961
3366
|
access_token?: string;
|
|
2962
3367
|
/** Data format for response. */
|
|
2963
|
-
alt?:
|
|
3368
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2964
3369
|
/** JSONP */
|
|
2965
3370
|
callback?: string;
|
|
2966
3371
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2987,11 +3392,11 @@ declare namespace gapi.client {
|
|
|
2987
3392
|
patch(
|
|
2988
3393
|
request: {
|
|
2989
3394
|
/** V1 error format. */
|
|
2990
|
-
'$.xgafv'?:
|
|
3395
|
+
'$.xgafv'?: '1' | '2';
|
|
2991
3396
|
/** OAuth access token. */
|
|
2992
3397
|
access_token?: string;
|
|
2993
3398
|
/** Data format for response. */
|
|
2994
|
-
alt?:
|
|
3399
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2995
3400
|
/** JSONP */
|
|
2996
3401
|
callback?: string;
|
|
2997
3402
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3019,11 +3424,11 @@ declare namespace gapi.client {
|
|
|
3019
3424
|
setIamPolicy(
|
|
3020
3425
|
request: {
|
|
3021
3426
|
/** V1 error format. */
|
|
3022
|
-
'$.xgafv'?:
|
|
3427
|
+
'$.xgafv'?: '1' | '2';
|
|
3023
3428
|
/** OAuth access token. */
|
|
3024
3429
|
access_token?: string;
|
|
3025
3430
|
/** Data format for response. */
|
|
3026
|
-
alt?:
|
|
3431
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3027
3432
|
/** JSONP */
|
|
3028
3433
|
callback?: string;
|
|
3029
3434
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3049,11 +3454,11 @@ declare namespace gapi.client {
|
|
|
3049
3454
|
testIamPermissions(
|
|
3050
3455
|
request: {
|
|
3051
3456
|
/** V1 error format. */
|
|
3052
|
-
'$.xgafv'?:
|
|
3457
|
+
'$.xgafv'?: '1' | '2';
|
|
3053
3458
|
/** OAuth access token. */
|
|
3054
3459
|
access_token?: string;
|
|
3055
3460
|
/** Data format for response. */
|
|
3056
|
-
alt?:
|
|
3461
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3057
3462
|
/** JSONP */
|
|
3058
3463
|
callback?: string;
|
|
3059
3464
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3081,11 +3486,11 @@ declare namespace gapi.client {
|
|
|
3081
3486
|
/** Creates new occurrences in batch. */
|
|
3082
3487
|
batchCreate(request: {
|
|
3083
3488
|
/** V1 error format. */
|
|
3084
|
-
'$.xgafv'?:
|
|
3489
|
+
'$.xgafv'?: '1' | '2';
|
|
3085
3490
|
/** OAuth access token. */
|
|
3086
3491
|
access_token?: string;
|
|
3087
3492
|
/** Data format for response. */
|
|
3088
|
-
alt?:
|
|
3493
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3089
3494
|
/** JSONP */
|
|
3090
3495
|
callback?: string;
|
|
3091
3496
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3110,11 +3515,11 @@ declare namespace gapi.client {
|
|
|
3110
3515
|
batchCreate(
|
|
3111
3516
|
request: {
|
|
3112
3517
|
/** V1 error format. */
|
|
3113
|
-
'$.xgafv'?:
|
|
3518
|
+
'$.xgafv'?: '1' | '2';
|
|
3114
3519
|
/** OAuth access token. */
|
|
3115
3520
|
access_token?: string;
|
|
3116
3521
|
/** Data format for response. */
|
|
3117
|
-
alt?:
|
|
3522
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3118
3523
|
/** JSONP */
|
|
3119
3524
|
callback?: string;
|
|
3120
3525
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3139,11 +3544,11 @@ declare namespace gapi.client {
|
|
|
3139
3544
|
/** Creates a new occurrence. */
|
|
3140
3545
|
create(request: {
|
|
3141
3546
|
/** V1 error format. */
|
|
3142
|
-
'$.xgafv'?:
|
|
3547
|
+
'$.xgafv'?: '1' | '2';
|
|
3143
3548
|
/** OAuth access token. */
|
|
3144
3549
|
access_token?: string;
|
|
3145
3550
|
/** Data format for response. */
|
|
3146
|
-
alt?:
|
|
3551
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3147
3552
|
/** JSONP */
|
|
3148
3553
|
callback?: string;
|
|
3149
3554
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3168,11 +3573,11 @@ declare namespace gapi.client {
|
|
|
3168
3573
|
create(
|
|
3169
3574
|
request: {
|
|
3170
3575
|
/** V1 error format. */
|
|
3171
|
-
'$.xgafv'?:
|
|
3576
|
+
'$.xgafv'?: '1' | '2';
|
|
3172
3577
|
/** OAuth access token. */
|
|
3173
3578
|
access_token?: string;
|
|
3174
3579
|
/** Data format for response. */
|
|
3175
|
-
alt?:
|
|
3580
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3176
3581
|
/** JSONP */
|
|
3177
3582
|
callback?: string;
|
|
3178
3583
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3197,11 +3602,11 @@ declare namespace gapi.client {
|
|
|
3197
3602
|
/** Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource. */
|
|
3198
3603
|
delete(request?: {
|
|
3199
3604
|
/** V1 error format. */
|
|
3200
|
-
'$.xgafv'?:
|
|
3605
|
+
'$.xgafv'?: '1' | '2';
|
|
3201
3606
|
/** OAuth access token. */
|
|
3202
3607
|
access_token?: string;
|
|
3203
3608
|
/** Data format for response. */
|
|
3204
|
-
alt?:
|
|
3609
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3205
3610
|
/** JSONP */
|
|
3206
3611
|
callback?: string;
|
|
3207
3612
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3224,11 +3629,11 @@ declare namespace gapi.client {
|
|
|
3224
3629
|
/** Gets the specified occurrence. */
|
|
3225
3630
|
get(request?: {
|
|
3226
3631
|
/** V1 error format. */
|
|
3227
|
-
'$.xgafv'?:
|
|
3632
|
+
'$.xgafv'?: '1' | '2';
|
|
3228
3633
|
/** OAuth access token. */
|
|
3229
3634
|
access_token?: string;
|
|
3230
3635
|
/** Data format for response. */
|
|
3231
|
-
alt?:
|
|
3636
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3232
3637
|
/** JSONP */
|
|
3233
3638
|
callback?: string;
|
|
3234
3639
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3252,11 +3657,11 @@ declare namespace gapi.client {
|
|
|
3252
3657
|
getIamPolicy(
|
|
3253
3658
|
request: {
|
|
3254
3659
|
/** V1 error format. */
|
|
3255
|
-
'$.xgafv'?:
|
|
3660
|
+
'$.xgafv'?: '1' | '2';
|
|
3256
3661
|
/** OAuth access token. */
|
|
3257
3662
|
access_token?: string;
|
|
3258
3663
|
/** Data format for response. */
|
|
3259
|
-
alt?:
|
|
3664
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3260
3665
|
/** JSONP */
|
|
3261
3666
|
callback?: string;
|
|
3262
3667
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3281,11 +3686,11 @@ declare namespace gapi.client {
|
|
|
3281
3686
|
/** Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project. */
|
|
3282
3687
|
getNotes(request?: {
|
|
3283
3688
|
/** V1 error format. */
|
|
3284
|
-
'$.xgafv'?:
|
|
3689
|
+
'$.xgafv'?: '1' | '2';
|
|
3285
3690
|
/** OAuth access token. */
|
|
3286
3691
|
access_token?: string;
|
|
3287
3692
|
/** Data format for response. */
|
|
3288
|
-
alt?:
|
|
3693
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3289
3694
|
/** JSONP */
|
|
3290
3695
|
callback?: string;
|
|
3291
3696
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3308,11 +3713,11 @@ declare namespace gapi.client {
|
|
|
3308
3713
|
/** Gets a summary of the number and severity of occurrences. */
|
|
3309
3714
|
getVulnerabilitySummary(request?: {
|
|
3310
3715
|
/** V1 error format. */
|
|
3311
|
-
'$.xgafv'?:
|
|
3716
|
+
'$.xgafv'?: '1' | '2';
|
|
3312
3717
|
/** OAuth access token. */
|
|
3313
3718
|
access_token?: string;
|
|
3314
3719
|
/** Data format for response. */
|
|
3315
|
-
alt?:
|
|
3720
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3316
3721
|
/** JSONP */
|
|
3317
3722
|
callback?: string;
|
|
3318
3723
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3339,11 +3744,11 @@ declare namespace gapi.client {
|
|
|
3339
3744
|
/** Lists occurrences for the specified project. */
|
|
3340
3745
|
list(request?: {
|
|
3341
3746
|
/** V1 error format. */
|
|
3342
|
-
'$.xgafv'?:
|
|
3747
|
+
'$.xgafv'?: '1' | '2';
|
|
3343
3748
|
/** OAuth access token. */
|
|
3344
3749
|
access_token?: string;
|
|
3345
3750
|
/** Data format for response. */
|
|
3346
|
-
alt?:
|
|
3751
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3347
3752
|
/** JSONP */
|
|
3348
3753
|
callback?: string;
|
|
3349
3754
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3374,11 +3779,11 @@ declare namespace gapi.client {
|
|
|
3374
3779
|
/** Updates the specified occurrence. */
|
|
3375
3780
|
patch(request: {
|
|
3376
3781
|
/** V1 error format. */
|
|
3377
|
-
'$.xgafv'?:
|
|
3782
|
+
'$.xgafv'?: '1' | '2';
|
|
3378
3783
|
/** OAuth access token. */
|
|
3379
3784
|
access_token?: string;
|
|
3380
3785
|
/** Data format for response. */
|
|
3381
|
-
alt?:
|
|
3786
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3382
3787
|
/** JSONP */
|
|
3383
3788
|
callback?: string;
|
|
3384
3789
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3405,11 +3810,11 @@ declare namespace gapi.client {
|
|
|
3405
3810
|
patch(
|
|
3406
3811
|
request: {
|
|
3407
3812
|
/** V1 error format. */
|
|
3408
|
-
'$.xgafv'?:
|
|
3813
|
+
'$.xgafv'?: '1' | '2';
|
|
3409
3814
|
/** OAuth access token. */
|
|
3410
3815
|
access_token?: string;
|
|
3411
3816
|
/** Data format for response. */
|
|
3412
|
-
alt?:
|
|
3817
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3413
3818
|
/** JSONP */
|
|
3414
3819
|
callback?: string;
|
|
3415
3820
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3437,11 +3842,11 @@ declare namespace gapi.client {
|
|
|
3437
3842
|
setIamPolicy(
|
|
3438
3843
|
request: {
|
|
3439
3844
|
/** V1 error format. */
|
|
3440
|
-
'$.xgafv'?:
|
|
3845
|
+
'$.xgafv'?: '1' | '2';
|
|
3441
3846
|
/** OAuth access token. */
|
|
3442
3847
|
access_token?: string;
|
|
3443
3848
|
/** Data format for response. */
|
|
3444
|
-
alt?:
|
|
3849
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3445
3850
|
/** JSONP */
|
|
3446
3851
|
callback?: string;
|
|
3447
3852
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3467,11 +3872,11 @@ declare namespace gapi.client {
|
|
|
3467
3872
|
testIamPermissions(
|
|
3468
3873
|
request: {
|
|
3469
3874
|
/** V1 error format. */
|
|
3470
|
-
'$.xgafv'?:
|
|
3875
|
+
'$.xgafv'?: '1' | '2';
|
|
3471
3876
|
/** OAuth access token. */
|
|
3472
3877
|
access_token?: string;
|
|
3473
3878
|
/** Data format for response. */
|
|
3474
|
-
alt?:
|
|
3879
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3475
3880
|
/** JSONP */
|
|
3476
3881
|
callback?: string;
|
|
3477
3882
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3498,11 +3903,11 @@ declare namespace gapi.client {
|
|
|
3498
3903
|
/** Generates an SBOM and other dependency information for the given resource. */
|
|
3499
3904
|
exportSBOM(request: {
|
|
3500
3905
|
/** V1 error format. */
|
|
3501
|
-
'$.xgafv'?:
|
|
3906
|
+
'$.xgafv'?: '1' | '2';
|
|
3502
3907
|
/** OAuth access token. */
|
|
3503
3908
|
access_token?: string;
|
|
3504
3909
|
/** Data format for response. */
|
|
3505
|
-
alt?:
|
|
3910
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3506
3911
|
/** JSONP */
|
|
3507
3912
|
callback?: string;
|
|
3508
3913
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3527,11 +3932,11 @@ declare namespace gapi.client {
|
|
|
3527
3932
|
exportSBOM(
|
|
3528
3933
|
request: {
|
|
3529
3934
|
/** V1 error format. */
|
|
3530
|
-
'$.xgafv'?:
|
|
3935
|
+
'$.xgafv'?: '1' | '2';
|
|
3531
3936
|
/** OAuth access token. */
|
|
3532
3937
|
access_token?: string;
|
|
3533
3938
|
/** Data format for response. */
|
|
3534
|
-
alt?:
|
|
3939
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3535
3940
|
/** JSONP */
|
|
3536
3941
|
callback?: string;
|
|
3537
3942
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3556,11 +3961,11 @@ declare namespace gapi.client {
|
|
|
3556
3961
|
/** Gets a summary of the packages within a given resource. */
|
|
3557
3962
|
generatePackagesSummary(request: {
|
|
3558
3963
|
/** V1 error format. */
|
|
3559
|
-
'$.xgafv'?:
|
|
3964
|
+
'$.xgafv'?: '1' | '2';
|
|
3560
3965
|
/** OAuth access token. */
|
|
3561
3966
|
access_token?: string;
|
|
3562
3967
|
/** Data format for response. */
|
|
3563
|
-
alt?:
|
|
3968
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3564
3969
|
/** JSONP */
|
|
3565
3970
|
callback?: string;
|
|
3566
3971
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3585,11 +3990,11 @@ declare namespace gapi.client {
|
|
|
3585
3990
|
generatePackagesSummary(
|
|
3586
3991
|
request: {
|
|
3587
3992
|
/** V1 error format. */
|
|
3588
|
-
'$.xgafv'?:
|
|
3993
|
+
'$.xgafv'?: '1' | '2';
|
|
3589
3994
|
/** OAuth access token. */
|
|
3590
3995
|
access_token?: string;
|
|
3591
3996
|
/** Data format for response. */
|
|
3592
|
-
alt?:
|
|
3997
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3593
3998
|
/** JSONP */
|
|
3594
3999
|
callback?: string;
|
|
3595
4000
|
/** Selector specifying which fields to include in a partial response. */
|