@maxim_mazurok/gapi.client.redis-v1 0.2.20260616 → 0.3.20260616
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 +13 -51
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -67,9 +67,7 @@ declare namespace gapi.client {
|
|
|
67
67
|
interface AutomatedBackupConfig {
|
|
68
68
|
/** Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored. */
|
|
69
69
|
automatedBackupMode?:
|
|
70
|
-
| '
|
|
71
|
-
| 'DISABLED'
|
|
72
|
-
| 'ENABLED';
|
|
70
|
+
'AUTOMATED_BACKUP_MODE_UNSPECIFIED' | 'DISABLED' | 'ENABLED';
|
|
73
71
|
/** Optional. Trigger automated backups at a fixed frequency. */
|
|
74
72
|
fixedFrequencySchedule?: FixedFrequencySchedule;
|
|
75
73
|
/** Optional. How long to keep automated backups before the backups are deleted. The value should be between 1 day and 365 days. If not specified, the default value is 35 days. */
|
|
@@ -125,11 +123,7 @@ declare namespace gapi.client {
|
|
|
125
123
|
shardCount?: number;
|
|
126
124
|
/** Output only. State of the backup. */
|
|
127
125
|
state?:
|
|
128
|
-
| '
|
|
129
|
-
| 'CREATING'
|
|
130
|
-
| 'ACTIVE'
|
|
131
|
-
| 'DELETING'
|
|
132
|
-
| 'SUSPENDED';
|
|
126
|
+
'STATE_UNSPECIFIED' | 'CREATING' | 'ACTIVE' | 'DELETING' | 'SUSPENDED';
|
|
133
127
|
/** Output only. Total size of the backup in bytes. */
|
|
134
128
|
totalSizeBytes?: string;
|
|
135
129
|
/** Output only. System assigned unique identifier of the backup. */
|
|
@@ -313,11 +307,7 @@ declare namespace gapi.client {
|
|
|
313
307
|
sizeGb?: number;
|
|
314
308
|
/** Output only. The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED */
|
|
315
309
|
state?:
|
|
316
|
-
| '
|
|
317
|
-
| 'CREATING'
|
|
318
|
-
| 'ACTIVE'
|
|
319
|
-
| 'UPDATING'
|
|
320
|
-
| 'DELETING';
|
|
310
|
+
'STATE_UNSPECIFIED' | 'CREATING' | 'ACTIVE' | 'UPDATING' | 'DELETING';
|
|
321
311
|
/** Output only. Additional information about the current state of the cluster. */
|
|
322
312
|
stateInfo?: StateInfo;
|
|
323
313
|
/** Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster. */
|
|
@@ -408,10 +398,7 @@ declare namespace gapi.client {
|
|
|
408
398
|
interface CrossClusterReplicationConfig {
|
|
409
399
|
/** Output only. The role of the cluster in cross cluster replication. */
|
|
410
400
|
clusterRole?:
|
|
411
|
-
| '
|
|
412
|
-
| 'NONE'
|
|
413
|
-
| 'PRIMARY'
|
|
414
|
-
| 'SECONDARY';
|
|
401
|
+
'CLUSTER_ROLE_UNSPECIFIED' | 'NONE' | 'PRIMARY' | 'SECONDARY';
|
|
415
402
|
/** Output only. An output only view of all the member clusters participating in the cross cluster replication. This view will be provided by every member cluster irrespective of its cluster role(primary or secondary). A primary cluster can provide information about all the secondary clusters replicating from it. However, a secondary cluster only knows about the primary cluster from which it is replicating. However, for scenarios, where the primary cluster is unavailable(e.g. regional outage), a GetCluster request can be sent to any other member cluster and this field will list all the member clusters participating in cross cluster replication. */
|
|
416
403
|
membership?: Membership;
|
|
417
404
|
/** Details of the primary cluster that is used as the replication source for this secondary cluster. This field is only set for a secondary cluster. */
|
|
@@ -497,11 +484,7 @@ declare namespace gapi.client {
|
|
|
497
484
|
signalId?: string;
|
|
498
485
|
/** The severity of the signal, such as if it's a HIGH or LOW severity. */
|
|
499
486
|
signalSeverity?:
|
|
500
|
-
| '
|
|
501
|
-
| 'CRITICAL'
|
|
502
|
-
| 'HIGH'
|
|
503
|
-
| 'MEDIUM'
|
|
504
|
-
| 'LOW';
|
|
487
|
+
'SIGNAL_SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
|
|
505
488
|
/** Required. Type of signal, for example, `AVAILABLE_IN_MULTIPLE_ZONES`, `LOGGING_MOST_ERRORS`, etc. */
|
|
506
489
|
signalType?:
|
|
507
490
|
| 'SIGNAL_TYPE_UNSPECIFIED'
|
|
@@ -894,10 +877,7 @@ declare namespace gapi.client {
|
|
|
894
877
|
signalMetadataList?: SignalMetadata[];
|
|
895
878
|
/** Required. Output only. Signal state of the signal */
|
|
896
879
|
signalState?:
|
|
897
|
-
| '
|
|
898
|
-
| 'ACTIVE'
|
|
899
|
-
| 'INACTIVE'
|
|
900
|
-
| 'DISMISSED';
|
|
880
|
+
'SIGNAL_STATE_UNSPECIFIED' | 'ACTIVE' | 'INACTIVE' | 'DISMISSED';
|
|
901
881
|
/** Required. Signal type of the signal */
|
|
902
882
|
signalType?:
|
|
903
883
|
| 'SIGNAL_TYPE_UNSPECIFIED'
|
|
@@ -954,15 +934,10 @@ declare namespace gapi.client {
|
|
|
954
934
|
interface Entitlement {
|
|
955
935
|
/** The current state of user's accessibility to a feature/benefit. */
|
|
956
936
|
entitlementState?:
|
|
957
|
-
| '
|
|
958
|
-
| 'ENTITLED'
|
|
959
|
-
| 'REVOKED';
|
|
937
|
+
'ENTITLEMENT_STATE_UNSPECIFIED' | 'ENTITLED' | 'REVOKED';
|
|
960
938
|
/** An enum that represents the type of this entitlement. */
|
|
961
939
|
type?:
|
|
962
|
-
| '
|
|
963
|
-
| 'GEMINI'
|
|
964
|
-
| 'NATIVE'
|
|
965
|
-
| 'GCA_STANDARD';
|
|
940
|
+
'ENTITLEMENT_TYPE_UNSPECIFIED' | 'GEMINI' | 'NATIVE' | 'GCA_STANDARD';
|
|
966
941
|
}
|
|
967
942
|
interface ExportBackupRequest {
|
|
968
943
|
/** Google Cloud Storage bucket, like "my-bucket". */
|
|
@@ -1114,8 +1089,7 @@ declare namespace gapi.client {
|
|
|
1114
1089
|
statusMessage?: string;
|
|
1115
1090
|
/** Optional. reasons that causes instance in "SUSPENDED" state. */
|
|
1116
1091
|
suspensionReasons?:
|
|
1117
|
-
| '
|
|
1118
|
-
| 'CUSTOMER_MANAGED_KEY_ISSUE'[];
|
|
1092
|
+
'SUSPENSION_REASON_UNSPECIFIED' | 'CUSTOMER_MANAGED_KEY_ISSUE'[];
|
|
1119
1093
|
/** Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing" */
|
|
1120
1094
|
tags?: {[P in string]: string};
|
|
1121
1095
|
/** Required. The service tier of the instance. */
|
|
@@ -1288,11 +1262,7 @@ declare namespace gapi.client {
|
|
|
1288
1262
|
interface ObservabilityMetricData {
|
|
1289
1263
|
/** Required. Type of aggregation performed on the metric. */
|
|
1290
1264
|
aggregationType?:
|
|
1291
|
-
| '
|
|
1292
|
-
| 'PEAK'
|
|
1293
|
-
| 'P99'
|
|
1294
|
-
| 'P95'
|
|
1295
|
-
| 'CURRENT';
|
|
1265
|
+
'AGGREGATION_TYPE_UNSPECIFIED' | 'PEAK' | 'P99' | 'P95' | 'CURRENT';
|
|
1296
1266
|
/** Required. Type of metric like CPU, Memory, etc. */
|
|
1297
1267
|
metricType?:
|
|
1298
1268
|
| 'METRIC_TYPE_UNSPECIFIED'
|
|
@@ -1517,9 +1487,7 @@ declare namespace gapi.client {
|
|
|
1517
1487
|
interface RescheduleClusterMaintenanceRequest {
|
|
1518
1488
|
/** Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as well. */
|
|
1519
1489
|
rescheduleType?:
|
|
1520
|
-
| '
|
|
1521
|
-
| 'IMMEDIATE'
|
|
1522
|
-
| 'SPECIFIC_TIME';
|
|
1490
|
+
'RESCHEDULE_TYPE_UNSPECIFIED' | 'IMMEDIATE' | 'SPECIFIC_TIME';
|
|
1523
1491
|
/** Optional. Timestamp when the maintenance shall be rescheduled to if reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example `2012-11-15T16:19:00.094Z`. */
|
|
1524
1492
|
scheduleTime?: string;
|
|
1525
1493
|
}
|
|
@@ -1660,11 +1628,7 @@ declare namespace gapi.client {
|
|
|
1660
1628
|
name?: string;
|
|
1661
1629
|
/** Output only. The state of the token based auth user. */
|
|
1662
1630
|
state?:
|
|
1663
|
-
| '
|
|
1664
|
-
| 'ACTIVE'
|
|
1665
|
-
| 'CREATING'
|
|
1666
|
-
| 'UPDATING'
|
|
1667
|
-
| 'DELETING';
|
|
1631
|
+
'STATE_UNSPECIFIED' | 'ACTIVE' | 'CREATING' | 'UPDATING' | 'DELETING';
|
|
1668
1632
|
}
|
|
1669
1633
|
interface TypedValue {
|
|
1670
1634
|
/** For boolean value */
|
|
@@ -1724,9 +1688,7 @@ declare namespace gapi.client {
|
|
|
1724
1688
|
interface ZoneDistributionConfig {
|
|
1725
1689
|
/** Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not specified. */
|
|
1726
1690
|
mode?:
|
|
1727
|
-
| '
|
|
1728
|
-
| 'MULTI_ZONE'
|
|
1729
|
-
| 'SINGLE_ZONE';
|
|
1691
|
+
'ZONE_DISTRIBUTION_MODE_UNSPECIFIED' | 'MULTI_ZONE' | 'SINGLE_ZONE';
|
|
1730
1692
|
/** Optional. When SINGLE ZONE distribution is selected, zone field would be used to allocate all resources in that zone. This is not applicable to MULTI_ZONE, and would be ignored for MULTI_ZONE clusters. */
|
|
1731
1693
|
zone?: string;
|
|
1732
1694
|
/** Optional. Specify the zones of a multi-zone cluster where Redis Cluster allocates resources. This flag isn't applicable for single-zone clusters. */
|