@maxim_mazurok/gapi.client.redis-v1 0.3.20260709 → 0.3.20260720
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 +116 -1
- 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: 20260720
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -25,6 +25,10 @@ declare namespace gapi.client {
|
|
|
25
25
|
|
|
26
26
|
namespace redis {
|
|
27
27
|
interface AclPolicy {
|
|
28
|
+
/** Output only. The ACL policy attachment status for each attached cluster. */
|
|
29
|
+
clusterAclPolicyAttachments?: ClusterAclPolicyAttachment[];
|
|
30
|
+
/** Output only. The timestamp that the ACL policy was created. */
|
|
31
|
+
createTime?: string;
|
|
28
32
|
/** Output only. Etag for the ACL policy. */
|
|
29
33
|
etag?: string;
|
|
30
34
|
/** Identifier. Full resource path of the ACL policy. */
|
|
@@ -33,9 +37,43 @@ declare namespace gapi.client {
|
|
|
33
37
|
rules?: AclRule[];
|
|
34
38
|
/** Output only. The state of the ACL policy. */
|
|
35
39
|
state?: 'STATE_UNSPECIFIED' | 'ACTIVE' | 'UPDATING' | 'DELETING';
|
|
40
|
+
/** Output only. The timestamp that the ACL policy was last updated. */
|
|
41
|
+
updateTime?: string;
|
|
36
42
|
/** Output only. Deprecated: Used in drift resolution. */
|
|
37
43
|
version?: string;
|
|
38
44
|
}
|
|
45
|
+
interface AclPolicyInfo {
|
|
46
|
+
/** Output only. A list of status for various revisions of this ACL policy on the cluster. */
|
|
47
|
+
aclPolicyRevisionStatuses?: AclPolicyRevisionStatus[];
|
|
48
|
+
/** Output only. The resource name of the applied ACL policy. Format: "projects/{project}/locations/{location}/aclPolicies/{acl_policy}" */
|
|
49
|
+
appliedAclPolicy?: string;
|
|
50
|
+
/** Output only. The resource name of the applied ACL policy revision. Format: "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}" */
|
|
51
|
+
appliedAclPolicyRevision?: string;
|
|
52
|
+
/** Output only. The revision number of the applied ACL policy revision. */
|
|
53
|
+
appliedAclPolicyRevisionNumber?: string;
|
|
54
|
+
}
|
|
55
|
+
interface AclPolicyRevision {
|
|
56
|
+
/** Output only. A list of clusters that are attached to this ACL policy revision. */
|
|
57
|
+
attachedClusters?: string[];
|
|
58
|
+
/** Output only. The timestamp that the revision was created. */
|
|
59
|
+
createTime?: string;
|
|
60
|
+
/** Identifier. The name of the ACL policy revision. Format: "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}" */
|
|
61
|
+
name?: string;
|
|
62
|
+
/** Output only. The revision number of the ACL policy revision. */
|
|
63
|
+
revisionNumber?: string;
|
|
64
|
+
/** Output only. The snapshot of the ACL policy at the time of revision creation. */
|
|
65
|
+
snapshot?: AclPolicy;
|
|
66
|
+
}
|
|
67
|
+
interface AclPolicyRevisionStatus {
|
|
68
|
+
/** Output only. The resource name of the ACL policy revision this status refers to. Format: "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}" */
|
|
69
|
+
aclPolicyRevision?: string;
|
|
70
|
+
/** Output only. The revision number of the ACL policy revision this status refers to. */
|
|
71
|
+
aclPolicyRevisionNumber?: string;
|
|
72
|
+
/** Output only. Human-readable error message providing more details for FAILED states. */
|
|
73
|
+
errorMessage?: string;
|
|
74
|
+
/** Output only. AclPolicyRevision state. */
|
|
75
|
+
state?: 'STATE_UNSPECIFIED' | 'APPLYING' | 'APPLIED' | 'FAILED';
|
|
76
|
+
}
|
|
39
77
|
interface AclRule {
|
|
40
78
|
/** Required. The rule to be applied to the username. Ex: "on >password123 ~* +@all" The format of the rule is defined by Redis OSS: https://redis.io/docs/latest/operate/oss_and_stack/management/security/acl/ */
|
|
41
79
|
rule?: string;
|
|
@@ -211,6 +249,8 @@ declare namespace gapi.client {
|
|
|
211
249
|
interface Cluster {
|
|
212
250
|
/** Optional. The ACL policy to be applied to the cluster. */
|
|
213
251
|
aclPolicy?: string;
|
|
252
|
+
/** Output only. Details of the applied ACL policy. */
|
|
253
|
+
aclPolicyInfo?: AclPolicyInfo;
|
|
214
254
|
/** Optional. Output only. Deprecated: Indicates whether the ACL rules applied to the cluster are in sync. */
|
|
215
255
|
aclPolicyInSync?: boolean;
|
|
216
256
|
/** Optional. Immutable. Deprecated, do not use. */
|
|
@@ -320,6 +360,12 @@ declare namespace gapi.client {
|
|
|
320
360
|
/** Optional. This config will be used to determine how the customer wants us to distribute cluster resources within the region. */
|
|
321
361
|
zoneDistributionConfig?: ZoneDistributionConfig;
|
|
322
362
|
}
|
|
363
|
+
interface ClusterAclPolicyAttachment {
|
|
364
|
+
/** Output only. A list of status for various revisions of this ACL policy on the cluster. */
|
|
365
|
+
aclPolicyRevisionStatuses?: AclPolicyRevisionStatus[];
|
|
366
|
+
/** Output only. The resource name of the attached Cluster. Format: "projects/{project}/locations/{location}/clusters/{cluster}" */
|
|
367
|
+
cluster?: string;
|
|
368
|
+
}
|
|
323
369
|
interface ClusterEndpoint {
|
|
324
370
|
/** Required. A group of PSC connections. They are created in the same VPC network, one for each service attachment in the cluster. */
|
|
325
371
|
connections?: ConnectionDetail[];
|
|
@@ -1133,6 +1179,14 @@ declare namespace gapi.client {
|
|
|
1133
1179
|
/** Unordered list. Locations that could not be reached. */
|
|
1134
1180
|
unreachable?: string[];
|
|
1135
1181
|
}
|
|
1182
|
+
interface ListAclPolicyRevisionsResponse {
|
|
1183
|
+
/** A list of ACL policy revisions. */
|
|
1184
|
+
aclPolicyRevisions?: AclPolicyRevision[];
|
|
1185
|
+
/** Token to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
1186
|
+
nextPageToken?: string;
|
|
1187
|
+
/** Unordered list. Locations that could not be reached. */
|
|
1188
|
+
unreachable?: string[];
|
|
1189
|
+
}
|
|
1136
1190
|
interface ListAuthTokensResponse {
|
|
1137
1191
|
/** A list of auth tokens in the project. */
|
|
1138
1192
|
authTokens?: AuthToken[];
|
|
@@ -1696,6 +1750,66 @@ declare namespace gapi.client {
|
|
|
1696
1750
|
/** Optional. Specify the zones of a multi-zone cluster where Redis Cluster allocates resources. This flag isn't applicable for single-zone clusters. */
|
|
1697
1751
|
zones?: string[];
|
|
1698
1752
|
}
|
|
1753
|
+
interface RevisionsResource {
|
|
1754
|
+
/** Gets details of a specific ACL policy revision. */
|
|
1755
|
+
get(request?: {
|
|
1756
|
+
/** V1 error format. */
|
|
1757
|
+
'$.xgafv'?: '1' | '2';
|
|
1758
|
+
/** OAuth access token. */
|
|
1759
|
+
access_token?: string;
|
|
1760
|
+
/** Data format for response. */
|
|
1761
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1762
|
+
/** JSONP */
|
|
1763
|
+
callback?: string;
|
|
1764
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1765
|
+
fields?: string;
|
|
1766
|
+
/** 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. */
|
|
1767
|
+
key?: string;
|
|
1768
|
+
/** Required. Redis ACL policy revision resource name using the form: `projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}/revisions/{revision_id}` where `location_id` refers to a GCP region. */
|
|
1769
|
+
name: string;
|
|
1770
|
+
/** OAuth 2.0 token for the current user. */
|
|
1771
|
+
oauth_token?: string;
|
|
1772
|
+
/** Returns response with indentations and line breaks. */
|
|
1773
|
+
prettyPrint?: boolean;
|
|
1774
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1775
|
+
quotaUser?: string;
|
|
1776
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1777
|
+
upload_protocol?: string;
|
|
1778
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1779
|
+
uploadType?: string;
|
|
1780
|
+
}): Request<AclPolicyRevision>;
|
|
1781
|
+
/** Lists all ACL policy revisions in a given ACL policy. */
|
|
1782
|
+
list(request?: {
|
|
1783
|
+
/** V1 error format. */
|
|
1784
|
+
'$.xgafv'?: '1' | '2';
|
|
1785
|
+
/** OAuth access token. */
|
|
1786
|
+
access_token?: string;
|
|
1787
|
+
/** Data format for response. */
|
|
1788
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1789
|
+
/** JSONP */
|
|
1790
|
+
callback?: string;
|
|
1791
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1792
|
+
fields?: string;
|
|
1793
|
+
/** 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. */
|
|
1794
|
+
key?: string;
|
|
1795
|
+
/** OAuth 2.0 token for the current user. */
|
|
1796
|
+
oauth_token?: string;
|
|
1797
|
+
/** Optional. The maximum number of items to return. */
|
|
1798
|
+
pageSize?: number;
|
|
1799
|
+
/** Optional. The `next_page_token` value returned from a previous `ListAclPolicyRevisions` request, if any. */
|
|
1800
|
+
pageToken?: string;
|
|
1801
|
+
/** Required. The name of the ACL policy to list revisions for. Format: "projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}" */
|
|
1802
|
+
parent: string;
|
|
1803
|
+
/** Returns response with indentations and line breaks. */
|
|
1804
|
+
prettyPrint?: boolean;
|
|
1805
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1806
|
+
quotaUser?: string;
|
|
1807
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1808
|
+
upload_protocol?: string;
|
|
1809
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1810
|
+
uploadType?: string;
|
|
1811
|
+
}): Request<ListAclPolicyRevisionsResponse>;
|
|
1812
|
+
}
|
|
1699
1813
|
interface AclPoliciesResource {
|
|
1700
1814
|
/** Creates an ACL policy. The creation is executed synchronously and the policy is available for use immediately after the RPC returns. */
|
|
1701
1815
|
create(request: {
|
|
@@ -1918,6 +2032,7 @@ declare namespace gapi.client {
|
|
|
1918
2032
|
},
|
|
1919
2033
|
body: AclPolicy,
|
|
1920
2034
|
): Request<Operation>;
|
|
2035
|
+
revisions: RevisionsResource;
|
|
1921
2036
|
}
|
|
1922
2037
|
interface BackupsResource {
|
|
1923
2038
|
/** Deletes a specific backup. */
|