@maxim_mazurok/gapi.client.redis-v1 0.0.20250121 → 0.0.20250206
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.
- package/index.d.ts +21 -15
- package/package.json +1 -1
- 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:
|
|
12
|
+
// Revision: 20250206
|
|
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>;
|
|
@@ -345,6 +345,8 @@ declare namespace gapi.client {
|
|
|
345
345
|
resourceContainer?: string;
|
|
346
346
|
/** Required. Different from DatabaseResourceId.unique_id, a resource name can be reused over time. That is, after a resource named "ABC" is deleted, the name "ABC" can be used to to create a new resource within the same source. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel */
|
|
347
347
|
resourceName?: string;
|
|
348
|
+
/** Suspension reason for the resource. */
|
|
349
|
+
suspensionReason?: string;
|
|
348
350
|
/** Optional. Tags associated with this resources. */
|
|
349
351
|
tagsSet?: Tags;
|
|
350
352
|
/** The time at which the resource was updated and recorded at partner service. */
|
|
@@ -503,7 +505,7 @@ declare namespace gapi.client {
|
|
|
503
505
|
readReplicasMode?: string;
|
|
504
506
|
/** Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are: Redis version 3.2 and newer: * maxmemory-policy * notify-keyspace-events Redis version 4.0 and newer: * activedefrag * lfu-decay-time * lfu-log-factor * maxmemory-gb Redis version 5.0 and newer: * stream-node-max-bytes * stream-node-max-entries */
|
|
505
507
|
redisConfigs?: {[P in string]: string};
|
|
506
|
-
/** Optional. The version of Redis software. If not provided,
|
|
508
|
+
/** Optional. The version of Redis software. If not provided, the default version will be used. Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * `REDIS_4_0` for Redis 4.0 compatibility * `REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility * `REDIS_7_0` for Redis 7.0 compatibility (default) * `REDIS_7_2` for Redis 7.2 compatibility */
|
|
507
509
|
redisVersion?: string;
|
|
508
510
|
/** Optional. The number of replica nodes. The valid range for the Standard Tier with read replicas enabled is [1-5] and defaults to 2. If read replicas are not enabled for a Standard Tier instance, the only valid value is 1 and the default is 1. The valid value for basic tier is 0 and the default is also 0. */
|
|
509
511
|
replicaCount?: number;
|
|
@@ -537,6 +539,8 @@ declare namespace gapi.client {
|
|
|
537
539
|
backupConfiguration?: BackupConfiguration;
|
|
538
540
|
/** Information about the last backup attempt for this database */
|
|
539
541
|
backupRun?: BackupRun;
|
|
542
|
+
/** Whether deletion protection is enabled for this internal resource. */
|
|
543
|
+
isDeletionProtectionEnabled?: boolean;
|
|
540
544
|
product?: Product;
|
|
541
545
|
resourceId?: DatabaseResourceId;
|
|
542
546
|
/** Required. internal resource name for spanner this will be database name e.g."spanner.googleapis.com/projects/123/abc/instances/inst1/databases/db1" */
|
|
@@ -852,6 +856,8 @@ declare namespace gapi.client {
|
|
|
852
856
|
stringValue?: string;
|
|
853
857
|
}
|
|
854
858
|
interface UpdateInfo {
|
|
859
|
+
/** Target node type for redis cluster. */
|
|
860
|
+
targetNodeType?: string;
|
|
855
861
|
/** Target number of replica nodes per shard. */
|
|
856
862
|
targetReplicaCount?: number;
|
|
857
863
|
/** Target number of shards for redis cluster */
|
|
@@ -964,7 +970,7 @@ declare namespace gapi.client {
|
|
|
964
970
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
965
971
|
uploadType?: string;
|
|
966
972
|
},
|
|
967
|
-
body: ExportBackupRequest
|
|
973
|
+
body: ExportBackupRequest,
|
|
968
974
|
): Request<Operation>;
|
|
969
975
|
/** Gets the details of a specific backup. */
|
|
970
976
|
get(request?: {
|
|
@@ -1143,7 +1149,7 @@ declare namespace gapi.client {
|
|
|
1143
1149
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1144
1150
|
uploadType?: string;
|
|
1145
1151
|
},
|
|
1146
|
-
body: BackupClusterRequest
|
|
1152
|
+
body: BackupClusterRequest,
|
|
1147
1153
|
): Request<Operation>;
|
|
1148
1154
|
/** 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
1155
|
create(request: {
|
|
@@ -1209,7 +1215,7 @@ declare namespace gapi.client {
|
|
|
1209
1215
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1210
1216
|
uploadType?: string;
|
|
1211
1217
|
},
|
|
1212
|
-
body: Cluster
|
|
1218
|
+
body: Cluster,
|
|
1213
1219
|
): Request<Operation>;
|
|
1214
1220
|
/** Deletes a specific Redis cluster. Cluster stops serving and data is deleted. */
|
|
1215
1221
|
delete(request?: {
|
|
@@ -1389,7 +1395,7 @@ declare namespace gapi.client {
|
|
|
1389
1395
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1390
1396
|
uploadType?: string;
|
|
1391
1397
|
},
|
|
1392
|
-
body: Cluster
|
|
1398
|
+
body: Cluster,
|
|
1393
1399
|
): Request<Operation>;
|
|
1394
1400
|
/** Reschedules upcoming maintenance event. */
|
|
1395
1401
|
rescheduleClusterMaintenance(request: {
|
|
@@ -1447,7 +1453,7 @@ declare namespace gapi.client {
|
|
|
1447
1453
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1448
1454
|
uploadType?: string;
|
|
1449
1455
|
},
|
|
1450
|
-
body: RescheduleClusterMaintenanceRequest
|
|
1456
|
+
body: RescheduleClusterMaintenanceRequest,
|
|
1451
1457
|
): Request<Operation>;
|
|
1452
1458
|
}
|
|
1453
1459
|
interface InstancesResource {
|
|
@@ -1511,7 +1517,7 @@ declare namespace gapi.client {
|
|
|
1511
1517
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1512
1518
|
uploadType?: string;
|
|
1513
1519
|
},
|
|
1514
|
-
body: Instance
|
|
1520
|
+
body: Instance,
|
|
1515
1521
|
): Request<Operation>;
|
|
1516
1522
|
/** Deletes a specific Redis instance. Instance stops serving and data is deleted. */
|
|
1517
1523
|
delete(request?: {
|
|
@@ -1596,7 +1602,7 @@ declare namespace gapi.client {
|
|
|
1596
1602
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1597
1603
|
uploadType?: string;
|
|
1598
1604
|
},
|
|
1599
|
-
body: ExportInstanceRequest
|
|
1605
|
+
body: ExportInstanceRequest,
|
|
1600
1606
|
): Request<Operation>;
|
|
1601
1607
|
/** Initiates a failover of the primary node to current replica node for a specific STANDARD tier Cloud Memorystore for Redis instance. */
|
|
1602
1608
|
failover(request: {
|
|
@@ -1654,7 +1660,7 @@ declare namespace gapi.client {
|
|
|
1654
1660
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1655
1661
|
uploadType?: string;
|
|
1656
1662
|
},
|
|
1657
|
-
body: FailoverInstanceRequest
|
|
1663
|
+
body: FailoverInstanceRequest,
|
|
1658
1664
|
): Request<Operation>;
|
|
1659
1665
|
/** Gets the details of a specific Redis instance. */
|
|
1660
1666
|
get(request?: {
|
|
@@ -1766,7 +1772,7 @@ declare namespace gapi.client {
|
|
|
1766
1772
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1767
1773
|
uploadType?: string;
|
|
1768
1774
|
},
|
|
1769
|
-
body: ImportInstanceRequest
|
|
1775
|
+
body: ImportInstanceRequest,
|
|
1770
1776
|
): Request<Operation>;
|
|
1771
1777
|
/** 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
1778
|
list(request?: {
|
|
@@ -1859,7 +1865,7 @@ declare namespace gapi.client {
|
|
|
1859
1865
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1860
1866
|
uploadType?: string;
|
|
1861
1867
|
},
|
|
1862
|
-
body: Instance
|
|
1868
|
+
body: Instance,
|
|
1863
1869
|
): Request<Operation>;
|
|
1864
1870
|
/** Reschedule maintenance for a given instance in a given project and location. */
|
|
1865
1871
|
rescheduleMaintenance(request: {
|
|
@@ -1917,7 +1923,7 @@ declare namespace gapi.client {
|
|
|
1917
1923
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1918
1924
|
uploadType?: string;
|
|
1919
1925
|
},
|
|
1920
|
-
body: RescheduleMaintenanceRequest
|
|
1926
|
+
body: RescheduleMaintenanceRequest,
|
|
1921
1927
|
): Request<Operation>;
|
|
1922
1928
|
/** Upgrades Redis instance to the newer Redis version specified in the request. */
|
|
1923
1929
|
upgrade(request: {
|
|
@@ -1975,7 +1981,7 @@ declare namespace gapi.client {
|
|
|
1975
1981
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1976
1982
|
uploadType?: string;
|
|
1977
1983
|
},
|
|
1978
|
-
body: UpgradeInstanceRequest
|
|
1984
|
+
body: UpgradeInstanceRequest,
|
|
1979
1985
|
): Request<Operation>;
|
|
1980
1986
|
}
|
|
1981
1987
|
interface OperationsResource {
|
package/package.json
CHANGED
package/readme.md
CHANGED