google-apis-redis_v1 0.87.0 → 0.89.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/redis_v1/classes.rb +358 -15
- data/lib/google/apis/redis_v1/gem_version.rb +2 -2
- data/lib/google/apis/redis_v1/representations.rb +160 -0
- data/lib/google/apis/redis_v1/service.rb +535 -6
- data/lib/google/apis/redis_v1.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 02562bebfd9239b2a52318469e2bf8b834b6b0e96ab60fe2f6d11af9b37e47fd
|
|
4
|
+
data.tar.gz: 9f9521064b15a22ab2a9f88a04168b9b4251424d066e1921f5df2f4fc46be7d6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 522ecfe52592800a4049f31218a4f0c102fee5d3632d60461f6c9c480ffce205ae70106ac024895d0b60e5b3858591f9e08990b12c5eeaa0836e384e5b3c3d48
|
|
7
|
+
data.tar.gz: 7f7cb43cfeadd3b41f27dd5c32c79aaa5a1e5a6a2b0aacf74053ec24f0c631a4db0c9099e6528d77799bf04d4cae9be33a5b0aeb08670e4f79999adc4c0bb145
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-redis_v1
|
|
2
2
|
|
|
3
|
+
### v0.89.0 (2026-04-19)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260406
|
|
6
|
+
|
|
7
|
+
### v0.88.0 (2026-03-15)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260309
|
|
10
|
+
|
|
3
11
|
### v0.87.0 (2026-02-15)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260210
|
|
@@ -41,6 +41,155 @@ module Google
|
|
|
41
41
|
end
|
|
42
42
|
end
|
|
43
43
|
|
|
44
|
+
# The ACL policy resource.
|
|
45
|
+
class AclPolicy
|
|
46
|
+
include Google::Apis::Core::Hashable
|
|
47
|
+
|
|
48
|
+
# Output only. Etag for the ACL policy.
|
|
49
|
+
# Corresponds to the JSON property `etag`
|
|
50
|
+
# @return [String]
|
|
51
|
+
attr_accessor :etag
|
|
52
|
+
|
|
53
|
+
# Identifier. Full resource path of the ACL policy.
|
|
54
|
+
# Corresponds to the JSON property `name`
|
|
55
|
+
# @return [String]
|
|
56
|
+
attr_accessor :name
|
|
57
|
+
|
|
58
|
+
# Required. The ACL rules within the ACL policy.
|
|
59
|
+
# Corresponds to the JSON property `rules`
|
|
60
|
+
# @return [Array<Google::Apis::RedisV1::AclRule>]
|
|
61
|
+
attr_accessor :rules
|
|
62
|
+
|
|
63
|
+
# Output only. The state of the ACL policy.
|
|
64
|
+
# Corresponds to the JSON property `state`
|
|
65
|
+
# @return [String]
|
|
66
|
+
attr_accessor :state
|
|
67
|
+
|
|
68
|
+
# Output only. The version of the ACL policy. Used in drift resolution.
|
|
69
|
+
# Corresponds to the JSON property `version`
|
|
70
|
+
# @return [Fixnum]
|
|
71
|
+
attr_accessor :version
|
|
72
|
+
|
|
73
|
+
def initialize(**args)
|
|
74
|
+
update!(**args)
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Update properties of this object
|
|
78
|
+
def update!(**args)
|
|
79
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
80
|
+
@name = args[:name] if args.key?(:name)
|
|
81
|
+
@rules = args[:rules] if args.key?(:rules)
|
|
82
|
+
@state = args[:state] if args.key?(:state)
|
|
83
|
+
@version = args[:version] if args.key?(:version)
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
# A single ACL rule which defines the policy for a user.
|
|
88
|
+
class AclRule
|
|
89
|
+
include Google::Apis::Core::Hashable
|
|
90
|
+
|
|
91
|
+
# Required. The rule to be applied to the username. Ex: "on >password123 ~* +@
|
|
92
|
+
# all" The format of the rule is defined by Redis OSS: https://redis.io/docs/
|
|
93
|
+
# latest/operate/oss_and_stack/management/security/acl/
|
|
94
|
+
# Corresponds to the JSON property `rule`
|
|
95
|
+
# @return [String]
|
|
96
|
+
attr_accessor :rule
|
|
97
|
+
|
|
98
|
+
# Required. Specifies the IAM user or service account to be added to the ACL
|
|
99
|
+
# policy. This username will be directly set on the Redis OSS.
|
|
100
|
+
# Corresponds to the JSON property `username`
|
|
101
|
+
# @return [String]
|
|
102
|
+
attr_accessor :username
|
|
103
|
+
|
|
104
|
+
def initialize(**args)
|
|
105
|
+
update!(**args)
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# Update properties of this object
|
|
109
|
+
def update!(**args)
|
|
110
|
+
@rule = args[:rule] if args.key?(:rule)
|
|
111
|
+
@username = args[:username] if args.key?(:username)
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
# Request message for AddAuthToken.
|
|
116
|
+
class AddAuthTokenRequest
|
|
117
|
+
include Google::Apis::Core::Hashable
|
|
118
|
+
|
|
119
|
+
# Auth token for the cluster.
|
|
120
|
+
# Corresponds to the JSON property `authToken`
|
|
121
|
+
# @return [Google::Apis::RedisV1::AuthToken]
|
|
122
|
+
attr_accessor :auth_token
|
|
123
|
+
|
|
124
|
+
def initialize(**args)
|
|
125
|
+
update!(**args)
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
# Update properties of this object
|
|
129
|
+
def update!(**args)
|
|
130
|
+
@auth_token = args[:auth_token] if args.key?(:auth_token)
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
# Request message for AddTokenAuthUser.
|
|
135
|
+
class AddTokenAuthUserRequest
|
|
136
|
+
include Google::Apis::Core::Hashable
|
|
137
|
+
|
|
138
|
+
# Required. The id of the token auth user to add.
|
|
139
|
+
# Corresponds to the JSON property `tokenAuthUser`
|
|
140
|
+
# @return [String]
|
|
141
|
+
attr_accessor :token_auth_user
|
|
142
|
+
|
|
143
|
+
def initialize(**args)
|
|
144
|
+
update!(**args)
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# Update properties of this object
|
|
148
|
+
def update!(**args)
|
|
149
|
+
@token_auth_user = args[:token_auth_user] if args.key?(:token_auth_user)
|
|
150
|
+
end
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
# Auth token for the cluster.
|
|
154
|
+
class AuthToken
|
|
155
|
+
include Google::Apis::Core::Hashable
|
|
156
|
+
|
|
157
|
+
# Output only. Create time of the auth token.
|
|
158
|
+
# Corresponds to the JSON property `createTime`
|
|
159
|
+
# @return [String]
|
|
160
|
+
attr_accessor :create_time
|
|
161
|
+
|
|
162
|
+
# Identifier. Name of the auth token. Format: projects/`project`/locations/`
|
|
163
|
+
# location`/clusters/`cluster`/tokenAuthUsers/`token_auth_user`/authTokens/`
|
|
164
|
+
# auth_token`
|
|
165
|
+
# Corresponds to the JSON property `name`
|
|
166
|
+
# @return [String]
|
|
167
|
+
attr_accessor :name
|
|
168
|
+
|
|
169
|
+
# Output only. State of the auth token.
|
|
170
|
+
# Corresponds to the JSON property `state`
|
|
171
|
+
# @return [String]
|
|
172
|
+
attr_accessor :state
|
|
173
|
+
|
|
174
|
+
# Output only. The service generated authentication token used to connect to the
|
|
175
|
+
# Redis cluster.
|
|
176
|
+
# Corresponds to the JSON property `token`
|
|
177
|
+
# @return [String]
|
|
178
|
+
attr_accessor :token
|
|
179
|
+
|
|
180
|
+
def initialize(**args)
|
|
181
|
+
update!(**args)
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
# Update properties of this object
|
|
185
|
+
def update!(**args)
|
|
186
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
187
|
+
@name = args[:name] if args.key?(:name)
|
|
188
|
+
@state = args[:state] if args.key?(:state)
|
|
189
|
+
@token = args[:token] if args.key?(:token)
|
|
190
|
+
end
|
|
191
|
+
end
|
|
192
|
+
|
|
44
193
|
# The automated backup config for a cluster.
|
|
45
194
|
class AutomatedBackupConfig
|
|
46
195
|
include Google::Apis::Core::Hashable
|
|
@@ -234,7 +383,7 @@ module Google
|
|
|
234
383
|
end
|
|
235
384
|
end
|
|
236
385
|
|
|
237
|
-
# Request for
|
|
386
|
+
# Request for `BackupCluster`.
|
|
238
387
|
class BackupClusterRequest
|
|
239
388
|
include Google::Apis::Core::Hashable
|
|
240
389
|
|
|
@@ -555,6 +704,19 @@ module Google
|
|
|
555
704
|
class Cluster
|
|
556
705
|
include Google::Apis::Core::Hashable
|
|
557
706
|
|
|
707
|
+
# Optional. The ACL policy to be applied to the cluster.
|
|
708
|
+
# Corresponds to the JSON property `aclPolicy`
|
|
709
|
+
# @return [String]
|
|
710
|
+
attr_accessor :acl_policy
|
|
711
|
+
|
|
712
|
+
# Optional. Output only. Indicates whether the ACL rules applied to the cluster
|
|
713
|
+
# are in sync with the latest ACL policy rules. This field is only applicable if
|
|
714
|
+
# the ACL policy is set for the cluster.
|
|
715
|
+
# Corresponds to the JSON property `aclPolicyInSync`
|
|
716
|
+
# @return [Boolean]
|
|
717
|
+
attr_accessor :acl_policy_in_sync
|
|
718
|
+
alias_method :acl_policy_in_sync?, :acl_policy_in_sync
|
|
719
|
+
|
|
558
720
|
# Optional. Immutable. Deprecated, do not use.
|
|
559
721
|
# Corresponds to the JSON property `allowFewerZonesDeployment`
|
|
560
722
|
# @return [Boolean]
|
|
@@ -807,6 +969,8 @@ module Google
|
|
|
807
969
|
|
|
808
970
|
# Update properties of this object
|
|
809
971
|
def update!(**args)
|
|
972
|
+
@acl_policy = args[:acl_policy] if args.key?(:acl_policy)
|
|
973
|
+
@acl_policy_in_sync = args[:acl_policy_in_sync] if args.key?(:acl_policy_in_sync)
|
|
810
974
|
@allow_fewer_zones_deployment = args[:allow_fewer_zones_deployment] if args.key?(:allow_fewer_zones_deployment)
|
|
811
975
|
@async_cluster_endpoints_deletion_enabled = args[:async_cluster_endpoints_deletion_enabled] if args.key?(:async_cluster_endpoints_deletion_enabled)
|
|
812
976
|
@authorization_mode = args[:authorization_mode] if args.key?(:authorization_mode)
|
|
@@ -1181,7 +1345,7 @@ module Google
|
|
|
1181
1345
|
|
|
1182
1346
|
# Database resource signal data. This is used to send signals to Condor which
|
|
1183
1347
|
# are based on the DB/Instance/Fleet level configurations. These will be used to
|
|
1184
|
-
# send signals for all inventory types. Next ID:
|
|
1348
|
+
# send signals for all inventory types. Next ID: 10
|
|
1185
1349
|
# Corresponds to the JSON property `databaseResourceSignalData`
|
|
1186
1350
|
# @return [Google::Apis::RedisV1::DatabaseResourceSignalData]
|
|
1187
1351
|
attr_accessor :database_resource_signal_data
|
|
@@ -1216,7 +1380,7 @@ module Google
|
|
|
1216
1380
|
# @return [Google::Apis::RedisV1::DatabaseResourceId]
|
|
1217
1381
|
attr_accessor :resource_id
|
|
1218
1382
|
|
|
1219
|
-
# Common model for database resource instance metadata. Next ID:
|
|
1383
|
+
# Common model for database resource instance metadata. Next ID: 32
|
|
1220
1384
|
# Corresponds to the JSON property `resourceMetadata`
|
|
1221
1385
|
# @return [Google::Apis::RedisV1::DatabaseResourceMetadata]
|
|
1222
1386
|
attr_accessor :resource_metadata
|
|
@@ -1414,7 +1578,7 @@ module Google
|
|
|
1414
1578
|
end
|
|
1415
1579
|
end
|
|
1416
1580
|
|
|
1417
|
-
# Common model for database resource instance metadata. Next ID:
|
|
1581
|
+
# Common model for database resource instance metadata. Next ID: 32
|
|
1418
1582
|
class DatabaseResourceMetadata
|
|
1419
1583
|
include Google::Apis::Core::Hashable
|
|
1420
1584
|
|
|
@@ -1513,6 +1677,11 @@ module Google
|
|
|
1513
1677
|
# @return [Google::Apis::RedisV1::ResourceMaintenanceInfo]
|
|
1514
1678
|
attr_accessor :maintenance_info
|
|
1515
1679
|
|
|
1680
|
+
# Optional. The modes of the database resource.
|
|
1681
|
+
# Corresponds to the JSON property `modes`
|
|
1682
|
+
# @return [Array<String>]
|
|
1683
|
+
attr_accessor :modes
|
|
1684
|
+
|
|
1516
1685
|
# DatabaseResourceId will serve as primary key for any resource ingestion event.
|
|
1517
1686
|
# Corresponds to the JSON property `primaryResourceId`
|
|
1518
1687
|
# @return [Google::Apis::RedisV1::DatabaseResourceId]
|
|
@@ -1603,6 +1772,7 @@ module Google
|
|
|
1603
1772
|
@location = args[:location] if args.key?(:location)
|
|
1604
1773
|
@machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration)
|
|
1605
1774
|
@maintenance_info = args[:maintenance_info] if args.key?(:maintenance_info)
|
|
1775
|
+
@modes = args[:modes] if args.key?(:modes)
|
|
1606
1776
|
@primary_resource_id = args[:primary_resource_id] if args.key?(:primary_resource_id)
|
|
1607
1777
|
@primary_resource_location = args[:primary_resource_location] if args.key?(:primary_resource_location)
|
|
1608
1778
|
@product = args[:product] if args.key?(:product)
|
|
@@ -1692,10 +1862,15 @@ module Google
|
|
|
1692
1862
|
|
|
1693
1863
|
# Database resource signal data. This is used to send signals to Condor which
|
|
1694
1864
|
# are based on the DB/Instance/Fleet level configurations. These will be used to
|
|
1695
|
-
# send signals for all inventory types. Next ID:
|
|
1865
|
+
# send signals for all inventory types. Next ID: 10
|
|
1696
1866
|
class DatabaseResourceSignalData
|
|
1697
1867
|
include Google::Apis::Core::Hashable
|
|
1698
1868
|
|
|
1869
|
+
# A backup run.
|
|
1870
|
+
# Corresponds to the JSON property `backupRun`
|
|
1871
|
+
# @return [Google::Apis::RedisV1::BackupRun]
|
|
1872
|
+
attr_accessor :backup_run
|
|
1873
|
+
|
|
1699
1874
|
# Required. Full Resource name of the source resource.
|
|
1700
1875
|
# Corresponds to the JSON property `fullResourceName`
|
|
1701
1876
|
# @return [String]
|
|
@@ -1706,17 +1881,28 @@ module Google
|
|
|
1706
1881
|
# @return [String]
|
|
1707
1882
|
attr_accessor :last_refresh_time
|
|
1708
1883
|
|
|
1884
|
+
# Resource location.
|
|
1885
|
+
# Corresponds to the JSON property `location`
|
|
1886
|
+
# @return [String]
|
|
1887
|
+
attr_accessor :location
|
|
1888
|
+
|
|
1709
1889
|
# DatabaseResourceId will serve as primary key for any resource ingestion event.
|
|
1710
1890
|
# Corresponds to the JSON property `resourceId`
|
|
1711
1891
|
# @return [Google::Apis::RedisV1::DatabaseResourceId]
|
|
1712
1892
|
attr_accessor :resource_id
|
|
1713
1893
|
|
|
1714
|
-
#
|
|
1894
|
+
# Deprecated: Use signal_metadata_list instead.
|
|
1715
1895
|
# Corresponds to the JSON property `signalBoolValue`
|
|
1716
1896
|
# @return [Boolean]
|
|
1717
1897
|
attr_accessor :signal_bool_value
|
|
1718
1898
|
alias_method :signal_bool_value?, :signal_bool_value
|
|
1719
1899
|
|
|
1900
|
+
# This will support array of OneOf signal metadata information for a given
|
|
1901
|
+
# signal type.
|
|
1902
|
+
# Corresponds to the JSON property `signalMetadataList`
|
|
1903
|
+
# @return [Array<Google::Apis::RedisV1::SignalMetadata>]
|
|
1904
|
+
attr_accessor :signal_metadata_list
|
|
1905
|
+
|
|
1720
1906
|
# Required. Output only. Signal state of the signal
|
|
1721
1907
|
# Corresponds to the JSON property `signalState`
|
|
1722
1908
|
# @return [String]
|
|
@@ -1733,10 +1919,13 @@ module Google
|
|
|
1733
1919
|
|
|
1734
1920
|
# Update properties of this object
|
|
1735
1921
|
def update!(**args)
|
|
1922
|
+
@backup_run = args[:backup_run] if args.key?(:backup_run)
|
|
1736
1923
|
@full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
|
|
1737
1924
|
@last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time)
|
|
1925
|
+
@location = args[:location] if args.key?(:location)
|
|
1738
1926
|
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
|
1739
1927
|
@signal_bool_value = args[:signal_bool_value] if args.key?(:signal_bool_value)
|
|
1928
|
+
@signal_metadata_list = args[:signal_metadata_list] if args.key?(:signal_metadata_list)
|
|
1740
1929
|
@signal_state = args[:signal_state] if args.key?(:signal_state)
|
|
1741
1930
|
@signal_type = args[:signal_type] if args.key?(:signal_type)
|
|
1742
1931
|
end
|
|
@@ -1896,7 +2085,7 @@ module Google
|
|
|
1896
2085
|
end
|
|
1897
2086
|
end
|
|
1898
2087
|
|
|
1899
|
-
# Request for
|
|
2088
|
+
# Request for `ExportBackup`.
|
|
1900
2089
|
class ExportBackupRequest
|
|
1901
2090
|
include Google::Apis::Core::Hashable
|
|
1902
2091
|
|
|
@@ -2346,11 +2535,12 @@ module Google
|
|
|
2346
2535
|
# @return [String]
|
|
2347
2536
|
attr_accessor :read_replicas_mode
|
|
2348
2537
|
|
|
2349
|
-
# Optional. Redis configuration parameters, according to
|
|
2350
|
-
# config.
|
|
2351
|
-
#
|
|
2352
|
-
#
|
|
2353
|
-
#
|
|
2538
|
+
# Optional. Redis configuration parameters, according to [Redis configuration](
|
|
2539
|
+
# https://redis.io/docs/latest/operate/oss_and_stack/management/config/).
|
|
2540
|
+
# Currently, the only supported parameters are: Redis version 3.2 and newer: *
|
|
2541
|
+
# maxmemory-policy * notify-keyspace-events Redis version 4.0 and newer: *
|
|
2542
|
+
# activedefrag * lfu-decay-time * lfu-log-factor * maxmemory-gb Redis version 5.
|
|
2543
|
+
# 0 and newer: * stream-node-max-bytes * stream-node-max-entries
|
|
2354
2544
|
# Corresponds to the JSON property `redisConfigs`
|
|
2355
2545
|
# @return [Hash<String,String>]
|
|
2356
2546
|
attr_accessor :redis_configs
|
|
@@ -2563,7 +2753,73 @@ module Google
|
|
|
2563
2753
|
end
|
|
2564
2754
|
end
|
|
2565
2755
|
|
|
2566
|
-
# Response for
|
|
2756
|
+
# Response for `ListAclPolicies`.
|
|
2757
|
+
class ListAclPoliciesResponse
|
|
2758
|
+
include Google::Apis::Core::Hashable
|
|
2759
|
+
|
|
2760
|
+
# A list of ACL policies in the project in the specified location, or across all
|
|
2761
|
+
# locations. If the `location_id` in the parent field of the request is "-", all
|
|
2762
|
+
# regions available to the project are queried, and the results aggregated.
|
|
2763
|
+
# Corresponds to the JSON property `aclPolicies`
|
|
2764
|
+
# @return [Array<Google::Apis::RedisV1::AclPolicy>]
|
|
2765
|
+
attr_accessor :acl_policies
|
|
2766
|
+
|
|
2767
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
|
2768
|
+
# results in the list.
|
|
2769
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
2770
|
+
# @return [String]
|
|
2771
|
+
attr_accessor :next_page_token
|
|
2772
|
+
|
|
2773
|
+
# Locations that could not be reached.
|
|
2774
|
+
# Corresponds to the JSON property `unreachable`
|
|
2775
|
+
# @return [Array<String>]
|
|
2776
|
+
attr_accessor :unreachable
|
|
2777
|
+
|
|
2778
|
+
def initialize(**args)
|
|
2779
|
+
update!(**args)
|
|
2780
|
+
end
|
|
2781
|
+
|
|
2782
|
+
# Update properties of this object
|
|
2783
|
+
def update!(**args)
|
|
2784
|
+
@acl_policies = args[:acl_policies] if args.key?(:acl_policies)
|
|
2785
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2786
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
2787
|
+
end
|
|
2788
|
+
end
|
|
2789
|
+
|
|
2790
|
+
# Response message for ListAuthTokens.
|
|
2791
|
+
class ListAuthTokensResponse
|
|
2792
|
+
include Google::Apis::Core::Hashable
|
|
2793
|
+
|
|
2794
|
+
# A list of auth tokens in the project.
|
|
2795
|
+
# Corresponds to the JSON property `authTokens`
|
|
2796
|
+
# @return [Array<Google::Apis::RedisV1::AuthToken>]
|
|
2797
|
+
attr_accessor :auth_tokens
|
|
2798
|
+
|
|
2799
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
|
2800
|
+
# results in the list.
|
|
2801
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
2802
|
+
# @return [String]
|
|
2803
|
+
attr_accessor :next_page_token
|
|
2804
|
+
|
|
2805
|
+
# Unordered list. Auth tokens that could not be reached.
|
|
2806
|
+
# Corresponds to the JSON property `unreachable`
|
|
2807
|
+
# @return [Array<String>]
|
|
2808
|
+
attr_accessor :unreachable
|
|
2809
|
+
|
|
2810
|
+
def initialize(**args)
|
|
2811
|
+
update!(**args)
|
|
2812
|
+
end
|
|
2813
|
+
|
|
2814
|
+
# Update properties of this object
|
|
2815
|
+
def update!(**args)
|
|
2816
|
+
@auth_tokens = args[:auth_tokens] if args.key?(:auth_tokens)
|
|
2817
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2818
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
2819
|
+
end
|
|
2820
|
+
end
|
|
2821
|
+
|
|
2822
|
+
# Response for `ListBackupCollections`.
|
|
2567
2823
|
class ListBackupCollectionsResponse
|
|
2568
2824
|
include Google::Apis::Core::Hashable
|
|
2569
2825
|
|
|
@@ -2602,7 +2858,7 @@ module Google
|
|
|
2602
2858
|
end
|
|
2603
2859
|
end
|
|
2604
2860
|
|
|
2605
|
-
# Response for
|
|
2861
|
+
# Response for `ListBackups`.
|
|
2606
2862
|
class ListBackupsResponse
|
|
2607
2863
|
include Google::Apis::Core::Hashable
|
|
2608
2864
|
|
|
@@ -2634,7 +2890,7 @@ module Google
|
|
|
2634
2890
|
end
|
|
2635
2891
|
end
|
|
2636
2892
|
|
|
2637
|
-
# Response for ListClusters
|
|
2893
|
+
# Response for `ListClusters`.
|
|
2638
2894
|
class ListClustersResponse
|
|
2639
2895
|
include Google::Apis::Core::Hashable
|
|
2640
2896
|
|
|
@@ -2771,6 +3027,38 @@ module Google
|
|
|
2771
3027
|
end
|
|
2772
3028
|
end
|
|
2773
3029
|
|
|
3030
|
+
# Response message for ListTokenAuthUsers.
|
|
3031
|
+
class ListTokenAuthUsersResponse
|
|
3032
|
+
include Google::Apis::Core::Hashable
|
|
3033
|
+
|
|
3034
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
|
3035
|
+
# results in the list.
|
|
3036
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3037
|
+
# @return [String]
|
|
3038
|
+
attr_accessor :next_page_token
|
|
3039
|
+
|
|
3040
|
+
# A list of token auth users in the project.
|
|
3041
|
+
# Corresponds to the JSON property `tokenAuthUsers`
|
|
3042
|
+
# @return [Array<Google::Apis::RedisV1::TokenAuthUser>]
|
|
3043
|
+
attr_accessor :token_auth_users
|
|
3044
|
+
|
|
3045
|
+
# Unordered list. Token auth users that could not be reached.
|
|
3046
|
+
# Corresponds to the JSON property `unreachable`
|
|
3047
|
+
# @return [Array<String>]
|
|
3048
|
+
attr_accessor :unreachable
|
|
3049
|
+
|
|
3050
|
+
def initialize(**args)
|
|
3051
|
+
update!(**args)
|
|
3052
|
+
end
|
|
3053
|
+
|
|
3054
|
+
# Update properties of this object
|
|
3055
|
+
def update!(**args)
|
|
3056
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3057
|
+
@token_auth_users = args[:token_auth_users] if args.key?(:token_auth_users)
|
|
3058
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
3059
|
+
end
|
|
3060
|
+
end
|
|
3061
|
+
|
|
2774
3062
|
# A resource that represents a Google Cloud location.
|
|
2775
3063
|
class Location
|
|
2776
3064
|
include Google::Apis::Core::Hashable
|
|
@@ -3976,6 +4264,34 @@ module Google
|
|
|
3976
4264
|
end
|
|
3977
4265
|
end
|
|
3978
4266
|
|
|
4267
|
+
# SignalMetadata contains one of the signal metadata proto messages associated
|
|
4268
|
+
# with a SignalType. This proto will be mapped to SignalMetadata message in
|
|
4269
|
+
# storage.proto. Next ID: 3
|
|
4270
|
+
class SignalMetadata
|
|
4271
|
+
include Google::Apis::Core::Hashable
|
|
4272
|
+
|
|
4273
|
+
# A backup run.
|
|
4274
|
+
# Corresponds to the JSON property `backupRun`
|
|
4275
|
+
# @return [Google::Apis::RedisV1::BackupRun]
|
|
4276
|
+
attr_accessor :backup_run
|
|
4277
|
+
|
|
4278
|
+
# Signal data for boolean signals.
|
|
4279
|
+
# Corresponds to the JSON property `signalBoolValue`
|
|
4280
|
+
# @return [Boolean]
|
|
4281
|
+
attr_accessor :signal_bool_value
|
|
4282
|
+
alias_method :signal_bool_value?, :signal_bool_value
|
|
4283
|
+
|
|
4284
|
+
def initialize(**args)
|
|
4285
|
+
update!(**args)
|
|
4286
|
+
end
|
|
4287
|
+
|
|
4288
|
+
# Update properties of this object
|
|
4289
|
+
def update!(**args)
|
|
4290
|
+
@backup_run = args[:backup_run] if args.key?(:backup_run)
|
|
4291
|
+
@signal_bool_value = args[:signal_bool_value] if args.key?(:signal_bool_value)
|
|
4292
|
+
end
|
|
4293
|
+
end
|
|
4294
|
+
|
|
3979
4295
|
# Represents additional information about the state of the cluster.
|
|
3980
4296
|
class StateInfo
|
|
3981
4297
|
include Google::Apis::Core::Hashable
|
|
@@ -4145,6 +4461,33 @@ module Google
|
|
|
4145
4461
|
end
|
|
4146
4462
|
end
|
|
4147
4463
|
|
|
4464
|
+
# Represents a token based auth user for the cluster.
|
|
4465
|
+
class TokenAuthUser
|
|
4466
|
+
include Google::Apis::Core::Hashable
|
|
4467
|
+
|
|
4468
|
+
# Identifier. The resource name of the token based auth user. Format: projects/`
|
|
4469
|
+
# project`/locations/`location`/clusters/`cluster`/tokenAuthUsers/`
|
|
4470
|
+
# token_auth_user`
|
|
4471
|
+
# Corresponds to the JSON property `name`
|
|
4472
|
+
# @return [String]
|
|
4473
|
+
attr_accessor :name
|
|
4474
|
+
|
|
4475
|
+
# Output only. The state of the token based auth user.
|
|
4476
|
+
# Corresponds to the JSON property `state`
|
|
4477
|
+
# @return [String]
|
|
4478
|
+
attr_accessor :state
|
|
4479
|
+
|
|
4480
|
+
def initialize(**args)
|
|
4481
|
+
update!(**args)
|
|
4482
|
+
end
|
|
4483
|
+
|
|
4484
|
+
# Update properties of this object
|
|
4485
|
+
def update!(**args)
|
|
4486
|
+
@name = args[:name] if args.key?(:name)
|
|
4487
|
+
@state = args[:state] if args.key?(:state)
|
|
4488
|
+
end
|
|
4489
|
+
end
|
|
4490
|
+
|
|
4148
4491
|
# TypedValue represents the value of a metric type. It can either be a double,
|
|
4149
4492
|
# an int64, a string or a bool.
|
|
4150
4493
|
class TypedValue
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module RedisV1
|
|
18
18
|
# Version of the google-apis-redis_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.89.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260406"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|