@maxim_mazurok/gapi.client.cloudbuild-v1 0.0.20230521 → 0.0.20230601

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 +22 -22
  2. package/package.json +1 -1
  3. package/tests.ts +7 -7
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: 20230521
12
+ // Revision: 20230601
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -71,7 +71,7 @@ declare namespace gapi.client {
71
71
  /** The file hash of the artifact. */
72
72
  fileHash?:
73
73
  FileHashes[];
74
- /** The path of an artifact in a Google Cloud Storage bucket, with the generation number. For example, `gs://mybucket/path/to/output.jar#generation`. */
74
+ /** The path of an artifact in a Cloud Storage bucket, with the generation number. For example, `gs://mybucket/path/to/output.jar#generation`. */
75
75
  location?:
76
76
  string;
77
77
  }
@@ -298,8 +298,8 @@ declare namespace gapi.client {
298
298
  images?:
299
299
  string[];
300
300
  /**
301
- * Google Cloud Storage bucket where logs should be written (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Logs file names will be
302
- * of the format `${logs_bucket}/log-${build_id}.txt`.
301
+ * Cloud Storage bucket where logs should be written (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Logs file names will be of the
302
+ * format `${logs_bucket}/log-${build_id}.txt`.
303
303
  */
304
304
  logsBucket?:
305
305
  string;
@@ -418,7 +418,7 @@ declare namespace gapi.client {
418
418
  /** Option to specify the logging mode, which determines if and where build logs are stored. */
419
419
  logging?:
420
420
  string;
421
- /** Option to define build log streaming behavior to Google Cloud Storage. */
421
+ /** Option to define build log streaming behavior to Cloud Storage. */
422
422
  logStreamingOption?:
423
423
  string;
424
424
  /** Compute Engine machine type on which to run the build. */
@@ -808,7 +808,7 @@ declare namespace gapi.client {
808
808
  path?:
809
809
  string;
810
810
  /**
811
- * The fully qualified resource name of the Repo API repository. Either uri or repository can be specified. If unspecified, the repo from which the trigger invocation originated is
811
+ * The fully qualified resource name of the Repos API repository. Either URI or repository can be specified. If unspecified, the repo from which the trigger invocation originated is
812
812
  * assumed to be the repo from which to read the specified path.
813
813
  */
814
814
  repository?:
@@ -1029,13 +1029,13 @@ declare namespace gapi.client {
1029
1029
  /** The branch or tag to use. Must start with "refs/" (required). */
1030
1030
  ref?:
1031
1031
  string;
1032
- /** The qualified resource name of the Repo API repository Either uri or repository can be specified and is required. */
1032
+ /** The connected repository resource name, in the format `projects/*‍/locations/*‍/connections/*‍/repositories/*`. Either `uri` or `repository` can be specified and is required. */
1033
1033
  repository?:
1034
1034
  string;
1035
1035
  /** See RepoType below. */
1036
1036
  repoType?:
1037
1037
  string;
1038
- /** The URI of the repo. Either uri or repository can be specified and is required. */
1038
+ /** The URI of the repo (e.g. https://github.com/user/repo.git). Either `uri` or `repository` can be specified and is required. */
1039
1039
  uri?:
1040
1040
  string;
1041
1041
  }
@@ -1477,11 +1477,11 @@ declare namespace gapi.client {
1477
1477
  /** If provided, get the source from this location in a Cloud Source Repository. */
1478
1478
  repoSource?:
1479
1479
  RepoSource;
1480
- /** If provided, get the source from this location in Google Cloud Storage. */
1480
+ /** If provided, get the source from this location in Cloud Storage. */
1481
1481
  storageSource?:
1482
1482
  StorageSource;
1483
1483
  /**
1484
- * If provided, get the source from this manifest in Google Cloud Storage. This feature is in Preview; see description
1484
+ * If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description
1485
1485
  * [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).
1486
1486
  */
1487
1487
  storageSourceManifest?:
@@ -1520,24 +1520,24 @@ declare namespace gapi.client {
1520
1520
  string;
1521
1521
  }
1522
1522
  interface StorageSource {
1523
- /** Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
1523
+ /** Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
1524
1524
  bucket?:
1525
1525
  string;
1526
- /** Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
1526
+ /** Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
1527
1527
  generation?:
1528
1528
  string;
1529
- /** Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. */
1529
+ /** Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. */
1530
1530
  object?:
1531
1531
  string;
1532
1532
  }
1533
1533
  interface StorageSourceManifest {
1534
- /** Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
1534
+ /** Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
1535
1535
  bucket?:
1536
1536
  string;
1537
- /** Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
1537
+ /** Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
1538
1538
  generation?:
1539
1539
  string;
1540
- /** Google Cloud Storage object containing the source manifest. This object must be a JSON file. */
1540
+ /** Cloud Storage object containing the source manifest. This object must be a JSON file. */
1541
1541
  object?:
1542
1542
  string;
1543
1543
  }
@@ -2364,9 +2364,9 @@ declare namespace gapi.client {
2364
2364
  * builds: * Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that
2365
2365
  * specify `RepoSource`: * If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the
2366
2366
  * original build. * If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify `StorageSource`: * If the
2367
- * original build pulled source from Google Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the
2368
- * original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which
2369
- * may or may not be available depending on the bucket's lifecycle management settings.
2367
+ * original build pulled source from Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original
2368
+ * build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or
2369
+ * may not be available depending on the bucket's lifecycle management settings.
2370
2370
  */
2371
2371
  retry(request: {
2372
2372
  /** V1 error format. */
@@ -3678,9 +3678,9 @@ declare namespace gapi.client {
3678
3678
  * builds: * Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that
3679
3679
  * specify `RepoSource`: * If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the
3680
3680
  * original build. * If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify `StorageSource`: * If the
3681
- * original build pulled source from Google Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the
3682
- * original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which
3683
- * may or may not be available depending on the bucket's lifecycle management settings.
3681
+ * original build pulled source from Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original
3682
+ * build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or
3683
+ * may not be available depending on the bucket's lifecycle management settings.
3684
3684
  */
3685
3685
  retry(request: {
3686
3686
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudbuild-v1",
3
- "version": "0.0.20230521",
3
+ "version": "0.0.20230601",
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: 20230521
6
+ // Revision: 20230601
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -440,9 +440,9 @@ gapi.load('client', async () => {
440
440
  * builds: * Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that
441
441
  * specify `RepoSource`: * If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the
442
442
  * original build. * If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify `StorageSource`: * If the
443
- * original build pulled source from Google Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the
444
- * original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may
445
- * or may not be available depending on the bucket's lifecycle management settings.
443
+ * original build pulled source from Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original
444
+ * build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may
445
+ * not be available depending on the bucket's lifecycle management settings.
446
446
  */
447
447
  await gapi.client.cloudbuild.projects.builds.retry({
448
448
  id: "Test string",
@@ -998,9 +998,9 @@ gapi.load('client', async () => {
998
998
  * builds: * Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that
999
999
  * specify `RepoSource`: * If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the
1000
1000
  * original build. * If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify `StorageSource`: * If the
1001
- * original build pulled source from Google Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the
1002
- * original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may
1003
- * or may not be available depending on the bucket's lifecycle management settings.
1001
+ * original build pulled source from Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original
1002
+ * build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may
1003
+ * not be available depending on the bucket's lifecycle management settings.
1004
1004
  */
1005
1005
  await gapi.client.cloudbuild.projects.locations.builds.retry({
1006
1006
  name: "Test string",