@maxim_mazurok/gapi.client.cloudbuild-v1 0.0.20250117 → 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 +37 -37
  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=v1
12
- // Revision: 20250117
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 v1 */
18
18
  function load(
19
- urlOrObject: 'https://cloudbuild.googleapis.com/$discovery/rest?version=v1'
19
+ urlOrObject: 'https://cloudbuild.googleapis.com/$discovery/rest?version=v1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'cloudbuild', version: 'v1'): Promise<void>;
@@ -1194,7 +1194,7 @@ declare namespace gapi.client {
1194
1194
  /** For GitHub Enterprise webhooks, this key is used to associate the webhook request with the GitHubEnterpriseConfig to use for validation. */
1195
1195
  webhookKey?: string;
1196
1196
  },
1197
- body: HttpBody
1197
+ body: HttpBody,
1198
1198
  ): Request<{}>;
1199
1199
  }
1200
1200
  interface LocationsResource {
@@ -1258,7 +1258,7 @@ declare namespace gapi.client {
1258
1258
  /** For GitHub Enterprise webhooks, this key is used to associate the webhook request with the GitHubEnterpriseConfig to use for validation. */
1259
1259
  webhookKey?: string;
1260
1260
  },
1261
- body: HttpBody
1261
+ body: HttpBody,
1262
1262
  ): Request<{}>;
1263
1263
  }
1264
1264
  interface OperationsResource {
@@ -1318,7 +1318,7 @@ declare namespace gapi.client {
1318
1318
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1319
1319
  uploadType?: string;
1320
1320
  },
1321
- body: CancelOperationRequest
1321
+ body: CancelOperationRequest,
1322
1322
  ): Request<{}>;
1323
1323
  /** 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. */
