google-cloud-redis-v1beta1 0.4.4 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/redis/v1beta1/cloud_redis/client.rb +6 -4
- data/lib/google/cloud/redis/v1beta1/cloud_redis.rb +1 -1
- data/lib/google/cloud/redis/v1beta1/cloud_redis_pb.rb +16 -0
- data/lib/google/cloud/redis/v1beta1/cloud_redis_services_pb.rb +3 -3
- data/lib/google/cloud/redis/v1beta1/version.rb +1 -1
- data/proto_docs/google/cloud/redis/v1beta1/cloud_redis.rb +104 -39
- 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: 1105f4624b4b93ab6c2f859320dd1b37a97a6f69fba13737b1f3bee7cff2d426
|
4
|
+
data.tar.gz: 35192cf9f1e9545ac9a55bfce4be0d57bf3c9a0ef55fde0234aa1e29c8752382
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d547d83d8c0c64eab6b6e43a83924ad5e128bf9996f419cdf8165e23cf07d8b58e1a55708df99e5741330a9f7ca1ce20296c588b124732b2645d5ad82967909
|
7
|
+
data.tar.gz: c4a33f65bf851cb44aa844bf148b3d8ca96d95c712d04850f4bce09fc3eb780852ead08e3fdbea3e9320d34774bbc2354d01dc8561f5cff16a8024d470444e88
|
@@ -40,7 +40,7 @@ module Google
|
|
40
40
|
# * As such, Redis instances are resources of the form:
|
41
41
|
# `/projects/{project_id}/locations/{location_id}/instances/{instance_id}`
|
42
42
|
#
|
43
|
-
# Note that location_id must be
|
43
|
+
# Note that location_id must be referring to a GCP `region`; for example:
|
44
44
|
# * `projects/redpepper-1290/locations/us-central1/instances/my-redis`
|
45
45
|
#
|
46
46
|
class Client
|
@@ -228,7 +228,8 @@ module Google
|
|
228
228
|
# to determine if there are more instances left to be queried.
|
229
229
|
# @param page_token [::String]
|
230
230
|
# The `next_page_token` value returned from a previous
|
231
|
-
# {::Google::Cloud::Redis::V1beta1::CloudRedis::Client#list_instances ListInstances}
|
231
|
+
# {::Google::Cloud::Redis::V1beta1::CloudRedis::Client#list_instances ListInstances}
|
232
|
+
# request, if any.
|
232
233
|
#
|
233
234
|
# @yield [response, operation] Access the result along with the RPC operation
|
234
235
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Redis::V1beta1::Instance>]
|
@@ -396,7 +397,7 @@ module Google
|
|
396
397
|
#
|
397
398
|
# The creation is executed asynchronously and callers may check the returned
|
398
399
|
# operation to track its progress. Once the operation is completed the Redis
|
399
|
-
# instance will be fully functional.
|
400
|
+
# instance will be fully functional. The completed longrunning.Operation will
|
400
401
|
# contain the new instance object in the response field.
|
401
402
|
#
|
402
403
|
# The returned operation is automatically deleted after a few hours, so there
|
@@ -536,6 +537,7 @@ module Google
|
|
536
537
|
# * `labels`
|
537
538
|
# * `memorySizeGb`
|
538
539
|
# * `redisConfig`
|
540
|
+
# * `replica_count`
|
539
541
|
# @param instance [::Google::Cloud::Redis::V1beta1::Instance, ::Hash]
|
540
542
|
# Required. Update description.
|
541
543
|
# Only fields specified in update_mask are updated.
|
@@ -917,7 +919,7 @@ module Google
|
|
917
919
|
end
|
918
920
|
|
919
921
|
##
|
920
|
-
# Initiates a failover of the
|
922
|
+
# Initiates a failover of the primary node to current replica node for a
|
921
923
|
# specific STANDARD tier Cloud Memorystore for Redis instance.
|
922
924
|
#
|
923
925
|
# @overload failover_instance(request, options = nil)
|
@@ -45,7 +45,7 @@ module Google
|
|
45
45
|
# * As such, Redis instances are resources of the form:
|
46
46
|
# `/projects/{project_id}/locations/{location_id}/instances/{instance_id}`
|
47
47
|
#
|
48
|
-
# Note that location_id must be
|
48
|
+
# Note that location_id must be referring to a GCP `region`; for example:
|
49
49
|
# * `projects/redpepper-1290/locations/us-central1/instances/my-redis`
|
50
50
|
#
|
51
51
|
# To load this service and instantiate a client:
|
@@ -12,6 +12,10 @@ require 'google/protobuf'
|
|
12
12
|
|
13
13
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
14
|
add_file("google/cloud/redis/v1beta1/cloud_redis.proto", :syntax => :proto3) do
|
15
|
+
add_message "google.cloud.redis.v1beta1.NodeInfo" do
|
16
|
+
optional :id, :string, 1
|
17
|
+
optional :zone, :string, 2
|
18
|
+
end
|
15
19
|
add_message "google.cloud.redis.v1beta1.Instance" do
|
16
20
|
optional :name, :string, 1
|
17
21
|
optional :display_name, :string, 2
|
@@ -32,6 +36,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
32
36
|
optional :authorized_network, :string, 20
|
33
37
|
optional :persistence_iam_identity, :string, 21
|
34
38
|
optional :connect_mode, :enum, 22, "google.cloud.redis.v1beta1.Instance.ConnectMode"
|
39
|
+
optional :replica_count, :int32, 31
|
40
|
+
repeated :nodes, :message, 32, "google.cloud.redis.v1beta1.NodeInfo"
|
41
|
+
optional :read_endpoint, :string, 33
|
42
|
+
optional :read_endpoint_port, :int32, 34
|
43
|
+
optional :read_replicas_mode, :enum, 35, "google.cloud.redis.v1beta1.Instance.ReadReplicasMode"
|
35
44
|
end
|
36
45
|
add_enum "google.cloud.redis.v1beta1.Instance.State" do
|
37
46
|
value :STATE_UNSPECIFIED, 0
|
@@ -54,6 +63,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
54
63
|
value :DIRECT_PEERING, 1
|
55
64
|
value :PRIVATE_SERVICE_ACCESS, 2
|
56
65
|
end
|
66
|
+
add_enum "google.cloud.redis.v1beta1.Instance.ReadReplicasMode" do
|
67
|
+
value :READ_REPLICAS_MODE_UNSPECIFIED, 0
|
68
|
+
value :READ_REPLICAS_DISABLED, 1
|
69
|
+
value :READ_REPLICAS_ENABLED, 2
|
70
|
+
end
|
57
71
|
add_message "google.cloud.redis.v1beta1.ListInstancesRequest" do
|
58
72
|
optional :parent, :string, 1
|
59
73
|
optional :page_size, :int32, 2
|
@@ -128,10 +142,12 @@ module Google
|
|
128
142
|
module Cloud
|
129
143
|
module Redis
|
130
144
|
module V1beta1
|
145
|
+
NodeInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.NodeInfo").msgclass
|
131
146
|
Instance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.Instance").msgclass
|
132
147
|
Instance::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.Instance.State").enummodule
|
133
148
|
Instance::Tier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.Instance.Tier").enummodule
|
134
149
|
Instance::ConnectMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.Instance.ConnectMode").enummodule
|
150
|
+
Instance::ReadReplicasMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.Instance.ReadReplicasMode").enummodule
|
135
151
|
ListInstancesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.ListInstancesRequest").msgclass
|
136
152
|
ListInstancesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.ListInstancesResponse").msgclass
|
137
153
|
GetInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.GetInstanceRequest").msgclass
|
@@ -37,7 +37,7 @@ module Google
|
|
37
37
|
# * As such, Redis instances are resources of the form:
|
38
38
|
# `/projects/{project_id}/locations/{location_id}/instances/{instance_id}`
|
39
39
|
#
|
40
|
-
# Note that location_id must be
|
40
|
+
# Note that location_id must be referring to a GCP `region`; for example:
|
41
41
|
# * `projects/redpepper-1290/locations/us-central1/instances/my-redis`
|
42
42
|
class Service
|
43
43
|
|
@@ -66,7 +66,7 @@ module Google
|
|
66
66
|
#
|
67
67
|
# The creation is executed asynchronously and callers may check the returned
|
68
68
|
# operation to track its progress. Once the operation is completed the Redis
|
69
|
-
# instance will be fully functional.
|
69
|
+
# instance will be fully functional. The completed longrunning.Operation will
|
70
70
|
# contain the new instance object in the response field.
|
71
71
|
#
|
72
72
|
# The returned operation is automatically deleted after a few hours, so there
|
@@ -97,7 +97,7 @@ module Google
|
|
97
97
|
# The returned operation is automatically deleted after a few hours, so
|
98
98
|
# there is no need to call DeleteOperation.
|
99
99
|
rpc :ExportInstance, ::Google::Cloud::Redis::V1beta1::ExportInstanceRequest, ::Google::Longrunning::Operation
|
100
|
-
# Initiates a failover of the
|
100
|
+
# Initiates a failover of the primary node to current replica node for a
|
101
101
|
# specific STANDARD tier Cloud Memorystore for Redis instance.
|
102
102
|
rpc :FailoverInstance, ::Google::Cloud::Redis::V1beta1::FailoverInstanceRequest, ::Google::Longrunning::Operation
|
103
103
|
# Deletes a specific Redis instance. Instance stops serving and data is
|
@@ -21,6 +21,18 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module Redis
|
23
23
|
module V1beta1
|
24
|
+
# Node specific properties.
|
25
|
+
# @!attribute [r] id
|
26
|
+
# @return [::String]
|
27
|
+
# Output only. Node identifying string. e.g. 'node-0', 'node-1'
|
28
|
+
# @!attribute [r] zone
|
29
|
+
# @return [::String]
|
30
|
+
# Output only. Location of the node.
|
31
|
+
class NodeInfo
|
32
|
+
include ::Google::Protobuf::MessageExts
|
33
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
34
|
+
end
|
35
|
+
|
24
36
|
# A Google Cloud Redis instance.
|
25
37
|
# @!attribute [rw] name
|
26
38
|
# @return [::String]
|
@@ -31,8 +43,10 @@ module Google
|
|
31
43
|
# Note: Redis instances are managed and addressed at regional level so
|
32
44
|
# location_id here refers to a GCP region; however, users may choose which
|
33
45
|
# specific zone (or collection of zones for cross-zone instances) an instance
|
34
|
-
# should be provisioned in. Refer to
|
35
|
-
# {::Google::Cloud::Redis::V1beta1::Instance#
|
46
|
+
# should be provisioned in. Refer to
|
47
|
+
# {::Google::Cloud::Redis::V1beta1::Instance#location_id location_id} and
|
48
|
+
# {::Google::Cloud::Redis::V1beta1::Instance#alternative_location_id alternative_location_id}
|
49
|
+
# fields for more details.
|
36
50
|
# @!attribute [rw] display_name
|
37
51
|
# @return [::String]
|
38
52
|
# An arbitrary and optional user-provided name for the instance.
|
@@ -42,15 +56,17 @@ module Google
|
|
42
56
|
# @!attribute [rw] location_id
|
43
57
|
# @return [::String]
|
44
58
|
# Optional. The zone where the instance will be provisioned. If not provided,
|
45
|
-
# the service will choose a zone for the instance.
|
46
|
-
#
|
47
|
-
# failures. If
|
48
|
-
#
|
59
|
+
# the service will choose a zone from the specified region for the instance.
|
60
|
+
# For standard tier, additional nodes will be added across multiple zones for
|
61
|
+
# protection against zonal failures. If specified, at least one node will be
|
62
|
+
# provisioned in this zone.
|
49
63
|
# @!attribute [rw] alternative_location_id
|
50
64
|
# @return [::String]
|
51
|
-
# Optional.
|
52
|
-
#
|
53
|
-
# must be a different zone from the one
|
65
|
+
# Optional. If specified, at least one node will be provisioned in this zone
|
66
|
+
# in addition to the zone specified in location_id. Only applicable to
|
67
|
+
# standard tier. If provided, it must be a different zone from the one
|
68
|
+
# provided in [location_id]. Additional nodes beyond the first 2 will be
|
69
|
+
# placed in zones selected by the service.
|
54
70
|
# @!attribute [rw] redis_version
|
55
71
|
# @return [::String]
|
56
72
|
# Optional. The version of Redis software.
|
@@ -60,26 +76,29 @@ module Google
|
|
60
76
|
# * `REDIS_3_2` for Redis 3.2 compatibility
|
61
77
|
# * `REDIS_4_0` for Redis 4.0 compatibility (default)
|
62
78
|
# * `REDIS_5_0` for Redis 5.0 compatibility
|
79
|
+
# * `REDIS_6_X` for Redis 6.x compatibility
|
63
80
|
# @!attribute [rw] reserved_ip_range
|
64
81
|
# @return [::String]
|
65
|
-
# Optional.
|
66
|
-
#
|
67
|
-
#
|
68
|
-
#
|
82
|
+
# Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses
|
83
|
+
# that are reserved for this instance. Range must
|
84
|
+
# be unique and non-overlapping with existing subnets in an authorized
|
85
|
+
# network. For PRIVATE_SERVICE_ACCESS mode, the name of one allocated IP
|
86
|
+
# address ranges associated with this private service access connection.
|
87
|
+
# If not provided, the service will choose an unused /29 block, for
|
88
|
+
# example, 10.0.0.0/29 or 192.168.0.0/29. For READ_REPLICAS_ENABLED
|
89
|
+
# the default block size is /28.
|
69
90
|
# @!attribute [r] host
|
70
91
|
# @return [::String]
|
71
92
|
# Output only. Hostname or IP address of the exposed Redis endpoint used by
|
72
|
-
#
|
93
|
+
# clients to connect to the service.
|
73
94
|
# @!attribute [r] port
|
74
95
|
# @return [::Integer]
|
75
96
|
# Output only. The port number of the exposed Redis endpoint.
|
76
97
|
# @!attribute [r] current_location_id
|
77
98
|
# @return [::String]
|
78
|
-
# Output only. The current zone where the Redis
|
79
|
-
#
|
80
|
-
#
|
81
|
-
# this can be either {::Google::Cloud::Redis::V1beta1::Instance#location_id location_id} or {::Google::Cloud::Redis::V1beta1::Instance#alternative_location_id alternative_location_id} and can
|
82
|
-
# change after a failover event.
|
99
|
+
# Output only. The current zone where the Redis primary node is located. In
|
100
|
+
# basic tier, this will always be the same as [location_id]. In
|
101
|
+
# standard tier, this can be the zone of any node in the instance.
|
83
102
|
# @!attribute [r] create_time
|
84
103
|
# @return [::Google::Protobuf::Timestamp]
|
85
104
|
# Output only. The time the instance was created.
|
@@ -133,9 +152,29 @@ module Google
|
|
133
152
|
# operation.
|
134
153
|
# @!attribute [rw] connect_mode
|
135
154
|
# @return [::Google::Cloud::Redis::V1beta1::Instance::ConnectMode]
|
136
|
-
# Optional. The connect mode of Redis instance.
|
137
|
-
# If not provided,
|
138
|
-
#
|
155
|
+
# Optional. The network connect mode of the Redis instance.
|
156
|
+
# If not provided, the connect mode defaults to DIRECT_PEERING.
|
157
|
+
# @!attribute [rw] replica_count
|
158
|
+
# @return [::Integer]
|
159
|
+
# Optional. The number of replica nodes. Valid range for standard tier
|
160
|
+
# is [1-5] and defaults to 1. Valid value for basic tier is 0 and defaults
|
161
|
+
# to 0.
|
162
|
+
# @!attribute [r] nodes
|
163
|
+
# @return [::Array<::Google::Cloud::Redis::V1beta1::NodeInfo>]
|
164
|
+
# Output only. Info per node.
|
165
|
+
# @!attribute [r] read_endpoint
|
166
|
+
# @return [::String]
|
167
|
+
# Output only. Hostname or IP address of the exposed readonly Redis
|
168
|
+
# endpoint. Standard tier only. Targets all healthy replica nodes in
|
169
|
+
# instance. Replication is asynchronous and replica nodes will exhibit some
|
170
|
+
# lag behind the primary. Write requests must target 'host'.
|
171
|
+
# @!attribute [r] read_endpoint_port
|
172
|
+
# @return [::Integer]
|
173
|
+
# Output only. The port number of the exposed readonly redis
|
174
|
+
# endpoint. Standard tier only. Write requests should target 'port'.
|
175
|
+
# @!attribute [rw] read_replicas_mode
|
176
|
+
# @return [::Google::Cloud::Redis::V1beta1::Instance::ReadReplicasMode]
|
177
|
+
# Optional. Read replica mode.
|
139
178
|
class Instance
|
140
179
|
include ::Google::Protobuf::MessageExts
|
141
180
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -207,16 +246,33 @@ module Google
|
|
207
246
|
# Not set.
|
208
247
|
CONNECT_MODE_UNSPECIFIED = 0
|
209
248
|
|
210
|
-
# Connect via
|
249
|
+
# Connect via direct peering to the Memorystore for Redis hosted service.
|
211
250
|
DIRECT_PEERING = 1
|
212
251
|
|
213
|
-
# Connect
|
214
|
-
#
|
252
|
+
# Connect your Memorystore for Redis instance using Private Service
|
253
|
+
# Access. Private services access provides an IP address range for multiple
|
254
|
+
# Google Cloud services, including Memorystore.
|
215
255
|
PRIVATE_SERVICE_ACCESS = 2
|
216
256
|
end
|
257
|
+
|
258
|
+
# Read replicas mode.
|
259
|
+
module ReadReplicasMode
|
260
|
+
# If not set, Memorystore for Redis backend will pick the mode based on
|
261
|
+
# other fields in the request.
|
262
|
+
READ_REPLICAS_MODE_UNSPECIFIED = 0
|
263
|
+
|
264
|
+
# If disabled, read endpoint will not be provided and the instance cannot
|
265
|
+
# scale up or down the number of replicas.
|
266
|
+
READ_REPLICAS_DISABLED = 1
|
267
|
+
|
268
|
+
# If enabled, read endpoint will be provided and the instance can scale
|
269
|
+
# up and down the number of replicas.
|
270
|
+
READ_REPLICAS_ENABLED = 2
|
271
|
+
end
|
217
272
|
end
|
218
273
|
|
219
|
-
# Request for
|
274
|
+
# Request for
|
275
|
+
# {::Google::Cloud::Redis::V1beta1::CloudRedis::Client#list_instances ListInstances}.
|
220
276
|
# @!attribute [rw] parent
|
221
277
|
# @return [::String]
|
222
278
|
# Required. The resource name of the instance location using the form:
|
@@ -234,13 +290,15 @@ module Google
|
|
234
290
|
# @!attribute [rw] page_token
|
235
291
|
# @return [::String]
|
236
292
|
# The `next_page_token` value returned from a previous
|
237
|
-
# {::Google::Cloud::Redis::V1beta1::CloudRedis::Client#list_instances ListInstances}
|
293
|
+
# {::Google::Cloud::Redis::V1beta1::CloudRedis::Client#list_instances ListInstances}
|
294
|
+
# request, if any.
|
238
295
|
class ListInstancesRequest
|
239
296
|
include ::Google::Protobuf::MessageExts
|
240
297
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
241
298
|
end
|
242
299
|
|
243
|
-
# Response for
|
300
|
+
# Response for
|
301
|
+
# {::Google::Cloud::Redis::V1beta1::CloudRedis::Client#list_instances ListInstances}.
|
244
302
|
# @!attribute [rw] instances
|
245
303
|
# @return [::Array<::Google::Cloud::Redis::V1beta1::Instance>]
|
246
304
|
# A list of Redis instances in the project in the specified location,
|
@@ -248,11 +306,12 @@ module Google
|
|
248
306
|
#
|
249
307
|
# If the `location_id` in the parent field of the request is "-", all regions
|
250
308
|
# available to the project are queried, and the results aggregated.
|
251
|
-
# If in such an aggregated query a location is unavailable, a
|
252
|
-
# entry is included in the response with the `name` field set to a
|
253
|
-
# the form
|
254
|
-
#
|
255
|
-
#
|
309
|
+
# If in such an aggregated query a location is unavailable, a placeholder
|
310
|
+
# Redis entry is included in the response with the `name` field set to a
|
311
|
+
# value of the form
|
312
|
+
# `projects/{project_id}/locations/{location_id}/instances/`- and the
|
313
|
+
# `status` field set to ERROR and `status_message` field set to "location not
|
314
|
+
# available for ListInstances".
|
256
315
|
# @!attribute [rw] next_page_token
|
257
316
|
# @return [::String]
|
258
317
|
# Token to retrieve the next page of results, or empty if there are no more
|
@@ -276,7 +335,8 @@ module Google
|
|
276
335
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
277
336
|
end
|
278
337
|
|
279
|
-
# Request for
|
338
|
+
# Request for
|
339
|
+
# {::Google::Cloud::Redis::V1beta1::CloudRedis::Client#create_instance CreateInstance}.
|
280
340
|
# @!attribute [rw] parent
|
281
341
|
# @return [::String]
|
282
342
|
# Required. The resource name of the instance location using the form:
|
@@ -300,7 +360,8 @@ module Google
|
|
300
360
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
301
361
|
end
|
302
362
|
|
303
|
-
# Request for
|
363
|
+
# Request for
|
364
|
+
# {::Google::Cloud::Redis::V1beta1::CloudRedis::Client#update_instance UpdateInstance}.
|
304
365
|
# @!attribute [rw] update_mask
|
305
366
|
# @return [::Google::Protobuf::FieldMask]
|
306
367
|
# Required. Mask of fields to update. At least one path must be supplied in
|
@@ -311,6 +372,7 @@ module Google
|
|
311
372
|
# * `labels`
|
312
373
|
# * `memorySizeGb`
|
313
374
|
# * `redisConfig`
|
375
|
+
# * `replica_count`
|
314
376
|
# @!attribute [rw] instance
|
315
377
|
# @return [::Google::Cloud::Redis::V1beta1::Instance]
|
316
378
|
# Required. Update description.
|
@@ -320,7 +382,8 @@ module Google
|
|
320
382
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
321
383
|
end
|
322
384
|
|
323
|
-
# Request for
|
385
|
+
# Request for
|
386
|
+
# {::Google::Cloud::Redis::V1beta1::CloudRedis::Client#upgrade_instance UpgradeInstance}.
|
324
387
|
# @!attribute [rw] name
|
325
388
|
# @return [::String]
|
326
389
|
# Required. Redis instance resource name using the form:
|
@@ -334,7 +397,8 @@ module Google
|
|
334
397
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
335
398
|
end
|
336
399
|
|
337
|
-
# Request for
|
400
|
+
# Request for
|
401
|
+
# {::Google::Cloud::Redis::V1beta1::CloudRedis::Client#delete_instance DeleteInstance}.
|
338
402
|
# @!attribute [rw] name
|
339
403
|
# @return [::String]
|
340
404
|
# Required. Redis instance resource name using the form:
|
@@ -410,7 +474,8 @@ module Google
|
|
410
474
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
411
475
|
end
|
412
476
|
|
413
|
-
# Request for
|
477
|
+
# Request for
|
478
|
+
# {::Google::Cloud::Redis::V1beta1::CloudRedis::Client#failover_instance Failover}.
|
414
479
|
# @!attribute [rw] name
|
415
480
|
# @return [::String]
|
416
481
|
# Required. Redis instance resource name using the form:
|
@@ -432,7 +497,7 @@ module Google
|
|
432
497
|
|
433
498
|
# Instance failover will be protected with data loss control. More
|
434
499
|
# specifically, the failover will only be performed if the current
|
435
|
-
# replication offset diff between
|
500
|
+
# replication offset diff between primary and replica is under a certain
|
436
501
|
# threshold.
|
437
502
|
LIMITED_DATA_LOSS = 1
|
438
503
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-redis-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|