@maxim_mazurok/gapi.client.composer-v1 0.0.20250115 → 0.0.20250127

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 +15 -15
  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://composer.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250115
12
+ // Revision: 20250127
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Cloud Composer API v1 */
18
18
  function load(
19
- urlOrObject: 'https://composer.googleapis.com/$discovery/rest?version=v1'
19
+ urlOrObject: 'https://composer.googleapis.com/$discovery/rest?version=v1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'composer', version: 'v1'): Promise<void>;
@@ -609,7 +609,7 @@ declare namespace gapi.client {
609
609
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
610
610
  uploadType?: string;
611
611
  },
612
- body: UserWorkloadsConfigMap
612
+ body: UserWorkloadsConfigMap,
613
613
  ): Request<UserWorkloadsConfigMap>;
614
614
  /** Deletes a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. */
615
615
  delete(request?: {
@@ -752,7 +752,7 @@ declare namespace gapi.client {
752
752
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
753
753
  uploadType?: string;
754
754
  },
755
- body: UserWorkloadsConfigMap
755
+ body: UserWorkloadsConfigMap,
756
756
  ): Request<UserWorkloadsConfigMap>;
757
757
  }
758
758
  interface UserWorkloadsSecretsResource {
@@ -812,7 +812,7 @@ declare namespace gapi.client {
812
812
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
813
813
  uploadType?: string;
814
814
  },
815
- body: UserWorkloadsSecret
815
+ body: UserWorkloadsSecret,
816
816
  ): Request<UserWorkloadsSecret>;
817
817
  /** Deletes a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. */
818
818
  delete(request?: {
@@ -955,7 +955,7 @@ declare namespace gapi.client {
955
955
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
956
956
  uploadType?: string;
957
957
  },
958
- body: UserWorkloadsSecret
958
+ body: UserWorkloadsSecret,
959
959
  ): Request<UserWorkloadsSecret>;
960
960
  }
961
961
  interface WorkloadsResource {
@@ -1050,7 +1050,7 @@ declare namespace gapi.client {
1050
1050
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1051
1051
  uploadType?: string;
1052
1052
  },
1053
- body: CheckUpgradeRequest
1053
+ body: CheckUpgradeRequest,
1054
1054
  ): Request<Operation>;
1055
1055
  /** Create a new environment. */
1056
1056
  create(request: {
@@ -1108,7 +1108,7 @@ declare namespace gapi.client {
1108
1108
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1109
1109
  uploadType?: string;
1110
1110
  },
1111
- body: Environment
1111
+ body: Environment,
1112
1112
  ): Request<Operation>;
1113
1113
  /** Triggers database failover (only for highly resilient environments). */
1114
1114
  databaseFailover(request: {
@@ -1166,7 +1166,7 @@ declare namespace gapi.client {
1166
1166
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1167
1167
  uploadType?: string;
1168
1168
  },
1169
- body: DatabaseFailoverRequest
1169
+ body: DatabaseFailoverRequest,
1170
1170
  ): Request<Operation>;
1171
1171
  /** Delete an environment. */
1172
1172
  delete(request?: {
@@ -1251,7 +1251,7 @@ declare namespace gapi.client {
1251
1251
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1252
1252
  uploadType?: string;
1253
1253
  },
1254
- body: ExecuteAirflowCommandRequest
1254
+ body: ExecuteAirflowCommandRequest,
1255
1255
  ): Request<ExecuteAirflowCommandResponse>;
1256
1256
  /** Fetches database properties. */
1257
1257
  fetchDatabaseProperties(request?: {
@@ -1394,7 +1394,7 @@ declare namespace gapi.client {
1394
1394
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1395
1395
  uploadType?: string;
1396
1396
  },
1397
- body: LoadSnapshotRequest
1397
+ body: LoadSnapshotRequest,
1398
1398
  ): Request<Operation>;
1399
1399
  /** Update an environment. */
1400
1400
  patch(request: {
@@ -1456,7 +1456,7 @@ declare namespace gapi.client {
1456
1456
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1457
1457
  uploadType?: string;
1458
1458
  },
1459
- body: Environment
1459
+ body: Environment,
1460
1460
  ): Request<Operation>;
1461
1461
  /** Polls Airflow CLI command execution and fetches logs. */
1462
1462
  pollAirflowCommand(request: {
@@ -1514,7 +1514,7 @@ declare namespace gapi.client {
1514
1514
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1515
1515
  uploadType?: string;
1516
1516
  },
1517
- body: PollAirflowCommandRequest
1517
+ body: PollAirflowCommandRequest,
1518
1518
  ): Request<PollAirflowCommandResponse>;
1519
1519
  /** 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
1520
  saveSnapshot(request: {
@@ -1572,7 +1572,7 @@ declare namespace gapi.client {
1572
1572
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1573
1573
  uploadType?: string;
1574
1574
  },
1575
- body: SaveSnapshotRequest
1575
+ body: SaveSnapshotRequest,
1576
1576
  ): Request<Operation>;
1577
1577
  /** Stops Airflow CLI command execution. */
1578
1578
  stopAirflowCommand(request: {
@@ -1630,7 +1630,7 @@ declare namespace gapi.client {
1630
1630
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1631
1631
  uploadType?: string;
1632
1632
  },
1633
- body: StopAirflowCommandRequest
1633
+ body: StopAirflowCommandRequest,
1634
1634
  ): Request<StopAirflowCommandResponse>;
1635
1635
  userWorkloadsConfigMaps: UserWorkloadsConfigMapsResource;
1636
1636
  userWorkloadsSecrets: UserWorkloadsSecretsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.composer-v1",
3
- "version": "0.0.20250115",
3
+ "version": "0.0.20250127",
4
4
  "description": "TypeScript typings for Cloud Composer 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.composer
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