@maxim_mazurok/gapi.client.redis-v1 0.2.20260604 → 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 +47 -69
- 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://redis.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260616
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -33,7 +33,7 @@ declare namespace gapi.client {
|
|
|
33
33
|
rules?: AclRule[];
|
|
34
34
|
/** Output only. The state of the ACL policy. */
|
|
35
35
|
state?: 'STATE_UNSPECIFIED' | 'ACTIVE' | 'UPDATING' | 'DELETING';
|
|
36
|
-
/** Output only.
|
|
36
|
+
/** Output only. Deprecated: Used in drift resolution. */
|
|
37
37
|
version?: string;
|
|
38
38
|
}
|
|
39
39
|
interface AclRule {
|
|
@@ -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. */
|
|
@@ -217,7 +211,7 @@ declare namespace gapi.client {
|
|
|
217
211
|
interface Cluster {
|
|
218
212
|
/** Optional. The ACL policy to be applied to the cluster. */
|
|
219
213
|
aclPolicy?: string;
|
|
220
|
-
/** Optional. Output only. Indicates whether the ACL rules applied to the cluster are in sync
|
|
214
|
+
/** Optional. Output only. Deprecated: Indicates whether the ACL rules applied to the cluster are in sync. */
|
|
221
215
|
aclPolicyInSync?: boolean;
|
|
222
216
|
/** Optional. Immutable. Deprecated, do not use. */
|
|
223
217
|
allowFewerZonesDeployment?: boolean;
|
|
@@ -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. */
|
|
@@ -444,11 +431,15 @@ declare namespace gapi.client {
|
|
|
444
431
|
| 'CONFIG_BASED_SIGNAL_DATA'
|
|
445
432
|
| 'BACKUPDR_METADATA'
|
|
446
433
|
| 'DATABASE_RESOURCE_SIGNAL_DATA';
|
|
434
|
+
/** Observability metric data. */
|
|
447
435
|
observabilityMetricData?: ObservabilityMetricData;
|
|
436
|
+
/** Database resource recommendation signal data. */
|
|
448
437
|
recommendationSignalData?: DatabaseResourceRecommendationSignalData;
|
|
438
|
+
/** Database resource health signal data. */
|
|
449
439
|
resourceHealthSignalData?: DatabaseResourceHealthSignalData;
|
|
450
440
|
/** Primary key associated with the Resource. resource_id is available in individual feed level as well. */
|
|
451
441
|
resourceId?: DatabaseResourceId;
|
|
442
|
+
/** Database resource metadata. */
|
|
452
443
|
resourceMetadata?: DatabaseResourceMetadata;
|
|
453
444
|
/** Optional. If true, the feed won't be ingested by DB Center. This indicates that the feed is intentionally skipped. For example, BackupDR feeds are only needed for resources integrated with DB Center (e.g., CloudSQL, AlloyDB). Feeds for non-integrated resources (e.g., Compute Engine, Persistent Disk) can be skipped. */
|
|
454
445
|
skipIngestion?: boolean;
|
|
@@ -493,11 +484,7 @@ declare namespace gapi.client {
|
|
|
493
484
|
signalId?: string;
|
|
494
485
|
/** The severity of the signal, such as if it's a HIGH or LOW severity. */
|
|
495
486
|
signalSeverity?:
|
|
496
|
-
| '
|
|
497
|
-
| 'CRITICAL'
|
|
498
|
-
| 'HIGH'
|
|
499
|
-
| 'MEDIUM'
|
|
500
|
-
| 'LOW';
|
|
487
|
+
'SIGNAL_SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
|
|
501
488
|
/** Required. Type of signal, for example, `AVAILABLE_IN_MULTIPLE_ZONES`, `LOGGING_MOST_ERRORS`, etc. */
|
|
502
489
|
signalType?:
|
|
503
490
|
| 'SIGNAL_TYPE_UNSPECIFIED'
|
|
@@ -606,7 +593,10 @@ declare namespace gapi.client {
|
|
|
606
593
|
| 'SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES'
|
|
607
594
|
| 'SIGNAL_TYPE_EXTENDED_SUPPORT'
|
|
608
595
|
| 'SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE'
|
|
609
|
-
| 'SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE'
|
|
596
|
+
| 'SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE'
|
|
597
|
+
| 'SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK'
|
|
598
|
+
| 'SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME';
|
|
599
|
+
/** Required. The state of the signal, such as if it's ACTIVE or RESOLVED. */
|
|
610
600
|
state?: 'STATE_UNSPECIFIED' | 'ACTIVE' | 'RESOLVED' | 'MUTED';
|
|
611
601
|
}
|
|
612
602
|
interface DatabaseResourceId {
|
|
@@ -704,7 +694,9 @@ declare namespace gapi.client {
|
|
|
704
694
|
| 'MODE_UNSPECIFIED'
|
|
705
695
|
| 'MODE_NATIVE'
|
|
706
696
|
| 'MODE_MONGODB_COMPATIBLE'
|
|
707
|
-
| 'MODE_DATASTORE'
|
|
697
|
+
| 'MODE_DATASTORE'
|
|
698
|
+
| 'MODE_CLUSTER_ENABLED'
|
|
699
|
+
| 'MODE_CLUSTER_DISABLED'[];
|
|
708
700
|
/** Identifier for this resource's immediate parent/primary resource if the current resource is a replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional. */
|
|
709
701
|
primaryResourceId?: DatabaseResourceId;
|
|
710
702
|
/** Primary resource location. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional. */
|
|
@@ -864,7 +856,9 @@ declare namespace gapi.client {
|
|
|
864
856
|
| 'SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES'
|
|
865
857
|
| 'SIGNAL_TYPE_EXTENDED_SUPPORT'
|
|
866
858
|
| 'SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE'
|
|
867
|
-
| 'SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE'
|
|
859
|
+
| 'SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE'
|
|
860
|
+
| 'SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK'
|
|
861
|
+
| 'SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME';
|
|
868
862
|
}
|
|
869
863
|
interface DatabaseResourceSignalData {
|
|
870
864
|
/** Deprecated: Use signal_metadata_list instead. */
|
|
@@ -883,10 +877,7 @@ declare namespace gapi.client {
|
|
|
883
877
|
signalMetadataList?: SignalMetadata[];
|
|
884
878
|
/** Required. Output only. Signal state of the signal */
|
|
885
879
|
signalState?:
|
|
886
|
-
| '
|
|
887
|
-
| 'ACTIVE'
|
|
888
|
-
| 'INACTIVE'
|
|
889
|
-
| 'DISMISSED';
|
|
880
|
+
'SIGNAL_STATE_UNSPECIFIED' | 'ACTIVE' | 'INACTIVE' | 'DISMISSED';
|
|
890
881
|
/** Required. Signal type of the signal */
|
|
891
882
|
signalType?:
|
|
892
883
|
| 'SIGNAL_TYPE_UNSPECIFIED'
|
|
@@ -943,15 +934,10 @@ declare namespace gapi.client {
|
|
|
943
934
|
interface Entitlement {
|
|
944
935
|
/** The current state of user's accessibility to a feature/benefit. */
|
|
945
936
|
entitlementState?:
|
|
946
|
-
| '
|
|
947
|
-
| 'ENTITLED'
|
|
948
|
-
| 'REVOKED';
|
|
937
|
+
'ENTITLEMENT_STATE_UNSPECIFIED' | 'ENTITLED' | 'REVOKED';
|
|
949
938
|
/** An enum that represents the type of this entitlement. */
|
|
950
939
|
type?:
|
|
951
|
-
| '
|
|
952
|
-
| 'GEMINI'
|
|
953
|
-
| 'NATIVE'
|
|
954
|
-
| 'GCA_STANDARD';
|
|
940
|
+
'ENTITLEMENT_TYPE_UNSPECIFIED' | 'GEMINI' | 'NATIVE' | 'GCA_STANDARD';
|
|
955
941
|
}
|
|
956
942
|
interface ExportBackupRequest {
|
|
957
943
|
/** Google Cloud Storage bucket, like "my-bucket". */
|
|
@@ -1103,8 +1089,7 @@ declare namespace gapi.client {
|
|
|
1103
1089
|
statusMessage?: string;
|
|
1104
1090
|
/** Optional. reasons that causes instance in "SUSPENDED" state. */
|
|
1105
1091
|
suspensionReasons?:
|
|
1106
|
-
| '
|
|
1107
|
-
| 'CUSTOMER_MANAGED_KEY_ISSUE'[];
|
|
1092
|
+
'SUSPENSION_REASON_UNSPECIFIED' | 'CUSTOMER_MANAGED_KEY_ISSUE'[];
|
|
1108
1093
|
/** Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing" */
|
|
1109
1094
|
tags?: {[P in string]: string};
|
|
1110
1095
|
/** Required. The service tier of the instance. */
|
|
@@ -1126,6 +1111,7 @@ declare namespace gapi.client {
|
|
|
1126
1111
|
backupRun?: BackupRun;
|
|
1127
1112
|
/** Whether deletion protection is enabled for this internal resource. */
|
|
1128
1113
|
isDeletionProtectionEnabled?: boolean;
|
|
1114
|
+
/** The product this resource represents. */
|
|
1129
1115
|
product?: Product;
|
|
1130
1116
|
resourceId?: DatabaseResourceId;
|
|
1131
1117
|
/** Required. internal resource name for spanner this will be database name e.g."spanner.googleapis.com/projects/123/abc/instances/inst1/databases/db1" */
|
|
@@ -1142,7 +1128,7 @@ declare namespace gapi.client {
|
|
|
1142
1128
|
aclPolicies?: AclPolicy[];
|
|
1143
1129
|
/** Token to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
1144
1130
|
nextPageToken?: string;
|
|
1145
|
-
/** Locations that could not be reached. */
|
|
1131
|
+
/** Unordered list. Locations that could not be reached. */
|
|
1146
1132
|
unreachable?: string[];
|
|
1147
1133
|
}
|
|
1148
1134
|
interface ListAuthTokensResponse {
|
|
@@ -1276,11 +1262,7 @@ declare namespace gapi.client {
|
|
|
1276
1262
|
interface ObservabilityMetricData {
|
|
1277
1263
|
/** Required. Type of aggregation performed on the metric. */
|
|
1278
1264
|
aggregationType?:
|
|
1279
|
-
| '
|
|
1280
|
-
| 'PEAK'
|
|
1281
|
-
| 'P99'
|
|
1282
|
-
| 'P95'
|
|
1283
|
-
| 'CURRENT';
|
|
1265
|
+
'AGGREGATION_TYPE_UNSPECIFIED' | 'PEAK' | 'P99' | 'P95' | 'CURRENT';
|
|
1284
1266
|
/** Required. Type of metric like CPU, Memory, etc. */
|
|
1285
1267
|
metricType?:
|
|
1286
1268
|
| 'METRIC_TYPE_UNSPECIFIED'
|
|
@@ -1376,7 +1358,7 @@ declare namespace gapi.client {
|
|
|
1376
1358
|
| 'ENGINE_CLOUD_SPANNER_WITH_GOOGLESQL_DIALECT'
|
|
1377
1359
|
| 'ENGINE_MEMORYSTORE_FOR_REDIS'
|
|
1378
1360
|
| 'ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER'
|
|
1379
|
-
| '
|
|
1361
|
+
| 'ENGINE_MEMORYSTORE_FOR_VALKEY'
|
|
1380
1362
|
| 'ENGINE_OTHER'
|
|
1381
1363
|
| 'ENGINE_FIRESTORE_WITH_NATIVE_MODE'
|
|
1382
1364
|
| 'ENGINE_FIRESTORE_WITH_DATASTORE_MODE'
|
|
@@ -1505,9 +1487,7 @@ declare namespace gapi.client {
|
|
|
1505
1487
|
interface RescheduleClusterMaintenanceRequest {
|
|
1506
1488
|
/** Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as well. */
|
|
1507
1489
|
rescheduleType?:
|
|
1508
|
-
| '
|
|
1509
|
-
| 'IMMEDIATE'
|
|
1510
|
-
| 'SPECIFIC_TIME';
|
|
1490
|
+
'RESCHEDULE_TYPE_UNSPECIFIED' | 'IMMEDIATE' | 'SPECIFIC_TIME';
|
|
1511
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`. */
|
|
1512
1492
|
scheduleTime?: string;
|
|
1513
1493
|
}
|
|
@@ -1579,6 +1559,7 @@ declare namespace gapi.client {
|
|
|
1579
1559
|
interface RetentionSettings {
|
|
1580
1560
|
/** Duration based retention period i.e. 172800 seconds (2 days) */
|
|
1581
1561
|
durationBasedRetention?: string;
|
|
1562
|
+
/** Quantity based retention period i.e. 7 backups */
|
|
1582
1563
|
quantityBasedRetention?: number;
|
|
1583
1564
|
/** The unit that 'retained_backups' represents. */
|
|
1584
1565
|
retentionUnit?:
|
|
@@ -1587,6 +1568,7 @@ declare namespace gapi.client {
|
|
|
1587
1568
|
| 'TIME'
|
|
1588
1569
|
| 'DURATION'
|
|
1589
1570
|
| 'RETENTION_UNIT_OTHER';
|
|
1571
|
+
/** Duration based retention period i.e. 172800 seconds (2 days) */
|
|
1590
1572
|
timeBasedRetention?: string;
|
|
1591
1573
|
/** Timestamp based retention period i.e. 2024-05-01T00:00:00Z */
|
|
1592
1574
|
timestampBasedRetentionTime?: string;
|
|
@@ -1646,11 +1628,7 @@ declare namespace gapi.client {
|
|
|
1646
1628
|
name?: string;
|
|
1647
1629
|
/** Output only. The state of the token based auth user. */
|
|
1648
1630
|
state?:
|
|
1649
|
-
| '
|
|
1650
|
-
| 'ACTIVE'
|
|
1651
|
-
| 'CREATING'
|
|
1652
|
-
| 'UPDATING'
|
|
1653
|
-
| 'DELETING';
|
|
1631
|
+
'STATE_UNSPECIFIED' | 'ACTIVE' | 'CREATING' | 'UPDATING' | 'DELETING';
|
|
1654
1632
|
}
|
|
1655
1633
|
interface TypedValue {
|
|
1656
1634
|
/** For boolean value */
|
|
@@ -1710,20 +1688,20 @@ declare namespace gapi.client {
|
|
|
1710
1688
|
interface ZoneDistributionConfig {
|
|
1711
1689
|
/** Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not specified. */
|
|
1712
1690
|
mode?:
|
|
1713
|
-
| '
|
|
1714
|
-
| 'MULTI_ZONE'
|
|
1715
|
-
| 'SINGLE_ZONE';
|
|
1691
|
+
'ZONE_DISTRIBUTION_MODE_UNSPECIFIED' | 'MULTI_ZONE' | 'SINGLE_ZONE';
|
|
1716
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. */
|
|
1717
1693
|
zone?: string;
|
|
1694
|
+
/** Optional. Specify the zones of a multi-zone cluster where Redis Cluster allocates resources. This flag isn't applicable for single-zone clusters. */
|
|
1695
|
+
zones?: string[];
|
|
1718
1696
|
}
|
|
1719
1697
|
interface AclPoliciesResource {
|
|
1720
|
-
/** Creates an ACL
|
|
1698
|
+
/** Creates an ACL policy. The creation is executed synchronously and the policy is available for use immediately after the RPC returns. */
|
|
1721
1699
|
create(request: {
|
|
1722
1700
|
/** V1 error format. */
|
|
1723
1701
|
'$.xgafv'?: '1' | '2';
|
|
1724
1702
|
/** OAuth access token. */
|
|
1725
1703
|
access_token?: string;
|
|
1726
|
-
/** Required. The logical name of the ACL
|
|
1704
|
+
/** Required. The logical name of the ACL policy in the customer project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the customer project / location */
|
|
1727
1705
|
aclPolicyId?: string;
|
|
1728
1706
|
/** Data format for response. */
|
|
1729
1707
|
alt?: 'json' | 'media' | 'proto';
|
|
@@ -1756,7 +1734,7 @@ declare namespace gapi.client {
|
|
|
1756
1734
|
'$.xgafv'?: '1' | '2';
|
|
1757
1735
|
/** OAuth access token. */
|
|
1758
1736
|
access_token?: string;
|
|
1759
|
-
/** Required. The logical name of the ACL
|
|
1737
|
+
/** Required. The logical name of the ACL policy in the customer project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the customer project / location */
|
|
1760
1738
|
aclPolicyId?: string;
|
|
1761
1739
|
/** Data format for response. */
|
|
1762
1740
|
alt?: 'json' | 'media' | 'proto';
|
|
@@ -1783,7 +1761,7 @@ declare namespace gapi.client {
|
|
|
1783
1761
|
},
|
|
1784
1762
|
body: AclPolicy,
|
|
1785
1763
|
): Request<AclPolicy>;
|
|
1786
|
-
/** Deletes a specific
|
|
1764
|
+
/** Deletes a specific ACL policy. This action will delete the ACL policy and all the rules associated with it. An ACL policy cannot be deleted if it is attached to a cluster. */
|
|
1787
1765
|
delete(request?: {
|
|
1788
1766
|
/** V1 error format. */
|
|
1789
1767
|
'$.xgafv'?: '1' | '2';
|
|
@@ -1799,7 +1777,7 @@ declare namespace gapi.client {
|
|
|
1799
1777
|
fields?: string;
|
|
1800
1778
|
/** 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. */
|
|
1801
1779
|
key?: string;
|
|
1802
|
-
/** Required. Redis ACL
|
|
1780
|
+
/** Required. Redis ACL policy resource name using the form: `projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}` where `location_id` refers to a GCP region. */
|
|
1803
1781
|
name: string;
|
|
1804
1782
|
/** OAuth 2.0 token for the current user. */
|
|
1805
1783
|
oauth_token?: string;
|
|
@@ -1814,7 +1792,7 @@ declare namespace gapi.client {
|
|
|
1814
1792
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1815
1793
|
uploadType?: string;
|
|
1816
1794
|
}): Request<Operation>;
|
|
1817
|
-
/** Gets the details of a specific Redis Cluster ACL
|
|
1795
|
+
/** Gets the details of a specific Redis Cluster ACL policy. */
|
|
1818
1796
|
get(request?: {
|
|
1819
1797
|
/** V1 error format. */
|
|
1820
1798
|
'$.xgafv'?: '1' | '2';
|
|
@@ -1828,7 +1806,7 @@ declare namespace gapi.client {
|
|
|
1828
1806
|
fields?: string;
|
|
1829
1807
|
/** 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. */
|
|
1830
1808
|
key?: string;
|
|
1831
|
-
/** Required. Redis ACL
|
|
1809
|
+
/** Required. Redis ACL policy resource name using the form: `projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}` where `location_id` refers to a GCP region. */
|
|
1832
1810
|
name: string;
|
|
1833
1811
|
/** OAuth 2.0 token for the current user. */
|
|
1834
1812
|
oauth_token?: string;
|
|
@@ -1841,7 +1819,7 @@ declare namespace gapi.client {
|
|
|
1841
1819
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1842
1820
|
uploadType?: string;
|
|
1843
1821
|
}): Request<AclPolicy>;
|
|
1844
|
-
/** Lists all ACL
|
|
1822
|
+
/** Lists all ACL policies 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. */
|
|
1845
1823
|
list(request?: {
|
|
1846
1824
|
/** V1 error format. */
|
|
1847
1825
|
'$.xgafv'?: '1' | '2';
|
|
@@ -1861,7 +1839,7 @@ declare namespace gapi.client {
|
|
|
1861
1839
|
pageSize?: number;
|
|
1862
1840
|
/** Optional. The `next_page_token` value returned from a previous `ListAclPolicies` request, if any. */
|
|
1863
1841
|
pageToken?: string;
|
|
1864
|
-
/** Required. The resource name of the
|
|
1842
|
+
/** Required. The resource name of the ACL policy location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google Cloud region. */
|
|
1865
1843
|
parent: string;
|
|
1866
1844
|
/** Returns response with indentations and line breaks. */
|
|
1867
1845
|
prettyPrint?: boolean;
|
|
@@ -1872,7 +1850,7 @@ declare namespace gapi.client {
|
|
|
1872
1850
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1873
1851
|
uploadType?: string;
|
|
1874
1852
|
}): Request<ListAclPoliciesResponse>;
|
|
1875
|
-
/** Updates the ACL policy. The operation applies the updated ACL policy to all of the linked clusters. If Memorystore can apply the policy to all clusters, then the operation returns a SUCCESS status. If Memorystore can't apply the policy to all clusters, then to ensure eventual consistency, Memorystore uses reconciliation to apply the policy to the failed clusters. Completed longrunning.Operation will contain the new ACL
|
|
1853
|
+
/** Updates the ACL policy. The operation applies the updated ACL policy to all of the linked clusters. If Memorystore can apply the policy to all clusters, then the operation returns a SUCCESS status. If Memorystore can't apply the policy to all clusters, then to ensure eventual consistency, Memorystore uses reconciliation to apply the policy to the failed clusters. Completed longrunning.Operation will contain the new ACL policy object in the response field. */
|
|
1876
1854
|
patch(request: {
|
|
1877
1855
|
/** V1 error format. */
|
|
1878
1856
|
'$.xgafv'?: '1' | '2';
|