@maxim_mazurok/gapi.client.run-v1 0.0.20240225 → 0.0.20240310

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +396 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://run.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20240225
12
+ // Revision: 20240310
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -315,6 +315,400 @@ declare namespace gapi.client {
315
315
  /** type is used to communicate the status of the reconciliation process. Types common to all resources include: * "Ready" or "Completed": True when the Resource is ready. */
316
316
  type?: string;
317
317
  }
318
+ interface GoogleDevtoolsCloudbuildV1ApprovalConfig {
319
+ /** Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start. */
320
+ approvalRequired?: boolean;
321
+ }
322
+ interface GoogleDevtoolsCloudbuildV1ApprovalResult {
323
+ /** Output only. The time when the approval decision was made. */
324
+ approvalTime?: string;
325
+ /** Output only. Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called. */
326
+ approverAccount?: string;
327
+ /** Optional. An optional comment for this manual approval result. */
328
+ comment?: string;
329
+ /** Required. The decision of this manual approval. */
330
+ decision?: string;
331
+ /** 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. */
332
+ url?: string;
333
+ }
334
+ interface GoogleDevtoolsCloudbuildV1ArtifactObjects {
335
+ /** Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix. */
336
+ location?: string;
337
+ /** Path globs used to match files in the build's workspace. */
338
+ paths?: string[];
339
+ /** Output only. Stores timing information for pushing all artifact objects. */
340
+ timing?: GoogleDevtoolsCloudbuildV1TimeSpan;
341
+ }
342
+ interface GoogleDevtoolsCloudbuildV1Artifacts {
343
+ /** 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. */
344
+ images?: string[];
345
+ /** A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE. */
346
+ mavenArtifacts?: GoogleDevtoolsCloudbuildV1MavenArtifact[];
347
+ /** A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps. Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any packages fail to be pushed, the build is marked FAILURE. */
348
+ npmPackages?: GoogleDevtoolsCloudbuildV1NpmPackage[];
349
+ /** A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE. */
350
+ objects?: GoogleDevtoolsCloudbuildV1ArtifactObjects;
351
+ /** A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. If any objects fail to be pushed, the build is marked FAILURE. */
352
+ pythonPackages?: GoogleDevtoolsCloudbuildV1PythonPackage[];
353
+ }
354
+ interface GoogleDevtoolsCloudbuildV1Build {
355
+ /** Output only. Describes this build's approval configuration, status, and result. */
356
+ approval?: GoogleDevtoolsCloudbuildV1BuildApproval;
357
+ /** Artifacts produced by the build that should be uploaded upon successful completion of all build steps. */
358
+ artifacts?: GoogleDevtoolsCloudbuildV1Artifacts;
359
+ /** Secrets and secret environment variables. */
360
+ availableSecrets?: GoogleDevtoolsCloudbuildV1Secrets;
361
+ /** Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically. */
362
+ buildTriggerId?: string;
363
+ /** Output only. Time at which the request to create the build was received. */
364
+ createTime?: string;
365
+ /** Output only. Contains information about the build when status=FAILURE. */
366
+ failureInfo?: GoogleDevtoolsCloudbuildV1FailureInfo;
367
+ /** Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution. */
368
+ finishTime?: string;
369
+ /** Output only. Unique identifier of the build. */
370
+ id?: string;
371
+ /** A list of images to be pushed upon the successful completion of all build steps. The images are 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 status is marked `FAILURE`. */
372
+ images?: string[];
373
+ /** Cloud Storage bucket where logs should be written (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`. */
374
+ logsBucket?: string;
375
+ /** Output only. URL to logs for this build in Google Cloud Console. */
376
+ logUrl?: string;
377
+ /** Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service. */
378
+ name?: string;
379
+ /** Special options for this build. */
380
+ options?: GoogleDevtoolsCloudbuildV1BuildOptions;
381
+ /** Output only. ID of the project. */
382
+ projectId?: string;
383
+ /** TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be `EXPIRED`. The TTL starts ticking from create_time. */
384
+ queueTtl?: string;
385
+ /** Output only. Results of the build. */
386
+ results?: GoogleDevtoolsCloudbuildV1Results;
387
+ /** Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use `available_secrets` to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets */
388
+ secrets?: GoogleDevtoolsCloudbuildV1Secret[];
389
+ /** IAM service account whose credentials will be used at build runtime. Must be of the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. ACCOUNT can be email address or uniqueId of the service account. */
390
+ serviceAccount?: string;
391
+ /** The location of the source files to build. */
392
+ source?: GoogleDevtoolsCloudbuildV1Source;
393
+ /** Output only. A permanent fixed identifier for source. */
394
+ sourceProvenance?: GoogleDevtoolsCloudbuildV1SourceProvenance;
395
+ /** Output only. Time at which execution of the build was started. */
396
+ startTime?: string;
397
+ /** Output only. Status of the build. */
398
+ status?: string;
399
+ /** Output only. Customer-readable message about the current status. */
400
+ statusDetail?: string;
401
+ /** Required. The operations to be performed on the workspace. */
402
+ steps?: GoogleDevtoolsCloudbuildV1BuildStep[];
403
+ /** Substitutions data for `Build` resource. */
404
+ substitutions?: {[P in string]: string};
405
+ /** Tags for annotation of a `Build`. These are not docker tags. */
406
+ tags?: string[];
407
+ /** Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be `TIMEOUT`. `timeout` starts ticking from `startTime`. Default time is 60 minutes. */
408
+ timeout?: string;
409
+ /** Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included. */
410
+ timing?: {[P in string]: GoogleDevtoolsCloudbuildV1TimeSpan};
411
+ /** Output only. Non-fatal problems encountered during the execution of the build. */
412
+ warnings?: GoogleDevtoolsCloudbuildV1Warning[];
413
+ }
414
+ interface GoogleDevtoolsCloudbuildV1BuildApproval {
415
+ /** Output only. Configuration for manual approval of this build. */
416
+ config?: GoogleDevtoolsCloudbuildV1ApprovalConfig;
417
+ /** Output only. Result of manual approval for this Build. */
418
+ result?: GoogleDevtoolsCloudbuildV1ApprovalResult;
419
+ /** Output only. The state of this build's approval. */
420
+ state?: string;
421
+ }
422
+ interface GoogleDevtoolsCloudbuildV1BuildOperationMetadata {
423
+ /** The build that the operation is tracking. */
424
+ build?: GoogleDevtoolsCloudbuildV1Build;
425
+ }
426
+ interface GoogleDevtoolsCloudbuildV1BuildOptions {
427
+ /** Option to include built-in and custom substitutions as env variables for all build steps. */
428
+ automapSubstitutions?: boolean;
429
+ /** Optional. Option to specify how default logs buckets are setup. */
430
+ defaultLogsBucketBehavior?: string;
431
+ /** 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 2000GB; builds that request more than the maximum are rejected with an error. */
432
+ diskSizeGb?: string;
433
+ /** 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. */
434
+ dynamicSubstitutions?: boolean;
435
+ /** 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". */
436
+ env?: string[];
437
+ /** Option to specify the logging mode, which determines if and where build logs are stored. */
438
+ logging?: string;
439
+ /** Option to define build log streaming behavior to Cloud Storage. */
440
+ logStreamingOption?: string;
441
+ /** Compute Engine machine type on which to run the build. */
442
+ machineType?: string;
443
+ /** 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. */
444
+ pool?: GoogleDevtoolsCloudbuildV1PoolOption;
445
+ /** Requested verifiability options. */
446
+ requestedVerifyOption?: string;
447
+ /** 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. */
448
+ secretEnv?: string[];
449
+ /** Requested hash for SourceProvenance. */
450
+ sourceProvenanceHash?: string[];
451
+ /** 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. */
452
+ substitutionOption?: string;
453
+ /** 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. */
454
+ volumes?: GoogleDevtoolsCloudbuildV1Volume[];
455
+ /** This field deprecated; please use `pool.name` instead. */
456
+ workerPool?: string;
457
+ }
458
+ interface GoogleDevtoolsCloudbuildV1BuildStep {
459
+ /** Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence. */
460
+ allowExitCodes?: number[];
461
+ /** Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the failure_detail field. */
462
+ allowFailure?: boolean;
463
+ /** A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments. */
464
+ args?: string[];
465
+ /** Option to include built-in and custom substitutions as env variables for this build step. This option will override the global option in BuildOption. */
466
+ automapSubstitutions?: boolean;
467
+ /** Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution. */
468
+ dir?: string;
469
+ /** Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used. */
470
+ entrypoint?: string;
471
+ /** A list of environment variable definitions to be used when running a step. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". */
472
+ env?: string[];
473
+ /** Output only. Return code from running the step. */
474
+ exitCode?: number;
475
+ /** Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency. */
476
+ id?: string;
477
+ /** Required. The name of the container image that will run this particular build step. If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary. The Docker daemon's cache will already have the latest versions of all of the officially supported build steps ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)). The Docker daemon will also have cached many of the layers for some popular images, like "ubuntu", "debian", but they will be refreshed at the time you attempt to use them. If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step. */
478
+ name?: string;
479
+ /** Output only. Stores timing information for pulling this build step's builder image only. */
480
+ pullTiming?: GoogleDevtoolsCloudbuildV1TimeSpan;
481
+ /** A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args. */
482
+ script?: string;
483
+ /** 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`. */
484
+ secretEnv?: string[];
485
+ /** 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. */
486
+ status?: string;
487
+ /** 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. */
488
+ timeout?: string;
489
+ /** Output only. Stores timing information for executing this build step. */
490
+ timing?: GoogleDevtoolsCloudbuildV1TimeSpan;
491
+ /** List of volumes to mount into the build step. Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded. Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration. */
492
+ volumes?: GoogleDevtoolsCloudbuildV1Volume[];
493
+ /** 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. */
494
+ waitFor?: string[];
495
+ }
496
+ interface GoogleDevtoolsCloudbuildV1BuiltImage {
497
+ /** Docker Registry 2.0 digest. */
498
+ digest?: string;
499
+ /** Name used to push the container image to Google Container Registry, as presented to `docker push`. */
500
+ name?: string;
501
+ /** Output only. Stores timing information for pushing the specified image. */
502
+ pushTiming?: GoogleDevtoolsCloudbuildV1TimeSpan;
503
+ }
504
+ interface GoogleDevtoolsCloudbuildV1ConnectedRepository {
505
+ /** Directory, relative to the source root, in which to run the build. */
506
+ dir?: string;
507
+ /** Required. Name of the Google Cloud Build repository, formatted as `projects/*‍/locations/*‍/connections/*‍/repositories/*`. */
508
+ repository?: string;
509
+ /** The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
510
+ revision?: string;
511
+ }
512
+ interface GoogleDevtoolsCloudbuildV1FailureInfo {
513
+ /** Explains the failure issue in more detail using hard-coded text. */
514
+ detail?: string;
515
+ /** The name of the failure. */
516
+ type?: string;
517
+ }
518
+ interface GoogleDevtoolsCloudbuildV1FileHashes {
519
+ /** Collection of file hashes. */
520
+ fileHash?: GoogleDevtoolsCloudbuildV1Hash[];
521
+ }
522
+ interface GoogleDevtoolsCloudbuildV1GitSource {
523
+ /** Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution. */
524
+ dir?: string;
525
+ /** The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision from the Git repository; therefore make sure that the string you provide for `revision` is parsable by the command. For information on string values accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on `git fetch`, see https://git-scm.com/docs/git-fetch. */
526
+ revision?: string;
527
+ /** Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote. */
528
+ url?: string;
529
+ }
530
+ interface GoogleDevtoolsCloudbuildV1Hash {
531
+ /** The type of hash that was performed. */
532
+ type?: string;
533
+ /** The hash value. */
534
+ value?: string;
535
+ }
536
+ interface GoogleDevtoolsCloudbuildV1InlineSecret {
537
+ /** Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets. */
538
+ envMap?: {[P in string]: string};
539
+ /** Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects/*‍/locations/*‍/keyRings/*‍/cryptoKeys/* */
540
+ kmsKeyName?: string;
541
+ }
542
+ interface GoogleDevtoolsCloudbuildV1MavenArtifact {
543
+ /** Maven `artifactId` value used when uploading the artifact to Artifact Registry. */
544
+ artifactId?: string;
545
+ /** Maven `groupId` value used when uploading the artifact to Artifact Registry. */
546
+ groupId?: string;
547
+ /** Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar. */
548
+ path?: string;
549
+ /** Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY" Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix. */
550
+ repository?: string;
551
+ /** Maven `version` value used when uploading the artifact to Artifact Registry. */
552
+ version?: string;
553
+ }
554
+ interface GoogleDevtoolsCloudbuildV1NpmPackage {
555
+ /** Path to the package.json. e.g. workspace/path/to/package */
556
+ packagePath?: string;
557
+ /** Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY" Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix. */
558
+ repository?: string;
559
+ }
560
+ interface GoogleDevtoolsCloudbuildV1PoolOption {
561
+ /** The `WorkerPool` resource to execute the build on. You must have `cloudbuild.workerpools.use` on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId} */
562
+ name?: string;
563
+ }
564
+ interface GoogleDevtoolsCloudbuildV1PythonPackage {
565
+ /** Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file. */
566
+ paths?: string[];
567
+ /** Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY" Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix. */
568
+ repository?: string;
569
+ }
570
+ interface GoogleDevtoolsCloudbuildV1RepoSource {
571
+ /** Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax */
572
+ branchName?: string;
573
+ /** Explicit commit SHA to build. */
574
+ commitSha?: string;
575
+ /** Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution. */
576
+ dir?: string;
577
+ /** Only trigger a build if the revision regex does NOT match the revision regex. */
578
+ invertRegex?: boolean;
579
+ /** ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed. */
580
+ projectId?: string;
581
+ /** Name of the Cloud Source Repository. */
582
+ repoName?: string;
583
+ /** Substitutions to use in a triggered build. Should only be used with RunBuildTrigger */
584
+ substitutions?: {[P in string]: string};
585
+ /** Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax */
586
+ tagName?: string;
587
+ }
588
+ interface GoogleDevtoolsCloudbuildV1Results {
589
+ /** Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage. */
590
+ artifactManifest?: string;
591
+ /** Time to push all non-container artifacts to Cloud Storage. */
592
+ artifactTiming?: GoogleDevtoolsCloudbuildV1TimeSpan;
593
+ /** List of build step digests, in the order corresponding to build step indices. */
594
+ buildStepImages?: string[];
595
+ /** 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. */
596
+ buildStepOutputs?: string[];
597
+ /** Container images that were built as a part of the build. */
598
+ images?: GoogleDevtoolsCloudbuildV1BuiltImage[];
599
+ /** Maven artifacts uploaded to Artifact Registry at the end of the build. */
600
+ mavenArtifacts?: GoogleDevtoolsCloudbuildV1UploadedMavenArtifact[];
601
+ /** Npm packages uploaded to Artifact Registry at the end of the build. */
602
+ npmPackages?: GoogleDevtoolsCloudbuildV1UploadedNpmPackage[];
603
+ /** Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage. */
604
+ numArtifacts?: string;
605
+ /** Python artifacts uploaded to Artifact Registry at the end of the build. */
606
+ pythonPackages?: GoogleDevtoolsCloudbuildV1UploadedPythonPackage[];
607
+ }
608
+ interface GoogleDevtoolsCloudbuildV1Secret {
609
+ /** Cloud KMS key name to use to decrypt these envs. */
610
+ kmsKeyName?: string;
611
+ /** Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets. */
612
+ secretEnv?: {[P in string]: string};
613
+ }
614
+ interface GoogleDevtoolsCloudbuildV1SecretManagerSecret {
615
+ /** Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. */
616
+ env?: string;
617
+ /** Resource name of the SecretVersion. In format: projects/*‍/secrets/*‍/versions/* */
618
+ versionName?: string;
619
+ }
620
+ interface GoogleDevtoolsCloudbuildV1Secrets {
621
+ /** Secrets encrypted with KMS key and the associated secret environment variable. */
622
+ inline?: GoogleDevtoolsCloudbuildV1InlineSecret[];
623
+ /** Secrets in Secret Manager and associated secret environment variable. */
624
+ secretManager?: GoogleDevtoolsCloudbuildV1SecretManagerSecret[];
625
+ }
626
+ interface GoogleDevtoolsCloudbuildV1Source {
627
+ /** Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource. */
628
+ connectedRepository?: GoogleDevtoolsCloudbuildV1ConnectedRepository;
629
+ /** If provided, get the source from this Git repository. */
630
+ gitSource?: GoogleDevtoolsCloudbuildV1GitSource;
631
+ /** If provided, get the source from this location in a Cloud Source Repository. */
632
+ repoSource?: GoogleDevtoolsCloudbuildV1RepoSource;
633
+ /** If provided, get the source from this location in Cloud Storage. */
634
+ storageSource?: GoogleDevtoolsCloudbuildV1StorageSource;
635
+ /** If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher). */
636
+ storageSourceManifest?: GoogleDevtoolsCloudbuildV1StorageSourceManifest;
637
+ }
638
+ interface GoogleDevtoolsCloudbuildV1SourceProvenance {
639
+ /** Output only. Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that `FileHashes` will only be populated if `BuildOptions` has requested a `SourceProvenanceHash`. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (`.tar.gz`), the `FileHash` will be for the single path to that file. */
640
+ fileHashes?: {[P in string]: GoogleDevtoolsCloudbuildV1FileHashes};
641
+ /** Output only. A copy of the build's `source.connected_repository`, if exists, with any revisions resolved. */
642
+ resolvedConnectedRepository?: GoogleDevtoolsCloudbuildV1ConnectedRepository;
643
+ /** Output only. A copy of the build's `source.git_source`, if exists, with any revisions resolved. */
644
+ resolvedGitSource?: GoogleDevtoolsCloudbuildV1GitSource;
645
+ /** A copy of the build's `source.repo_source`, if exists, with any revisions resolved. */
646
+ resolvedRepoSource?: GoogleDevtoolsCloudbuildV1RepoSource;
647
+ /** A copy of the build's `source.storage_source`, if exists, with any generations resolved. */
648
+ resolvedStorageSource?: GoogleDevtoolsCloudbuildV1StorageSource;
649
+ /** A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. */
650
+ resolvedStorageSourceManifest?: GoogleDevtoolsCloudbuildV1StorageSourceManifest;
651
+ }
652
+ interface GoogleDevtoolsCloudbuildV1StorageSource {
653
+ /** Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
654
+ bucket?: string;
655
+ /** Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
656
+ generation?: string;
657
+ /** Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. */
658
+ object?: string;
659
+ /** Optional. Option to specify the tool to fetch the source file for the build. */
660
+ sourceFetcher?: string;
661
+ }
662
+ interface GoogleDevtoolsCloudbuildV1StorageSourceManifest {
663
+ /** Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
664
+ bucket?: string;
665
+ /** Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
666
+ generation?: string;
667
+ /** Cloud Storage object containing the source manifest. This object must be a JSON file. */
668
+ object?: string;
669
+ }
670
+ interface GoogleDevtoolsCloudbuildV1TimeSpan {
671
+ /** End of time span. */
672
+ endTime?: string;
673
+ /** Start of time span. */
674
+ startTime?: string;
675
+ }
676
+ interface GoogleDevtoolsCloudbuildV1UploadedMavenArtifact {
677
+ /** Hash types and values of the Maven Artifact. */
678
+ fileHashes?: GoogleDevtoolsCloudbuildV1FileHashes;
679
+ /** Output only. Stores timing information for pushing the specified artifact. */
680
+ pushTiming?: GoogleDevtoolsCloudbuildV1TimeSpan;
681
+ /** URI of the uploaded artifact. */
682
+ uri?: string;
683
+ }
684
+ interface GoogleDevtoolsCloudbuildV1UploadedNpmPackage {
685
+ /** Hash types and values of the npm package. */
686
+ fileHashes?: GoogleDevtoolsCloudbuildV1FileHashes;
687
+ /** Output only. Stores timing information for pushing the specified artifact. */
688
+ pushTiming?: GoogleDevtoolsCloudbuildV1TimeSpan;
689
+ /** URI of the uploaded npm package. */
690
+ uri?: string;
691
+ }
692
+ interface GoogleDevtoolsCloudbuildV1UploadedPythonPackage {
693
+ /** Hash types and values of the Python Artifact. */
694
+ fileHashes?: GoogleDevtoolsCloudbuildV1FileHashes;
695
+ /** Output only. Stores timing information for pushing the specified artifact. */
696
+ pushTiming?: GoogleDevtoolsCloudbuildV1TimeSpan;
697
+ /** URI of the uploaded artifact. */
698
+ uri?: string;
699
+ }
700
+ interface GoogleDevtoolsCloudbuildV1Volume {
701
+ /** Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps. */
702
+ name?: string;
703
+ /** Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths. */
704
+ path?: string;
705
+ }
706
+ interface GoogleDevtoolsCloudbuildV1Warning {
707
+ /** The priority for this warning. */
708
+ priority?: string;
709
+ /** Explanation of the warning generated. */
710
+ text?: string;
711
+ }
318
712
  interface GoogleLongrunningListOperationsResponse {
319
713
  /** The standard List next-page token. */
320
714
  nextPageToken?: string;
@@ -757,7 +1151,7 @@ declare namespace gapi.client {
757
1151
  apiVersion?: string;
758
1152
  /** The kind of resource. It must be "Service". */
759
1153
  kind?: string;
760
- /** Metadata associated with this Service, including name, namespace, labels, and annotations. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. The following Cloud Run-specific annotations are accepted in Service.metadata.annotations. * `run.googleapis.com/binary-authorization-breakglass` * `run.googleapis.com/binary-authorization` * `run.googleapis.com/client-name` * `run.googleapis.com/custom-audiences` * `run.googleapis.com/default-url-disabled`: Service. * `run.googleapis.com/description` * `run.googleapis.com/gc-traffic-tags` * `run.googleapis.com/ingress` * `run.googleapis.com/ingress` sets the ingress settings for the Service. See [the ingress settings documentation](/run/docs/securing/ingress) for details on configuring ingress settings. * `run.googleapis.com/ingress-status` is output-only and contains the currently active ingress settings for the Service. `run.googleapis.com/ingress-status` may differ from `run.googleapis.com/ingress` while the system is processing a change to `run.googleapis.com/ingress` or if the system failed to process a change to `run.googleapis.com/ingress`. When the system has processed all changes successfully `run.googleapis.com/ingress-status` and `run.googleapis.com/ingress` are equal. */
1154
+ /** Metadata associated with this Service, including name, namespace, labels, and annotations. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. The following Cloud Run-specific annotations are accepted in Service.metadata.annotations. * `run.googleapis.com/binary-authorization-breakglass` * `run.googleapis.com/binary-authorization` * `run.googleapis.com/client-name` * `run.googleapis.com/custom-audiences` * `run.googleapis.com/default-url-disabled` * `run.googleapis.com/description` * `run.googleapis.com/gc-traffic-tags` * `run.googleapis.com/ingress` * `run.googleapis.com/ingress` sets the ingress settings for the Service. See [the ingress settings documentation](/run/docs/securing/ingress) for details on configuring ingress settings. * `run.googleapis.com/ingress-status` is output-only and contains the currently active ingress settings for the Service. `run.googleapis.com/ingress-status` may differ from `run.googleapis.com/ingress` while the system is processing a change to `run.googleapis.com/ingress` or if the system failed to process a change to `run.googleapis.com/ingress`. When the system has processed all changes successfully `run.googleapis.com/ingress-status` and `run.googleapis.com/ingress` are equal. */
761
1155
  metadata?: ObjectMeta;
762
1156
  /** Holds the desired state of the Service (from the client). */
763
1157
  spec?: ServiceSpec;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.run-v1",
3
- "version": "0.0.20240225",
3
+ "version": "0.0.20240310",
4
4
  "description": "TypeScript typings for Cloud Run Admin API v1",
5
5
  "repository": {
6
6
  "type": "git",