@maxim_mazurok/gapi.client.redis-v1 0.0.20250121 → 0.0.20250123

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://redis.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250121
12
+ // Revision: 20250123
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Google Cloud Memorystore for Redis API v1 */
18
18
  function load(
19
- urlOrObject: 'https://redis.googleapis.com/$discovery/rest?version=v1'
19
+ urlOrObject: 'https://redis.googleapis.com/$discovery/rest?version=v1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'redis', version: 'v1'): Promise<void>;
@@ -964,7 +964,7 @@ declare namespace gapi.client {
964
964
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
965
965
  uploadType?: string;
966
966
  },
967
- body: ExportBackupRequest
967
+ body: ExportBackupRequest,
968
968
  ): Request<Operation>;
969
969
  /** Gets the details of a specific backup. */
970
970
  get(request?: {
@@ -1143,7 +1143,7 @@ declare namespace gapi.client {
1143
1143
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1144
1144
  uploadType?: string;
1145
1145
  },
1146
- body: BackupClusterRequest
1146
+ body: BackupClusterRequest,
1147
1147
  ): Request<Operation>;
1148
1148
  /** Creates a Redis cluster based on the specified properties. The creation is executed asynchronously and callers may check the returned operation to track its progress. Once the operation is completed the Redis cluster will be fully functional. The completed longrunning.Operation will contain the new cluster object in the response field. The returned operation is automatically deleted after a few hours, so there is no need to call DeleteOperation. */
1149
1149
  create(request: {
@@ -1209,7 +1209,7 @@ declare namespace gapi.client {
1209
1209
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1210
1210
  uploadType?: string;
1211
1211
  },
1212
- body: Cluster
1212
+ body: Cluster,
1213
1213
  ): Request<Operation>;
1214
1214
  /** Deletes a specific Redis cluster. Cluster stops serving and data is deleted. */
1215
1215
  delete(request?: {
@@ -1389,7 +1389,7 @@ declare namespace gapi.client {
1389
1389
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1390
1390
  uploadType?: string;
1391
1391
  },
1392
- body: Cluster
1392
+ body: Cluster,
1393
1393
  ): Request<Operation>;
1394
1394
  /** Reschedules upcoming maintenance event. */
1395
1395
  rescheduleClusterMaintenance(request: {
@@ -1447,7 +1447,7 @@ declare namespace gapi.client {
1447
1447
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1448
1448
  uploadType?: string;
1449
1449
  },
1450
- body: RescheduleClusterMaintenanceRequest
1450
+ body: RescheduleClusterMaintenanceRequest,
1451
1451
  ): Request<Operation>;
1452
1452
  }
1453
1453
  interface InstancesResource {
@@ -1511,7 +1511,7 @@ declare namespace gapi.client {
1511
1511
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1512
1512
  uploadType?: string;
1513
1513
  },
1514
- body: Instance
1514
+ body: Instance,
1515
1515
  ): Request<Operation>;
1516
1516
  /** Deletes a specific Redis instance. Instance stops serving and data is deleted. */
1517
1517
  delete(request?: {
@@ -1596,7 +1596,7 @@ declare namespace gapi.client {
1596
1596
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1597
1597
  uploadType?: string;
1598
1598
  },
1599
- body: ExportInstanceRequest
1599
+ body: ExportInstanceRequest,
1600
1600
  ): Request<Operation>;
1601
1601
  /** Initiates a failover of the primary node to current replica node for a specific STANDARD tier Cloud Memorystore for Redis instance. */
1602
1602
  failover(request: {
@@ -1654,7 +1654,7 @@ declare namespace gapi.client {
1654
1654
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1655
1655
  uploadType?: string;
1656
1656
  },
1657
- body: FailoverInstanceRequest
1657
+ body: FailoverInstanceRequest,
1658
1658
  ): Request<Operation>;
1659
1659
  /** Gets the details of a specific Redis instance. */
1660
1660
  get(request?: {
@@ -1766,7 +1766,7 @@ declare namespace gapi.client {
1766
1766
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1767
1767
  uploadType?: string;
1768
1768
  },
1769
- body: ImportInstanceRequest
1769
+ body: ImportInstanceRequest,
1770
1770
  ): Request<Operation>;
1771
1771
  /** Lists all Redis instances owned by a project in either the specified location (region) or all locations. The location should have the following format: * `projects/{project_id}/locations/{location_id}` If `location_id` is specified as `-` (wildcard), then all regions available to the project are queried, and the results are aggregated. */
1772
1772
  list(request?: {
@@ -1859,7 +1859,7 @@ declare namespace gapi.client {
1859
1859
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1860
1860
  uploadType?: string;
1861
1861
  },
1862
- body: Instance
1862
+ body: Instance,
1863
1863
  ): Request<Operation>;
1864
1864
  /** Reschedule maintenance for a given instance in a given project and location. */
1865
1865
  rescheduleMaintenance(request: {
@@ -1917,7 +1917,7 @@ declare namespace gapi.client {
1917
1917
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1918
1918
  uploadType?: string;
1919
1919
  },
1920
- body: RescheduleMaintenanceRequest
1920
+ body: RescheduleMaintenanceRequest,
1921
1921
  ): Request<Operation>;
1922
1922
  /** Upgrades Redis instance to the newer Redis version specified in the request. */
1923
1923
  upgrade(request: {
@@ -1975,7 +1975,7 @@ declare namespace gapi.client {
1975
1975
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1976
1976
  uploadType?: string;
1977
1977
  },
1978
- body: UpgradeInstanceRequest
1978
+ body: UpgradeInstanceRequest,
1979
1979
  ): Request<Operation>;
1980
1980
  }
1981
1981
  interface OperationsResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.redis-v1",
3
- "version": "0.0.20250121",
3
+ "version": "0.0.20250123",
4
4
  "description": "TypeScript typings for Google Cloud Memorystore for Redis 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.redis
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