@maxim_mazurok/gapi.client.run-v1 0.0.20240419 → 0.0.20240503
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 +26 -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: 20240503
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -366,6 +366,8 @@ declare namespace gapi.client {
|
|
|
366
366
|
failureInfo?: GoogleDevtoolsCloudbuildV1FailureInfo;
|
|
367
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
368
|
finishTime?: string;
|
|
369
|
+
/** Optional. Configuration for git operations. */
|
|
370
|
+
gitConfig?: GoogleDevtoolsCloudbuildV1GitConfig;
|
|
369
371
|
/** Output only. Unique identifier of the build. */
|
|
370
372
|
id?: string;
|
|
371
373
|
/** 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`. */
|
|
@@ -509,6 +511,14 @@ declare namespace gapi.client {
|
|
|
509
511
|
/** The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
|
|
510
512
|
revision?: string;
|
|
511
513
|
}
|
|
514
|
+
interface GoogleDevtoolsCloudbuildV1DeveloperConnectConfig {
|
|
515
|
+
/** Required. Directory, relative to the source root, in which to run the build. */
|
|
516
|
+
dir?: string;
|
|
517
|
+
/** Required. The Developer Connect Git repository link, formatted as `projects/*/locations/*/connections/*/gitRepositoryLink/*`. */
|
|
518
|
+
gitRepositoryLink?: string;
|
|
519
|
+
/** Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
|
|
520
|
+
revision?: string;
|
|
521
|
+
}
|
|
512
522
|
interface GoogleDevtoolsCloudbuildV1FailureInfo {
|
|
513
523
|
/** Explains the failure issue in more detail using hard-coded text. */
|
|
514
524
|
detail?: string;
|
|
@@ -519,6 +529,10 @@ declare namespace gapi.client {
|
|
|
519
529
|
/** Collection of file hashes. */
|
|
520
530
|
fileHash?: GoogleDevtoolsCloudbuildV1Hash[];
|
|
521
531
|
}
|
|
532
|
+
interface GoogleDevtoolsCloudbuildV1GitConfig {
|
|
533
|
+
/** Configuration for HTTP related git operations. */
|
|
534
|
+
http?: GoogleDevtoolsCloudbuildV1HttpConfig;
|
|
535
|
+
}
|
|
522
536
|
interface GoogleDevtoolsCloudbuildV1GitSource {
|
|
523
537
|
/** 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
538
|
dir?: string;
|
|
@@ -533,6 +547,10 @@ declare namespace gapi.client {
|
|
|
533
547
|
/** The hash value. */
|
|
534
548
|
value?: string;
|
|
535
549
|
}
|
|
550
|
+
interface GoogleDevtoolsCloudbuildV1HttpConfig {
|
|
551
|
+
/** SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port]. */
|
|
552
|
+
proxySecretVersionName?: string;
|
|
553
|
+
}
|
|
536
554
|
interface GoogleDevtoolsCloudbuildV1InlineSecret {
|
|
537
555
|
/** 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
556
|
envMap?: {[P in string]: string};
|
|
@@ -592,7 +610,7 @@ declare namespace gapi.client {
|
|
|
592
610
|
artifactTiming?: GoogleDevtoolsCloudbuildV1TimeSpan;
|
|
593
611
|
/** List of build step digests, in the order corresponding to build step indices. */
|
|
594
612
|
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. */
|
|
613
|
+
/** 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
614
|
buildStepOutputs?: string[];
|
|
597
615
|
/** Container images that were built as a part of the build. */
|
|
598
616
|
images?: GoogleDevtoolsCloudbuildV1BuiltImage[];
|
|
@@ -626,6 +644,8 @@ declare namespace gapi.client {
|
|
|
626
644
|
interface GoogleDevtoolsCloudbuildV1Source {
|
|
627
645
|
/** Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource. */
|
|
628
646
|
connectedRepository?: GoogleDevtoolsCloudbuildV1ConnectedRepository;
|
|
647
|
+
/** If provided, get the source from this Developer Connect config. */
|
|
648
|
+
developerConnectConfig?: GoogleDevtoolsCloudbuildV1DeveloperConnectConfig;
|
|
629
649
|
/** If provided, get the source from this Git repository. */
|
|
630
650
|
gitSource?: GoogleDevtoolsCloudbuildV1GitSource;
|
|
631
651
|
/** If provided, get the source from this location in a Cloud Source Repository. */
|
|
@@ -1060,6 +1080,10 @@ declare namespace gapi.client {
|
|
|
1060
1080
|
enableServiceLinks?: boolean;
|
|
1061
1081
|
/** Not supported by Cloud Run. */
|
|
1062
1082
|
imagePullSecrets?: LocalObjectReference[];
|
|
1083
|
+
/** Optional. The Node Selector configuration. Map of selector key to a value which matches a node. */
|
|
1084
|
+
nodeSelector?: {[P in string]: string};
|
|
1085
|
+
/** Runtime. Leave unset for default. */
|
|
1086
|
+
runtimeClassName?: string;
|
|
1063
1087
|
/** Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. */
|
|
1064
1088
|
serviceAccountName?: string;
|
|
1065
1089
|
/** TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). */
|