@maxim_mazurok/gapi.client.cloudbuild-v1 0.0.20230801 → 0.0.20230811
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 +15 -1
- package/package.json +2 -2
- 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: 20230811
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -680,6 +680,17 @@ declare namespace gapi.client {
|
|
|
680
680
|
// tslint:disable-next-line:no-empty-interface
|
|
681
681
|
interface CancelOperationRequest {
|
|
682
682
|
}
|
|
683
|
+
interface ConnectedRepository {
|
|
684
|
+
/** Directory, relative to the source root, in which to run the build. */
|
|
685
|
+
dir?:
|
|
686
|
+
string;
|
|
687
|
+
/** Required. Name of the Google Cloud Build repository, formatted as `projects/*/locations/*/connections/*/repositories/*`. */
|
|
688
|
+
repository?:
|
|
689
|
+
string;
|
|
690
|
+
/** The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
|
|
691
|
+
revision?:
|
|
692
|
+
string;
|
|
693
|
+
}
|
|
683
694
|
interface CreateBitbucketServerConfigOperationMetadata {
|
|
684
695
|
/** The resource name of the BitbucketServerConfig to be created. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`. */
|
|
685
696
|
bitbucketServerConfig?:
|
|
@@ -1477,6 +1488,9 @@ declare namespace gapi.client {
|
|
|
1477
1488
|
string;
|
|
1478
1489
|
}
|
|
1479
1490
|
interface Source {
|
|
1491
|
+
/** Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource. */
|
|
1492
|
+
connectedRepository?:
|
|
1493
|
+
ConnectedRepository;
|
|
1480
1494
|
/** If provided, get the source from this Git repository. */
|
|
1481
1495
|
gitSource?:
|
|
1482
1496
|
GitSource;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maxim_mazurok/gapi.client.cloudbuild-v1",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20230811",
|
|
4
4
|
"description": "TypeScript typings for Cloud Build API v1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
"types": "index.d.ts",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@types/gapi.client": "*",
|
|
18
|
-
"@types/gapi.client.discovery": "*"
|
|
18
|
+
"@types/gapi.client.discovery-v1": "*"
|
|
19
19
|
}
|
|
20
20
|
}
|
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: 20230811
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -295,6 +295,11 @@ gapi.load('client', async () => {
|
|
|
295
295
|
],
|
|
296
296
|
serviceAccount: "Test string",
|
|
297
297
|
source: {
|
|
298
|
+
connectedRepository: {
|
|
299
|
+
dir: "Test string",
|
|
300
|
+
repository: "Test string",
|
|
301
|
+
revision: "Test string",
|
|
302
|
+
},
|
|
298
303
|
gitSource: {
|
|
299
304
|
dir: "Test string",
|
|
300
305
|
revision: "Test string",
|
|
@@ -855,6 +860,11 @@ gapi.load('client', async () => {
|
|
|
855
860
|
],
|
|
856
861
|
serviceAccount: "Test string",
|
|
857
862
|
source: {
|
|
863
|
+
connectedRepository: {
|
|
864
|
+
dir: "Test string",
|
|
865
|
+
repository: "Test string",
|
|
866
|
+
revision: "Test string",
|
|
867
|
+
},
|
|
858
868
|
gitSource: {
|
|
859
869
|
dir: "Test string",
|
|
860
870
|
revision: "Test string",
|
|
@@ -1451,6 +1461,11 @@ gapi.load('client', async () => {
|
|
|
1451
1461
|
],
|
|
1452
1462
|
serviceAccount: "Test string",
|
|
1453
1463
|
source: {
|
|
1464
|
+
connectedRepository: {
|
|
1465
|
+
dir: "Test string",
|
|
1466
|
+
repository: "Test string",
|
|
1467
|
+
revision: "Test string",
|
|
1468
|
+
},
|
|
1454
1469
|
gitSource: {
|
|
1455
1470
|
dir: "Test string",
|
|
1456
1471
|
revision: "Test string",
|
|
@@ -1977,6 +1992,11 @@ gapi.load('client', async () => {
|
|
|
1977
1992
|
],
|
|
1978
1993
|
serviceAccount: "Test string",
|
|
1979
1994
|
source: {
|
|
1995
|
+
connectedRepository: {
|
|
1996
|
+
dir: "Test string",
|
|
1997
|
+
repository: "Test string",
|
|
1998
|
+
revision: "Test string",
|
|
1999
|
+
},
|
|
1980
2000
|
gitSource: {
|
|
1981
2001
|
dir: "Test string",
|
|
1982
2002
|
revision: "Test string",
|
|
@@ -2595,6 +2615,11 @@ gapi.load('client', async () => {
|
|
|
2595
2615
|
],
|
|
2596
2616
|
serviceAccount: "Test string",
|
|
2597
2617
|
source: {
|
|
2618
|
+
connectedRepository: {
|
|
2619
|
+
dir: "Test string",
|
|
2620
|
+
repository: "Test string",
|
|
2621
|
+
revision: "Test string",
|
|
2622
|
+
},
|
|
2598
2623
|
gitSource: {
|
|
2599
2624
|
dir: "Test string",
|
|
2600
2625
|
revision: "Test string",
|
|
@@ -3120,6 +3145,11 @@ gapi.load('client', async () => {
|
|
|
3120
3145
|
],
|
|
3121
3146
|
serviceAccount: "Test string",
|
|
3122
3147
|
source: {
|
|
3148
|
+
connectedRepository: {
|
|
3149
|
+
dir: "Test string",
|
|
3150
|
+
repository: "Test string",
|
|
3151
|
+
revision: "Test string",
|
|
3152
|
+
},
|
|
3123
3153
|
gitSource: {
|
|
3124
3154
|
dir: "Test string",
|
|
3125
3155
|
revision: "Test string",
|