@maxim_mazurok/gapi.client.cloudbuild-v1 0.0.20230811 → 0.0.20230920

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 +25 -12
  2. package/package.json +1 -1
  3. package/tests.ts +77 -11
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: 20230811
12
+ // Revision: 20230920
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;
@@ -1413,7 +1420,7 @@ declare namespace gapi.client {
1413
1420
  string[];
1414
1421
  /**
1415
1422
  * 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)
1416
- * can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 4KB of data is stored.
1423
+ * can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 50KB of data is stored.
1417
1424
  */
1418
1425
  buildStepOutputs?:
1419
1426
  string[];
@@ -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;
@@ -4772,7 +4785,7 @@ declare namespace gapi.client {
4772
4785
  }): Request<Operation>;
4773
4786
  }
4774
4787
  interface TriggersResource {
4775
- /** Creates a new `BuildTrigger`. This API is experimental. */
4788
+ /** Creates a new `BuildTrigger`. */
4776
4789
  create(request: {
4777
4790
  /** V1 error format. */
4778
4791
  "$.xgafv"?:
@@ -4859,7 +4872,7 @@ declare namespace gapi.client {
4859
4872
  string;
4860
4873
  },
4861
4874
  body: BuildTrigger): Request<BuildTrigger>;
4862
- /** Deletes a `BuildTrigger` by its project ID and trigger ID. This API is experimental. */
4875
+ /** Deletes a `BuildTrigger` by its project ID and trigger ID. */
4863
4876
  delete(request?: {
4864
4877
  /** V1 error format. */
4865
4878
  "$.xgafv"?:
@@ -4904,7 +4917,7 @@ declare namespace gapi.client {
4904
4917
  uploadType?:
4905
4918
  string;
4906
4919
  }): Request<{}>;
4907
- /** Returns information about a `BuildTrigger`. This API is experimental. */
4920
+ /** Returns information about a `BuildTrigger`. */
4908
4921
  get(request?: {
4909
4922
  /** V1 error format. */
4910
4923
  "$.xgafv"?:
@@ -4949,7 +4962,7 @@ declare namespace gapi.client {
4949
4962
  uploadType?:
4950
4963
  string;
4951
4964
  }): Request<BuildTrigger>;
4952
- /** Lists existing `BuildTrigger`s. This API is experimental. */
4965
+ /** Lists existing `BuildTrigger`s. */
4953
4966
  list(request?: {
4954
4967
  /** V1 error format. */
4955
4968
  "$.xgafv"?:
@@ -4997,7 +5010,7 @@ declare namespace gapi.client {
4997
5010
  uploadType?:
4998
5011
  string;
4999
5012
  }): Request<ListBuildTriggersResponse>;
5000
- /** Updates a `BuildTrigger` by its project ID and trigger ID. This API is experimental. */
5013
+ /** Updates a `BuildTrigger` by its project ID and trigger ID. */
5001
5014
  patch(request: {
5002
5015
  /** V1 error format. */
5003
5016
  "$.xgafv"?:
@@ -5636,7 +5649,7 @@ declare namespace gapi.client {
5636
5649
  WorkerPoolsResource;
5637
5650
  }
5638
5651
  interface TriggersResource {
5639
- /** Creates a new `BuildTrigger`. This API is experimental. */
5652
+ /** Creates a new `BuildTrigger`. */
5640
5653
  create(request: {
5641
5654
  /** V1 error format. */
5642
5655
  "$.xgafv"?:
@@ -5723,7 +5736,7 @@ declare namespace gapi.client {
5723
5736
  string;
5724
5737
  },
5725
5738
  body: BuildTrigger): Request<BuildTrigger>;
5726
- /** Deletes a `BuildTrigger` by its project ID and trigger ID. This API is experimental. */
5739
+ /** Deletes a `BuildTrigger` by its project ID and trigger ID. */
5727
5740
  delete(request?: {
5728
5741
  /** V1 error format. */
5729
5742
  "$.xgafv"?:
@@ -5768,7 +5781,7 @@ declare namespace gapi.client {
5768
5781
  uploadType?:
5769
5782
  string;
5770
5783
  }): Request<{}>;
5771
- /** Returns information about a `BuildTrigger`. This API is experimental. */
5784
+ /** Returns information about a `BuildTrigger`. */
5772
5785
  get(request?: {
5773
5786
  /** V1 error format. */
5774
5787
  "$.xgafv"?:
@@ -5813,7 +5826,7 @@ declare namespace gapi.client {
5813
5826
  uploadType?:
5814
5827
  string;
5815
5828
  }): Request<BuildTrigger>;
5816
- /** Lists existing `BuildTrigger`s. This API is experimental. */
5829
+ /** Lists existing `BuildTrigger`s. */
5817
5830
  list(request?: {
5818
5831
  /** V1 error format. */
5819
5832
  "$.xgafv"?:
@@ -5861,7 +5874,7 @@ declare namespace gapi.client {
5861
5874
  uploadType?:
5862
5875
  string;
5863
5876
  }): Request<ListBuildTriggersResponse>;
5864
- /** Updates a `BuildTrigger` by its project ID and trigger ID. This API is experimental. */
5877
+ /** Updates a `BuildTrigger` by its project ID and trigger ID. */
5865
5878
  patch(request: {
5866
5879
  /** V1 error format. */
5867
5880
  "$.xgafv"?:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudbuild-v1",
3
- "version": "0.0.20230811",
3
+ "version": "0.0.20230920",
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: 20230811
6
+ // Revision: 20230920
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -339,6 +339,16 @@ gapi.load('client', async () => {
339
339
  ],
340
340
  }
341
341
  },
342
+ resolvedConnectedRepository: {
343
+ dir: "Test string",
344
+ repository: "Test string",
345
+ revision: "Test string",
346
+ },
347
+ resolvedGitSource: {
348
+ dir: "Test string",
349
+ revision: "Test string",
350
+ url: "Test string",
351
+ },
342
352
  resolvedRepoSource: {
343
353
  branchName: "Test string",
344
354
  commitSha: "Test string",
@@ -542,6 +552,7 @@ gapi.load('client', async () => {
542
552
  hostUri: "Test string",
543
553
  name: "Test string",
544
554
  peeredNetwork: "Test string",
555
+ peeredNetworkIpRange: "Test string",
545
556
  secrets: {
546
557
  adminAccessTokenVersionName: "Test string",
547
558
  readAccessTokenVersionName: "Test string",
@@ -582,6 +593,7 @@ gapi.load('client', async () => {
582
593
  hostUri: "Test string",
583
594
  name: "Test string",
584
595
  peeredNetwork: "Test string",
596
+ peeredNetworkIpRange: "Test string",
585
597
  secrets: {
586
598
  adminAccessTokenVersionName: "Test string",
587
599
  readAccessTokenVersionName: "Test string",
@@ -904,6 +916,16 @@ gapi.load('client', async () => {
904
916
  ],
905
917
  }
906
918
  },
919
+ resolvedConnectedRepository: {
920
+ dir: "Test string",
921
+ repository: "Test string",
922
+ revision: "Test string",
923
+ },
924
+ resolvedGitSource: {
925
+ dir: "Test string",
926
+ revision: "Test string",
927
+ url: "Test string",
928
+ },
907
929
  resolvedRepoSource: {
908
930
  branchName: "Test string",
909
931
  commitSha: "Test string",
@@ -1216,7 +1238,7 @@ gapi.load('client', async () => {
1216
1238
  await gapi.client.cloudbuild.projects.locations.operations.get({
1217
1239
  name: "Test string",
1218
1240
  });
1219
- /** Creates a new `BuildTrigger`. This API is experimental. */
1241
+ /** Creates a new `BuildTrigger`. */
1220
1242
  await gapi.client.cloudbuild.projects.locations.triggers.create({
1221
1243
  parent: "Test string",
1222
1244
  projectId: "Test string",
@@ -1239,6 +1261,7 @@ gapi.load('client', async () => {
1239
1261
  hostUri: "Test string",
1240
1262
  name: "Test string",
1241
1263
  peeredNetwork: "Test string",
1264
+ peeredNetworkIpRange: "Test string",
1242
1265
  secrets: {
1243
1266
  adminAccessTokenVersionName: "Test string",
1244
1267
  readAccessTokenVersionName: "Test string",
@@ -1505,6 +1528,16 @@ gapi.load('client', async () => {
1505
1528
  ],
1506
1529
  }
1507
1530
  },
1531
+ resolvedConnectedRepository: {
1532
+ dir: "Test string",
1533
+ repository: "Test string",
1534
+ revision: "Test string",
1535
+ },
1536
+ resolvedGitSource: {
1537
+ dir: "Test string",
1538
+ revision: "Test string",
1539
+ url: "Test string",
1540
+ },
1508
1541
  resolvedRepoSource: {
1509
1542
  branchName: "Test string",
1510
1543
  commitSha: "Test string",
@@ -1726,26 +1759,26 @@ gapi.load('client', async () => {
1726
1759
  state: "Test string",
1727
1760
  },
1728
1761
  });
1729
- /** Deletes a `BuildTrigger` by its project ID and trigger ID. This API is experimental. */
1762
+ /** Deletes a `BuildTrigger` by its project ID and trigger ID. */
1730
1763
  await gapi.client.cloudbuild.projects.locations.triggers.delete({
1731
1764
  name: "Test string",
1732
1765
  projectId: "Test string",
1733
1766
  triggerId: "Test string",
1734
1767
  });
1735
- /** Returns information about a `BuildTrigger`. This API is experimental. */
1768
+ /** Returns information about a `BuildTrigger`. */
1736
1769
  await gapi.client.cloudbuild.projects.locations.triggers.get({
1737
1770
  name: "Test string",
1738
1771
  projectId: "Test string",
1739
1772
  triggerId: "Test string",
1740
1773
  });
1741
- /** Lists existing `BuildTrigger`s. This API is experimental. */
1774
+ /** Lists existing `BuildTrigger`s. */
1742
1775
  await gapi.client.cloudbuild.projects.locations.triggers.list({
1743
1776
  pageSize: 42,
1744
1777
  pageToken: "Test string",
1745
1778
  parent: "Test string",
1746
1779
  projectId: "Test string",
1747
1780
  });
1748
- /** Updates a `BuildTrigger` by its project ID and trigger ID. This API is experimental. */
1781
+ /** Updates a `BuildTrigger` by its project ID and trigger ID. */
1749
1782
  await gapi.client.cloudbuild.projects.locations.triggers.patch({
1750
1783
  projectId: "Test string",
1751
1784
  resourceName: "Test string",
@@ -1770,6 +1803,7 @@ gapi.load('client', async () => {
1770
1803
  hostUri: "Test string",
1771
1804
  name: "Test string",
1772
1805
  peeredNetwork: "Test string",
1806
+ peeredNetworkIpRange: "Test string",
1773
1807
  secrets: {
1774
1808
  adminAccessTokenVersionName: "Test string",
1775
1809
  readAccessTokenVersionName: "Test string",
@@ -2036,6 +2070,16 @@ gapi.load('client', async () => {
2036
2070
  ],
2037
2071
  }
2038
2072
  },
2073
+ resolvedConnectedRepository: {
2074
+ dir: "Test string",
2075
+ repository: "Test string",
2076
+ revision: "Test string",
2077
+ },
2078
+ resolvedGitSource: {
2079
+ dir: "Test string",
2080
+ revision: "Test string",
2081
+ url: "Test string",
2082
+ },
2039
2083
  resolvedRepoSource: {
2040
2084
  branchName: "Test string",
2041
2085
  commitSha: "Test string",
@@ -2370,7 +2414,7 @@ gapi.load('client', async () => {
2370
2414
  uid: "Test string",
2371
2415
  updateTime: "Test string",
2372
2416
  });
2373
- /** Creates a new `BuildTrigger`. This API is experimental. */
2417
+ /** Creates a new `BuildTrigger`. */
2374
2418
  await gapi.client.cloudbuild.projects.triggers.create({
2375
2419
  parent: "Test string",
2376
2420
  projectId: "Test string",
@@ -2393,6 +2437,7 @@ gapi.load('client', async () => {
2393
2437
  hostUri: "Test string",
2394
2438
  name: "Test string",
2395
2439
  peeredNetwork: "Test string",
2440
+ peeredNetworkIpRange: "Test string",
2396
2441
  secrets: {
2397
2442
  adminAccessTokenVersionName: "Test string",
2398
2443
  readAccessTokenVersionName: "Test string",
@@ -2659,6 +2704,16 @@ gapi.load('client', async () => {
2659
2704
  ],
2660
2705
  }
2661
2706
  },
2707
+ resolvedConnectedRepository: {
2708
+ dir: "Test string",
2709
+ repository: "Test string",
2710
+ revision: "Test string",
2711
+ },
2712
+ resolvedGitSource: {
2713
+ dir: "Test string",
2714
+ revision: "Test string",
2715
+ url: "Test string",
2716
+ },
2662
2717
  resolvedRepoSource: {
2663
2718
  branchName: "Test string",
2664
2719
  commitSha: "Test string",
@@ -2880,26 +2935,26 @@ gapi.load('client', async () => {
2880
2935
  state: "Test string",
2881
2936
  },
2882
2937
  });
2883
- /** Deletes a `BuildTrigger` by its project ID and trigger ID. This API is experimental. */
2938
+ /** Deletes a `BuildTrigger` by its project ID and trigger ID. */
2884
2939
  await gapi.client.cloudbuild.projects.triggers.delete({
2885
2940
  name: "Test string",
2886
2941
  projectId: "Test string",
2887
2942
  triggerId: "Test string",
2888
2943
  });
2889
- /** Returns information about a `BuildTrigger`. This API is experimental. */
2944
+ /** Returns information about a `BuildTrigger`. */
2890
2945
  await gapi.client.cloudbuild.projects.triggers.get({
2891
2946
  name: "Test string",
2892
2947
  projectId: "Test string",
2893
2948
  triggerId: "Test string",
2894
2949
  });
2895
- /** Lists existing `BuildTrigger`s. This API is experimental. */
2950
+ /** Lists existing `BuildTrigger`s. */
2896
2951
  await gapi.client.cloudbuild.projects.triggers.list({
2897
2952
  pageSize: 42,
2898
2953
  pageToken: "Test string",
2899
2954
  parent: "Test string",
2900
2955
  projectId: "Test string",
2901
2956
  });
2902
- /** Updates a `BuildTrigger` by its project ID and trigger ID. This API is experimental. */
2957
+ /** Updates a `BuildTrigger` by its project ID and trigger ID. */
2903
2958
  await gapi.client.cloudbuild.projects.triggers.patch({
2904
2959
  projectId: "Test string",
2905
2960
  triggerId: "Test string",
@@ -2923,6 +2978,7 @@ gapi.load('client', async () => {
2923
2978
  hostUri: "Test string",
2924
2979
  name: "Test string",
2925
2980
  peeredNetwork: "Test string",
2981
+ peeredNetworkIpRange: "Test string",
2926
2982
  secrets: {
2927
2983
  adminAccessTokenVersionName: "Test string",
2928
2984
  readAccessTokenVersionName: "Test string",
@@ -3189,6 +3245,16 @@ gapi.load('client', async () => {
3189
3245
  ],
3190
3246
  }
3191
3247
  },
3248
+ resolvedConnectedRepository: {
3249
+ dir: "Test string",
3250
+ repository: "Test string",
3251
+ revision: "Test string",
3252
+ },
3253
+ resolvedGitSource: {
3254
+ dir: "Test string",
3255
+ revision: "Test string",
3256
+ url: "Test string",
3257
+ },
3192
3258
  resolvedRepoSource: {
3193
3259
  branchName: "Test string",
3194
3260
  commitSha: "Test string",