@maxim_mazurok/gapi.client.cloudbuild-v1 0.0.20230330 → 0.0.20230406
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 +18 -1
- package/package.json +1 -1
- package/tests.ts +31 -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://cloudbuild.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230406
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -777,6 +777,21 @@ declare namespace gapi.client {
|
|
|
777
777
|
/** The URI of the repo. Either uri or repository can be specified and is required. */
|
|
778
778
|
uri?: string;
|
|
779
779
|
}
|
|
780
|
+
interface GitSource {
|
|
781
|
+
/**
|
|
782
|
+
* 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
|
|
783
|
+
* that step's execution.
|
|
784
|
+
*/
|
|
785
|
+
dir?: string;
|
|
786
|
+
/**
|
|
787
|
+
* 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;
|
|
788
|
+
* 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
|
|
789
|
+
* https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on `git fetch`, see https://git-scm.com/docs/git-fetch.
|
|
790
|
+
*/
|
|
791
|
+
revision?: string;
|
|
792
|
+
/** Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote. */
|
|
793
|
+
url?: string;
|
|
794
|
+
}
|
|
780
795
|
interface Hash {
|
|
781
796
|
/** The type of hash that was performed. */
|
|
782
797
|
type?: string;
|
|
@@ -1082,6 +1097,8 @@ declare namespace gapi.client {
|
|
|
1082
1097
|
service?: string;
|
|
1083
1098
|
}
|
|
1084
1099
|
interface Source {
|
|
1100
|
+
/** If provided, get the source from this Git repository. */
|
|
1101
|
+
gitSource?: GitSource;
|
|
1085
1102
|
/** If provided, get the source from this location in a Cloud Source Repository. */
|
|
1086
1103
|
repoSource?: RepoSource;
|
|
1087
1104
|
/** If provided, get the source from this location in Google Cloud Storage. */
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230406
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -271,6 +271,11 @@ gapi.load('client', async () => {
|
|
|
271
271
|
],
|
|
272
272
|
serviceAccount: "Test string",
|
|
273
273
|
source: {
|
|
274
|
+
gitSource: {
|
|
275
|
+
dir: "Test string",
|
|
276
|
+
revision: "Test string",
|
|
277
|
+
url: "Test string",
|
|
278
|
+
},
|
|
274
279
|
repoSource: {
|
|
275
280
|
branchName: "Test string",
|
|
276
281
|
commitSha: "Test string",
|
|
@@ -801,6 +806,11 @@ gapi.load('client', async () => {
|
|
|
801
806
|
],
|
|
802
807
|
serviceAccount: "Test string",
|
|
803
808
|
source: {
|
|
809
|
+
gitSource: {
|
|
810
|
+
dir: "Test string",
|
|
811
|
+
revision: "Test string",
|
|
812
|
+
url: "Test string",
|
|
813
|
+
},
|
|
804
814
|
repoSource: {
|
|
805
815
|
branchName: "Test string",
|
|
806
816
|
commitSha: "Test string",
|
|
@@ -1367,6 +1377,11 @@ gapi.load('client', async () => {
|
|
|
1367
1377
|
],
|
|
1368
1378
|
serviceAccount: "Test string",
|
|
1369
1379
|
source: {
|
|
1380
|
+
gitSource: {
|
|
1381
|
+
dir: "Test string",
|
|
1382
|
+
revision: "Test string",
|
|
1383
|
+
url: "Test string",
|
|
1384
|
+
},
|
|
1370
1385
|
repoSource: {
|
|
1371
1386
|
branchName: "Test string",
|
|
1372
1387
|
commitSha: "Test string",
|
|
@@ -1860,6 +1875,11 @@ gapi.load('client', async () => {
|
|
|
1860
1875
|
],
|
|
1861
1876
|
serviceAccount: "Test string",
|
|
1862
1877
|
source: {
|
|
1878
|
+
gitSource: {
|
|
1879
|
+
dir: "Test string",
|
|
1880
|
+
revision: "Test string",
|
|
1881
|
+
url: "Test string",
|
|
1882
|
+
},
|
|
1863
1883
|
repoSource: {
|
|
1864
1884
|
branchName: "Test string",
|
|
1865
1885
|
commitSha: "Test string",
|
|
@@ -2446,6 +2466,11 @@ gapi.load('client', async () => {
|
|
|
2446
2466
|
],
|
|
2447
2467
|
serviceAccount: "Test string",
|
|
2448
2468
|
source: {
|
|
2469
|
+
gitSource: {
|
|
2470
|
+
dir: "Test string",
|
|
2471
|
+
revision: "Test string",
|
|
2472
|
+
url: "Test string",
|
|
2473
|
+
},
|
|
2449
2474
|
repoSource: {
|
|
2450
2475
|
branchName: "Test string",
|
|
2451
2476
|
commitSha: "Test string",
|
|
@@ -2938,6 +2963,11 @@ gapi.load('client', async () => {
|
|
|
2938
2963
|
],
|
|
2939
2964
|
serviceAccount: "Test string",
|
|
2940
2965
|
source: {
|
|
2966
|
+
gitSource: {
|
|
2967
|
+
dir: "Test string",
|
|
2968
|
+
revision: "Test string",
|
|
2969
|
+
url: "Test string",
|
|
2970
|
+
},
|
|
2941
2971
|
repoSource: {
|
|
2942
2972
|
branchName: "Test string",
|
|
2943
2973
|
commitSha: "Test string",
|