@maxim_mazurok/gapi.client.composer-v1 0.0.20250412 → 0.0.20250513

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 (2) hide show
  1. package/index.d.ts +60 -1
  2. package/package.json +1 -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://composer.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250412
12
+ // Revision: 20250513
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -414,6 +414,7 @@ declare namespace gapi.client {
414
414
  /** Optional. The configuration for scheduled snapshot creation mechanism. */
415
415
  scheduledSnapshotsConfig?: ScheduledSnapshotsConfig;
416
416
  }
417
+ interface RestartWebServerRequest {}
417
418
  interface SaveSnapshotRequest {
418
419
  /** Location in a Cloud Storage where the snapshot is going to be stored, e.g.: "gs://my-bucket/snapshots". */
419
420
  snapshotLocation?: string;
@@ -1516,6 +1517,64 @@ declare namespace gapi.client {
1516
1517
  },
1517
1518
  body: PollAirflowCommandRequest,
1518
1519
  ): Request<PollAirflowCommandResponse>;
1520
+ /** Restart Airflow web server. */
1521
+ restartWebServer(request: {
1522
+ /** V1 error format. */
1523
+ '$.xgafv'?: string;
1524
+ /** OAuth access token. */
1525
+ access_token?: string;
1526
+ /** Data format for response. */
1527
+ alt?: string;
1528
+ /** JSONP */
1529
+ callback?: string;
1530
+ /** Selector specifying which fields to include in a partial response. */
1531
+ fields?: string;
1532
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1533
+ key?: string;
1534
+ /** Required. The resource name of the environment to restart the web server for, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
1535
+ name: string;
1536
+ /** OAuth 2.0 token for the current user. */
1537
+ oauth_token?: string;
1538
+ /** Returns response with indentations and line breaks. */
1539
+ prettyPrint?: boolean;
1540
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1541
+ quotaUser?: string;
1542
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1543
+ upload_protocol?: string;
1544
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1545
+ uploadType?: string;
1546
+ /** Request body */
1547
+ resource: RestartWebServerRequest;
1548
+ }): Request<Operation>;
1549
+ restartWebServer(
1550
+ request: {
1551
+ /** V1 error format. */
1552
+ '$.xgafv'?: string;
1553
+ /** OAuth access token. */
1554
+ access_token?: string;
1555
+ /** Data format for response. */
1556
+ alt?: string;
1557
+ /** JSONP */
1558
+ callback?: string;
1559
+ /** Selector specifying which fields to include in a partial response. */
1560
+ fields?: string;
1561
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1562
+ key?: string;
1563
+ /** Required. The resource name of the environment to restart the web server for, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
1564
+ name: string;
1565
+ /** OAuth 2.0 token for the current user. */
1566
+ oauth_token?: string;
1567
+ /** Returns response with indentations and line breaks. */
1568
+ prettyPrint?: boolean;
1569
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1570
+ quotaUser?: string;
1571
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1572
+ upload_protocol?: string;
1573
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1574
+ uploadType?: string;
1575
+ },
1576
+ body: RestartWebServerRequest,
1577
+ ): Request<Operation>;
1519
1578
  /** Creates a snapshots of a Cloud Composer environment. As a result of this operation, snapshot of environment's state is stored in a location specified in the SaveSnapshotRequest. */
1520
1579
  saveSnapshot(request: {
1521
1580
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.composer-v1",
3
- "version": "0.0.20250412",
3
+ "version": "0.0.20250513",
4
4
  "description": "TypeScript typings for Cloud Composer API v1",
5
5
  "repository": {
6
6
  "type": "git",