@maxim_mazurok/gapi.client.cloudbuild-v2 0.0.20250114 → 0.0.20250129

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 +14 -14
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
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=v2
12
- // Revision: 20250114
12
+ // Revision: 20250129
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Cloud Build API v2 */
18
18
  function load(
19
- urlOrObject: 'https://cloudbuild.googleapis.com/$discovery/rest?version=v2'
19
+ urlOrObject: 'https://cloudbuild.googleapis.com/$discovery/rest?version=v2',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'cloudbuild', version: 'v2'): Promise<void>;
@@ -854,7 +854,7 @@ declare namespace gapi.client {
854
854
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
855
855
  uploadType?: string;
856
856
  },
857
- body: FetchReadTokenRequest
857
+ body: FetchReadTokenRequest,
858
858
  ): Request<FetchReadTokenResponse>;
859
859
  /** Fetches read/write token of a given repository. */
860
860
  accessReadWriteToken(request: {
@@ -912,7 +912,7 @@ declare namespace gapi.client {
912
912
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
913
913
  uploadType?: string;
914
914
  },
915
- body: FetchReadWriteTokenRequest
915
+ body: FetchReadWriteTokenRequest,
916
916
  ): Request<FetchReadWriteTokenResponse>;
917
917
  /** Creates multiple repositories inside a connection. */
918
918
  batchCreate(request: {
@@ -970,7 +970,7 @@ declare namespace gapi.client {
970
970
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
971
971
  uploadType?: string;
972
972
  },
973
- body: BatchCreateRepositoriesRequest
973
+ body: BatchCreateRepositoriesRequest,
974
974
  ): Request<Operation>;
975
975
  /** Creates a Repository. */
976
976
  create(request: {
@@ -1032,7 +1032,7 @@ declare namespace gapi.client {
1032
1032
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1033
1033
  uploadType?: string;
1034
1034
  },
1035
- body: Repository
1035
+ body: Repository,
1036
1036
  ): Request<Operation>;
1037
1037
  /** Deletes a single repository. */
1038
1038
  delete(request?: {
@@ -1220,7 +1220,7 @@ declare namespace gapi.client {
1220
1220
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1221
1221
  uploadType?: string;
1222
1222
  },
1223
- body: Connection
1223
+ body: Connection,
1224
1224
  ): Request<Operation>;
1225
1225
  /** Deletes a single connection. */
1226
1226
  delete(request?: {
@@ -1439,7 +1439,7 @@ declare namespace gapi.client {
1439
1439
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1440
1440
  uploadType?: string;
1441
1441
  },
1442
- body: Connection
1442
+ body: Connection,
1443
1443
  ): Request<Operation>;
1444
1444
  /** ProcessWebhook is called by the external SCM for notifying of events. */
1445
1445
  processWebhook(request: {
@@ -1467,7 +1467,7 @@ declare namespace gapi.client {
1467
1467
  upload_protocol?: string;
1468
1468
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1469
1469
  uploadType?: string;
1470
- /** Arbitrary additional key to find the maching repository for a webhook event if needed. */
1470
+ /** Arbitrary additional key to find the matching repository for a webhook event if needed. */
1471
1471
  webhookKey?: string;
1472
1472
  /** Request body */
1473
1473
  resource: HttpBody;
@@ -1498,10 +1498,10 @@ declare namespace gapi.client {
1498
1498
  upload_protocol?: string;
1499
1499
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1500
1500
  uploadType?: string;
1501
- /** Arbitrary additional key to find the maching repository for a webhook event if needed. */
1501
+ /** Arbitrary additional key to find the matching repository for a webhook event if needed. */
1502
1502
  webhookKey?: string;
1503
1503
  },
1504
- body: HttpBody
1504
+ body: HttpBody,
1505
1505
  ): Request<{}>;
1506
1506
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1507
1507
  setIamPolicy(
@@ -1531,7 +1531,7 @@ declare namespace gapi.client {
1531
1531
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1532
1532
  uploadType?: string;
1533
1533
  },
1534
- body: SetIamPolicyRequest
1534
+ body: SetIamPolicyRequest,
1535
1535
  ): Request<Policy>;
1536
1536
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
1537
1537
  testIamPermissions(
@@ -1561,7 +1561,7 @@ declare namespace gapi.client {
1561
1561
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1562
1562
  uploadType?: string;
1563
1563
  },
1564
- body: TestIamPermissionsRequest
1564
+ body: TestIamPermissionsRequest,
1565
1565
  ): Request<TestIamPermissionsResponse>;
1566
1566
  repositories: RepositoriesResource;
1567
1567
  }
@@ -1622,7 +1622,7 @@ declare namespace gapi.client {
1622
1622
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1623
1623
  uploadType?: string;
1624
1624
  },
1625
- body: CancelOperationRequest
1625
+ body: CancelOperationRequest,
1626
1626
  ): Request<{}>;
1627
1627
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
1628
1628
  get(request?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudbuild-v2",
3
- "version": "0.0.20250114",
3
+ "version": "0.0.20250129",
4
4
  "description": "TypeScript typings for Cloud Build API v2",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.cloudbuild
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -62,7 +62,7 @@ gapi.auth.authorize(
62
62
  } else {
63
63
  /* handle authorization error */
64
64
  }
65
- }
65
+ },
66
66
  );
67
67
  ```
68
68