1324
1324
  get(request?: {
@@ -1405,7 +1405,7 @@ declare namespace gapi.client {
1405
1405
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1406
1406
  uploadType?: string;
1407
1407
  },
1408
- body: ApproveBuildRequest
1408
+ body: ApproveBuildRequest,
1409
1409
  ): Request<Operation>;
1410
1410
  /** Cancels a build in progress. */
1411
1411
  cancel(request: {
@@ -1467,7 +1467,7 @@ declare namespace gapi.client {
1467
1467
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1468
1468
  uploadType?: string;
1469
1469
  },
1470
- body: CancelBuildRequest
1470
+ body: CancelBuildRequest,
1471
1471
  ): Request<Build>;
1472
1472
  /** Starts a build with the specified configuration. This method returns a long-running `Operation`, which includes the build ID. Pass the build ID to `GetBuild` to determine the build status (such as `SUCCESS` or `FAILURE`). */
1473
1473
  create(request: {
@@ -1529,7 +1529,7 @@ declare namespace gapi.client {
1529
1529
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1530
1530
  uploadType?: string;
1531
1531
  },
1532
- body: Build
1532
+ body: Build,
1533
1533
  ): Request<Operation>;
1534
1534
  /** Returns information about a previously requested build. The `Build` that is returned includes its status (such as `SUCCESS`, `FAILURE`, or `WORKING`), and timing information. */
1535
1535
  get(request?: {
@@ -1657,7 +1657,7 @@ declare namespace gapi.client {
1657
1657
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1658
1658
  uploadType?: string;
1659
1659
  },
1660
- body: RetryBuildRequest
1660
+ body: RetryBuildRequest,
1661
1661
  ): Request<Operation>;
1662
1662
  }
1663
1663
  interface GithubEnterpriseConfigsResource {
@@ -1725,7 +1725,7 @@ declare namespace gapi.client {
1725
1725
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1726
1726
  uploadType?: string;
1727
1727
  },
1728
- body: GitHubEnterpriseConfig
1728
+ body: GitHubEnterpriseConfig,
1729
1729
  ): Request<Operation>;
1730
1730
  /** Delete an association between a GCP project and a GitHub Enterprise server. */
1731
1731
  delete(request?: {
@@ -1878,7 +1878,7 @@ declare namespace gapi.client {
1878
1878
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1879
1879
  uploadType?: string;
1880
1880
  },
1881
- body: GitHubEnterpriseConfig
1881
+ body: GitHubEnterpriseConfig,
1882
1882
  ): Request<Operation>;
1883
1883
  }
1884
1884
  interface ConnectedRepositoriesResource {
@@ -1938,7 +1938,7 @@ declare namespace gapi.client {
1938
1938
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1939
1939
  uploadType?: string;
1940
1940
  },
1941
- body: BatchCreateBitbucketServerConnectedRepositoriesRequest
1941
+ body: BatchCreateBitbucketServerConnectedRepositoriesRequest,
1942
1942
  ): Request<Operation>;
1943
1943
  }
1944
1944
  interface ReposResource {
@@ -2035,7 +2035,7 @@ declare namespace gapi.client {
2035
2035
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2036
2036
  uploadType?: string;
2037
2037
  },
2038
- body: BitbucketServerConfig
2038
+ body: BitbucketServerConfig,
2039
2039
  ): Request<Operation>;
2040
2040
  /** Delete a `BitbucketServerConfig`. This API is experimental. */
2041
2041
  delete(request?: {
@@ -2182,7 +2182,7 @@ declare namespace gapi.client {
2182
2182
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2183
2183
  uploadType?: string;
2184
2184
  },
2185
- body: BitbucketServerConfig
2185
+ body: BitbucketServerConfig,
2186
2186
  ): Request<Operation>;
2187
2187
  /** Remove a Bitbucket Server repository from a given BitbucketServerConfig's connected repositories. This API is experimental. */
2188
2188
  removeBitbucketServerConnectedRepository(request: {
@@ -2240,7 +2240,7 @@ declare namespace gapi.client {
2240
2240
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2241
2241
  uploadType?: string;
2242
2242
  },
2243
- body: RemoveBitbucketServerConnectedRepositoryRequest
2243
+ body: RemoveBitbucketServerConnectedRepositoryRequest,
2244
2244
  ): Request<{}>;
2245
2245
  connectedRepositories: ConnectedRepositoriesResource;
2246
2246
  repos: ReposResource;
@@ -2302,7 +2302,7 @@ declare namespace gapi.client {
2302
2302
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2303
2303
  uploadType?: string;
2304
2304
  },
2305
- body: ApproveBuildRequest
2305
+ body: ApproveBuildRequest,
2306
2306
  ): Request<Operation>;
2307
2307
  /** Cancels a build in progress. */
2308
2308
  cancel(request: {
@@ -2360,7 +2360,7 @@ declare namespace gapi.client {
2360
2360
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2361
2361
  uploadType?: string;
2362
2362
  },
2363
- body: CancelBuildRequest
2363
+ body: CancelBuildRequest,
2364
2364
  ): Request<Build>;
2365
2365
  /** Starts a build with the specified configuration. This method returns a long-running `Operation`, which includes the build ID. Pass the build ID to `GetBuild` to determine the build status (such as `SUCCESS` or `FAILURE`). */
2366
2366
  create(request: {
@@ -2422,7 +2422,7 @@ declare namespace gapi.client {
2422
2422
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2423
2423
  uploadType?: string;
2424
2424
  },
2425
- body: Build
2425
+ body: Build,
2426
2426
  ): Request<Operation>;
2427
2427
  /** Returns information about a previously requested build. The `Build` that is returned includes its status (such as `SUCCESS`, `FAILURE`, or `WORKING`), and timing information. */
2428
2428
  get(request?: {
@@ -2546,7 +2546,7 @@ declare namespace gapi.client {
2546
2546
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2547
2547
  uploadType?: string;
2548
2548
  },
2549
- body: RetryBuildRequest
2549
+ body: RetryBuildRequest,
2550
2550
  ): Request<Operation>;
2551
2551
  }
2552
2552
  interface GithubEnterpriseConfigsResource {
@@ -2614,7 +2614,7 @@ declare namespace gapi.client {
2614
2614
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2615
2615
  uploadType?: string;
2616
2616
  },
2617
- body: GitHubEnterpriseConfig
2617
+ body: GitHubEnterpriseConfig,
2618
2618
  ): Request<Operation>;
2619
2619
  /** Delete an association between a GCP project and a GitHub Enterprise server. */
2620
2620
  delete(request?: {
@@ -2767,7 +2767,7 @@ declare namespace gapi.client {
2767
2767
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2768
2768
  uploadType?: string;
2769
2769
  },
2770
- body: GitHubEnterpriseConfig
2770
+ body: GitHubEnterpriseConfig,
2771
2771
  ): Request<Operation>;
2772
2772
  }
2773
2773
  interface ConnectedRepositoriesResource {
@@ -2827,7 +2827,7 @@ declare namespace gapi.client {
2827
2827
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2828
2828
  uploadType?: string;
2829
2829
  },
2830
- body: BatchCreateGitLabConnectedRepositoriesRequest
2830
+ body: BatchCreateGitLabConnectedRepositoriesRequest,
2831
2831
  ): Request<Operation>;
2832
2832
  }
2833
2833
  interface ReposResource {
@@ -2924,7 +2924,7 @@ declare namespace gapi.client {
2924
2924
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2925
2925
  uploadType?: string;
2926
2926
  },
2927
- body: GitLabConfig
2927
+ body: GitLabConfig,
2928
2928
  ): Request<Operation>;
2929
2929
  /** Delete a `GitLabConfig`. This API is experimental */
2930
2930
  delete(request?: {
@@ -3071,7 +3071,7 @@ declare namespace gapi.client {
3071
3071
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3072
3072
  uploadType?: string;
3073
3073
  },
3074
- body: GitLabConfig
3074
+ body: GitLabConfig,
3075
3075
  ): Request<Operation>;
3076
3076
  /** Remove a GitLab repository from a given GitLabConfig's connected repositories. This API is experimental. */
3077
3077
  removeGitLabConnectedRepository(request: {
@@ -3129,7 +3129,7 @@ declare namespace gapi.client {
3129
3129
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3130
3130
  uploadType?: string;
3131
3131
  },
3132
- body: RemoveGitLabConnectedRepositoryRequest
3132
+ body: RemoveGitLabConnectedRepositoryRequest,
3133
3133
  ): Request<{}>;
3134
3134
  connectedRepositories: ConnectedRepositoriesResource;
3135
3135
  repos: ReposResource;
@@ -3191,7 +3191,7 @@ declare namespace gapi.client {
3191
3191
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3192
3192
  uploadType?: string;
3193
3193
  },
3194
- body: CancelOperationRequest
3194
+ body: CancelOperationRequest,
3195
3195
  ): Request<{}>;
3196
3196
  /** 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. */
3197
3197
  get(request?: {
@@ -3282,7 +3282,7 @@ declare namespace gapi.client {
3282
3282
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3283
3283
  uploadType?: string;
3284
3284
  },
3285
- body: BuildTrigger
3285
+ body: BuildTrigger,
3286
3286
  ): Request<BuildTrigger>;
3287
3287
  /** Deletes a `BuildTrigger` by its project ID and trigger ID. */
3288
3288
  delete(request?: {
@@ -3447,7 +3447,7 @@ declare namespace gapi.client {
3447
3447
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3448
3448
  uploadType?: string;
3449
3449
  },
3450
- body: BuildTrigger
3450
+ body: BuildTrigger,
3451
3451
  ): Request<BuildTrigger>;
3452
3452
  /** Runs a `BuildTrigger` at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path (ex. v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The POST request that does not include the location endpoint in the path can only be used when running global triggers. */
3453
3453
  run(request: {
@@ -3505,7 +3505,7 @@ declare namespace gapi.client {
3505
3505
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3506
3506
  uploadType?: string;
3507
3507
  },
3508
- body: RunBuildTriggerRequest
3508
+ body: RunBuildTriggerRequest,
3509
3509
  ): Request<Operation>;
3510
3510
  /** ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger. */
3511
3511
  webhook(request: {
@@ -3575,7 +3575,7 @@ declare namespace gapi.client {
3575
3575
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3576
3576
  uploadType?: string;
3577
3577
  },
3578
- body: HttpBody
3578
+ body: HttpBody,
3579
3579
  ): Request<{}>;
3580
3580
  }
3581
3581
  interface WorkerPoolsResource {
@@ -3643,7 +3643,7 @@ declare namespace gapi.client {
3643
3643
  /** Required. Immutable. The ID to use for the `WorkerPool`, which will become the final component of the resource name. This value should be 1-63 characters, and valid characters are /a-z-/. */
3644
3644
  workerPoolId?: string;
3645
3645
  },
3646
- body: WorkerPool
3646
+ body: WorkerPool,
3647
3647
  ): Request<Operation>;
3648
3648
  /** Deletes a `WorkerPool`. */
3649
3649
  delete(request?: {
@@ -3800,7 +3800,7 @@ declare namespace gapi.client {
3800
3800
  /** If set, validate the request and preview the response, but do not actually post it. */
3801
3801
  validateOnly?: boolean;
3802
3802
  },
3803
- body: WorkerPool
3803
+ body: WorkerPool,
3804
3804
  ): Request<Operation>;
3805
3805
  }
3806
3806
  interface LocationsResource {
@@ -3900,7 +3900,7 @@ declare namespace gapi.client {
3900
3900
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3901
3901
  uploadType?: string;
3902
3902
  },
3903
- body: BuildTrigger
3903
+ body: BuildTrigger,
3904
3904
  ): Request<BuildTrigger>;
3905
3905
  /** Deletes a `BuildTrigger` by its project ID and trigger ID. */
3906
3906
  delete(request?: {
@@ -4061,7 +4061,7 @@ declare namespace gapi.client {
4061
4061
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4062
4062
  uploadType?: string;
4063
4063
  },
4064
- body: BuildTrigger
4064
+ body: BuildTrigger,
4065
4065
  ): Request<BuildTrigger>;
4066
4066
  /** Runs a `BuildTrigger` at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path (ex. v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The POST request that does not include the location endpoint in the path can only be used when running global triggers. */
4067
4067
  run(request: {
@@ -4127,7 +4127,7 @@ declare namespace gapi.client {
4127
4127
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4128
4128
  uploadType?: string;
4129
4129
  },
4130
- body: RepoSource
4130
+ body: RepoSource,
4131
4131
  ): Request<Operation>;
4132
4132
  /** ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger. */
4133
4133
  webhook(request: {
@@ -4197,7 +4197,7 @@ declare namespace gapi.client {
4197
4197
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4198
4198
  uploadType?: string;
4199
4199
  },
4200
- body: HttpBody
4200
+ body: HttpBody,
4201
4201
  ): Request<{}>;
4202
4202
  }
4203
4203
  interface ProjectsResource {
@@ -4263,7 +4263,7 @@ declare namespace gapi.client {
4263
4263
  /** For GitHub Enterprise webhooks, this key is used to associate the webhook request with the GitHubEnterpriseConfig to use for validation. */
4264
4264
  webhookKey?: string;
4265
4265
  },
4266
- body: HttpBody
4266
+ body: HttpBody,
4267
4267
  ): Request<{}>;
4268
4268
  }
4269
4269
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudbuild-v1",
3
- "version": "0.0.20250117",
3
+ "version": "0.0.20250129",
4
4
  "description": "TypeScript typings for Cloud Build API v1",
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