@maxim_mazurok/gapi.client.containeranalysis-v1beta1 0.1.20260313 → 0.2.20260521
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 +747 -203
- package/package.json +1 -1
- package/readme.md +17 -0
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://containeranalysis.googleapis.com/$discovery/rest?version=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260521
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -28,9 +28,18 @@ declare namespace gapi.client {
|
|
|
28
28
|
): void;
|
|
29
29
|
|
|
30
30
|
namespace containeranalysis {
|
|
31
|
+
interface AISkillAnalysisNote {}
|
|
32
|
+
interface AISkillAnalysisOccurrence {
|
|
33
|
+
/** Findings produced by the analysis. */
|
|
34
|
+
findings?: Finding[];
|
|
35
|
+
/** Maximum severity found among findings. */
|
|
36
|
+
maxSeverity?: string;
|
|
37
|
+
/** Name of the skill that produced this analysis. */
|
|
38
|
+
skillName?: string;
|
|
39
|
+
}
|
|
31
40
|
interface AliasContext {
|
|
32
41
|
/** The alias kind. */
|
|
33
|
-
kind?:
|
|
42
|
+
kind?: 'KIND_UNSPECIFIED' | 'FIXED' | 'MOVABLE' | 'OTHER';
|
|
34
43
|
/** The alias name. */
|
|
35
44
|
name?: string;
|
|
36
45
|
}
|
|
@@ -67,7 +76,12 @@ declare namespace gapi.client {
|
|
|
67
76
|
/** A one sentence description of this Vex. */
|
|
68
77
|
shortDescription?: string;
|
|
69
78
|
/** Provides the state of this Vulnerability assessment. */
|
|
70
|
-
state?:
|
|
79
|
+
state?:
|
|
80
|
+
| 'STATE_UNSPECIFIED'
|
|
81
|
+
| 'AFFECTED'
|
|
82
|
+
| 'NOT_AFFECTED'
|
|
83
|
+
| 'FIXED'
|
|
84
|
+
| 'UNDER_INVESTIGATION';
|
|
71
85
|
/** The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc. */
|
|
72
86
|
vulnerabilityId?: string;
|
|
73
87
|
}
|
|
@@ -159,7 +173,7 @@ declare namespace gapi.client {
|
|
|
159
173
|
/** 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
174
|
keyId?: string;
|
|
161
175
|
/** The type of the key, either stored in `public_key` or referenced in `key_id`. */
|
|
162
|
-
keyType?:
|
|
176
|
+
keyType?: 'KEY_TYPE_UNSPECIFIED' | 'PGP_ASCII_ARMORED' | 'PKIX_PEM';
|
|
163
177
|
/** 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
178
|
publicKey?: string;
|
|
165
179
|
/** Required. Signature of the related `BuildProvenance`. In JSON, this is base-64 encoded. */
|
|
@@ -196,7 +210,18 @@ declare namespace gapi.client {
|
|
|
196
210
|
/** 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
211
|
secretEnv?: string[];
|
|
198
212
|
/** 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?:
|
|
213
|
+
status?:
|
|
214
|
+
| 'STATUS_UNKNOWN'
|
|
215
|
+
| 'PENDING'
|
|
216
|
+
| 'QUEUING'
|
|
217
|
+
| 'QUEUED'
|
|
218
|
+
| 'WORKING'
|
|
219
|
+
| 'SUCCESS'
|
|
220
|
+
| 'FAILURE'
|
|
221
|
+
| 'INTERNAL_ERROR'
|
|
222
|
+
| 'TIMEOUT'
|
|
223
|
+
| 'CANCELLED'
|
|
224
|
+
| 'EXPIRED';
|
|
200
225
|
/** 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
226
|
timeout?: string;
|
|
202
227
|
/** Output only. Stores timing information for executing this build step. */
|
|
@@ -243,11 +268,13 @@ declare namespace gapi.client {
|
|
|
243
268
|
/** Optional. An optional comment for this manual approval result. */
|
|
244
269
|
comment?: string;
|
|
245
270
|
/** Required. The decision of this manual approval. */
|
|
246
|
-
decision?:
|
|
271
|
+
decision?: 'DECISION_UNSPECIFIED' | 'APPROVED' | 'REJECTED';
|
|
247
272
|
/** 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
273
|
url?: string;
|
|
249
274
|
}
|
|
250
275
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts {
|
|
276
|
+
/** Optional. A list of generic artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. If any artifacts fail to be pushed, the build is marked FAILURE. */
|
|
277
|
+
genericArtifacts?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGenericArtifact[];
|
|
251
278
|
/** Optional. A list of Go modules to be uploaded to Artifact Registry upon successful completion of all build steps. If any objects fail to be pushed, the build is marked FAILURE. */
|
|
252
279
|
goModules?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule[];
|
|
253
280
|
/** A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE. */
|
|
@@ -271,6 +298,12 @@ declare namespace gapi.client {
|
|
|
271
298
|
/** Output only. Stores timing information for pushing all artifact objects. */
|
|
272
299
|
timing?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
273
300
|
}
|
|
301
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGenericArtifact {
|
|
302
|
+
/** Required. Path to the generic artifact in the build's workspace to be uploaded to Artifact Registry. */
|
|
303
|
+
folder?: string;
|
|
304
|
+
/** Required. Registry path to upload the generic artifact to, in the form projects/$PROJECT/locations/$LOCATION/repositories/$REPO/packages/$PACKAGE/versions/$VERSION */
|
|
305
|
+
registryPath?: string;
|
|
306
|
+
}
|
|
274
307
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule {
|
|
275
308
|
/** Optional. The Go module's "module path". e.g. example.com/foo/v2 */
|
|
276
309
|
modulePath?: string;
|
|
@@ -367,7 +400,17 @@ declare namespace gapi.client {
|
|
|
367
400
|
/** Output only. Time at which execution of the build was started. */
|
|
368
401
|
startTime?: string;
|
|
369
402
|
/** Output only. Status of the build. */
|
|
370
|
-
status?:
|
|
403
|
+
status?:
|
|
404
|
+
| 'STATUS_UNKNOWN'
|
|
405
|
+
| 'PENDING'
|
|
406
|
+
| 'QUEUED'
|
|
407
|
+
| 'WORKING'
|
|
408
|
+
| 'SUCCESS'
|
|
409
|
+
| 'FAILURE'
|
|
410
|
+
| 'INTERNAL_ERROR'
|
|
411
|
+
| 'TIMEOUT'
|
|
412
|
+
| 'CANCELLED'
|
|
413
|
+
| 'EXPIRED';
|
|
371
414
|
/** Output only. Customer-readable message about the current status. */
|
|
372
415
|
statusDetail?: string;
|
|
373
416
|
/** Required. The operations to be performed on the workspace. */
|
|
@@ -391,19 +434,34 @@ declare namespace gapi.client {
|
|
|
391
434
|
/** Output only. Result of manual approval for this Build. */
|
|
392
435
|
result?: ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult;
|
|
393
436
|
/** Output only. The state of this build's approval. */
|
|
394
|
-
state?:
|
|
437
|
+
state?:
|
|
438
|
+
| 'STATE_UNSPECIFIED'
|
|
439
|
+
| 'PENDING'
|
|
440
|
+
| 'APPROVED'
|
|
441
|
+
| 'REJECTED'
|
|
442
|
+
| 'CANCELLED';
|
|
395
443
|
}
|
|
396
444
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo {
|
|
397
445
|
/** Explains the failure issue in more detail using hard-coded text. */
|
|
398
446
|
detail?: string;
|
|
399
447
|
/** The name of the failure. */
|
|
400
|
-
type?:
|
|
448
|
+
type?:
|
|
449
|
+
| 'FAILURE_TYPE_UNSPECIFIED'
|
|
450
|
+
| 'PUSH_FAILED'
|
|
451
|
+
| 'PUSH_IMAGE_NOT_FOUND'
|
|
452
|
+
| 'PUSH_NOT_AUTHORIZED'
|
|
453
|
+
| 'LOGGING_FAILURE'
|
|
454
|
+
| 'USER_BUILD_STEP'
|
|
455
|
+
| 'FETCH_SOURCE_FAILED';
|
|
401
456
|
}
|
|
402
457
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions {
|
|
403
458
|
/** Option to include built-in and custom substitutions as env variables for all build steps. */
|
|
404
459
|
automapSubstitutions?: boolean;
|
|
405
460
|
/** Optional. Option to specify how default logs buckets are setup. */
|
|
406
|
-
defaultLogsBucketBehavior?:
|
|
461
|
+
defaultLogsBucketBehavior?:
|
|
462
|
+
| 'DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED'
|
|
463
|
+
| 'REGIONAL_USER_OWNED_BUCKET'
|
|
464
|
+
| 'LEGACY_BUCKET';
|
|
407
465
|
/** 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
466
|
diskSizeGb?: string;
|
|
409
467
|
/** 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 +471,41 @@ declare namespace gapi.client {
|
|
|
413
471
|
/** 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
472
|
env?: string[];
|
|
415
473
|
/** Option to specify the logging mode, which determines if and where build logs are stored. */
|
|
416
|
-
logging?:
|
|
474
|
+
logging?:
|
|
475
|
+
| 'LOGGING_UNSPECIFIED'
|
|
476
|
+
| 'LEGACY'
|
|
477
|
+
| 'GCS_ONLY'
|
|
478
|
+
| 'STACKDRIVER_ONLY'
|
|
479
|
+
| 'CLOUD_LOGGING_ONLY'
|
|
480
|
+
| 'NONE';
|
|
417
481
|
/** Option to define build log streaming behavior to Cloud Storage. */
|
|
418
|
-
logStreamingOption?:
|
|
482
|
+
logStreamingOption?: 'STREAM_DEFAULT' | 'STREAM_ON' | 'STREAM_OFF';
|
|
419
483
|
/** Compute Engine machine type on which to run the build. */
|
|
420
|
-
machineType?:
|
|
484
|
+
machineType?:
|
|
485
|
+
| 'UNSPECIFIED'
|
|
486
|
+
| 'N1_HIGHCPU_8'
|
|
487
|
+
| 'N1_HIGHCPU_32'
|
|
488
|
+
| 'E2_HIGHCPU_8'
|
|
489
|
+
| 'E2_HIGHCPU_32'
|
|
490
|
+
| 'E2_MEDIUM';
|
|
421
491
|
/** 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
492
|
pool?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption;
|
|
423
493
|
/** Optional. Option to specify the Pub/Sub topic to receive build status updates. */
|
|
424
494
|
pubsubTopic?: string;
|
|
425
495
|
/** Requested verifiability options. */
|
|
426
|
-
requestedVerifyOption?:
|
|
496
|
+
requestedVerifyOption?: 'NOT_VERIFIED' | 'VERIFIED';
|
|
427
497
|
/** 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
498
|
secretEnv?: string[];
|
|
429
499
|
/** Requested hash for SourceProvenance. */
|
|
430
|
-
sourceProvenanceHash?:
|
|
500
|
+
sourceProvenanceHash?:
|
|
501
|
+
| 'NONE'
|
|
502
|
+
| 'SHA256'
|
|
503
|
+
| 'MD5'
|
|
504
|
+
| 'GO_MODULE_H1'
|
|
505
|
+
| 'SHA512'
|
|
506
|
+
| 'DIRSUM_SHA256'[];
|
|
431
507
|
/** 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?:
|
|
508
|
+
substitutionOption?: 'MUST_MATCH' | 'ALLOW_LOOSE';
|
|
433
509
|
/** 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
510
|
volumes?: ContaineranalysisGoogleDevtoolsCloudbuildV1Volume[];
|
|
435
511
|
/** This field deprecated; please use `pool.name` instead. */
|
|
@@ -462,12 +538,24 @@ declare namespace gapi.client {
|
|
|
462
538
|
name?: string;
|
|
463
539
|
/** Output only. Stores timing information for pulling this build step's builder image only. */
|
|
464
540
|
pullTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
541
|
+
/** Declaration of results for this build step. */
|
|
542
|
+
results?: ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult[];
|
|
465
543
|
/** A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args. */
|
|
466
544
|
script?: string;
|
|
467
545
|
/** 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
546
|
secretEnv?: string[];
|
|
469
547
|
/** 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?:
|
|
548
|
+
status?:
|
|
549
|
+
| 'STATUS_UNKNOWN'
|
|
550
|
+
| 'PENDING'
|
|
551
|
+
| 'QUEUED'
|
|
552
|
+
| 'WORKING'
|
|
553
|
+
| 'SUCCESS'
|
|
554
|
+
| 'FAILURE'
|
|
555
|
+
| 'INTERNAL_ERROR'
|
|
556
|
+
| 'TIMEOUT'
|
|
557
|
+
| 'CANCELLED'
|
|
558
|
+
| 'EXPIRED';
|
|
471
559
|
/** 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
560
|
timeout?: string;
|
|
473
561
|
/** Output only. Stores timing information for executing this build step. */
|
|
@@ -477,9 +565,13 @@ declare namespace gapi.client {
|
|
|
477
565
|
/** The ID(s) of the step(s) that this build step depends on. This build step will not start until all the build steps in `wait_for` have completed successfully. If `wait_for` is empty, this build step will start when all previous build steps in the `Build.Steps` list have completed successfully. */
|
|
478
566
|
waitFor?: string[];
|
|
479
567
|
}
|
|
568
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStepResults {
|
|
569
|
+
/** Results for a build step. */
|
|
570
|
+
results?: {[P in string]: string};
|
|
571
|
+
}
|
|
480
572
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning {
|
|
481
573
|
/** The priority for this warning. */
|
|
482
|
-
priority?:
|
|
574
|
+
priority?: 'PRIORITY_UNSPECIFIED' | 'INFO' | 'WARNING' | 'ALERT';
|
|
483
575
|
/** Explanation of the warning generated. */
|
|
484
576
|
text?: string;
|
|
485
577
|
}
|
|
@@ -491,7 +583,10 @@ declare namespace gapi.client {
|
|
|
491
583
|
/** Name used to push the container image to Google Container Registry, as presented to `docker push`. */
|
|
492
584
|
name?: string;
|
|
493
585
|
/** Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will have an unspecified value. */
|
|
494
|
-
ociMediaType?:
|
|
586
|
+
ociMediaType?:
|
|
587
|
+
| 'OCI_MEDIA_TYPE_UNSPECIFIED'
|
|
588
|
+
| 'IMAGE_MANIFEST'
|
|
589
|
+
| 'IMAGE_INDEX';
|
|
495
590
|
/** Output only. Stores timing information for pushing the specified image. */
|
|
496
591
|
pushTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
497
592
|
}
|
|
@@ -506,9 +601,17 @@ declare namespace gapi.client {
|
|
|
506
601
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency {
|
|
507
602
|
/** If set to true disable all dependency fetching (ignoring the default source as well). */
|
|
508
603
|
empty?: boolean;
|
|
604
|
+
/** Represents a generic artifact as a build dependency. */
|
|
605
|
+
genericArtifact?: ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency;
|
|
509
606
|
/** Represents a git repository as a build dependency. */
|
|
510
607
|
gitSource?: ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency;
|
|
511
608
|
}
|
|
609
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency {
|
|
610
|
+
/** Required. Where the artifact files should be placed on the worker. */
|
|
611
|
+
destPath?: string;
|
|
612
|
+
/** Required. The location to download the artifact files from. Ex: projects/p1/locations/us/repositories/r1/packages/p1/versions/v1 */
|
|
613
|
+
resource?: string;
|
|
614
|
+
}
|
|
512
615
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency {
|
|
513
616
|
/** Optional. How much history should be fetched for the build (default 1, -1 for all history). */
|
|
514
617
|
depth?: string;
|
|
@@ -557,7 +660,13 @@ declare namespace gapi.client {
|
|
|
557
660
|
}
|
|
558
661
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Hash {
|
|
559
662
|
/** The type of hash that was performed. */
|
|
560
|
-
type?:
|
|
663
|
+
type?:
|
|
664
|
+
| 'NONE'
|
|
665
|
+
| 'SHA256'
|
|
666
|
+
| 'MD5'
|
|
667
|
+
| 'GO_MODULE_H1'
|
|
668
|
+
| 'SHA512'
|
|
669
|
+
| 'DIRSUM_SHA256';
|
|
561
670
|
/** The hash value. */
|
|
562
671
|
value?: string;
|
|
563
672
|
}
|
|
@@ -594,6 +703,12 @@ declare namespace gapi.client {
|
|
|
594
703
|
buildStepImages?: string[];
|
|
595
704
|
/** List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 50KB of data is stored. Note that the `$BUILDER_OUTPUT` variable is read-only and can't be substituted. */
|
|
596
705
|
buildStepOutputs?: string[];
|
|
706
|
+
/** Results for build steps. step_id -> */
|
|
707
|
+
buildStepResults?: {
|
|
708
|
+
[P in string]: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStepResults;
|
|
709
|
+
};
|
|
710
|
+
/** Output only. Generic artifacts uploaded to Artifact Registry at the end of the build. */
|
|
711
|
+
genericArtifacts?: ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGenericArtifact[];
|
|
597
712
|
/** Optional. Go module artifacts uploaded to Artifact Registry at the end of the build. */
|
|
598
713
|
goModules?: ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule[];
|
|
599
714
|
/** Container images that were built as a part of the build. */
|
|
@@ -655,6 +770,14 @@ declare namespace gapi.client {
|
|
|
655
770
|
/** A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. */
|
|
656
771
|
resolvedStorageSourceManifest?: ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest;
|
|
657
772
|
}
|
|
773
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult {
|
|
774
|
+
/** Optional. The content of the attestation to be generated. */
|
|
775
|
+
attestationContent?: string;
|
|
776
|
+
/** Optional. The type of attestation to be generated. */
|
|
777
|
+
attestationType?: string;
|
|
778
|
+
/** Required. The name of the result. */
|
|
779
|
+
name?: string;
|
|
780
|
+
}
|
|
658
781
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource {
|
|
659
782
|
/** Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
|
|
660
783
|
bucket?: string;
|
|
@@ -663,7 +786,7 @@ declare namespace gapi.client {
|
|
|
663
786
|
/** 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
787
|
object?: string;
|
|
665
788
|
/** Optional. Option to specify the tool to fetch the source file for the build. */
|
|
666
|
-
sourceFetcher?:
|
|
789
|
+
sourceFetcher?: 'SOURCE_FETCHER_UNSPECIFIED' | 'GSUTIL' | 'GCS_FETCHER';
|
|
667
790
|
}
|
|
668
791
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest {
|
|
669
792
|
/** Required. Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
|
|
@@ -679,6 +802,20 @@ declare namespace gapi.client {
|
|
|
679
802
|
/** Start of time span. */
|
|
680
803
|
startTime?: string;
|
|
681
804
|
}
|
|
805
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGenericArtifact {
|
|
806
|
+
/** Output only. The hash of the whole artifact. */
|
|
807
|
+
artifactFingerprint?: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes;
|
|
808
|
+
/** Output only. Path to the artifact in Artifact Registry. */
|
|
809
|
+
artifactRegistryPackage?: string;
|
|
810
|
+
/** Output only. The file hashes that make up the generic artifact. */
|
|
811
|
+
fileHashes?: {
|
|
812
|
+
[P in string]: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes;
|
|
813
|
+
};
|
|
814
|
+
/** Output only. Stores timing information for pushing the specified artifact. */
|
|
815
|
+
pushTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
816
|
+
/** Output only. URI of the uploaded artifact. Ex: projects/p1/locations/us/repositories/r1/packages/p1/versions/v1 */
|
|
817
|
+
uri?: string;
|
|
818
|
+
}
|
|
682
819
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule {
|
|
683
820
|
/** Output only. Path to the artifact in Artifact Registry. */
|
|
684
821
|
artifactRegistryPackage?: string;
|
|
@@ -726,43 +863,163 @@ declare namespace gapi.client {
|
|
|
726
863
|
path?: string;
|
|
727
864
|
}
|
|
728
865
|
interface CVSS {
|
|
729
|
-
/** Defined in CVSS v3,
|
|
730
|
-
attackComplexity?:
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
/** Defined in CVSS
|
|
736
|
-
|
|
866
|
+
/** Attack Complexity (AC). Defined in CVSS v2, v3, v4. */
|
|
867
|
+
attackComplexity?:
|
|
868
|
+
| 'ATTACK_COMPLEXITY_UNSPECIFIED'
|
|
869
|
+
| 'ATTACK_COMPLEXITY_LOW'
|
|
870
|
+
| 'ATTACK_COMPLEXITY_HIGH'
|
|
871
|
+
| 'ATTACK_COMPLEXITY_MEDIUM';
|
|
872
|
+
/** Attack Requirements (AT). Defined in CVSS v4. */
|
|
873
|
+
attackRequirements?:
|
|
874
|
+
| 'ATTACK_REQUIREMENTS_UNSPECIFIED'
|
|
875
|
+
| 'ATTACK_REQUIREMENTS_NONE'
|
|
876
|
+
| 'ATTACK_REQUIREMENTS_PRESENT';
|
|
877
|
+
/** Attack Vector (AV). Defined in CVSS v2, v3, v4. */
|
|
878
|
+
attackVector?:
|
|
879
|
+
| 'ATTACK_VECTOR_UNSPECIFIED'
|
|
880
|
+
| 'ATTACK_VECTOR_NETWORK'
|
|
881
|
+
| 'ATTACK_VECTOR_ADJACENT'
|
|
882
|
+
| 'ATTACK_VECTOR_LOCAL'
|
|
883
|
+
| 'ATTACK_VECTOR_PHYSICAL';
|
|
884
|
+
/** Authentication (Au). Defined in CVSS v2. */
|
|
885
|
+
authentication?:
|
|
886
|
+
| 'AUTHENTICATION_UNSPECIFIED'
|
|
887
|
+
| 'AUTHENTICATION_MULTIPLE'
|
|
888
|
+
| 'AUTHENTICATION_SINGLE'
|
|
889
|
+
| 'AUTHENTICATION_NONE';
|
|
890
|
+
/** Availability Impact (A). Defined in CVSS v2, v3. */
|
|
891
|
+
availabilityImpact?:
|
|
892
|
+
| 'IMPACT_UNSPECIFIED'
|
|
893
|
+
| 'IMPACT_HIGH'
|
|
894
|
+
| 'IMPACT_LOW'
|
|
895
|
+
| 'IMPACT_NONE'
|
|
896
|
+
| 'IMPACT_PARTIAL'
|
|
897
|
+
| 'IMPACT_COMPLETE';
|
|
737
898
|
/** The base score is a function of the base metric scores. */
|
|
738
899
|
baseScore?: number;
|
|
739
|
-
/** Defined in CVSS
|
|
740
|
-
confidentialityImpact?:
|
|
900
|
+
/** Confidentiality Impact (C). Defined in CVSS v2, v3. */
|
|
901
|
+
confidentialityImpact?:
|
|
902
|
+
| 'IMPACT_UNSPECIFIED'
|
|
903
|
+
| 'IMPACT_HIGH'
|
|
904
|
+
| 'IMPACT_LOW'
|
|
905
|
+
| 'IMPACT_NONE'
|
|
906
|
+
| 'IMPACT_PARTIAL'
|
|
907
|
+
| 'IMPACT_COMPLETE';
|
|
741
908
|
exploitabilityScore?: number;
|
|
742
909
|
impactScore?: number;
|
|
743
|
-
/** Defined in CVSS
|
|
744
|
-
integrityImpact?:
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
910
|
+
/** Integrity Impact (I). Defined in CVSS v2, v3. */
|
|
911
|
+
integrityImpact?:
|
|
912
|
+
| 'IMPACT_UNSPECIFIED'
|
|
913
|
+
| 'IMPACT_HIGH'
|
|
914
|
+
| 'IMPACT_LOW'
|
|
915
|
+
| 'IMPACT_NONE'
|
|
916
|
+
| 'IMPACT_PARTIAL'
|
|
917
|
+
| 'IMPACT_COMPLETE';
|
|
918
|
+
/** Privileges Required (PR). Defined in CVSS v3, v4. */
|
|
919
|
+
privilegesRequired?:
|
|
920
|
+
| 'PRIVILEGES_REQUIRED_UNSPECIFIED'
|
|
921
|
+
| 'PRIVILEGES_REQUIRED_NONE'
|
|
922
|
+
| 'PRIVILEGES_REQUIRED_LOW'
|
|
923
|
+
| 'PRIVILEGES_REQUIRED_HIGH';
|
|
924
|
+
/** Scope (S). Defined in CVSS v3. */
|
|
925
|
+
scope?: 'SCOPE_UNSPECIFIED' | 'SCOPE_UNCHANGED' | 'SCOPE_CHANGED';
|
|
926
|
+
/** Subsequent System Availability Impact (SA). Defined in CVSS v4. */
|
|
927
|
+
subsequentSystemAvailabilityImpact?:
|
|
928
|
+
| 'IMPACT_UNSPECIFIED'
|
|
929
|
+
| 'IMPACT_HIGH'
|
|
930
|
+
| 'IMPACT_LOW'
|
|
931
|
+
| 'IMPACT_NONE'
|
|
932
|
+
| 'IMPACT_PARTIAL'
|
|
933
|
+
| 'IMPACT_COMPLETE';
|
|
934
|
+
/** Subsequent System Confidentiality Impact (SC). Defined in CVSS v4. */
|
|
935
|
+
subsequentSystemConfidentialityImpact?:
|
|
936
|
+
| 'IMPACT_UNSPECIFIED'
|
|
937
|
+
| 'IMPACT_HIGH'
|
|
938
|
+
| 'IMPACT_LOW'
|
|
939
|
+
| 'IMPACT_NONE'
|
|
940
|
+
| 'IMPACT_PARTIAL'
|
|
941
|
+
| 'IMPACT_COMPLETE';
|
|
942
|
+
/** Subsequent System Integrity Impact (SI). Defined in CVSS v4. */
|
|
943
|
+
subsequentSystemIntegrityImpact?:
|
|
944
|
+
| 'IMPACT_UNSPECIFIED'
|
|
945
|
+
| 'IMPACT_HIGH'
|
|
946
|
+
| 'IMPACT_LOW'
|
|
947
|
+
| 'IMPACT_NONE'
|
|
948
|
+
| 'IMPACT_PARTIAL'
|
|
949
|
+
| 'IMPACT_COMPLETE';
|
|
950
|
+
/** User Interaction (UI). Defined in CVSS v3, v4. */
|
|
951
|
+
userInteraction?:
|
|
952
|
+
| 'USER_INTERACTION_UNSPECIFIED'
|
|
953
|
+
| 'USER_INTERACTION_NONE'
|
|
954
|
+
| 'USER_INTERACTION_REQUIRED'
|
|
955
|
+
| 'USER_INTERACTION_PASSIVE'
|
|
956
|
+
| 'USER_INTERACTION_ACTIVE';
|
|
957
|
+
/** Vulnerable System Availability Impact (VA). Defined in CVSS v4. */
|
|
958
|
+
vulnerableSystemAvailabilityImpact?:
|
|
959
|
+
| 'IMPACT_UNSPECIFIED'
|
|
960
|
+
| 'IMPACT_HIGH'
|
|
961
|
+
| 'IMPACT_LOW'
|
|
962
|
+
| 'IMPACT_NONE'
|
|
963
|
+
| 'IMPACT_PARTIAL'
|
|
964
|
+
| 'IMPACT_COMPLETE';
|
|
965
|
+
/** Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4. */
|
|
966
|
+
vulnerableSystemConfidentialityImpact?:
|
|
967
|
+
| 'IMPACT_UNSPECIFIED'
|
|
968
|
+
| 'IMPACT_HIGH'
|
|
969
|
+
| 'IMPACT_LOW'
|
|
970
|
+
| 'IMPACT_NONE'
|
|
971
|
+
| 'IMPACT_PARTIAL'
|
|
972
|
+
| 'IMPACT_COMPLETE';
|
|
973
|
+
/** Vulnerable System Integrity Impact (VI). Defined in CVSS v4. */
|
|
974
|
+
vulnerableSystemIntegrityImpact?:
|
|
975
|
+
| 'IMPACT_UNSPECIFIED'
|
|
976
|
+
| 'IMPACT_HIGH'
|
|
977
|
+
| 'IMPACT_LOW'
|
|
978
|
+
| 'IMPACT_NONE'
|
|
979
|
+
| 'IMPACT_PARTIAL'
|
|
980
|
+
| 'IMPACT_COMPLETE';
|
|
751
981
|
}
|
|
752
982
|
interface CVSSv3 {
|
|
753
|
-
attackComplexity?:
|
|
983
|
+
attackComplexity?:
|
|
984
|
+
| 'ATTACK_COMPLEXITY_UNSPECIFIED'
|
|
985
|
+
| 'ATTACK_COMPLEXITY_LOW'
|
|
986
|
+
| 'ATTACK_COMPLEXITY_HIGH';
|
|
754
987
|
/** Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. */
|
|
755
|
-
attackVector?:
|
|
756
|
-
|
|
988
|
+
attackVector?:
|
|
989
|
+
| 'ATTACK_VECTOR_UNSPECIFIED'
|
|
990
|
+
| 'ATTACK_VECTOR_NETWORK'
|
|
991
|
+
| 'ATTACK_VECTOR_ADJACENT'
|
|
992
|
+
| 'ATTACK_VECTOR_LOCAL'
|
|
993
|
+
| 'ATTACK_VECTOR_PHYSICAL';
|
|
994
|
+
availabilityImpact?:
|
|
995
|
+
| 'IMPACT_UNSPECIFIED'
|
|
996
|
+
| 'IMPACT_HIGH'
|
|
997
|
+
| 'IMPACT_LOW'
|
|
998
|
+
| 'IMPACT_NONE';
|
|
757
999
|
/** The base score is a function of the base metric scores. */
|
|
758
1000
|
baseScore?: number;
|
|
759
|
-
confidentialityImpact?:
|
|
1001
|
+
confidentialityImpact?:
|
|
1002
|
+
| 'IMPACT_UNSPECIFIED'
|
|
1003
|
+
| 'IMPACT_HIGH'
|
|
1004
|
+
| 'IMPACT_LOW'
|
|
1005
|
+
| 'IMPACT_NONE';
|
|
760
1006
|
exploitabilityScore?: number;
|
|
761
1007
|
impactScore?: number;
|
|
762
|
-
integrityImpact?:
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
1008
|
+
integrityImpact?:
|
|
1009
|
+
| 'IMPACT_UNSPECIFIED'
|
|
1010
|
+
| 'IMPACT_HIGH'
|
|
1011
|
+
| 'IMPACT_LOW'
|
|
1012
|
+
| 'IMPACT_NONE';
|
|
1013
|
+
privilegesRequired?:
|
|
1014
|
+
| 'PRIVILEGES_REQUIRED_UNSPECIFIED'
|
|
1015
|
+
| 'PRIVILEGES_REQUIRED_NONE'
|
|
1016
|
+
| 'PRIVILEGES_REQUIRED_LOW'
|
|
1017
|
+
| 'PRIVILEGES_REQUIRED_HIGH';
|
|
1018
|
+
scope?: 'SCOPE_UNSPECIFIED' | 'SCOPE_UNCHANGED' | 'SCOPE_CHANGED';
|
|
1019
|
+
userInteraction?:
|
|
1020
|
+
| 'USER_INTERACTION_UNSPECIFIED'
|
|
1021
|
+
| 'USER_INTERACTION_NONE'
|
|
1022
|
+
| 'USER_INTERACTION_REQUIRED';
|
|
766
1023
|
}
|
|
767
1024
|
interface Deployable {
|
|
768
1025
|
/** Required. Resource URI for the artifact being deployed. */
|
|
@@ -776,7 +1033,7 @@ declare namespace gapi.client {
|
|
|
776
1033
|
/** Required. Beginning of the lifetime of this deployment. */
|
|
777
1034
|
deployTime?: string;
|
|
778
1035
|
/** Platform hosting this deployment. */
|
|
779
|
-
platform?:
|
|
1036
|
+
platform?: 'PLATFORM_UNSPECIFIED' | 'GKE' | 'FLEX' | 'CUSTOM';
|
|
780
1037
|
/** Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name. */
|
|
781
1038
|
resourceUri?: string[];
|
|
782
1039
|
/** End of the lifetime of this deployment. */
|
|
@@ -835,11 +1092,21 @@ declare namespace gapi.client {
|
|
|
835
1092
|
/** Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors. */
|
|
836
1093
|
analysisError?: Status[];
|
|
837
1094
|
/** The status of discovery for the resource. */
|
|
838
|
-
analysisStatus?:
|
|
1095
|
+
analysisStatus?:
|
|
1096
|
+
| 'ANALYSIS_STATUS_UNSPECIFIED'
|
|
1097
|
+
| 'PENDING'
|
|
1098
|
+
| 'SCANNING'
|
|
1099
|
+
| 'FINISHED_SUCCESS'
|
|
1100
|
+
| 'COMPLETE'
|
|
1101
|
+
| 'FINISHED_FAILED'
|
|
1102
|
+
| 'FINISHED_UNSUPPORTED';
|
|
839
1103
|
/** 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
1104
|
analysisStatusError?: Status;
|
|
841
1105
|
/** Whether the resource is continuously analyzed. */
|
|
842
|
-
continuousAnalysis?:
|
|
1106
|
+
continuousAnalysis?:
|
|
1107
|
+
| 'CONTINUOUS_ANALYSIS_UNSPECIFIED'
|
|
1108
|
+
| 'ACTIVE'
|
|
1109
|
+
| 'INACTIVE';
|
|
843
1110
|
/** Files that make up the resource described by the occurrence. */
|
|
844
1111
|
files?: File[];
|
|
845
1112
|
/** The last time continuous analysis was done for this resource. Deprecated, do not use. */
|
|
@@ -853,11 +1120,28 @@ declare namespace gapi.client {
|
|
|
853
1120
|
}
|
|
854
1121
|
interface Discovery {
|
|
855
1122
|
/** Required. Immutable. The kind of analysis that is handled by this discovery. */
|
|
856
|
-
analysisKind?:
|
|
1123
|
+
analysisKind?:
|
|
1124
|
+
| 'NOTE_KIND_UNSPECIFIED'
|
|
1125
|
+
| 'VULNERABILITY'
|
|
1126
|
+
| 'BUILD'
|
|
1127
|
+
| 'IMAGE'
|
|
1128
|
+
| 'PACKAGE'
|
|
1129
|
+
| 'DEPLOYMENT'
|
|
1130
|
+
| 'DISCOVERY'
|
|
1131
|
+
| 'ATTESTATION'
|
|
1132
|
+
| 'INTOTO'
|
|
1133
|
+
| 'SBOM'
|
|
1134
|
+
| 'SPDX_PACKAGE'
|
|
1135
|
+
| 'SPDX_FILE'
|
|
1136
|
+
| 'SPDX_RELATIONSHIP'
|
|
1137
|
+
| 'VULNERABILITY_ASSESSMENT'
|
|
1138
|
+
| 'SBOM_REFERENCE'
|
|
1139
|
+
| 'SECRET'
|
|
1140
|
+
| 'AI_SKILL_ANALYSIS';
|
|
857
1141
|
}
|
|
858
1142
|
interface Distribution {
|
|
859
1143
|
/** The CPU architecture for which packages in this distribution channel were built. */
|
|
860
|
-
architecture?:
|
|
1144
|
+
architecture?: 'ARCHITECTURE_UNSPECIFIED' | 'X86' | 'X64';
|
|
861
1145
|
/** Required. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. */
|
|
862
1146
|
cpeUri?: string;
|
|
863
1147
|
/** The distribution channel-specific description of this package. */
|
|
@@ -925,7 +1209,12 @@ declare namespace gapi.client {
|
|
|
925
1209
|
}
|
|
926
1210
|
interface ExternalRef {
|
|
927
1211
|
/** 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?:
|
|
1212
|
+
category?:
|
|
1213
|
+
| 'CATEGORY_UNSPECIFIED'
|
|
1214
|
+
| 'SECURITY'
|
|
1215
|
+
| 'PACKAGE_MANAGER'
|
|
1216
|
+
| 'PERSISTENT_ID'
|
|
1217
|
+
| 'OTHER';
|
|
929
1218
|
/** Human-readable information about the purpose and target of the reference */
|
|
930
1219
|
comment?: string;
|
|
931
1220
|
/** The unique string with no spaces necessary to access the package-specific information, metadata, or content within the target location */
|
|
@@ -949,7 +1238,19 @@ declare namespace gapi.client {
|
|
|
949
1238
|
/** Provide a unique identifier to match analysis information on each specific file in a package */
|
|
950
1239
|
checksum?: string[];
|
|
951
1240
|
/** This field provides information about the type of file identified */
|
|
952
|
-
fileType?:
|
|
1241
|
+
fileType?:
|
|
1242
|
+
| 'FILE_TYPE_UNSPECIFIED'
|
|
1243
|
+
| 'SOURCE'
|
|
1244
|
+
| 'BINARY'
|
|
1245
|
+
| 'ARCHIVE'
|
|
1246
|
+
| 'APPLICATION'
|
|
1247
|
+
| 'AUDIO'
|
|
1248
|
+
| 'IMAGE'
|
|
1249
|
+
| 'TEXT'
|
|
1250
|
+
| 'VIDEO'
|
|
1251
|
+
| 'DOCUMENTATION'
|
|
1252
|
+
| 'SPDX'
|
|
1253
|
+
| 'OTHER';
|
|
953
1254
|
/** Identify the full path and filename that corresponds to the file information in this section */
|
|
954
1255
|
title?: string;
|
|
955
1256
|
}
|
|
@@ -971,6 +1272,22 @@ declare namespace gapi.client {
|
|
|
971
1272
|
/** This field provides a place for the SPDX file creator to record license notices or other such related notices found in the file */
|
|
972
1273
|
notice?: string;
|
|
973
1274
|
}
|
|
1275
|
+
interface Finding {
|
|
1276
|
+
/** Category of the finding. */
|
|
1277
|
+
category?: string;
|
|
1278
|
+
/** Location (path and line) where the finding was detected. */
|
|
1279
|
+
location?: FindingLocation;
|
|
1280
|
+
/** Scanner determines which engine (e.g. static, llm) emitted the finding. */
|
|
1281
|
+
scanner?: string;
|
|
1282
|
+
/** Severity of the finding. */
|
|
1283
|
+
severity?: string;
|
|
1284
|
+
}
|
|
1285
|
+
interface FindingLocation {
|
|
1286
|
+
/** Relative path of the file containing the finding. */
|
|
1287
|
+
filePath?: string;
|
|
1288
|
+
/** Line number (1-based), or 0 if whole File / unknown. */
|
|
1289
|
+
lineNumber?: string;
|
|
1290
|
+
}
|
|
974
1291
|
interface Fingerprint {
|
|
975
1292
|
/** Required. The layer ID of the final layer in the Docker image's v1 representation. */
|
|
976
1293
|
v1Name?: string;
|
|
@@ -985,14 +1302,20 @@ declare namespace gapi.client {
|
|
|
985
1302
|
/** The affected resource. */
|
|
986
1303
|
resource?: Resource;
|
|
987
1304
|
/** The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities. */
|
|
988
|
-
severity?:
|
|
1305
|
+
severity?:
|
|
1306
|
+
| 'SEVERITY_UNSPECIFIED'
|
|
1307
|
+
| 'MINIMAL'
|
|
1308
|
+
| 'LOW'
|
|
1309
|
+
| 'MEDIUM'
|
|
1310
|
+
| 'HIGH'
|
|
1311
|
+
| 'CRITICAL';
|
|
989
1312
|
/** The total number of vulnerabilities associated with this resource. */
|
|
990
1313
|
totalCount?: string;
|
|
991
1314
|
}
|
|
992
1315
|
interface GeneratePackagesSummaryRequest {}
|
|
993
1316
|
interface GenericSignedAttestation {
|
|
994
1317
|
/** 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?:
|
|
1318
|
+
contentType?: 'CONTENT_TYPE_UNSPECIFIED' | 'SIMPLE_SIGNING_JSON';
|
|
996
1319
|
/** 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
1320
|
serializedPayload?: string;
|
|
998
1321
|
/** 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 +1394,19 @@ declare namespace gapi.client {
|
|
|
1071
1394
|
/** The cvss v3 score for the vulnerability. */
|
|
1072
1395
|
cvssV3?: CVSS;
|
|
1073
1396
|
/** Output only. CVSS version used to populate cvss_score and severity. */
|
|
1074
|
-
cvssVersion?:
|
|
1397
|
+
cvssVersion?:
|
|
1398
|
+
| 'CVSS_VERSION_UNSPECIFIED'
|
|
1399
|
+
| 'CVSS_VERSION_2'
|
|
1400
|
+
| 'CVSS_VERSION_3'
|
|
1401
|
+
| 'CVSS_VERSION_4';
|
|
1075
1402
|
/** 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?:
|
|
1403
|
+
effectiveSeverity?:
|
|
1404
|
+
| 'SEVERITY_UNSPECIFIED'
|
|
1405
|
+
| 'MINIMAL'
|
|
1406
|
+
| 'LOW'
|
|
1407
|
+
| 'MEDIUM'
|
|
1408
|
+
| 'HIGH'
|
|
1409
|
+
| 'CRITICAL';
|
|
1077
1410
|
/** Occurrence-specific extra details about the vulnerability. */
|
|
1078
1411
|
extraDetails?: string;
|
|
1079
1412
|
/** Output only. A detailed description of this vulnerability. */
|
|
@@ -1083,7 +1416,13 @@ declare namespace gapi.client {
|
|
|
1083
1416
|
/** Output only. URLs related to this vulnerability. */
|
|
1084
1417
|
relatedUrls?: RelatedUrl[];
|
|
1085
1418
|
/** Output only. The note provider assigned Severity of the vulnerability. */
|
|
1086
|
-
severity?:
|
|
1419
|
+
severity?:
|
|
1420
|
+
| 'SEVERITY_UNSPECIFIED'
|
|
1421
|
+
| 'MINIMAL'
|
|
1422
|
+
| 'LOW'
|
|
1423
|
+
| 'MEDIUM'
|
|
1424
|
+
| 'HIGH'
|
|
1425
|
+
| 'CRITICAL';
|
|
1087
1426
|
/** Output only. A one sentence description of this vulnerability. */
|
|
1088
1427
|
shortDescription?: string;
|
|
1089
1428
|
/** The type of package; whether native or non native(ruby gems, node.js packages etc) */
|
|
@@ -1092,7 +1431,12 @@ declare namespace gapi.client {
|
|
|
1092
1431
|
}
|
|
1093
1432
|
interface Hash {
|
|
1094
1433
|
/** Required. The type of hash that was performed. */
|
|
1095
|
-
type?:
|
|
1434
|
+
type?:
|
|
1435
|
+
| 'HASH_TYPE_UNSPECIFIED'
|
|
1436
|
+
| 'SHA256'
|
|
1437
|
+
| 'GO_MODULE_H1'
|
|
1438
|
+
| 'SHA512'
|
|
1439
|
+
| 'DIRSUM_SHA256';
|
|
1096
1440
|
/** Required. The hash value. */
|
|
1097
1441
|
value?: string;
|
|
1098
1442
|
}
|
|
@@ -1102,7 +1446,7 @@ declare namespace gapi.client {
|
|
|
1102
1446
|
}
|
|
1103
1447
|
interface Installation {
|
|
1104
1448
|
/** Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. */
|
|
1105
|
-
architecture?:
|
|
1449
|
+
architecture?: 'ARCHITECTURE_UNSPECIFIED' | 'X86' | 'X64';
|
|
1106
1450
|
/** 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
1451
|
cpeUri?: string;
|
|
1108
1452
|
/** Licenses that have been declared by the authors of the package. */
|
|
@@ -1140,7 +1484,13 @@ declare namespace gapi.client {
|
|
|
1140
1484
|
/** Additional details on why this justification was chosen. */
|
|
1141
1485
|
details?: string;
|
|
1142
1486
|
/** The justification type for this vulnerability. */
|
|
1143
|
-
justificationType?:
|
|
1487
|
+
justificationType?:
|
|
1488
|
+
| 'JUSTIFICATION_TYPE_UNSPECIFIED'
|
|
1489
|
+
| 'COMPONENT_NOT_PRESENT'
|
|
1490
|
+
| 'VULNERABLE_CODE_NOT_PRESENT'
|
|
1491
|
+
| 'VULNERABLE_CODE_NOT_IN_EXECUTE_PATH'
|
|
1492
|
+
| 'VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY'
|
|
1493
|
+
| 'INLINE_MITIGATIONS_ALREADY_EXIST';
|
|
1144
1494
|
}
|
|
1145
1495
|
interface KnowledgeBase {
|
|
1146
1496
|
/** The KB name (generally of the form KB[0-9]+ i.e. KB123456). */
|
|
@@ -1152,7 +1502,25 @@ declare namespace gapi.client {
|
|
|
1152
1502
|
/** The recovered arguments to the Dockerfile directive. */
|
|
1153
1503
|
arguments?: string;
|
|
1154
1504
|
/** Required. The recovered Dockerfile directive used to construct this layer. */
|
|
1155
|
-
directive?:
|
|
1505
|
+
directive?:
|
|
1506
|
+
| 'DIRECTIVE_UNSPECIFIED'
|
|
1507
|
+
| 'MAINTAINER'
|
|
1508
|
+
| 'RUN'
|
|
1509
|
+
| 'CMD'
|
|
1510
|
+
| 'LABEL'
|
|
1511
|
+
| 'EXPOSE'
|
|
1512
|
+
| 'ENV'
|
|
1513
|
+
| 'ADD'
|
|
1514
|
+
| 'COPY'
|
|
1515
|
+
| 'ENTRYPOINT'
|
|
1516
|
+
| 'VOLUME'
|
|
1517
|
+
| 'USER'
|
|
1518
|
+
| 'WORKDIR'
|
|
1519
|
+
| 'ARG'
|
|
1520
|
+
| 'ONBUILD'
|
|
1521
|
+
| 'STOPSIGNAL'
|
|
1522
|
+
| 'HEALTHCHECK'
|
|
1523
|
+
| 'SHELL';
|
|
1156
1524
|
}
|
|
1157
1525
|
interface License {
|
|
1158
1526
|
/** Comments */
|
|
@@ -1209,6 +1577,8 @@ declare namespace gapi.client {
|
|
|
1209
1577
|
version?: Version;
|
|
1210
1578
|
}
|
|
1211
1579
|
interface Note {
|
|
1580
|
+
/** A note describing an AI Skill analysis. */
|
|
1581
|
+
aiSkillAnalysis?: any;
|
|
1212
1582
|
/** A note describing an attestation role. */
|
|
1213
1583
|
attestationAuthority?: Authority;
|
|
1214
1584
|
/** A note describing a base image. */
|
|
@@ -1226,7 +1596,24 @@ declare namespace gapi.client {
|
|
|
1226
1596
|
/** A note describing an in-toto link. */
|
|
1227
1597
|
intoto?: InToto;
|
|
1228
1598
|
/** Output only. The type of analysis. This field can be used as a filter in list requests. */
|
|
1229
|
-
kind?:
|
|
1599
|
+
kind?:
|
|
1600
|
+
| 'NOTE_KIND_UNSPECIFIED'
|
|
1601
|
+
| 'VULNERABILITY'
|
|
1602
|
+
| 'BUILD'
|
|
1603
|
+
| 'IMAGE'
|
|
1604
|
+
| 'PACKAGE'
|
|
1605
|
+
| 'DEPLOYMENT'
|
|
1606
|
+
| 'DISCOVERY'
|
|
1607
|
+
| 'ATTESTATION'
|
|
1608
|
+
| 'INTOTO'
|
|
1609
|
+
| 'SBOM'
|
|
1610
|
+
| 'SPDX_PACKAGE'
|
|
1611
|
+
| 'SPDX_FILE'
|
|
1612
|
+
| 'SPDX_RELATIONSHIP'
|
|
1613
|
+
| 'VULNERABILITY_ASSESSMENT'
|
|
1614
|
+
| 'SBOM_REFERENCE'
|
|
1615
|
+
| 'SECRET'
|
|
1616
|
+
| 'AI_SKILL_ANALYSIS';
|
|
1230
1617
|
/** A detailed description of this note. */
|
|
1231
1618
|
longDescription?: string;
|
|
1232
1619
|
/** Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
|
|
@@ -1259,6 +1646,8 @@ declare namespace gapi.client {
|
|
|
1259
1646
|
vulnerabilityAssessment?: VulnerabilityAssessmentNote;
|
|
1260
1647
|
}
|
|
1261
1648
|
interface Occurrence {
|
|
1649
|
+
/** Describes a specific AI Skill Analysis occurrence. */
|
|
1650
|
+
aiSkillAnalysis?: AISkillAnalysisOccurrence;
|
|
1262
1651
|
/** Describes an attestation of an artifact. */
|
|
1263
1652
|
attestation?: Details;
|
|
1264
1653
|
/** Describes a verifiable build. */
|
|
@@ -1278,7 +1667,24 @@ declare namespace gapi.client {
|
|
|
1278
1667
|
/** Describes a specific in-toto link. */
|
|
1279
1668
|
intoto?: GrafeasV1beta1IntotoDetails;
|
|
1280
1669
|
/** 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?:
|
|
1670
|
+
kind?:
|
|
1671
|
+
| 'NOTE_KIND_UNSPECIFIED'
|
|
1672
|
+
| 'VULNERABILITY'
|
|
1673
|
+
| 'BUILD'
|
|
1674
|
+
| 'IMAGE'
|
|
1675
|
+
| 'PACKAGE'
|
|
1676
|
+
| 'DEPLOYMENT'
|
|
1677
|
+
| 'DISCOVERY'
|
|
1678
|
+
| 'ATTESTATION'
|
|
1679
|
+
| 'INTOTO'
|
|
1680
|
+
| 'SBOM'
|
|
1681
|
+
| 'SPDX_PACKAGE'
|
|
1682
|
+
| 'SPDX_FILE'
|
|
1683
|
+
| 'SPDX_RELATIONSHIP'
|
|
1684
|
+
| 'VULNERABILITY_ASSESSMENT'
|
|
1685
|
+
| 'SBOM_REFERENCE'
|
|
1686
|
+
| 'SECRET'
|
|
1687
|
+
| 'AI_SKILL_ANALYSIS';
|
|
1282
1688
|
/** Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
|
|
1283
1689
|
name?: string;
|
|
1284
1690
|
/** 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 +1712,7 @@ declare namespace gapi.client {
|
|
|
1306
1712
|
}
|
|
1307
1713
|
interface Package {
|
|
1308
1714
|
/** The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. */
|
|
1309
|
-
architecture?:
|
|
1715
|
+
architecture?: 'ARCHITECTURE_UNSPECIFIED' | 'X86' | 'X64';
|
|
1310
1716
|
/** 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
1717
|
cpeUri?: string;
|
|
1312
1718
|
/** The description of this package. */
|
|
@@ -1390,7 +1796,13 @@ declare namespace gapi.client {
|
|
|
1390
1796
|
/** Required. The location of the vulnerability. */
|
|
1391
1797
|
affectedLocation?: VulnerabilityLocation;
|
|
1392
1798
|
/** 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?:
|
|
1799
|
+
effectiveSeverity?:
|
|
1800
|
+
| 'SEVERITY_UNSPECIFIED'
|
|
1801
|
+
| 'MINIMAL'
|
|
1802
|
+
| 'LOW'
|
|
1803
|
+
| 'MEDIUM'
|
|
1804
|
+
| 'HIGH'
|
|
1805
|
+
| 'CRITICAL';
|
|
1394
1806
|
/** The location of the available fix for vulnerability. */
|
|
1395
1807
|
fixedLocation?: VulnerabilityLocation;
|
|
1396
1808
|
/** The type of package (e.g. OS, MAVEN, GO). */
|
|
@@ -1406,7 +1818,7 @@ declare namespace gapi.client {
|
|
|
1406
1818
|
}
|
|
1407
1819
|
interface PgpSignedAttestation {
|
|
1408
1820
|
/** 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?:
|
|
1821
|
+
contentType?: 'CONTENT_TYPE_UNSPECIFIED' | 'SIMPLE_SIGNING_JSON';
|
|
1410
1822
|
/** 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
1823
|
pgpKeyId?: string;
|
|
1412
1824
|
/** 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 +1867,51 @@ declare namespace gapi.client {
|
|
|
1455
1867
|
}
|
|
1456
1868
|
interface RelationshipNote {
|
|
1457
1869
|
/** The type of relationship between the source and target SPDX elements */
|
|
1458
|
-
type?:
|
|
1870
|
+
type?:
|
|
1871
|
+
| 'RELATIONSHIP_TYPE_UNSPECIFIED'
|
|
1872
|
+
| 'DESCRIBES'
|
|
1873
|
+
| 'DESCRIBED_BY'
|
|
1874
|
+
| 'CONTAINS'
|
|
1875
|
+
| 'CONTAINED_BY'
|
|
1876
|
+
| 'DEPENDS_ON'
|
|
1877
|
+
| 'DEPENDENCY_OF'
|
|
1878
|
+
| 'DEPENDENCY_MANIFEST_OF'
|
|
1879
|
+
| 'BUILD_DEPENDENCY_OF'
|
|
1880
|
+
| 'DEV_DEPENDENCY_OF'
|
|
1881
|
+
| 'OPTIONAL_DEPENDENCY_OF'
|
|
1882
|
+
| 'PROVIDED_DEPENDENCY_OF'
|
|
1883
|
+
| 'TEST_DEPENDENCY_OF'
|
|
1884
|
+
| 'RUNTIME_DEPENDENCY_OF'
|
|
1885
|
+
| 'EXAMPLE_OF'
|
|
1886
|
+
| 'GENERATES'
|
|
1887
|
+
| 'GENERATED_FROM'
|
|
1888
|
+
| 'ANCESTOR_OF'
|
|
1889
|
+
| 'DESCENDANT_OF'
|
|
1890
|
+
| 'VARIANT_OF'
|
|
1891
|
+
| 'DISTRIBUTION_ARTIFACT'
|
|
1892
|
+
| 'PATCH_FOR'
|
|
1893
|
+
| 'PATCH_APPLIED'
|
|
1894
|
+
| 'COPY_OF'
|
|
1895
|
+
| 'FILE_ADDED'
|
|
1896
|
+
| 'FILE_DELETED'
|
|
1897
|
+
| 'FILE_MODIFIED'
|
|
1898
|
+
| 'EXPANDED_FROM_ARCHIVE'
|
|
1899
|
+
| 'DYNAMIC_LINK'
|
|
1900
|
+
| 'STATIC_LINK'
|
|
1901
|
+
| 'DATA_FILE_OF'
|
|
1902
|
+
| 'TEST_CASE_OF'
|
|
1903
|
+
| 'BUILD_TOOL_OF'
|
|
1904
|
+
| 'DEV_TOOL_OF'
|
|
1905
|
+
| 'TEST_OF'
|
|
1906
|
+
| 'TEST_TOOL_OF'
|
|
1907
|
+
| 'DOCUMENTATION_OF'
|
|
1908
|
+
| 'OPTIONAL_COMPONENT_OF'
|
|
1909
|
+
| 'METAFILE_OF'
|
|
1910
|
+
| 'PACKAGE_OF'
|
|
1911
|
+
| 'AMENDS'
|
|
1912
|
+
| 'PREREQUISITE_FOR'
|
|
1913
|
+
| 'HAS_PREREQUISITE'
|
|
1914
|
+
| 'OTHER';
|
|
1459
1915
|
}
|
|
1460
1916
|
interface RelationshipOccurrence {
|
|
1461
1917
|
/** A place for the SPDX file creator to record any general comments about the relationship */
|
|
@@ -1465,13 +1921,63 @@ declare namespace gapi.client {
|
|
|
1465
1921
|
/** 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
1922
|
target?: string;
|
|
1467
1923
|
/** Output only. The type of relationship between the source and target SPDX elements */
|
|
1468
|
-
type?:
|
|
1924
|
+
type?:
|
|
1925
|
+
| 'RELATIONSHIP_TYPE_UNSPECIFIED'
|
|
1926
|
+
| 'DESCRIBES'
|
|
1927
|
+
| 'DESCRIBED_BY'
|
|
1928
|
+
| 'CONTAINS'
|
|
1929
|
+
| 'CONTAINED_BY'
|
|
1930
|
+
| 'DEPENDS_ON'
|
|
1931
|
+
| 'DEPENDENCY_OF'
|
|
1932
|
+
| 'DEPENDENCY_MANIFEST_OF'
|
|
1933
|
+
| 'BUILD_DEPENDENCY_OF'
|
|
1934
|
+
| 'DEV_DEPENDENCY_OF'
|
|
1935
|
+
| 'OPTIONAL_DEPENDENCY_OF'
|
|
1936
|
+
| 'PROVIDED_DEPENDENCY_OF'
|
|
1937
|
+
| 'TEST_DEPENDENCY_OF'
|
|
1938
|
+
| 'RUNTIME_DEPENDENCY_OF'
|
|
1939
|
+
| 'EXAMPLE_OF'
|
|
1940
|
+
| 'GENERATES'
|
|
1941
|
+
| 'GENERATED_FROM'
|
|
1942
|
+
| 'ANCESTOR_OF'
|
|
1943
|
+
| 'DESCENDANT_OF'
|
|
1944
|
+
| 'VARIANT_OF'
|
|
1945
|
+
| 'DISTRIBUTION_ARTIFACT'
|
|
1946
|
+
| 'PATCH_FOR'
|
|
1947
|
+
| 'PATCH_APPLIED'
|
|
1948
|
+
| 'COPY_OF'
|
|
1949
|
+
| 'FILE_ADDED'
|
|
1950
|
+
| 'FILE_DELETED'
|
|
1951
|
+
| 'FILE_MODIFIED'
|
|
1952
|
+
| 'EXPANDED_FROM_ARCHIVE'
|
|
1953
|
+
| 'DYNAMIC_LINK'
|
|
1954
|
+
| 'STATIC_LINK'
|
|
1955
|
+
| 'DATA_FILE_OF'
|
|
1956
|
+
| 'TEST_CASE_OF'
|
|
1957
|
+
| 'BUILD_TOOL_OF'
|
|
1958
|
+
| 'DEV_TOOL_OF'
|
|
1959
|
+
| 'TEST_OF'
|
|
1960
|
+
| 'TEST_TOOL_OF'
|
|
1961
|
+
| 'DOCUMENTATION_OF'
|
|
1962
|
+
| 'OPTIONAL_COMPONENT_OF'
|
|
1963
|
+
| 'METAFILE_OF'
|
|
1964
|
+
| 'PACKAGE_OF'
|
|
1965
|
+
| 'AMENDS'
|
|
1966
|
+
| 'PREREQUISITE_FOR'
|
|
1967
|
+
| 'HAS_PREREQUISITE'
|
|
1968
|
+
| 'OTHER';
|
|
1469
1969
|
}
|
|
1470
1970
|
interface Remediation {
|
|
1471
1971
|
/** Contains a comprehensive human-readable discussion of the remediation. */
|
|
1472
1972
|
details?: string;
|
|
1473
1973
|
/** The type of remediation that can be applied. */
|
|
1474
|
-
remediationType?:
|
|
1974
|
+
remediationType?:
|
|
1975
|
+
| 'REMEDIATION_TYPE_UNSPECIFIED'
|
|
1976
|
+
| 'MITIGATION'
|
|
1977
|
+
| 'NO_FIX_PLANNED'
|
|
1978
|
+
| 'NONE_AVAILABLE'
|
|
1979
|
+
| 'VENDOR_FIX'
|
|
1980
|
+
| 'WORKAROUND';
|
|
1475
1981
|
/** Contains the URL where to obtain the remediation. */
|
|
1476
1982
|
remediationUri?: RelatedUrl;
|
|
1477
1983
|
}
|
|
@@ -1541,7 +2047,7 @@ declare namespace gapi.client {
|
|
|
1541
2047
|
/** If there was an error generating an SBOM, this will indicate what that error was. */
|
|
1542
2048
|
error?: string;
|
|
1543
2049
|
/** The progress of the SBOM generation. */
|
|
1544
|
-
sbomState?:
|
|
2050
|
+
sbomState?: 'SBOM_STATE_UNSPECIFIED' | 'PENDING' | 'COMPLETE';
|
|
1545
2051
|
}
|
|
1546
2052
|
interface SecretLocation {
|
|
1547
2053
|
/** The secret is found from a file. */
|
|
@@ -1550,7 +2056,30 @@ declare namespace gapi.client {
|
|
|
1550
2056
|
interface SecretNote {}
|
|
1551
2057
|
interface SecretOccurrence {
|
|
1552
2058
|
/** Required. Type of secret. */
|
|
1553
|
-
kind?:
|
|
2059
|
+
kind?:
|
|
2060
|
+
| 'SECRET_KIND_UNSPECIFIED'
|
|
2061
|
+
| 'SECRET_KIND_UNKNOWN'
|
|
2062
|
+
| 'SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY'
|
|
2063
|
+
| 'SECRET_KIND_GCP_API_KEY'
|
|
2064
|
+
| 'SECRET_KIND_GCP_OAUTH2_CLIENT_CREDENTIALS'
|
|
2065
|
+
| 'SECRET_KIND_GCP_OAUTH2_ACCESS_TOKEN'
|
|
2066
|
+
| 'SECRET_KIND_ANTHROPIC_ADMIN_API_KEY'
|
|
2067
|
+
| 'SECRET_KIND_ANTHROPIC_API_KEY'
|
|
2068
|
+
| 'SECRET_KIND_AZURE_ACCESS_TOKEN'
|
|
2069
|
+
| 'SECRET_KIND_AZURE_IDENTITY_TOKEN'
|
|
2070
|
+
| 'SECRET_KIND_DOCKER_HUB_PERSONAL_ACCESS_TOKEN'
|
|
2071
|
+
| 'SECRET_KIND_GITHUB_APP_REFRESH_TOKEN'
|
|
2072
|
+
| 'SECRET_KIND_GITHUB_APP_SERVER_TO_SERVER_TOKEN'
|
|
2073
|
+
| 'SECRET_KIND_GITHUB_APP_USER_TO_SERVER_TOKEN'
|
|
2074
|
+
| 'SECRET_KIND_GITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN'
|
|
2075
|
+
| 'SECRET_KIND_GITHUB_FINE_GRAINED_PERSONAL_ACCESS_TOKEN'
|
|
2076
|
+
| 'SECRET_KIND_GITHUB_OAUTH_TOKEN'
|
|
2077
|
+
| 'SECRET_KIND_HUGGINGFACE_API_KEY'
|
|
2078
|
+
| 'SECRET_KIND_OPENAI_API_KEY'
|
|
2079
|
+
| 'SECRET_KIND_PERPLEXITY_API_KEY'
|
|
2080
|
+
| 'SECRET_KIND_STRIPE_SECRET_KEY'
|
|
2081
|
+
| 'SECRET_KIND_STRIPE_RESTRICTED_KEY'
|
|
2082
|
+
| 'SECRET_KIND_STRIPE_WEBHOOK_SECRET';
|
|
1554
2083
|
/** Optional. Locations where the secret is detected. */
|
|
1555
2084
|
locations?: SecretLocation[];
|
|
1556
2085
|
/** Optional. Status of the secret. */
|
|
@@ -1560,7 +2089,7 @@ declare namespace gapi.client {
|
|
|
1560
2089
|
/** Optional. Optional message about the status code. */
|
|
1561
2090
|
message?: string;
|
|
1562
2091
|
/** Optional. The status of the secret. */
|
|
1563
|
-
status?:
|
|
2092
|
+
status?: 'STATUS_UNSPECIFIED' | 'UNKNOWN' | 'VALID' | 'INVALID';
|
|
1564
2093
|
/** Optional. The time the secret status was last updated. */
|
|
1565
2094
|
updateTime?: string;
|
|
1566
2095
|
}
|
|
@@ -1612,7 +2141,7 @@ declare namespace gapi.client {
|
|
|
1612
2141
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
1613
2142
|
code?: number;
|
|
1614
2143
|
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
1615
|
-
details?:
|
|
2144
|
+
details?: {[P in string]: any}[];
|
|
1616
2145
|
/** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
|
|
1617
2146
|
message?: string;
|
|
1618
2147
|
}
|
|
@@ -1647,7 +2176,7 @@ declare namespace gapi.client {
|
|
|
1647
2176
|
/** 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
2177
|
inclusive?: boolean;
|
|
1649
2178
|
/** Required. Distinguishes between sentinel MIN/MAX versions and normal versions. */
|
|
1650
|
-
kind?:
|
|
2179
|
+
kind?: 'VERSION_KIND_UNSPECIFIED' | 'NORMAL' | 'MINIMUM' | 'MAXIMUM';
|
|
1651
2180
|
/** Required only when version kind is NORMAL. The main part of the version name. */
|
|
1652
2181
|
name?: string;
|
|
1653
2182
|
/** The iteration of the package build from the above version. */
|
|
@@ -1667,7 +2196,12 @@ declare namespace gapi.client {
|
|
|
1667
2196
|
/** Specifies details on how to handle (and presumably, fix) a vulnerability. */
|
|
1668
2197
|
remediations?: Remediation[];
|
|
1669
2198
|
/** Provides the state of this Vulnerability assessment. */
|
|
1670
|
-
state?:
|
|
2199
|
+
state?:
|
|
2200
|
+
| 'STATE_UNSPECIFIED'
|
|
2201
|
+
| 'AFFECTED'
|
|
2202
|
+
| 'NOT_AFFECTED'
|
|
2203
|
+
| 'FIXED'
|
|
2204
|
+
| 'UNDER_INVESTIGATION';
|
|
1671
2205
|
/** The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc. */
|
|
1672
2206
|
vulnerabilityId?: string;
|
|
1673
2207
|
}
|
|
@@ -1687,13 +2221,23 @@ declare namespace gapi.client {
|
|
|
1687
2221
|
/** The full description of the CVSS for version 3. */
|
|
1688
2222
|
cvssV3?: CVSSv3;
|
|
1689
2223
|
/** CVSS version used to populate cvss_score and severity. */
|
|
1690
|
-
cvssVersion?:
|
|
2224
|
+
cvssVersion?:
|
|
2225
|
+
| 'CVSS_VERSION_UNSPECIFIED'
|
|
2226
|
+
| 'CVSS_VERSION_2'
|
|
2227
|
+
| 'CVSS_VERSION_3'
|
|
2228
|
+
| 'CVSS_VERSION_4';
|
|
1691
2229
|
/** A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html */
|
|
1692
2230
|
cwe?: string[];
|
|
1693
2231
|
/** 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
2232
|
details?: Detail[];
|
|
1695
2233
|
/** Note provider assigned impact of the vulnerability. */
|
|
1696
|
-
severity?:
|
|
2234
|
+
severity?:
|
|
2235
|
+
| 'SEVERITY_UNSPECIFIED'
|
|
2236
|
+
| 'MINIMAL'
|
|
2237
|
+
| 'LOW'
|
|
2238
|
+
| 'MEDIUM'
|
|
2239
|
+
| 'HIGH'
|
|
2240
|
+
| 'CRITICAL';
|
|
1697
2241
|
/** 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
2242
|
sourceUpdateTime?: string;
|
|
1699
2243
|
/** 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 +2287,11 @@ declare namespace gapi.client {
|
|
|
1743
2287
|
/** Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note. */
|
|
1744
2288
|
list(request?: {
|
|
1745
2289
|
/** V1 error format. */
|
|
1746
|
-
'$.xgafv'?:
|
|
2290
|
+
'$.xgafv'?: '1' | '2';
|
|
1747
2291
|
/** OAuth access token. */
|
|
1748
2292
|
access_token?: string;
|
|
1749
2293
|
/** Data format for response. */
|
|
1750
|
-
alt?:
|
|
2294
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1751
2295
|
/** JSONP */
|
|
1752
2296
|
callback?: string;
|
|
1753
2297
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1778,11 +2322,11 @@ declare namespace gapi.client {
|
|
|
1778
2322
|
/** Creates new notes in batch. */
|
|
1779
2323
|
batchCreate(request: {
|
|
1780
2324
|
/** V1 error format. */
|
|
1781
|
-
'$.xgafv'?:
|
|
2325
|
+
'$.xgafv'?: '1' | '2';
|
|
1782
2326
|
/** OAuth access token. */
|
|
1783
2327
|
access_token?: string;
|
|
1784
2328
|
/** Data format for response. */
|
|
1785
|
-
alt?:
|
|
2329
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1786
2330
|
/** JSONP */
|
|
1787
2331
|
callback?: string;
|
|
1788
2332
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1807,11 +2351,11 @@ declare namespace gapi.client {
|
|
|
1807
2351
|
batchCreate(
|
|
1808
2352
|
request: {
|
|
1809
2353
|
/** V1 error format. */
|
|
1810
|
-
'$.xgafv'?:
|
|
2354
|
+
'$.xgafv'?: '1' | '2';
|
|
1811
2355
|
/** OAuth access token. */
|
|
1812
2356
|
access_token?: string;
|
|
1813
2357
|
/** Data format for response. */
|
|
1814
|
-
alt?:
|
|
2358
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1815
2359
|
/** JSONP */
|
|
1816
2360
|
callback?: string;
|
|
1817
2361
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1836,11 +2380,11 @@ declare namespace gapi.client {
|
|
|
1836
2380
|
/** Creates a new note. */
|
|
1837
2381
|
create(request: {
|
|
1838
2382
|
/** V1 error format. */
|
|
1839
|
-
'$.xgafv'?:
|
|
2383
|
+
'$.xgafv'?: '1' | '2';
|
|
1840
2384
|
/** OAuth access token. */
|
|
1841
2385
|
access_token?: string;
|
|
1842
2386
|
/** Data format for response. */
|
|
1843
|
-
alt?:
|
|
2387
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1844
2388
|
/** JSONP */
|
|
1845
2389
|
callback?: string;
|
|
1846
2390
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1867,11 +2411,11 @@ declare namespace gapi.client {
|
|
|
1867
2411
|
create(
|
|
1868
2412
|
request: {
|
|
1869
2413
|
/** V1 error format. */
|
|
1870
|
-
'$.xgafv'?:
|
|
2414
|
+
'$.xgafv'?: '1' | '2';
|
|
1871
2415
|
/** OAuth access token. */
|
|
1872
2416
|
access_token?: string;
|
|
1873
2417
|
/** Data format for response. */
|
|
1874
|
-
alt?:
|
|
2418
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1875
2419
|
/** JSONP */
|
|
1876
2420
|
callback?: string;
|
|
1877
2421
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1898,11 +2442,11 @@ declare namespace gapi.client {
|
|
|
1898
2442
|
/** Deletes the specified note. */
|
|
1899
2443
|
delete(request?: {
|
|
1900
2444
|
/** V1 error format. */
|
|
1901
|
-
'$.xgafv'?:
|
|
2445
|
+
'$.xgafv'?: '1' | '2';
|
|
1902
2446
|
/** OAuth access token. */
|
|
1903
2447
|
access_token?: string;
|
|
1904
2448
|
/** Data format for response. */
|
|
1905
|
-
alt?:
|
|
2449
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1906
2450
|
/** JSONP */
|
|
1907
2451
|
callback?: string;
|
|
1908
2452
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1925,11 +2469,11 @@ declare namespace gapi.client {
|
|
|
1925
2469
|
/** Gets the specified note. */
|
|
1926
2470
|
get(request?: {
|
|
1927
2471
|
/** V1 error format. */
|
|
1928
|
-
'$.xgafv'?:
|
|
2472
|
+
'$.xgafv'?: '1' | '2';
|
|
1929
2473
|
/** OAuth access token. */
|
|
1930
2474
|
access_token?: string;
|
|
1931
2475
|
/** Data format for response. */
|
|
1932
|
-
alt?:
|
|
2476
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1933
2477
|
/** JSONP */
|
|
1934
2478
|
callback?: string;
|
|
1935
2479
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1953,11 +2497,11 @@ declare namespace gapi.client {
|
|
|
1953
2497
|
getIamPolicy(
|
|
1954
2498
|
request: {
|
|
1955
2499
|
/** V1 error format. */
|
|
1956
|
-
'$.xgafv'?:
|
|
2500
|
+
'$.xgafv'?: '1' | '2';
|
|
1957
2501
|
/** OAuth access token. */
|
|
1958
2502
|
access_token?: string;
|
|
1959
2503
|
/** Data format for response. */
|
|
1960
|
-
alt?:
|
|
2504
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1961
2505
|
/** JSONP */
|
|
1962
2506
|
callback?: string;
|
|
1963
2507
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1982,11 +2526,11 @@ declare namespace gapi.client {
|
|
|
1982
2526
|
/** Lists notes for the specified project. */
|
|
1983
2527
|
list(request?: {
|
|
1984
2528
|
/** V1 error format. */
|
|
1985
|
-
'$.xgafv'?:
|
|
2529
|
+
'$.xgafv'?: '1' | '2';
|
|
1986
2530
|
/** OAuth access token. */
|
|
1987
2531
|
access_token?: string;
|
|
1988
2532
|
/** Data format for response. */
|
|
1989
|
-
alt?:
|
|
2533
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1990
2534
|
/** JSONP */
|
|
1991
2535
|
callback?: string;
|
|
1992
2536
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2017,11 +2561,11 @@ declare namespace gapi.client {
|
|
|
2017
2561
|
/** Updates the specified note. */
|
|
2018
2562
|
patch(request: {
|
|
2019
2563
|
/** V1 error format. */
|
|
2020
|
-
'$.xgafv'?:
|
|
2564
|
+
'$.xgafv'?: '1' | '2';
|
|
2021
2565
|
/** OAuth access token. */
|
|
2022
2566
|
access_token?: string;
|
|
2023
2567
|
/** Data format for response. */
|
|
2024
|
-
alt?:
|
|
2568
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2025
2569
|
/** JSONP */
|
|
2026
2570
|
callback?: string;
|
|
2027
2571
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2048,11 +2592,11 @@ declare namespace gapi.client {
|
|
|
2048
2592
|
patch(
|
|
2049
2593
|
request: {
|
|
2050
2594
|
/** V1 error format. */
|
|
2051
|
-
'$.xgafv'?:
|
|
2595
|
+
'$.xgafv'?: '1' | '2';
|
|
2052
2596
|
/** OAuth access token. */
|
|
2053
2597
|
access_token?: string;
|
|
2054
2598
|
/** Data format for response. */
|
|
2055
|
-
alt?:
|
|
2599
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2056
2600
|
/** JSONP */
|
|
2057
2601
|
callback?: string;
|
|
2058
2602
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2080,11 +2624,11 @@ declare namespace gapi.client {
|
|
|
2080
2624
|
setIamPolicy(
|
|
2081
2625
|
request: {
|
|
2082
2626
|
/** V1 error format. */
|
|
2083
|
-
'$.xgafv'?:
|
|
2627
|
+
'$.xgafv'?: '1' | '2';
|
|
2084
2628
|
/** OAuth access token. */
|
|
2085
2629
|
access_token?: string;
|
|
2086
2630
|
/** Data format for response. */
|
|
2087
|
-
alt?:
|
|
2631
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2088
2632
|
/** JSONP */
|
|
2089
2633
|
callback?: string;
|
|
2090
2634
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2110,11 +2654,11 @@ declare namespace gapi.client {
|
|
|
2110
2654
|
testIamPermissions(
|
|
2111
2655
|
request: {
|
|
2112
2656
|
/** V1 error format. */
|
|
2113
|
-
'$.xgafv'?:
|
|
2657
|
+
'$.xgafv'?: '1' | '2';
|
|
2114
2658
|
/** OAuth access token. */
|
|
2115
2659
|
access_token?: string;
|
|
2116
2660
|
/** Data format for response. */
|
|
2117
|
-
alt?:
|
|
2661
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2118
2662
|
/** JSONP */
|
|
2119
2663
|
callback?: string;
|
|
2120
2664
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2142,11 +2686,11 @@ declare namespace gapi.client {
|
|
|
2142
2686
|
/** Creates new occurrences in batch. */
|
|
2143
2687
|
batchCreate(request: {
|
|
2144
2688
|
/** V1 error format. */
|
|
2145
|
-
'$.xgafv'?:
|
|
2689
|
+
'$.xgafv'?: '1' | '2';
|
|
2146
2690
|
/** OAuth access token. */
|
|
2147
2691
|
access_token?: string;
|
|
2148
2692
|
/** Data format for response. */
|
|
2149
|
-
alt?:
|
|
2693
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2150
2694
|
/** JSONP */
|
|
2151
2695
|
callback?: string;
|
|
2152
2696
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2171,11 +2715,11 @@ declare namespace gapi.client {
|
|
|
2171
2715
|
batchCreate(
|
|
2172
2716
|
request: {
|
|
2173
2717
|
/** V1 error format. */
|
|
2174
|
-
'$.xgafv'?:
|
|
2718
|
+
'$.xgafv'?: '1' | '2';
|
|
2175
2719
|
/** OAuth access token. */
|
|
2176
2720
|
access_token?: string;
|
|
2177
2721
|
/** Data format for response. */
|
|
2178
|
-
alt?:
|
|
2722
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2179
2723
|
/** JSONP */
|
|
2180
2724
|
callback?: string;
|
|
2181
2725
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2200,11 +2744,11 @@ declare namespace gapi.client {
|
|
|
2200
2744
|
/** Creates a new occurrence. */
|
|
2201
2745
|
create(request: {
|
|
2202
2746
|
/** V1 error format. */
|
|
2203
|
-
'$.xgafv'?:
|
|
2747
|
+
'$.xgafv'?: '1' | '2';
|
|
2204
2748
|
/** OAuth access token. */
|
|
2205
2749
|
access_token?: string;
|
|
2206
2750
|
/** Data format for response. */
|
|
2207
|
-
alt?:
|
|
2751
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2208
2752
|
/** JSONP */
|
|
2209
2753
|
callback?: string;
|
|
2210
2754
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2229,11 +2773,11 @@ declare namespace gapi.client {
|
|
|
2229
2773
|
create(
|
|
2230
2774
|
request: {
|
|
2231
2775
|
/** V1 error format. */
|
|
2232
|
-
'$.xgafv'?:
|
|
2776
|
+
'$.xgafv'?: '1' | '2';
|
|
2233
2777
|
/** OAuth access token. */
|
|
2234
2778
|
access_token?: string;
|
|
2235
2779
|
/** Data format for response. */
|
|
2236
|
-
alt?:
|
|
2780
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2237
2781
|
/** JSONP */
|
|
2238
2782
|
callback?: string;
|
|
2239
2783
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2258,11 +2802,11 @@ declare namespace gapi.client {
|
|
|
2258
2802
|
/** 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
2803
|
delete(request?: {
|
|
2260
2804
|
/** V1 error format. */
|
|
2261
|
-
'$.xgafv'?:
|
|
2805
|
+
'$.xgafv'?: '1' | '2';
|
|
2262
2806
|
/** OAuth access token. */
|
|
2263
2807
|
access_token?: string;
|
|
2264
2808
|
/** Data format for response. */
|
|
2265
|
-
alt?:
|
|
2809
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2266
2810
|
/** JSONP */
|
|
2267
2811
|
callback?: string;
|
|
2268
2812
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2285,11 +2829,11 @@ declare namespace gapi.client {
|
|
|
2285
2829
|
/** Gets the specified occurrence. */
|
|
2286
2830
|
get(request?: {
|
|
2287
2831
|
/** V1 error format. */
|
|
2288
|
-
'$.xgafv'?:
|
|
2832
|
+
'$.xgafv'?: '1' | '2';
|
|
2289
2833
|
/** OAuth access token. */
|
|
2290
2834
|
access_token?: string;
|
|
2291
2835
|
/** Data format for response. */
|
|
2292
|
-
alt?:
|
|
2836
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2293
2837
|
/** JSONP */
|
|
2294
2838
|
callback?: string;
|
|
2295
2839
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2313,11 +2857,11 @@ declare namespace gapi.client {
|
|
|
2313
2857
|
getIamPolicy(
|
|
2314
2858
|
request: {
|
|
2315
2859
|
/** V1 error format. */
|
|
2316
|
-
'$.xgafv'?:
|
|
2860
|
+
'$.xgafv'?: '1' | '2';
|
|
2317
2861
|
/** OAuth access token. */
|
|
2318
2862
|
access_token?: string;
|
|
2319
2863
|
/** Data format for response. */
|
|
2320
|
-
alt?:
|
|
2864
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2321
2865
|
/** JSONP */
|
|
2322
2866
|
callback?: string;
|
|
2323
2867
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2342,11 +2886,11 @@ declare namespace gapi.client {
|
|
|
2342
2886
|
/** 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
2887
|
getNotes(request?: {
|
|
2344
2888
|
/** V1 error format. */
|
|
2345
|
-
'$.xgafv'?:
|
|
2889
|
+
'$.xgafv'?: '1' | '2';
|
|
2346
2890
|
/** OAuth access token. */
|
|
2347
2891
|
access_token?: string;
|
|
2348
2892
|
/** Data format for response. */
|
|
2349
|
-
alt?:
|
|
2893
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2350
2894
|
/** JSONP */
|
|
2351
2895
|
callback?: string;
|
|
2352
2896
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2369,11 +2913,11 @@ declare namespace gapi.client {
|
|
|
2369
2913
|
/** Gets a summary of the number and severity of occurrences. */
|
|
2370
2914
|
getVulnerabilitySummary(request?: {
|
|
2371
2915
|
/** V1 error format. */
|
|
2372
|
-
'$.xgafv'?:
|
|
2916
|
+
'$.xgafv'?: '1' | '2';
|
|
2373
2917
|
/** OAuth access token. */
|
|
2374
2918
|
access_token?: string;
|
|
2375
2919
|
/** Data format for response. */
|
|
2376
|
-
alt?:
|
|
2920
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2377
2921
|
/** JSONP */
|
|
2378
2922
|
callback?: string;
|
|
2379
2923
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2400,11 +2944,11 @@ declare namespace gapi.client {
|
|
|
2400
2944
|
/** Lists occurrences for the specified project. */
|
|
2401
2945
|
list(request?: {
|
|
2402
2946
|
/** V1 error format. */
|
|
2403
|
-
'$.xgafv'?:
|
|
2947
|
+
'$.xgafv'?: '1' | '2';
|
|
2404
2948
|
/** OAuth access token. */
|
|
2405
2949
|
access_token?: string;
|
|
2406
2950
|
/** Data format for response. */
|
|
2407
|
-
alt?:
|
|
2951
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2408
2952
|
/** JSONP */
|
|
2409
2953
|
callback?: string;
|
|
2410
2954
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2435,11 +2979,11 @@ declare namespace gapi.client {
|
|
|
2435
2979
|
/** Updates the specified occurrence. */
|
|
2436
2980
|
patch(request: {
|
|
2437
2981
|
/** V1 error format. */
|
|
2438
|
-
'$.xgafv'?:
|
|
2982
|
+
'$.xgafv'?: '1' | '2';
|
|
2439
2983
|
/** OAuth access token. */
|
|
2440
2984
|
access_token?: string;
|
|
2441
2985
|
/** Data format for response. */
|
|
2442
|
-
alt?:
|
|
2986
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2443
2987
|
/** JSONP */
|
|
2444
2988
|
callback?: string;
|
|
2445
2989
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2466,11 +3010,11 @@ declare namespace gapi.client {
|
|
|
2466
3010
|
patch(
|
|
2467
3011
|
request: {
|
|
2468
3012
|
/** V1 error format. */
|
|
2469
|
-
'$.xgafv'?:
|
|
3013
|
+
'$.xgafv'?: '1' | '2';
|
|
2470
3014
|
/** OAuth access token. */
|
|
2471
3015
|
access_token?: string;
|
|
2472
3016
|
/** Data format for response. */
|
|
2473
|
-
alt?:
|
|
3017
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2474
3018
|
/** JSONP */
|
|
2475
3019
|
callback?: string;
|
|
2476
3020
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2498,11 +3042,11 @@ declare namespace gapi.client {
|
|
|
2498
3042
|
setIamPolicy(
|
|
2499
3043
|
request: {
|
|
2500
3044
|
/** V1 error format. */
|
|
2501
|
-
'$.xgafv'?:
|
|
3045
|
+
'$.xgafv'?: '1' | '2';
|
|
2502
3046
|
/** OAuth access token. */
|
|
2503
3047
|
access_token?: string;
|
|
2504
3048
|
/** Data format for response. */
|
|
2505
|
-
alt?:
|
|
3049
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2506
3050
|
/** JSONP */
|
|
2507
3051
|
callback?: string;
|
|
2508
3052
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2528,11 +3072,11 @@ declare namespace gapi.client {
|
|
|
2528
3072
|
testIamPermissions(
|
|
2529
3073
|
request: {
|
|
2530
3074
|
/** V1 error format. */
|
|
2531
|
-
'$.xgafv'?:
|
|
3075
|
+
'$.xgafv'?: '1' | '2';
|
|
2532
3076
|
/** OAuth access token. */
|
|
2533
3077
|
access_token?: string;
|
|
2534
3078
|
/** Data format for response. */
|
|
2535
|
-
alt?:
|
|
3079
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2536
3080
|
/** JSONP */
|
|
2537
3081
|
callback?: string;
|
|
2538
3082
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2559,11 +3103,11 @@ declare namespace gapi.client {
|
|
|
2559
3103
|
/** Generates an SBOM and other dependency information for the given resource. */
|
|
2560
3104
|
exportSBOM(request: {
|
|
2561
3105
|
/** V1 error format. */
|
|
2562
|
-
'$.xgafv'?:
|
|
3106
|
+
'$.xgafv'?: '1' | '2';
|
|
2563
3107
|
/** OAuth access token. */
|
|
2564
3108
|
access_token?: string;
|
|
2565
3109
|
/** Data format for response. */
|
|
2566
|
-
alt?:
|
|
3110
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2567
3111
|
/** JSONP */
|
|
2568
3112
|
callback?: string;
|
|
2569
3113
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2588,11 +3132,11 @@ declare namespace gapi.client {
|
|
|
2588
3132
|
exportSBOM(
|
|
2589
3133
|
request: {
|
|
2590
3134
|
/** V1 error format. */
|
|
2591
|
-
'$.xgafv'?:
|
|
3135
|
+
'$.xgafv'?: '1' | '2';
|
|
2592
3136
|
/** OAuth access token. */
|
|
2593
3137
|
access_token?: string;
|
|
2594
3138
|
/** Data format for response. */
|
|
2595
|
-
alt?:
|
|
3139
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2596
3140
|
/** JSONP */
|
|
2597
3141
|
callback?: string;
|
|
2598
3142
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2617,11 +3161,11 @@ declare namespace gapi.client {
|
|
|
2617
3161
|
/** Gets a summary of the packages within a given resource. */
|
|
2618
3162
|
generatePackagesSummary(request: {
|
|
2619
3163
|
/** V1 error format. */
|
|
2620
|
-
'$.xgafv'?:
|
|
3164
|
+
'$.xgafv'?: '1' | '2';
|
|
2621
3165
|
/** OAuth access token. */
|
|
2622
3166
|
access_token?: string;
|
|
2623
3167
|
/** Data format for response. */
|
|
2624
|
-
alt?:
|
|
3168
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2625
3169
|
/** JSONP */
|
|
2626
3170
|
callback?: string;
|
|
2627
3171
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2646,11 +3190,11 @@ declare namespace gapi.client {
|
|
|
2646
3190
|
generatePackagesSummary(
|
|
2647
3191
|
request: {
|
|
2648
3192
|
/** V1 error format. */
|
|
2649
|
-
'$.xgafv'?:
|
|
3193
|
+
'$.xgafv'?: '1' | '2';
|
|
2650
3194
|
/** OAuth access token. */
|
|
2651
3195
|
access_token?: string;
|
|
2652
3196
|
/** Data format for response. */
|
|
2653
|
-
alt?:
|
|
3197
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2654
3198
|
/** JSONP */
|
|
2655
3199
|
callback?: string;
|
|
2656
3200
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2682,11 +3226,11 @@ declare namespace gapi.client {
|
|
|
2682
3226
|
/** Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note. */
|
|
2683
3227
|
list(request?: {
|
|
2684
3228
|
/** V1 error format. */
|
|
2685
|
-
'$.xgafv'?:
|
|
3229
|
+
'$.xgafv'?: '1' | '2';
|
|
2686
3230
|
/** OAuth access token. */
|
|
2687
3231
|
access_token?: string;
|
|
2688
3232
|
/** Data format for response. */
|
|
2689
|
-
alt?:
|
|
3233
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2690
3234
|
/** JSONP */
|
|
2691
3235
|
callback?: string;
|
|
2692
3236
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2717,11 +3261,11 @@ declare namespace gapi.client {
|
|
|
2717
3261
|
/** Creates new notes in batch. */
|
|
2718
3262
|
batchCreate(request: {
|
|
2719
3263
|
/** V1 error format. */
|
|
2720
|
-
'$.xgafv'?:
|
|
3264
|
+
'$.xgafv'?: '1' | '2';
|
|
2721
3265
|
/** OAuth access token. */
|
|
2722
3266
|
access_token?: string;
|
|
2723
3267
|
/** Data format for response. */
|
|
2724
|
-
alt?:
|
|
3268
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2725
3269
|
/** JSONP */
|
|
2726
3270
|
callback?: string;
|
|
2727
3271
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2746,11 +3290,11 @@ declare namespace gapi.client {
|
|
|
2746
3290
|
batchCreate(
|
|
2747
3291
|
request: {
|
|
2748
3292
|
/** V1 error format. */
|
|
2749
|
-
'$.xgafv'?:
|
|
3293
|
+
'$.xgafv'?: '1' | '2';
|
|
2750
3294
|
/** OAuth access token. */
|
|
2751
3295
|
access_token?: string;
|
|
2752
3296
|
/** Data format for response. */
|
|
2753
|
-
alt?:
|
|
3297
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2754
3298
|
/** JSONP */
|
|
2755
3299
|
callback?: string;
|
|
2756
3300
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2775,11 +3319,11 @@ declare namespace gapi.client {
|
|
|
2775
3319
|
/** Creates a new note. */
|
|
2776
3320
|
create(request: {
|
|
2777
3321
|
/** V1 error format. */
|
|
2778
|
-
'$.xgafv'?:
|
|
3322
|
+
'$.xgafv'?: '1' | '2';
|
|
2779
3323
|
/** OAuth access token. */
|
|
2780
3324
|
access_token?: string;
|
|
2781
3325
|
/** Data format for response. */
|
|
2782
|
-
alt?:
|
|
3326
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2783
3327
|
/** JSONP */
|
|
2784
3328
|
callback?: string;
|
|
2785
3329
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2806,11 +3350,11 @@ declare namespace gapi.client {
|
|
|
2806
3350
|
create(
|
|
2807
3351
|
request: {
|
|
2808
3352
|
/** V1 error format. */
|
|
2809
|
-
'$.xgafv'?:
|
|
3353
|
+
'$.xgafv'?: '1' | '2';
|
|
2810
3354
|
/** OAuth access token. */
|
|
2811
3355
|
access_token?: string;
|
|
2812
3356
|
/** Data format for response. */
|
|
2813
|
-
alt?:
|
|
3357
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2814
3358
|
/** JSONP */
|
|
2815
3359
|
callback?: string;
|
|
2816
3360
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2837,11 +3381,11 @@ declare namespace gapi.client {
|
|
|
2837
3381
|
/** Deletes the specified note. */
|
|
2838
3382
|
delete(request?: {
|
|
2839
3383
|
/** V1 error format. */
|
|
2840
|
-
'$.xgafv'?:
|
|
3384
|
+
'$.xgafv'?: '1' | '2';
|
|
2841
3385
|
/** OAuth access token. */
|
|
2842
3386
|
access_token?: string;
|
|
2843
3387
|
/** Data format for response. */
|
|
2844
|
-
alt?:
|
|
3388
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2845
3389
|
/** JSONP */
|
|
2846
3390
|
callback?: string;
|
|
2847
3391
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2864,11 +3408,11 @@ declare namespace gapi.client {
|
|
|
2864
3408
|
/** Gets the specified note. */
|
|
2865
3409
|
get(request?: {
|
|
2866
3410
|
/** V1 error format. */
|
|
2867
|
-
'$.xgafv'?:
|
|
3411
|
+
'$.xgafv'?: '1' | '2';
|
|
2868
3412
|
/** OAuth access token. */
|
|
2869
3413
|
access_token?: string;
|
|
2870
3414
|
/** Data format for response. */
|
|
2871
|
-
alt?:
|
|
3415
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2872
3416
|
/** JSONP */
|
|
2873
3417
|
callback?: string;
|
|
2874
3418
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2892,11 +3436,11 @@ declare namespace gapi.client {
|
|
|
2892
3436
|
getIamPolicy(
|
|
2893
3437
|
request: {
|
|
2894
3438
|
/** V1 error format. */
|
|
2895
|
-
'$.xgafv'?:
|
|
3439
|
+
'$.xgafv'?: '1' | '2';
|
|
2896
3440
|
/** OAuth access token. */
|
|
2897
3441
|
access_token?: string;
|
|
2898
3442
|
/** Data format for response. */
|
|
2899
|
-
alt?:
|
|
3443
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2900
3444
|
/** JSONP */
|
|
2901
3445
|
callback?: string;
|
|
2902
3446
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2921,11 +3465,11 @@ declare namespace gapi.client {
|
|
|
2921
3465
|
/** Lists notes for the specified project. */
|
|
2922
3466
|
list(request?: {
|
|
2923
3467
|
/** V1 error format. */
|
|
2924
|
-
'$.xgafv'?:
|
|
3468
|
+
'$.xgafv'?: '1' | '2';
|
|
2925
3469
|
/** OAuth access token. */
|
|
2926
3470
|
access_token?: string;
|
|
2927
3471
|
/** Data format for response. */
|
|
2928
|
-
alt?:
|
|
3472
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2929
3473
|
/** JSONP */
|
|
2930
3474
|
callback?: string;
|
|
2931
3475
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2956,11 +3500,11 @@ declare namespace gapi.client {
|
|
|
2956
3500
|
/** Updates the specified note. */
|
|
2957
3501
|
patch(request: {
|
|
2958
3502
|
/** V1 error format. */
|
|
2959
|
-
'$.xgafv'?:
|
|
3503
|
+
'$.xgafv'?: '1' | '2';
|
|
2960
3504
|
/** OAuth access token. */
|
|
2961
3505
|
access_token?: string;
|
|
2962
3506
|
/** Data format for response. */
|
|
2963
|
-
alt?:
|
|
3507
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2964
3508
|
/** JSONP */
|
|
2965
3509
|
callback?: string;
|
|
2966
3510
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2987,11 +3531,11 @@ declare namespace gapi.client {
|
|
|
2987
3531
|
patch(
|
|
2988
3532
|
request: {
|
|
2989
3533
|
/** V1 error format. */
|
|
2990
|
-
'$.xgafv'?:
|
|
3534
|
+
'$.xgafv'?: '1' | '2';
|
|
2991
3535
|
/** OAuth access token. */
|
|
2992
3536
|
access_token?: string;
|
|
2993
3537
|
/** Data format for response. */
|
|
2994
|
-
alt?:
|
|
3538
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2995
3539
|
/** JSONP */
|
|
2996
3540
|
callback?: string;
|
|
2997
3541
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3019,11 +3563,11 @@ declare namespace gapi.client {
|
|
|
3019
3563
|
setIamPolicy(
|
|
3020
3564
|
request: {
|
|
3021
3565
|
/** V1 error format. */
|
|
3022
|
-
'$.xgafv'?:
|
|
3566
|
+
'$.xgafv'?: '1' | '2';
|
|
3023
3567
|
/** OAuth access token. */
|
|
3024
3568
|
access_token?: string;
|
|
3025
3569
|
/** Data format for response. */
|
|
3026
|
-
alt?:
|
|
3570
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3027
3571
|
/** JSONP */
|
|
3028
3572
|
callback?: string;
|
|
3029
3573
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3049,11 +3593,11 @@ declare namespace gapi.client {
|
|
|
3049
3593
|
testIamPermissions(
|
|
3050
3594
|
request: {
|
|
3051
3595
|
/** V1 error format. */
|
|
3052
|
-
'$.xgafv'?:
|
|
3596
|
+
'$.xgafv'?: '1' | '2';
|
|
3053
3597
|
/** OAuth access token. */
|
|
3054
3598
|
access_token?: string;
|
|
3055
3599
|
/** Data format for response. */
|
|
3056
|
-
alt?:
|
|
3600
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3057
3601
|
/** JSONP */
|
|
3058
3602
|
callback?: string;
|
|
3059
3603
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3081,11 +3625,11 @@ declare namespace gapi.client {
|
|
|
3081
3625
|
/** Creates new occurrences in batch. */
|
|
3082
3626
|
batchCreate(request: {
|
|
3083
3627
|
/** V1 error format. */
|
|
3084
|
-
'$.xgafv'?:
|
|
3628
|
+
'$.xgafv'?: '1' | '2';
|
|
3085
3629
|
/** OAuth access token. */
|
|
3086
3630
|
access_token?: string;
|
|
3087
3631
|
/** Data format for response. */
|
|
3088
|
-
alt?:
|
|
3632
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3089
3633
|
/** JSONP */
|
|
3090
3634
|
callback?: string;
|
|
3091
3635
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3110,11 +3654,11 @@ declare namespace gapi.client {
|
|
|
3110
3654
|
batchCreate(
|
|
3111
3655
|
request: {
|
|
3112
3656
|
/** V1 error format. */
|
|
3113
|
-
'$.xgafv'?:
|
|
3657
|
+
'$.xgafv'?: '1' | '2';
|
|
3114
3658
|
/** OAuth access token. */
|
|
3115
3659
|
access_token?: string;
|
|
3116
3660
|
/** Data format for response. */
|
|
3117
|
-
alt?:
|
|
3661
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3118
3662
|
/** JSONP */
|
|
3119
3663
|
callback?: string;
|
|
3120
3664
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3139,11 +3683,11 @@ declare namespace gapi.client {
|
|
|
3139
3683
|
/** Creates a new occurrence. */
|
|
3140
3684
|
create(request: {
|
|
3141
3685
|
/** V1 error format. */
|
|
3142
|
-
'$.xgafv'?:
|
|
3686
|
+
'$.xgafv'?: '1' | '2';
|
|
3143
3687
|
/** OAuth access token. */
|
|
3144
3688
|
access_token?: string;
|
|
3145
3689
|
/** Data format for response. */
|
|
3146
|
-
alt?:
|
|
3690
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3147
3691
|
/** JSONP */
|
|
3148
3692
|
callback?: string;
|
|
3149
3693
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3168,11 +3712,11 @@ declare namespace gapi.client {
|
|
|
3168
3712
|
create(
|
|
3169
3713
|
request: {
|
|
3170
3714
|
/** V1 error format. */
|
|
3171
|
-
'$.xgafv'?:
|
|
3715
|
+
'$.xgafv'?: '1' | '2';
|
|
3172
3716
|
/** OAuth access token. */
|
|
3173
3717
|
access_token?: string;
|
|
3174
3718
|
/** Data format for response. */
|
|
3175
|
-
alt?:
|
|
3719
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3176
3720
|
/** JSONP */
|
|
3177
3721
|
callback?: string;
|
|
3178
3722
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3197,11 +3741,11 @@ declare namespace gapi.client {
|
|
|
3197
3741
|
/** 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
3742
|
delete(request?: {
|
|
3199
3743
|
/** V1 error format. */
|
|
3200
|
-
'$.xgafv'?:
|
|
3744
|
+
'$.xgafv'?: '1' | '2';
|
|
3201
3745
|
/** OAuth access token. */
|
|
3202
3746
|
access_token?: string;
|
|
3203
3747
|
/** Data format for response. */
|
|
3204
|
-
alt?:
|
|
3748
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3205
3749
|
/** JSONP */
|
|
3206
3750
|
callback?: string;
|
|
3207
3751
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3224,11 +3768,11 @@ declare namespace gapi.client {
|
|
|
3224
3768
|
/** Gets the specified occurrence. */
|
|
3225
3769
|
get(request?: {
|
|
3226
3770
|
/** V1 error format. */
|
|
3227
|
-
'$.xgafv'?:
|
|
3771
|
+
'$.xgafv'?: '1' | '2';
|
|
3228
3772
|
/** OAuth access token. */
|
|
3229
3773
|
access_token?: string;
|
|
3230
3774
|
/** Data format for response. */
|
|
3231
|
-
alt?:
|
|
3775
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3232
3776
|
/** JSONP */
|
|
3233
3777
|
callback?: string;
|
|
3234
3778
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3252,11 +3796,11 @@ declare namespace gapi.client {
|
|
|
3252
3796
|
getIamPolicy(
|
|
3253
3797
|
request: {
|
|
3254
3798
|
/** V1 error format. */
|
|
3255
|
-
'$.xgafv'?:
|
|
3799
|
+
'$.xgafv'?: '1' | '2';
|
|
3256
3800
|
/** OAuth access token. */
|
|
3257
3801
|
access_token?: string;
|
|
3258
3802
|
/** Data format for response. */
|
|
3259
|
-
alt?:
|
|
3803
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3260
3804
|
/** JSONP */
|
|
3261
3805
|
callback?: string;
|
|
3262
3806
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3281,11 +3825,11 @@ declare namespace gapi.client {
|
|
|
3281
3825
|
/** 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
3826
|
getNotes(request?: {
|
|
3283
3827
|
/** V1 error format. */
|
|
3284
|
-
'$.xgafv'?:
|
|
3828
|
+
'$.xgafv'?: '1' | '2';
|
|
3285
3829
|
/** OAuth access token. */
|
|
3286
3830
|
access_token?: string;
|
|
3287
3831
|
/** Data format for response. */
|
|
3288
|
-
alt?:
|
|
3832
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3289
3833
|
/** JSONP */
|
|
3290
3834
|
callback?: string;
|
|
3291
3835
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3308,11 +3852,11 @@ declare namespace gapi.client {
|
|
|
3308
3852
|
/** Gets a summary of the number and severity of occurrences. */
|
|
3309
3853
|
getVulnerabilitySummary(request?: {
|
|
3310
3854
|
/** V1 error format. */
|
|
3311
|
-
'$.xgafv'?:
|
|
3855
|
+
'$.xgafv'?: '1' | '2';
|
|
3312
3856
|
/** OAuth access token. */
|
|
3313
3857
|
access_token?: string;
|
|
3314
3858
|
/** Data format for response. */
|
|
3315
|
-
alt?:
|
|
3859
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3316
3860
|
/** JSONP */
|
|
3317
3861
|
callback?: string;
|
|
3318
3862
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3339,11 +3883,11 @@ declare namespace gapi.client {
|
|
|
3339
3883
|
/** Lists occurrences for the specified project. */
|
|
3340
3884
|
list(request?: {
|
|
3341
3885
|
/** V1 error format. */
|
|
3342
|
-
'$.xgafv'?:
|
|
3886
|
+
'$.xgafv'?: '1' | '2';
|
|
3343
3887
|
/** OAuth access token. */
|
|
3344
3888
|
access_token?: string;
|
|
3345
3889
|
/** Data format for response. */
|
|
3346
|
-
alt?:
|
|
3890
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3347
3891
|
/** JSONP */
|
|
3348
3892
|
callback?: string;
|
|
3349
3893
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3374,11 +3918,11 @@ declare namespace gapi.client {
|
|
|
3374
3918
|
/** Updates the specified occurrence. */
|
|
3375
3919
|
patch(request: {
|
|
3376
3920
|
/** V1 error format. */
|
|
3377
|
-
'$.xgafv'?:
|
|
3921
|
+
'$.xgafv'?: '1' | '2';
|
|
3378
3922
|
/** OAuth access token. */
|
|
3379
3923
|
access_token?: string;
|
|
3380
3924
|
/** Data format for response. */
|
|
3381
|
-
alt?:
|
|
3925
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3382
3926
|
/** JSONP */
|
|
3383
3927
|
callback?: string;
|
|
3384
3928
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3405,11 +3949,11 @@ declare namespace gapi.client {
|
|
|
3405
3949
|
patch(
|
|
3406
3950
|
request: {
|
|
3407
3951
|
/** V1 error format. */
|
|
3408
|
-
'$.xgafv'?:
|
|
3952
|
+
'$.xgafv'?: '1' | '2';
|
|
3409
3953
|
/** OAuth access token. */
|
|
3410
3954
|
access_token?: string;
|
|
3411
3955
|
/** Data format for response. */
|
|
3412
|
-
alt?:
|
|
3956
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3413
3957
|
/** JSONP */
|
|
3414
3958
|
callback?: string;
|
|
3415
3959
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3437,11 +3981,11 @@ declare namespace gapi.client {
|
|
|
3437
3981
|
setIamPolicy(
|
|
3438
3982
|
request: {
|
|
3439
3983
|
/** V1 error format. */
|
|
3440
|
-
'$.xgafv'?:
|
|
3984
|
+
'$.xgafv'?: '1' | '2';
|
|
3441
3985
|
/** OAuth access token. */
|
|
3442
3986
|
access_token?: string;
|
|
3443
3987
|
/** Data format for response. */
|
|
3444
|
-
alt?:
|
|
3988
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3445
3989
|
/** JSONP */
|
|
3446
3990
|
callback?: string;
|
|
3447
3991
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3467,11 +4011,11 @@ declare namespace gapi.client {
|
|
|
3467
4011
|
testIamPermissions(
|
|
3468
4012
|
request: {
|
|
3469
4013
|
/** V1 error format. */
|
|
3470
|
-
'$.xgafv'?:
|
|
4014
|
+
'$.xgafv'?: '1' | '2';
|
|
3471
4015
|
/** OAuth access token. */
|
|
3472
4016
|
access_token?: string;
|
|
3473
4017
|
/** Data format for response. */
|
|
3474
|
-
alt?:
|
|
4018
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3475
4019
|
/** JSONP */
|
|
3476
4020
|
callback?: string;
|
|
3477
4021
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3498,11 +4042,11 @@ declare namespace gapi.client {
|
|
|
3498
4042
|
/** Generates an SBOM and other dependency information for the given resource. */
|
|
3499
4043
|
exportSBOM(request: {
|
|
3500
4044
|
/** V1 error format. */
|
|
3501
|
-
'$.xgafv'?:
|
|
4045
|
+
'$.xgafv'?: '1' | '2';
|
|
3502
4046
|
/** OAuth access token. */
|
|
3503
4047
|
access_token?: string;
|
|
3504
4048
|
/** Data format for response. */
|
|
3505
|
-
alt?:
|
|
4049
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3506
4050
|
/** JSONP */
|
|
3507
4051
|
callback?: string;
|
|
3508
4052
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3527,11 +4071,11 @@ declare namespace gapi.client {
|
|
|
3527
4071
|
exportSBOM(
|
|
3528
4072
|
request: {
|
|
3529
4073
|
/** V1 error format. */
|
|
3530
|
-
'$.xgafv'?:
|
|
4074
|
+
'$.xgafv'?: '1' | '2';
|
|
3531
4075
|
/** OAuth access token. */
|
|
3532
4076
|
access_token?: string;
|
|
3533
4077
|
/** Data format for response. */
|
|
3534
|
-
alt?:
|
|
4078
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3535
4079
|
/** JSONP */
|
|
3536
4080
|
callback?: string;
|
|
3537
4081
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3556,11 +4100,11 @@ declare namespace gapi.client {
|
|
|
3556
4100
|
/** Gets a summary of the packages within a given resource. */
|
|
3557
4101
|
generatePackagesSummary(request: {
|
|
3558
4102
|
/** V1 error format. */
|
|
3559
|
-
'$.xgafv'?:
|
|
4103
|
+
'$.xgafv'?: '1' | '2';
|
|
3560
4104
|
/** OAuth access token. */
|
|
3561
4105
|
access_token?: string;
|
|
3562
4106
|
/** Data format for response. */
|
|
3563
|
-
alt?:
|
|
4107
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3564
4108
|
/** JSONP */
|
|
3565
4109
|
callback?: string;
|
|
3566
4110
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3585,11 +4129,11 @@ declare namespace gapi.client {
|
|
|
3585
4129
|
generatePackagesSummary(
|
|
3586
4130
|
request: {
|
|
3587
4131
|
/** V1 error format. */
|
|
3588
|
-
'$.xgafv'?:
|
|
4132
|
+
'$.xgafv'?: '1' | '2';
|
|
3589
4133
|
/** OAuth access token. */
|
|
3590
4134
|
access_token?: string;
|
|
3591
4135
|
/** Data format for response. */
|
|
3592
|
-
alt?:
|
|
4136
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3593
4137
|
/** JSONP */
|
|
3594
4138
|
callback?: string;
|
|
3595
4139
|
/** Selector specifying which fields to include in a partial response. */
|