@maxim_mazurok/gapi.client.run-v1 0.0.20250131 → 0.0.20250214
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: 20250214
|
|
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. */
|
|
@@ -521,6 +523,12 @@ declare namespace gapi.client {
|
|
|
521
523
|
/** Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
|
|
522
524
|
revision?: string;
|
|
523
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
|
+
}
|
|
524
532
|
interface GoogleDevtoolsCloudbuildV1DeveloperConnectConfig {
|
|
525
533
|
/** Required. Directory, relative to the source root, in which to run the build. */
|
|
526
534
|
dir?: string;
|
|
@@ -551,6 +559,24 @@ declare namespace gapi.client {
|
|
|
551
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. */
|
|
552
560
|
url?: string;
|
|
553
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
|
+
}
|
|
554
580
|
interface GoogleDevtoolsCloudbuildV1GoModule {
|
|
555
581
|
/** Optional. The Go module's "module path". e.g. example.com/foo/v2 */
|
|
556
582
|
modulePath?: string;
|
|
@@ -1307,6 +1333,8 @@ declare namespace gapi.client {
|
|
|
1307
1333
|
containers?: Container[];
|
|
1308
1334
|
/** Optional. Number of retries allowed per task, before marking this job failed. Defaults to 3. */
|
|
1309
1335
|
maxRetries?: number;
|
|
1336
|
+
/** Optional. The Node Selector configuration. Map of selector key to a value which matches a node. */
|
|
1337
|
+
nodeSelector?: {[P in string]: string};
|
|
1310
1338
|
/** Optional. Email address of the IAM service account associated with the task of a job execution. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account. */
|
|
1311
1339
|
serviceAccountName?: string;
|
|
1312
1340
|
/** Optional. Duration in seconds the task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. Defaults to 600 seconds. */
|