google-apis-redis_v1 0.48.0 → 0.49.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 +4 -0
- data/lib/google/apis/redis_v1/classes.rb +89 -0
- data/lib/google/apis/redis_v1/gem_version.rb +2 -2
- data/lib/google/apis/redis_v1/representations.rb +47 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76e49a118114ae3c22598d6f2f84c1f12af74c3c16972c6a03814e5ad7400792
|
4
|
+
data.tar.gz: 838d52b6c89287ae13ba768e6cd4d0b6d7364926d7d2884efb22efe649727477
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0eac13c373063d0703dac5a8a43e49339dbd62c85f313224952c91d72a6efc2f565b6cf9c5f91c0033b96b9387ec583573490071ae3d265a24c01745f24e3382
|
7
|
+
data.tar.gz: bbc0deb50283abe01e68f412c322fd536fdcdb984bf7487788f1a3f4f8f582a9e5f9a918dd18db4b3737e74f6e8e8941237adf5c25468ca46766144e33b66577
|
data/CHANGELOG.md
CHANGED
@@ -22,6 +22,25 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module RedisV1
|
24
24
|
|
25
|
+
# Configuration of the AOF based persistence.
|
26
|
+
class AofConfig
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Optional. fsync configuration.
|
30
|
+
# Corresponds to the JSON property `appendFsync`
|
31
|
+
# @return [String]
|
32
|
+
attr_accessor :append_fsync
|
33
|
+
|
34
|
+
def initialize(**args)
|
35
|
+
update!(**args)
|
36
|
+
end
|
37
|
+
|
38
|
+
# Update properties of this object
|
39
|
+
def update!(**args)
|
40
|
+
@append_fsync = args[:append_fsync] if args.key?(:append_fsync)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
25
44
|
# Configuration for availability of database instance
|
26
45
|
class AvailabilityConfiguration
|
27
46
|
include Google::Apis::Core::Hashable
|
@@ -204,6 +223,11 @@ module Google
|
|
204
223
|
# @return [String]
|
205
224
|
attr_accessor :name
|
206
225
|
|
226
|
+
# Configuration of the persistence functionality.
|
227
|
+
# Corresponds to the JSON property `persistenceConfig`
|
228
|
+
# @return [Google::Apis::RedisV1::ClusterPersistenceConfig]
|
229
|
+
attr_accessor :persistence_config
|
230
|
+
|
207
231
|
# Required. Each PscConfig configures the consumer network where IPs will be
|
208
232
|
# designated to the cluster for client access through Private Service Connect
|
209
233
|
# Automation. Currently, only one PscConfig is supported.
|
@@ -217,6 +241,11 @@ module Google
|
|
217
241
|
# @return [Array<Google::Apis::RedisV1::PscConnection>]
|
218
242
|
attr_accessor :psc_connections
|
219
243
|
|
244
|
+
# Optional. Key/Value pairs of customer overrides for mutable Redis Configs
|
245
|
+
# Corresponds to the JSON property `redisConfigs`
|
246
|
+
# @return [Hash<String,String>]
|
247
|
+
attr_accessor :redis_configs
|
248
|
+
|
220
249
|
# Optional. The number of replica nodes per shard.
|
221
250
|
# Corresponds to the JSON property `replicaCount`
|
222
251
|
# @return [Fixnum]
|
@@ -265,8 +294,10 @@ module Google
|
|
265
294
|
@create_time = args[:create_time] if args.key?(:create_time)
|
266
295
|
@discovery_endpoints = args[:discovery_endpoints] if args.key?(:discovery_endpoints)
|
267
296
|
@name = args[:name] if args.key?(:name)
|
297
|
+
@persistence_config = args[:persistence_config] if args.key?(:persistence_config)
|
268
298
|
@psc_configs = args[:psc_configs] if args.key?(:psc_configs)
|
269
299
|
@psc_connections = args[:psc_connections] if args.key?(:psc_connections)
|
300
|
+
@redis_configs = args[:redis_configs] if args.key?(:redis_configs)
|
270
301
|
@replica_count = args[:replica_count] if args.key?(:replica_count)
|
271
302
|
@shard_count = args[:shard_count] if args.key?(:shard_count)
|
272
303
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
@@ -277,6 +308,37 @@ module Google
|
|
277
308
|
end
|
278
309
|
end
|
279
310
|
|
311
|
+
# Configuration of the persistence functionality.
|
312
|
+
class ClusterPersistenceConfig
|
313
|
+
include Google::Apis::Core::Hashable
|
314
|
+
|
315
|
+
# Configuration of the AOF based persistence.
|
316
|
+
# Corresponds to the JSON property `aofConfig`
|
317
|
+
# @return [Google::Apis::RedisV1::AofConfig]
|
318
|
+
attr_accessor :aof_config
|
319
|
+
|
320
|
+
# Optional. The mode of persistence.
|
321
|
+
# Corresponds to the JSON property `mode`
|
322
|
+
# @return [String]
|
323
|
+
attr_accessor :mode
|
324
|
+
|
325
|
+
# Configuration of the RDB based persistence.
|
326
|
+
# Corresponds to the JSON property `rdbConfig`
|
327
|
+
# @return [Google::Apis::RedisV1::RdbConfig]
|
328
|
+
attr_accessor :rdb_config
|
329
|
+
|
330
|
+
def initialize(**args)
|
331
|
+
update!(**args)
|
332
|
+
end
|
333
|
+
|
334
|
+
# Update properties of this object
|
335
|
+
def update!(**args)
|
336
|
+
@aof_config = args[:aof_config] if args.key?(:aof_config)
|
337
|
+
@mode = args[:mode] if args.key?(:mode)
|
338
|
+
@rdb_config = args[:rdb_config] if args.key?(:rdb_config)
|
339
|
+
end
|
340
|
+
end
|
341
|
+
|
280
342
|
# Contains compliance information about a security standard indicating unmet
|
281
343
|
# recommendations.
|
282
344
|
class Compliance
|
@@ -1994,6 +2056,33 @@ module Google
|
|
1994
2056
|
end
|
1995
2057
|
end
|
1996
2058
|
|
2059
|
+
# Configuration of the RDB based persistence.
|
2060
|
+
class RdbConfig
|
2061
|
+
include Google::Apis::Core::Hashable
|
2062
|
+
|
2063
|
+
# Optional. Period between RDB snapshots.
|
2064
|
+
# Corresponds to the JSON property `rdbSnapshotPeriod`
|
2065
|
+
# @return [String]
|
2066
|
+
attr_accessor :rdb_snapshot_period
|
2067
|
+
|
2068
|
+
# Optional. The time that the first snapshot was/will be attempted, and to which
|
2069
|
+
# future snapshots will be aligned. If not provided, the current time will be
|
2070
|
+
# used.
|
2071
|
+
# Corresponds to the JSON property `rdbSnapshotStartTime`
|
2072
|
+
# @return [String]
|
2073
|
+
attr_accessor :rdb_snapshot_start_time
|
2074
|
+
|
2075
|
+
def initialize(**args)
|
2076
|
+
update!(**args)
|
2077
|
+
end
|
2078
|
+
|
2079
|
+
# Update properties of this object
|
2080
|
+
def update!(**args)
|
2081
|
+
@rdb_snapshot_period = args[:rdb_snapshot_period] if args.key?(:rdb_snapshot_period)
|
2082
|
+
@rdb_snapshot_start_time = args[:rdb_snapshot_start_time] if args.key?(:rdb_snapshot_start_time)
|
2083
|
+
end
|
2084
|
+
end
|
2085
|
+
|
1997
2086
|
# Operation metadata returned by the CLH during resource state reconciliation.
|
1998
2087
|
class ReconciliationOperationMetadata
|
1999
2088
|
include Google::Apis::Core::Hashable
|
@@ -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.49.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240319"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module RedisV1
|
24
24
|
|
25
|
+
class AofConfig
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class AvailabilityConfiguration
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -58,6 +64,12 @@ module Google
|
|
58
64
|
include Google::Apis::Core::JsonObjectSupport
|
59
65
|
end
|
60
66
|
|
67
|
+
class ClusterPersistenceConfig
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
61
73
|
class Compliance
|
62
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
75
|
|
@@ -292,6 +304,12 @@ module Google
|
|
292
304
|
include Google::Apis::Core::JsonObjectSupport
|
293
305
|
end
|
294
306
|
|
307
|
+
class RdbConfig
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
295
313
|
class ReconciliationOperationMetadata
|
296
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
315
|
|
@@ -358,6 +376,13 @@ module Google
|
|
358
376
|
include Google::Apis::Core::JsonObjectSupport
|
359
377
|
end
|
360
378
|
|
379
|
+
class AofConfig
|
380
|
+
# @private
|
381
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
382
|
+
property :append_fsync, as: 'appendFsync'
|
383
|
+
end
|
384
|
+
end
|
385
|
+
|
361
386
|
class AvailabilityConfiguration
|
362
387
|
# @private
|
363
388
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -412,10 +437,13 @@ module Google
|
|
412
437
|
collection :discovery_endpoints, as: 'discoveryEndpoints', class: Google::Apis::RedisV1::DiscoveryEndpoint, decorator: Google::Apis::RedisV1::DiscoveryEndpoint::Representation
|
413
438
|
|
414
439
|
property :name, as: 'name'
|
440
|
+
property :persistence_config, as: 'persistenceConfig', class: Google::Apis::RedisV1::ClusterPersistenceConfig, decorator: Google::Apis::RedisV1::ClusterPersistenceConfig::Representation
|
441
|
+
|
415
442
|
collection :psc_configs, as: 'pscConfigs', class: Google::Apis::RedisV1::PscConfig, decorator: Google::Apis::RedisV1::PscConfig::Representation
|
416
443
|
|
417
444
|
collection :psc_connections, as: 'pscConnections', class: Google::Apis::RedisV1::PscConnection, decorator: Google::Apis::RedisV1::PscConnection::Representation
|
418
445
|
|
446
|
+
hash :redis_configs, as: 'redisConfigs'
|
419
447
|
property :replica_count, as: 'replicaCount'
|
420
448
|
property :shard_count, as: 'shardCount'
|
421
449
|
property :size_gb, as: 'sizeGb'
|
@@ -427,6 +455,17 @@ module Google
|
|
427
455
|
end
|
428
456
|
end
|
429
457
|
|
458
|
+
class ClusterPersistenceConfig
|
459
|
+
# @private
|
460
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
461
|
+
property :aof_config, as: 'aofConfig', class: Google::Apis::RedisV1::AofConfig, decorator: Google::Apis::RedisV1::AofConfig::Representation
|
462
|
+
|
463
|
+
property :mode, as: 'mode'
|
464
|
+
property :rdb_config, as: 'rdbConfig', class: Google::Apis::RedisV1::RdbConfig, decorator: Google::Apis::RedisV1::RdbConfig::Representation
|
465
|
+
|
466
|
+
end
|
467
|
+
end
|
468
|
+
|
430
469
|
class Compliance
|
431
470
|
# @private
|
432
471
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -867,6 +906,14 @@ module Google
|
|
867
906
|
end
|
868
907
|
end
|
869
908
|
|
909
|
+
class RdbConfig
|
910
|
+
# @private
|
911
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
912
|
+
property :rdb_snapshot_period, as: 'rdbSnapshotPeriod'
|
913
|
+
property :rdb_snapshot_start_time, as: 'rdbSnapshotStartTime'
|
914
|
+
end
|
915
|
+
end
|
916
|
+
|
870
917
|
class ReconciliationOperationMetadata
|
871
918
|
# @private
|
872
919
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-redis_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.49.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: 2024-03-
|
11
|
+
date: 2024-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-redis_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1/v0.49.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-redis_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|