google-cloud-redis-v1beta1 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46dc450124766139d895541a325a6f2389ac3a10b5886f5382a5a3c04e793697
|
4
|
+
data.tar.gz: 35e72ec051074737d233a586dccf0989934a6c6ac963628a72fe1ecb4d97f767
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d57667e6eda7b9eb3b661002b2d49be8dbdefdec47222669546f6124f4e64cb85063f291608c97bc957a67e2940b4a4db2add46349a9473ccb2f2f590abfab5
|
7
|
+
data.tar.gz: 2f947939ef3ae2c3e71506975f3d6e6c5baf0d1db2cd48319b52d84d14db05ad479fe81d3505e25ba383ae2e002f6a2b687769672553dd068967d6eb9392cc44
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::Redis::V1beta1::ListInstancesRequest.new # (request f
|
|
37
37
|
response = client.list_instances request
|
38
38
|
```
|
39
39
|
|
40
|
-
View the [Client Library Documentation](https://
|
40
|
+
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-redis-v1beta1/latest)
|
41
41
|
for class and method documentation.
|
42
42
|
|
43
43
|
See also the [Product Documentation](https://cloud.google.com/memorystore/docs/redis)
|
@@ -27,6 +27,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
27
27
|
optional :alternative_location_id, :string, 5
|
28
28
|
optional :redis_version, :string, 7
|
29
29
|
optional :reserved_ip_range, :string, 9
|
30
|
+
optional :secondary_ip_range, :string, 30
|
30
31
|
optional :host, :string, 10
|
31
32
|
optional :port, :int32, 11
|
32
33
|
optional :current_location_id, :string, 12
|
@@ -49,6 +50,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
49
50
|
optional :read_endpoint, :string, 33
|
50
51
|
optional :read_endpoint_port, :int32, 34
|
51
52
|
optional :read_replicas_mode, :enum, 35, "google.cloud.redis.v1beta1.Instance.ReadReplicasMode"
|
53
|
+
optional :persistence_config, :message, 37, "google.cloud.redis.v1beta1.PersistenceConfig"
|
52
54
|
end
|
53
55
|
add_enum "google.cloud.redis.v1beta1.Instance.State" do
|
54
56
|
value :STATE_UNSPECIFIED, 0
|
@@ -81,6 +83,24 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
81
83
|
value :READ_REPLICAS_DISABLED, 1
|
82
84
|
value :READ_REPLICAS_ENABLED, 2
|
83
85
|
end
|
86
|
+
add_message "google.cloud.redis.v1beta1.PersistenceConfig" do
|
87
|
+
optional :persistence_mode, :enum, 1, "google.cloud.redis.v1beta1.PersistenceConfig.PersistenceMode"
|
88
|
+
optional :rdb_snapshot_period, :enum, 2, "google.cloud.redis.v1beta1.PersistenceConfig.SnapshotPeriod"
|
89
|
+
optional :rdb_next_snapshot_time, :message, 4, "google.protobuf.Timestamp"
|
90
|
+
optional :rdb_snapshot_start_time, :message, 5, "google.protobuf.Timestamp"
|
91
|
+
end
|
92
|
+
add_enum "google.cloud.redis.v1beta1.PersistenceConfig.PersistenceMode" do
|
93
|
+
value :PERSISTENCE_MODE_UNSPECIFIED, 0
|
94
|
+
value :DISABLED, 1
|
95
|
+
value :RDB, 2
|
96
|
+
end
|
97
|
+
add_enum "google.cloud.redis.v1beta1.PersistenceConfig.SnapshotPeriod" do
|
98
|
+
value :SNAPSHOT_PERIOD_UNSPECIFIED, 0
|
99
|
+
value :ONE_HOUR, 3
|
100
|
+
value :SIX_HOURS, 4
|
101
|
+
value :TWELVE_HOURS, 5
|
102
|
+
value :TWENTY_FOUR_HOURS, 6
|
103
|
+
end
|
84
104
|
add_message "google.cloud.redis.v1beta1.RescheduleMaintenanceRequest" do
|
85
105
|
optional :name, :string, 1
|
86
106
|
optional :reschedule_type, :enum, 2, "google.cloud.redis.v1beta1.RescheduleMaintenanceRequest.RescheduleType"
|
@@ -203,6 +223,9 @@ module Google
|
|
203
223
|
Instance::ConnectMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.Instance.ConnectMode").enummodule
|
204
224
|
Instance::TransitEncryptionMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.Instance.TransitEncryptionMode").enummodule
|
205
225
|
Instance::ReadReplicasMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.Instance.ReadReplicasMode").enummodule
|
226
|
+
PersistenceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.PersistenceConfig").msgclass
|
227
|
+
PersistenceConfig::PersistenceMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.PersistenceConfig.PersistenceMode").enummodule
|
228
|
+
PersistenceConfig::SnapshotPeriod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.PersistenceConfig.SnapshotPeriod").enummodule
|
206
229
|
RescheduleMaintenanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.RescheduleMaintenanceRequest").msgclass
|
207
230
|
RescheduleMaintenanceRequest::RescheduleType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.RescheduleMaintenanceRequest.RescheduleType").enummodule
|
208
231
|
MaintenancePolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.MaintenancePolicy").msgclass
|
@@ -33,7 +33,7 @@ module Google
|
|
33
33
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
34
34
|
end
|
35
35
|
|
36
|
-
# A
|
36
|
+
# A Memorystore for Redis instance.
|
37
37
|
# @!attribute [rw] name
|
38
38
|
# @return [::String]
|
39
39
|
# Required. Unique name of the resource in this scope including project and
|
@@ -85,6 +85,13 @@ module Google
|
|
85
85
|
# If not provided, the service will choose an unused /29 block, for
|
86
86
|
# example, 10.0.0.0/29 or 192.168.0.0/29. For READ_REPLICAS_ENABLED
|
87
87
|
# the default block size is /28.
|
88
|
+
# @!attribute [rw] secondary_ip_range
|
89
|
+
# @return [::String]
|
90
|
+
# Optional. Additional IP range for node placement. Required when enabling read
|
91
|
+
# replicas on an existing instance. For DIRECT_PEERING mode value must be a
|
92
|
+
# CIDR range of size /28, or "auto". For PRIVATE_SERVICE_ACCESS mode value
|
93
|
+
# must be the name of an allocated address range associated with the private
|
94
|
+
# service access connection, or "auto".
|
88
95
|
# @!attribute [r] host
|
89
96
|
# @return [::String]
|
90
97
|
# Output only. Hostname or IP address of the exposed Redis endpoint used by
|
@@ -194,8 +201,10 @@ module Google
|
|
194
201
|
# endpoint. Standard tier only. Write requests should target 'port'.
|
195
202
|
# @!attribute [rw] read_replicas_mode
|
196
203
|
# @return [::Google::Cloud::Redis::V1beta1::Instance::ReadReplicasMode]
|
197
|
-
# Optional. Read
|
198
|
-
#
|
204
|
+
# Optional. Read replicas mode for the instance. Defaults to READ_REPLICAS_DISABLED.
|
205
|
+
# @!attribute [rw] persistence_config
|
206
|
+
# @return [::Google::Cloud::Redis::V1beta1::PersistenceConfig]
|
207
|
+
# Optional. Persistence configuration parameters
|
199
208
|
class Instance
|
200
209
|
include ::Google::Protobuf::MessageExts
|
201
210
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -304,6 +313,63 @@ module Google
|
|
304
313
|
end
|
305
314
|
end
|
306
315
|
|
316
|
+
# Configuration of the persistence functionality.
|
317
|
+
# @!attribute [rw] persistence_mode
|
318
|
+
# @return [::Google::Cloud::Redis::V1beta1::PersistenceConfig::PersistenceMode]
|
319
|
+
# Optional. Controls whether Persistence features are enabled.
|
320
|
+
# If not provided, the existing value will be used.
|
321
|
+
# @!attribute [rw] rdb_snapshot_period
|
322
|
+
# @return [::Google::Cloud::Redis::V1beta1::PersistenceConfig::SnapshotPeriod]
|
323
|
+
# Optional. Period between RDB snapshots. Snapshots will be attempted every period
|
324
|
+
# starting from the provided snapshot start time. For example, a start time
|
325
|
+
# of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing until
|
326
|
+
# 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45,
|
327
|
+
# and 00:45 the next day, and so on.
|
328
|
+
# If not provided, TWENTY_FOUR_HOURS will be used as default.
|
329
|
+
# @!attribute [r] rdb_next_snapshot_time
|
330
|
+
# @return [::Google::Protobuf::Timestamp]
|
331
|
+
# Output only. The next time that a snapshot attempt is scheduled to occur.
|
332
|
+
# @!attribute [rw] rdb_snapshot_start_time
|
333
|
+
# @return [::Google::Protobuf::Timestamp]
|
334
|
+
# Optional. Date and time that the first snapshot was/will be attempted, and to which
|
335
|
+
# future snapshots will be aligned.
|
336
|
+
# If not provided, the current time will be used.
|
337
|
+
class PersistenceConfig
|
338
|
+
include ::Google::Protobuf::MessageExts
|
339
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
340
|
+
|
341
|
+
# Available Persistence modes.
|
342
|
+
module PersistenceMode
|
343
|
+
# Not set.
|
344
|
+
PERSISTENCE_MODE_UNSPECIFIED = 0
|
345
|
+
|
346
|
+
# Persistence is disabled for the instance,
|
347
|
+
# and any existing snapshots are deleted.
|
348
|
+
DISABLED = 1
|
349
|
+
|
350
|
+
# RDB based Persistence is enabled.
|
351
|
+
RDB = 2
|
352
|
+
end
|
353
|
+
|
354
|
+
# Available snapshot periods for scheduling.
|
355
|
+
module SnapshotPeriod
|
356
|
+
# Not set.
|
357
|
+
SNAPSHOT_PERIOD_UNSPECIFIED = 0
|
358
|
+
|
359
|
+
# Snapshot every 1 hour.
|
360
|
+
ONE_HOUR = 3
|
361
|
+
|
362
|
+
# Snapshot every 6 hours.
|
363
|
+
SIX_HOURS = 4
|
364
|
+
|
365
|
+
# Snapshot every 12 hours.
|
366
|
+
TWELVE_HOURS = 5
|
367
|
+
|
368
|
+
# Snapshot every 24 hours.
|
369
|
+
TWENTY_FOUR_HOURS = 6
|
370
|
+
end
|
371
|
+
end
|
372
|
+
|
307
373
|
# Request for {::Google::Cloud::Redis::V1beta1::CloudRedis::Client#reschedule_maintenance RescheduleMaintenance}.
|
308
374
|
# @!attribute [rw] name
|
309
375
|
# @return [::String]
|
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.7.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: 2022-
|
11
|
+
date: 2022-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|