@maxim_mazurok/gapi.client.run-v1 0.0.20250124 → 0.0.20250207
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 +30 -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:
|
|
12
|
+
// Revision: 20250207
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -260,7 +260,7 @@ declare namespace gapi.client {
|
|
|
260
260
|
name?: string;
|
|
261
261
|
}
|
|
262
262
|
interface ExecutionSpec {
|
|
263
|
-
/** Optional. Specifies the maximum desired number of tasks the execution should run at given time.
|
|
263
|
+
/** Optional. Specifies the maximum desired number of tasks the execution should run at given time. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed, i.e. when the work left to do is less than max parallelism. */
|
|
264
264
|
parallelism?: number;
|
|
265
265
|
/** Optional. Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. Defaults to 1. */
|
|
266
266
|
taskCount?: number;
|
|
@@ -368,6 +368,8 @@ declare namespace gapi.client {
|
|
|
368
368
|
buildTriggerId?: string;
|
|
369
369
|
/** Output only. Time at which the request to create the build was received. */
|
|
370
370
|
createTime?: string;
|
|
371
|
+
/** Optional. Dependencies that the Cloud Build worker will fetch before executing user steps. */
|
|
372
|
+
dependencies?: GoogleDevtoolsCloudbuildV1Dependency[];
|
|
371
373
|
/** Output only. Contains information about the build when status=FAILURE. */
|
|
372
374
|
failureInfo?: GoogleDevtoolsCloudbuildV1FailureInfo;
|
|
373
375
|
/** 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. */
|
|
@@ -452,6 +454,8 @@ declare namespace gapi.client {
|
|
|
452
454
|
machineType?: string;
|
|
453
455
|
/** 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. */
|
|
454
456
|
pool?: GoogleDevtoolsCloudbuildV1PoolOption;
|
|
457
|
+
/** Optional. Option to specify the Pub/Sub topic to receive build status updates. */
|
|
458
|
+
pubsubTopic?: string;
|
|
455
459
|
/** Requested verifiability options. */
|
|
456
460
|
requestedVerifyOption?: string;
|
|
457
461
|
/** 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. */
|
|
@@ -519,6 +523,12 @@ declare namespace gapi.client {
|
|
|
519
523
|
/** Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
|
|
520
524
|
revision?: string;
|
|
521
525
|
}
|
|
526
|
+
interface GoogleDevtoolsCloudbuildV1Dependency {
|
|
527
|
+
/** If set to true disable all dependency fetching (ignoring the default source as well). */
|
|
528
|
+
empty?: boolean;
|
|
529
|
+
/** Represents a git repository as a build dependency. */
|
|
530
|
+
gitSource?: GoogleDevtoolsCloudbuildV1GitSourceDependency;
|
|
531
|
+
}
|
|
522
532
|
interface GoogleDevtoolsCloudbuildV1DeveloperConnectConfig {
|
|
523
533
|
/** Required. Directory, relative to the source root, in which to run the build. */
|
|
524
534
|
dir?: string;
|
|
@@ -549,6 +559,24 @@ declare namespace gapi.client {
|
|
|
549
559
|
/** Required. Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote. */
|
|
550
560
|
url?: string;
|
|
551
561
|
}
|
|
562
|
+
interface GoogleDevtoolsCloudbuildV1GitSourceDependency {
|
|
563
|
+
/** Optional. How much history should be fetched for the build (default 1, -1 for all history). */
|
|
564
|
+
depth?: string;
|
|
565
|
+
/** Required. Where should the files be placed on the worker. */
|
|
566
|
+
destPath?: string;
|
|
567
|
+
/** Optional. True if submodules should be fetched too (default false). */
|
|
568
|
+
recurseSubmodules?: boolean;
|
|
569
|
+
/** Required. The kind of repo (url or dev connect). */
|
|
570
|
+
repository?: GoogleDevtoolsCloudbuildV1GitSourceRepository;
|
|
571
|
+
/** Required. The revision that we will fetch the repo at. */
|
|
572
|
+
revision?: string;
|
|
573
|
+
}
|
|
574
|
+
interface GoogleDevtoolsCloudbuildV1GitSourceRepository {
|
|
575
|
+
/** The Developer Connect Git repository link or the url that matches a repository link in the current project, formatted as `projects/*/locations/*/connections/*/gitRepositoryLink/*` */
|
|
576
|
+
developerConnect?: string;
|
|
577
|
+
/** Location of the Git repository. */
|
|
578
|
+
url?: string;
|
|
579
|
+
}
|
|
552
580
|
interface GoogleDevtoolsCloudbuildV1GoModule {
|
|
553
581
|
/** Optional. The Go module's "module path". e.g. example.com/foo/v2 */
|
|
554
582
|
modulePath?: string;
|