@maxim_mazurok/gapi.client.run-v1 0.0.20240503 → 0.0.20240524
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 +37 -27
- 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: 20240524
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -390,7 +390,7 @@ declare namespace gapi.client {
|
|
|
390
390
|
secrets?: GoogleDevtoolsCloudbuildV1Secret[];
|
|
391
391
|
/** 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. */
|
|
392
392
|
serviceAccount?: string;
|
|
393
|
-
/** The location of the source files to build. */
|
|
393
|
+
/** Optional. The location of the source files to build. */
|
|
394
394
|
source?: GoogleDevtoolsCloudbuildV1Source;
|
|
395
395
|
/** Output only. A permanent fixed identifier for source. */
|
|
396
396
|
sourceProvenance?: GoogleDevtoolsCloudbuildV1SourceProvenance;
|
|
@@ -430,7 +430,7 @@ declare namespace gapi.client {
|
|
|
430
430
|
automapSubstitutions?: boolean;
|
|
431
431
|
/** Optional. Option to specify how default logs buckets are setup. */
|
|
432
432
|
defaultLogsBucketBehavior?: string;
|
|
433
|
-
/** 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
|
|
433
|
+
/** 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. */
|
|
434
434
|
diskSizeGb?: string;
|
|
435
435
|
/** 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. */
|
|
436
436
|
dynamicSubstitutions?: boolean;
|
|
@@ -504,11 +504,11 @@ declare namespace gapi.client {
|
|
|
504
504
|
pushTiming?: GoogleDevtoolsCloudbuildV1TimeSpan;
|
|
505
505
|
}
|
|
506
506
|
interface GoogleDevtoolsCloudbuildV1ConnectedRepository {
|
|
507
|
-
/** Directory, relative to the source root, in which to run the build. */
|
|
507
|
+
/** Optional. Directory, relative to the source root, in which to run the build. */
|
|
508
508
|
dir?: string;
|
|
509
509
|
/** Required. Name of the Google Cloud Build repository, formatted as `projects/*/locations/*/connections/*/repositories/*`. */
|
|
510
510
|
repository?: string;
|
|
511
|
-
/** The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
|
|
511
|
+
/** Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
|
|
512
512
|
revision?: string;
|
|
513
513
|
}
|
|
514
514
|
interface GoogleDevtoolsCloudbuildV1DeveloperConnectConfig {
|
|
@@ -529,16 +529,24 @@ declare namespace gapi.client {
|
|
|
529
529
|
/** Collection of file hashes. */
|
|
530
530
|
fileHash?: GoogleDevtoolsCloudbuildV1Hash[];
|
|
531
531
|
}
|
|
532
|
+
interface GoogleDevtoolsCloudbuildV1GCSLocation {
|
|
533
|
+
/** Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements */
|
|
534
|
+
bucket?: string;
|
|
535
|
+
/** Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
|
|
536
|
+
generation?: string;
|
|
537
|
+
/** Cloud Storage object. See https://cloud.google.com/storage/docs/naming#objectnames */
|
|
538
|
+
object?: string;
|
|
539
|
+
}
|
|
532
540
|
interface GoogleDevtoolsCloudbuildV1GitConfig {
|
|
533
541
|
/** Configuration for HTTP related git operations. */
|
|
534
542
|
http?: GoogleDevtoolsCloudbuildV1HttpConfig;
|
|
535
543
|
}
|
|
536
544
|
interface GoogleDevtoolsCloudbuildV1GitSource {
|
|
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. */
|
|
545
|
+
/** Optional. 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. */
|
|
538
546
|
dir?: string;
|
|
539
|
-
/** 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. */
|
|
547
|
+
/** Optional. 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. */
|
|
540
548
|
revision?: string;
|
|
541
|
-
/** Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote. */
|
|
549
|
+
/** Required. Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote. */
|
|
542
550
|
url?: string;
|
|
543
551
|
}
|
|
544
552
|
interface GoogleDevtoolsCloudbuildV1Hash {
|
|
@@ -550,6 +558,8 @@ declare namespace gapi.client {
|
|
|
550
558
|
interface GoogleDevtoolsCloudbuildV1HttpConfig {
|
|
551
559
|
/** SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port]. */
|
|
552
560
|
proxySecretVersionName?: string;
|
|
561
|
+
/** Optional. Cloud Storage object storing the certificate to use with the HTTP proxy. */
|
|
562
|
+
proxySslCaInfo?: GoogleDevtoolsCloudbuildV1GCSLocation;
|
|
553
563
|
}
|
|
554
564
|
interface GoogleDevtoolsCloudbuildV1InlineSecret {
|
|
555
565
|
/** 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. */
|
|
@@ -590,15 +600,15 @@ declare namespace gapi.client {
|
|
|
590
600
|
branchName?: string;
|
|
591
601
|
/** Explicit commit SHA to build. */
|
|
592
602
|
commitSha?: string;
|
|
593
|
-
/** 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. */
|
|
603
|
+
/** Optional. 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. */
|
|
594
604
|
dir?: string;
|
|
595
|
-
/** Only trigger a build if the revision regex does NOT match the revision regex. */
|
|
605
|
+
/** Optional. Only trigger a build if the revision regex does NOT match the revision regex. */
|
|
596
606
|
invertRegex?: boolean;
|
|
597
|
-
/** ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed. */
|
|
607
|
+
/** Optional. ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed. */
|
|
598
608
|
projectId?: string;
|
|
599
|
-
/** Name of the Cloud Source Repository. */
|
|
609
|
+
/** Required. Name of the Cloud Source Repository. */
|
|
600
610
|
repoName?: string;
|
|
601
|
-
/** Substitutions to use in a triggered build. Should only be used with RunBuildTrigger */
|
|
611
|
+
/** Optional. Substitutions to use in a triggered build. Should only be used with RunBuildTrigger */
|
|
602
612
|
substitutions?: {[P in string]: string};
|
|
603
613
|
/** 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 */
|
|
604
614
|
tagName?: string;
|
|
@@ -672,19 +682,19 @@ declare namespace gapi.client {
|
|
|
672
682
|
interface GoogleDevtoolsCloudbuildV1StorageSource {
|
|
673
683
|
/** Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
|
|
674
684
|
bucket?: string;
|
|
675
|
-
/** Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
|
|
685
|
+
/** Optional. Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
|
|
676
686
|
generation?: string;
|
|
677
|
-
/** Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. */
|
|
687
|
+
/** Required. Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. */
|
|
678
688
|
object?: string;
|
|
679
689
|
/** Optional. Option to specify the tool to fetch the source file for the build. */
|
|
680
690
|
sourceFetcher?: string;
|
|
681
691
|
}
|
|
682
692
|
interface GoogleDevtoolsCloudbuildV1StorageSourceManifest {
|
|
683
|
-
/** Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
|
|
693
|
+
/** Required. Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
|
|
684
694
|
bucket?: string;
|
|
685
695
|
/** Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
|
|
686
696
|
generation?: string;
|
|
687
|
-
/** Cloud Storage object containing the source manifest. This object must be a JSON file. */
|
|
697
|
+
/** Required. Cloud Storage object containing the source manifest. This object must be a JSON file. */
|
|
688
698
|
object?: string;
|
|
689
699
|
}
|
|
690
700
|
interface GoogleDevtoolsCloudbuildV1TimeSpan {
|
|
@@ -1414,7 +1424,7 @@ declare namespace gapi.client {
|
|
|
1414
1424
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1415
1425
|
uploadType?: string;
|
|
1416
1426
|
}): Request<Configuration>;
|
|
1417
|
-
/** List configurations. */
|
|
1427
|
+
/** List configurations. Results are sorted by creation time, descending. */
|
|
1418
1428
|
list(request?: {
|
|
1419
1429
|
/** V1 error format. */
|
|
1420
1430
|
'$.xgafv'?: string;
|
|
@@ -1742,7 +1752,7 @@ declare namespace gapi.client {
|
|
|
1742
1752
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1743
1753
|
uploadType?: string;
|
|
1744
1754
|
}): Request<Execution>;
|
|
1745
|
-
/** List executions. */
|
|
1755
|
+
/** List executions. Results are sorted by creation time, descending. */
|
|
1746
1756
|
list(request?: {
|
|
1747
1757
|
/** V1 error format. */
|
|
1748
1758
|
'$.xgafv'?: string;
|
|
@@ -1903,7 +1913,7 @@ declare namespace gapi.client {
|
|
|
1903
1913
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1904
1914
|
uploadType?: string;
|
|
1905
1915
|
}): Request<Job>;
|
|
1906
|
-
/** List jobs. */
|
|
1916
|
+
/** List jobs. Results are sorted by creation time, descending. */
|
|
1907
1917
|
list(request?: {
|
|
1908
1918
|
/** V1 error format. */
|
|
1909
1919
|
'$.xgafv'?: string;
|
|
@@ -2124,7 +2134,7 @@ declare namespace gapi.client {
|
|
|
2124
2134
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2125
2135
|
uploadType?: string;
|
|
2126
2136
|
}): Request<Revision>;
|
|
2127
|
-
/** List revisions. */
|
|
2137
|
+
/** List revisions. Results are sorted by creation time, descending. */
|
|
2128
2138
|
list(request?: {
|
|
2129
2139
|
/** V1 error format. */
|
|
2130
2140
|
'$.xgafv'?: string;
|
|
@@ -2194,7 +2204,7 @@ declare namespace gapi.client {
|
|
|
2194
2204
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2195
2205
|
uploadType?: string;
|
|
2196
2206
|
}): Request<Route>;
|
|
2197
|
-
/** List routes. */
|
|
2207
|
+
/** List routes. Results are sorted by creation time, descending. */
|
|
2198
2208
|
list(request?: {
|
|
2199
2209
|
/** V1 error format. */
|
|
2200
2210
|
'$.xgafv'?: string;
|
|
@@ -2361,7 +2371,7 @@ declare namespace gapi.client {
|
|
|
2361
2371
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2362
2372
|
uploadType?: string;
|
|
2363
2373
|
}): Request<Service>;
|
|
2364
|
-
/** Lists services for the given project and region. */
|
|
2374
|
+
/** Lists services for the given project and region. Results are sorted by creation time, descending. */
|
|
2365
2375
|
list(request?: {
|
|
2366
2376
|
/** V1 error format. */
|
|
2367
2377
|
'$.xgafv'?: string;
|
|
@@ -2640,7 +2650,7 @@ declare namespace gapi.client {
|
|
|
2640
2650
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2641
2651
|
uploadType?: string;
|
|
2642
2652
|
}): Request<Configuration>;
|
|
2643
|
-
/** List configurations. */
|
|
2653
|
+
/** List configurations. Results are sorted by creation time, descending. */
|
|
2644
2654
|
list(request?: {
|
|
2645
2655
|
/** V1 error format. */
|
|
2646
2656
|
'$.xgafv'?: string;
|
|
@@ -3150,7 +3160,7 @@ declare namespace gapi.client {
|
|
|
3150
3160
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3151
3161
|
uploadType?: string;
|
|
3152
3162
|
}): Request<Revision>;
|
|
3153
|
-
/** List revisions. */
|
|
3163
|
+
/** List revisions. Results are sorted by creation time, descending. */
|
|
3154
3164
|
list(request?: {
|
|
3155
3165
|
/** V1 error format. */
|
|
3156
3166
|
'$.xgafv'?: string;
|
|
@@ -3220,7 +3230,7 @@ declare namespace gapi.client {
|
|
|
3220
3230
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3221
3231
|
uploadType?: string;
|
|
3222
3232
|
}): Request<Route>;
|
|
3223
|
-
/** List routes. */
|
|
3233
|
+
/** List routes. Results are sorted by creation time, descending. */
|
|
3224
3234
|
list(request?: {
|
|
3225
3235
|
/** V1 error format. */
|
|
3226
3236
|
'$.xgafv'?: string;
|
|
@@ -3416,7 +3426,7 @@ declare namespace gapi.client {
|
|
|
3416
3426
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3417
3427
|
uploadType?: string;
|
|
3418
3428
|
}): Request<Policy>;
|
|
3419
|
-
/** Lists services for the given project and region. */
|
|
3429
|
+
/** Lists services for the given project and region. Results are sorted by creation time, descending. */
|
|
3420
3430
|
list(request?: {
|
|
3421
3431
|
/** V1 error format. */
|
|
3422
3432
|
'$.xgafv'?: string;
|