@maxim_mazurok/gapi.client.redis-v1 0.2.20260604 → 0.2.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 +34 -18
- 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 {
|
|
@@ -217,7 +217,7 @@ declare namespace gapi.client {
|
|
|
217
217
|
interface Cluster {
|
|
218
218
|
/** Optional. The ACL policy to be applied to the cluster. */
|
|
219
219
|
aclPolicy?: string;
|
|
220
|
-
/** Optional. Output only. Indicates whether the ACL rules applied to the cluster are in sync
|
|
220
|
+
/** Optional. Output only. Deprecated: Indicates whether the ACL rules applied to the cluster are in sync. */
|
|
221
221
|
aclPolicyInSync?: boolean;
|
|
222
222
|
/** Optional. Immutable. Deprecated, do not use. */
|
|
223
223
|
allowFewerZonesDeployment?: boolean;
|
|
@@ -444,11 +444,15 @@ declare namespace gapi.client {
|
|
|
444
444
|
| 'CONFIG_BASED_SIGNAL_DATA'
|
|
445
445
|
| 'BACKUPDR_METADATA'
|
|
446
446
|
| 'DATABASE_RESOURCE_SIGNAL_DATA';
|
|
447
|
+
/** Observability metric data. */
|
|
447
448
|
observabilityMetricData?: ObservabilityMetricData;
|
|
449
|
+
/** Database resource recommendation signal data. */
|
|
448
450
|
recommendationSignalData?: DatabaseResourceRecommendationSignalData;
|
|
451
|
+
/** Database resource health signal data. */
|
|
449
452
|
resourceHealthSignalData?: DatabaseResourceHealthSignalData;
|
|
450
453
|
/** Primary key associated with the Resource. resource_id is available in individual feed level as well. */
|
|
451
454
|
resourceId?: DatabaseResourceId;
|
|
455
|
+
/** Database resource metadata. */
|
|
452
456
|
resourceMetadata?: DatabaseResourceMetadata;
|
|
453
457
|
/** 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
458
|
skipIngestion?: boolean;
|
|
@@ -606,7 +610,10 @@ declare namespace gapi.client {
|
|
|
606
610
|
| 'SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES'
|
|
607
611
|
| 'SIGNAL_TYPE_EXTENDED_SUPPORT'
|
|
608
612
|
| 'SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE'
|
|
609
|
-
| 'SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE'
|
|
613
|
+
| 'SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE'
|
|
614
|
+
| 'SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK'
|
|
615
|
+
| 'SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME';
|
|
616
|
+
/** Required. The state of the signal, such as if it's ACTIVE or RESOLVED. */
|
|
610
617
|
state?: 'STATE_UNSPECIFIED' | 'ACTIVE' | 'RESOLVED' | 'MUTED';
|
|
611
618
|
}
|
|
612
619
|
interface DatabaseResourceId {
|
|
@@ -704,7 +711,9 @@ declare namespace gapi.client {
|
|
|
704
711
|
| 'MODE_UNSPECIFIED'
|
|
705
712
|
| 'MODE_NATIVE'
|
|
706
713
|
| 'MODE_MONGODB_COMPATIBLE'
|
|
707
|
-
| 'MODE_DATASTORE'
|
|
714
|
+
| 'MODE_DATASTORE'
|
|
715
|
+
| 'MODE_CLUSTER_ENABLED'
|
|
716
|
+
| 'MODE_CLUSTER_DISABLED'[];
|
|
708
717
|
/** 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
718
|
primaryResourceId?: DatabaseResourceId;
|
|
710
719
|
/** Primary resource location. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional. */
|
|
@@ -864,7 +873,9 @@ declare namespace gapi.client {
|
|
|
864
873
|
| 'SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES'
|
|
865
874
|
| 'SIGNAL_TYPE_EXTENDED_SUPPORT'
|
|
866
875
|
| 'SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE'
|
|
867
|
-
| 'SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE'
|
|
876
|
+
| 'SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE'
|
|
877
|
+
| 'SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK'
|
|
878
|
+
| 'SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME';
|
|
868
879
|
}
|
|
869
880
|
interface DatabaseResourceSignalData {
|
|
870
881
|
/** Deprecated: Use signal_metadata_list instead. */
|
|
@@ -1126,6 +1137,7 @@ declare namespace gapi.client {
|
|
|
1126
1137
|
backupRun?: BackupRun;
|
|
1127
1138
|
/** Whether deletion protection is enabled for this internal resource. */
|
|
1128
1139
|
isDeletionProtectionEnabled?: boolean;
|
|
1140
|
+
/** The product this resource represents. */
|
|
1129
1141
|
product?: Product;
|
|
1130
1142
|
resourceId?: DatabaseResourceId;
|
|
1131
1143
|
/** 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 +1154,7 @@ declare namespace gapi.client {
|
|
|
1142
1154
|
aclPolicies?: AclPolicy[];
|
|
1143
1155
|
/** Token to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
1144
1156
|
nextPageToken?: string;
|
|
1145
|
-
/** Locations that could not be reached. */
|
|
1157
|
+
/** Unordered list. Locations that could not be reached. */
|
|
1146
1158
|
unreachable?: string[];
|
|
1147
1159
|
}
|
|
1148
1160
|
interface ListAuthTokensResponse {
|
|
@@ -1376,7 +1388,7 @@ declare namespace gapi.client {
|
|
|
1376
1388
|
| 'ENGINE_CLOUD_SPANNER_WITH_GOOGLESQL_DIALECT'
|
|
1377
1389
|
| 'ENGINE_MEMORYSTORE_FOR_REDIS'
|
|
1378
1390
|
| 'ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER'
|
|
1379
|
-
| '
|
|
1391
|
+
| 'ENGINE_MEMORYSTORE_FOR_VALKEY'
|
|
1380
1392
|
| 'ENGINE_OTHER'
|
|
1381
1393
|
| 'ENGINE_FIRESTORE_WITH_NATIVE_MODE'
|
|
1382
1394
|
| 'ENGINE_FIRESTORE_WITH_DATASTORE_MODE'
|
|
@@ -1579,6 +1591,7 @@ declare namespace gapi.client {
|
|
|
1579
1591
|
interface RetentionSettings {
|
|
1580
1592
|
/** Duration based retention period i.e. 172800 seconds (2 days) */
|
|
1581
1593
|
durationBasedRetention?: string;
|
|
1594
|
+
/** Quantity based retention period i.e. 7 backups */
|
|
1582
1595
|
quantityBasedRetention?: number;
|
|
1583
1596
|
/** The unit that 'retained_backups' represents. */
|
|
1584
1597
|
retentionUnit?:
|
|
@@ -1587,6 +1600,7 @@ declare namespace gapi.client {
|
|
|
1587
1600
|
| 'TIME'
|
|
1588
1601
|
| 'DURATION'
|
|
1589
1602
|
| 'RETENTION_UNIT_OTHER';
|
|
1603
|
+
/** Duration based retention period i.e. 172800 seconds (2 days) */
|
|
1590
1604
|
timeBasedRetention?: string;
|
|
1591
1605
|
/** Timestamp based retention period i.e. 2024-05-01T00:00:00Z */
|
|
1592
1606
|
timestampBasedRetentionTime?: string;
|
|
@@ -1715,15 +1729,17 @@ declare namespace gapi.client {
|
|
|
1715
1729
|
| 'SINGLE_ZONE';
|
|
1716
1730
|
/** 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
1731
|
zone?: string;
|
|
1732
|
+
/** Optional. Specify the zones of a multi-zone cluster where Redis Cluster allocates resources. This flag isn't applicable for single-zone clusters. */
|
|
1733
|
+
zones?: string[];
|
|
1718
1734
|
}
|
|
1719
1735
|
interface AclPoliciesResource {
|
|
1720
|
-
/** Creates an ACL
|
|
1736
|
+
/** Creates an ACL policy. The creation is executed synchronously and the policy is available for use immediately after the RPC returns. */
|
|
1721
1737
|
create(request: {
|
|
1722
1738
|
/** V1 error format. */
|
|
1723
1739
|
'$.xgafv'?: '1' | '2';
|
|
1724
1740
|
/** OAuth access token. */
|
|
1725
1741
|
access_token?: string;
|
|
1726
|
-
/** Required. The logical name of the ACL
|
|
1742
|
+
/** 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
1743
|
aclPolicyId?: string;
|
|
1728
1744
|
/** Data format for response. */
|
|
1729
1745
|
alt?: 'json' | 'media' | 'proto';
|
|
@@ -1756,7 +1772,7 @@ declare namespace gapi.client {
|
|
|
1756
1772
|
'$.xgafv'?: '1' | '2';
|
|
1757
1773
|
/** OAuth access token. */
|
|
1758
1774
|
access_token?: string;
|
|
1759
|
-
/** Required. The logical name of the ACL
|
|
1775
|
+
/** 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
1776
|
aclPolicyId?: string;
|
|
1761
1777
|
/** Data format for response. */
|
|
1762
1778
|
alt?: 'json' | 'media' | 'proto';
|
|
@@ -1783,7 +1799,7 @@ declare namespace gapi.client {
|
|
|
1783
1799
|
},
|
|
1784
1800
|
body: AclPolicy,
|
|
1785
1801
|
): Request<AclPolicy>;
|
|
1786
|
-
/** Deletes a specific
|
|
1802
|
+
/** 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
1803
|
delete(request?: {
|
|
1788
1804
|
/** V1 error format. */
|
|
1789
1805
|
'$.xgafv'?: '1' | '2';
|
|
@@ -1799,7 +1815,7 @@ declare namespace gapi.client {
|
|
|
1799
1815
|
fields?: string;
|
|
1800
1816
|
/** 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
1817
|
key?: string;
|
|
1802
|
-
/** Required. Redis ACL
|
|
1818
|
+
/** 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
1819
|
name: string;
|
|
1804
1820
|
/** OAuth 2.0 token for the current user. */
|
|
1805
1821
|
oauth_token?: string;
|
|
@@ -1814,7 +1830,7 @@ declare namespace gapi.client {
|
|
|
1814
1830
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1815
1831
|
uploadType?: string;
|
|
1816
1832
|
}): Request<Operation>;
|
|
1817
|
-
/** Gets the details of a specific Redis Cluster ACL
|
|
1833
|
+
/** Gets the details of a specific Redis Cluster ACL policy. */
|
|
1818
1834
|
get(request?: {
|
|
1819
1835
|
/** V1 error format. */
|
|
1820
1836
|
'$.xgafv'?: '1' | '2';
|
|
@@ -1828,7 +1844,7 @@ declare namespace gapi.client {
|
|
|
1828
1844
|
fields?: string;
|
|
1829
1845
|
/** 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
1846
|
key?: string;
|
|
1831
|
-
/** Required. Redis ACL
|
|
1847
|
+
/** 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
1848
|
name: string;
|
|
1833
1849
|
/** OAuth 2.0 token for the current user. */
|
|
1834
1850
|
oauth_token?: string;
|
|
@@ -1841,7 +1857,7 @@ declare namespace gapi.client {
|
|
|
1841
1857
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1842
1858
|
uploadType?: string;
|
|
1843
1859
|
}): Request<AclPolicy>;
|
|
1844
|
-
/** Lists all ACL
|
|
1860
|
+
/** 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
1861
|
list(request?: {
|
|
1846
1862
|
/** V1 error format. */
|
|
1847
1863
|
'$.xgafv'?: '1' | '2';
|
|
@@ -1861,7 +1877,7 @@ declare namespace gapi.client {
|
|
|
1861
1877
|
pageSize?: number;
|
|
1862
1878
|
/** Optional. The `next_page_token` value returned from a previous `ListAclPolicies` request, if any. */
|
|
1863
1879
|
pageToken?: string;
|
|
1864
|
-
/** Required. The resource name of the
|
|
1880
|
+
/** 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
1881
|
parent: string;
|
|
1866
1882
|
/** Returns response with indentations and line breaks. */
|
|
1867
1883
|
prettyPrint?: boolean;
|
|
@@ -1872,7 +1888,7 @@ declare namespace gapi.client {
|
|
|
1872
1888
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1873
1889
|
uploadType?: string;
|
|
1874
1890
|
}): 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
|
|
1891
|
+
/** 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
1892
|
patch(request: {
|
|
1877
1893
|
/** V1 error format. */
|
|
1878
1894
|
'$.xgafv'?: '1' | '2';
|