@maxim_mazurok/gapi.client.cloudbuild-v1 0.0.20230907 → 0.0.20231011

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.
Files changed (3) hide show
  1. package/index.d.ts +17 -1
  2. package/package.json +1 -1
  3. package/tests.ts +79 -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: 20230907
12
+ // Revision: 20231011
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -177,6 +177,13 @@ declare namespace gapi.client {
177
177
  */
178
178
  peeredNetwork?:
179
179
  string;
180
+ /**
181
+ * Immutable. IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet
182
+ * prefix value. e.g. `192.168.0.0/29` would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size. `/16` would specify a prefix size of 16 bits, with an automatically
183
+ * determined IP within the peered VPC. If unspecified, a value of `/24` will be used. The field only has an effect if peered_network is set.
184
+ */
185
+ peeredNetworkIpRange?:
186
+ string;
180
187
  /** Required. Secret Manager secrets needed by the config. */
181
188
  secrets?:
182
189
  BitbucketServerSecrets;
@@ -1515,6 +1522,12 @@ declare namespace gapi.client {
1515
1522
  */
1516
1523
  fileHashes?:
1517
1524
  { [P in string]: FileHashes };
1525
+ /** Output only. A copy of the build's `source.connected_repository`, if exists, with any revisions resolved. */
1526
+ resolvedConnectedRepository?:
1527
+ ConnectedRepository;
1528
+ /** Output only. A copy of the build's `source.git_source`, if exists, with any revisions resolved. */
1529
+ resolvedGitSource?:
1530
+ GitSource;
1518
1531
  /** A copy of the build's `source.repo_source`, if exists, with any revisions resolved. */
1519
1532
  resolvedRepoSource?:
1520
1533
  RepoSource;
@@ -1549,6 +1562,9 @@ declare namespace gapi.client {
1549
1562
  /** Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. */
1550
1563
  object?:
1551
1564
  string;
1565
+ /** Optional. Option to specify the tool to fetch the source file for the build. */
1566
+ sourceFetcher?:
1567
+ string;
1552
1568
  }
1553
1569
  interface StorageSourceManifest {
1554
1570
  /** Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudbuild-v1",
3
- "version": "0.0.20230907",
3
+ "version": "0.0.20231011",
4
4
  "description": "TypeScript typings for Cloud Build API v1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230907
6
+ // Revision: 20231011
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -321,6 +321,7 @@ gapi.load('client', async () => {
321
321
  bucket: "Test string",
322
322
  generation: "Test string",
323
323
  object: "Test string",
324
+ sourceFetcher: "Test string",
324
325
  },
325
326
  storageSourceManifest: {
326
327
  bucket: "Test string",
@@ -339,6 +340,16 @@ gapi.load('client', async () => {
339
340
  ],
340
341
  }
341
342
  },
343
+ resolvedConnectedRepository: {
344
+ dir: "Test string",
345
+ repository: "Test string",
346
+ revision: "Test string",
347
+ },
348
+ resolvedGitSource: {
349
+ dir: "Test string",
350
+ revision: "Test string",
351
+ url: "Test string",
352
+ },
342
353
  resolvedRepoSource: {
343
354
  branchName: "Test string",
344
355
  commitSha: "Test string",
@@ -355,6 +366,7 @@ gapi.load('client', async () => {
355
366
  bucket: "Test string",
356
367
  generation: "Test string",
357
368
  object: "Test string",
369
+ sourceFetcher: "Test string",
358
370
  },
359
371
  resolvedStorageSourceManifest: {
360
372
  bucket: "Test string",
@@ -542,6 +554,7 @@ gapi.load('client', async () => {
542
554
  hostUri: "Test string",
543
555
  name: "Test string",
544
556
  peeredNetwork: "Test string",
557
+ peeredNetworkIpRange: "Test string",
545
558
  secrets: {
546
559
  adminAccessTokenVersionName: "Test string",
547
560
  readAccessTokenVersionName: "Test string",
@@ -582,6 +595,7 @@ gapi.load('client', async () => {
582
595
  hostUri: "Test string",
583
596
  name: "Test string",
584
597
  peeredNetwork: "Test string",
598
+ peeredNetworkIpRange: "Test string",
585
599
  secrets: {
586
600
  adminAccessTokenVersionName: "Test string",
587
601
  readAccessTokenVersionName: "Test string",
@@ -886,6 +900,7 @@ gapi.load('client', async () => {
886
900
  bucket: "Test string",
887
901
  generation: "Test string",
888
902
  object: "Test string",
903
+ sourceFetcher: "Test string",
889
904
  },
890
905
  storageSourceManifest: {
891
906
  bucket: "Test string",
@@ -904,6 +919,16 @@ gapi.load('client', async () => {
904
919
  ],
905
920
  }
906
921
  },
922
+ resolvedConnectedRepository: {
923
+ dir: "Test string",
924
+ repository: "Test string",
925
+ revision: "Test string",
926
+ },
927
+ resolvedGitSource: {
928
+ dir: "Test string",
929
+ revision: "Test string",
930
+ url: "Test string",
931
+ },
907
932
  resolvedRepoSource: {
908
933
  branchName: "Test string",
909
934
  commitSha: "Test string",
@@ -920,6 +945,7 @@ gapi.load('client', async () => {
920
945
  bucket: "Test string",
921
946
  generation: "Test string",
922
947
  object: "Test string",
948
+ sourceFetcher: "Test string",
923
949
  },
924
950
  resolvedStorageSourceManifest: {
925
951
  bucket: "Test string",
@@ -1239,6 +1265,7 @@ gapi.load('client', async () => {
1239
1265
  hostUri: "Test string",
1240
1266
  name: "Test string",
1241
1267
  peeredNetwork: "Test string",
1268
+ peeredNetworkIpRange: "Test string",
1242
1269
  secrets: {
1243
1270
  adminAccessTokenVersionName: "Test string",
1244
1271
  readAccessTokenVersionName: "Test string",
@@ -1487,6 +1514,7 @@ gapi.load('client', async () => {
1487
1514
  bucket: "Test string",
1488
1515
  generation: "Test string",
1489
1516
  object: "Test string",
1517
+ sourceFetcher: "Test string",
1490
1518
  },
1491
1519
  storageSourceManifest: {
1492
1520
  bucket: "Test string",
@@ -1505,6 +1533,16 @@ gapi.load('client', async () => {
1505
1533
  ],
1506
1534
  }
1507
1535
  },
1536
+ resolvedConnectedRepository: {
1537
+ dir: "Test string",
1538
+ repository: "Test string",
1539
+ revision: "Test string",
1540
+ },
1541
+ resolvedGitSource: {
1542
+ dir: "Test string",
1543
+ revision: "Test string",
1544
+ url: "Test string",
1545
+ },
1508
1546
  resolvedRepoSource: {
1509
1547
  branchName: "Test string",
1510
1548
  commitSha: "Test string",
@@ -1521,6 +1559,7 @@ gapi.load('client', async () => {
1521
1559
  bucket: "Test string",
1522
1560
  generation: "Test string",
1523
1561
  object: "Test string",
1562
+ sourceFetcher: "Test string",
1524
1563
  },
1525
1564
  resolvedStorageSourceManifest: {
1526
1565
  bucket: "Test string",
@@ -1770,6 +1809,7 @@ gapi.load('client', async () => {
1770
1809
  hostUri: "Test string",
1771
1810
  name: "Test string",
1772
1811
  peeredNetwork: "Test string",
1812
+ peeredNetworkIpRange: "Test string",
1773
1813
  secrets: {
1774
1814
  adminAccessTokenVersionName: "Test string",
1775
1815
  readAccessTokenVersionName: "Test string",
@@ -2018,6 +2058,7 @@ gapi.load('client', async () => {
2018
2058
  bucket: "Test string",
2019
2059
  generation: "Test string",
2020
2060
  object: "Test string",
2061
+ sourceFetcher: "Test string",
2021
2062
  },
2022
2063
  storageSourceManifest: {
2023
2064
  bucket: "Test string",
@@ -2036,6 +2077,16 @@ gapi.load('client', async () => {
2036
2077
  ],
2037
2078
  }
2038
2079
  },
2080
+ resolvedConnectedRepository: {
2081
+ dir: "Test string",
2082
+ repository: "Test string",
2083
+ revision: "Test string",
2084
+ },
2085
+ resolvedGitSource: {
2086
+ dir: "Test string",
2087
+ revision: "Test string",
2088
+ url: "Test string",
2089
+ },
2039
2090
  resolvedRepoSource: {
2040
2091
  branchName: "Test string",
2041
2092
  commitSha: "Test string",
@@ -2052,6 +2103,7 @@ gapi.load('client', async () => {
2052
2103
  bucket: "Test string",
2053
2104
  generation: "Test string",
2054
2105
  object: "Test string",
2106
+ sourceFetcher: "Test string",
2055
2107
  },
2056
2108
  resolvedStorageSourceManifest: {
2057
2109
  bucket: "Test string",
@@ -2393,6 +2445,7 @@ gapi.load('client', async () => {
2393
2445
  hostUri: "Test string",
2394
2446
  name: "Test string",
2395
2447
  peeredNetwork: "Test string",
2448
+ peeredNetworkIpRange: "Test string",
2396
2449
  secrets: {
2397
2450
  adminAccessTokenVersionName: "Test string",
2398
2451
  readAccessTokenVersionName: "Test string",
@@ -2641,6 +2694,7 @@ gapi.load('client', async () => {
2641
2694
  bucket: "Test string",
2642
2695
  generation: "Test string",
2643
2696
  object: "Test string",
2697
+ sourceFetcher: "Test string",
2644
2698
  },
2645
2699
  storageSourceManifest: {
2646
2700
  bucket: "Test string",
@@ -2659,6 +2713,16 @@ gapi.load('client', async () => {
2659
2713
  ],
2660
2714
  }
2661
2715
  },
2716
+ resolvedConnectedRepository: {
2717
+ dir: "Test string",
2718
+ repository: "Test string",
2719
+ revision: "Test string",
2720
+ },
2721
+ resolvedGitSource: {
2722
+ dir: "Test string",
2723
+ revision: "Test string",
2724
+ url: "Test string",
2725
+ },
2662
2726
  resolvedRepoSource: {
2663
2727
  branchName: "Test string",
2664
2728
  commitSha: "Test string",
@@ -2675,6 +2739,7 @@ gapi.load('client', async () => {
2675
2739
  bucket: "Test string",
2676
2740
  generation: "Test string",
2677
2741
  object: "Test string",
2742
+ sourceFetcher: "Test string",
2678
2743
  },
2679
2744
  resolvedStorageSourceManifest: {
2680
2745
  bucket: "Test string",
@@ -2923,6 +2988,7 @@ gapi.load('client', async () => {
2923
2988
  hostUri: "Test string",
2924
2989
  name: "Test string",
2925
2990
  peeredNetwork: "Test string",
2991
+ peeredNetworkIpRange: "Test string",
2926
2992
  secrets: {
2927
2993
  adminAccessTokenVersionName: "Test string",
2928
2994
  readAccessTokenVersionName: "Test string",
@@ -3171,6 +3237,7 @@ gapi.load('client', async () => {
3171
3237
  bucket: "Test string",
3172
3238
  generation: "Test string",
3173
3239
  object: "Test string",
3240
+ sourceFetcher: "Test string",
3174
3241
  },
3175
3242
  storageSourceManifest: {
3176
3243
  bucket: "Test string",
@@ -3189,6 +3256,16 @@ gapi.load('client', async () => {
3189
3256
  ],
3190
3257
  }
3191
3258
  },
3259
+ resolvedConnectedRepository: {
3260
+ dir: "Test string",
3261
+ repository: "Test string",
3262
+ revision: "Test string",
3263
+ },
3264
+ resolvedGitSource: {
3265
+ dir: "Test string",
3266
+ revision: "Test string",
3267
+ url: "Test string",
3268
+ },
3192
3269
  resolvedRepoSource: {
3193
3270
  branchName: "Test string",
3194
3271
  commitSha: "Test string",
@@ -3205,6 +3282,7 @@ gapi.load('client', async () => {
3205
3282
  bucket: "Test string",
3206
3283
  generation: "Test string",
3207
3284
  object: "Test string",
3285
+ sourceFetcher: "Test string",
3208
3286
  },
3209
3287
  resolvedStorageSourceManifest: {
3210
3288
  bucket: "Test string",