google-apis-redis_v1 0.47.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 +8 -0
- data/lib/google/apis/redis_v1/classes.rb +118 -0
- data/lib/google/apis/redis_v1/gem_version.rb +2 -2
- data/lib/google/apis/redis_v1/representations.rb +62 -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
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-redis_v1
|
2
2
|
|
3
|
+
### v0.49.0 (2024-03-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240319
|
6
|
+
|
7
|
+
### v0.48.0 (2024-03-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240307
|
10
|
+
|
3
11
|
### v0.47.0 (2024-03-03)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240226
|
@@ -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
|
@@ -660,6 +722,13 @@ module Google
|
|
660
722
|
# @return [String]
|
661
723
|
attr_accessor :updation_time
|
662
724
|
|
725
|
+
# Message type for storing user labels. User labels are used to tag App Engine
|
726
|
+
# resources, allowing users to search for resources matching a set of labels and
|
727
|
+
# to aggregate usage data by labels.
|
728
|
+
# Corresponds to the JSON property `userLabelSet`
|
729
|
+
# @return [Google::Apis::RedisV1::UserLabels]
|
730
|
+
attr_accessor :user_label_set
|
731
|
+
|
663
732
|
# User-provided labels, represented as a dictionary where each label is a single
|
664
733
|
# key value pair.
|
665
734
|
# Corresponds to the JSON property `userLabels`
|
@@ -688,6 +757,7 @@ module Google
|
|
688
757
|
@resource_container = args[:resource_container] if args.key?(:resource_container)
|
689
758
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
690
759
|
@updation_time = args[:updation_time] if args.key?(:updation_time)
|
760
|
+
@user_label_set = args[:user_label_set] if args.key?(:user_label_set)
|
691
761
|
@user_labels = args[:user_labels] if args.key?(:user_labels)
|
692
762
|
end
|
693
763
|
end
|
@@ -1986,6 +2056,33 @@ module Google
|
|
1986
2056
|
end
|
1987
2057
|
end
|
1988
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
|
+
|
1989
2086
|
# Operation metadata returned by the CLH during resource state reconciliation.
|
1990
2087
|
class ReconciliationOperationMetadata
|
1991
2088
|
include Google::Apis::Core::Hashable
|
@@ -2259,6 +2356,27 @@ module Google
|
|
2259
2356
|
end
|
2260
2357
|
end
|
2261
2358
|
|
2359
|
+
# Message type for storing user labels. User labels are used to tag App Engine
|
2360
|
+
# resources, allowing users to search for resources matching a set of labels and
|
2361
|
+
# to aggregate usage data by labels.
|
2362
|
+
class UserLabels
|
2363
|
+
include Google::Apis::Core::Hashable
|
2364
|
+
|
2365
|
+
#
|
2366
|
+
# Corresponds to the JSON property `labels`
|
2367
|
+
# @return [Hash<String,String>]
|
2368
|
+
attr_accessor :labels
|
2369
|
+
|
2370
|
+
def initialize(**args)
|
2371
|
+
update!(**args)
|
2372
|
+
end
|
2373
|
+
|
2374
|
+
# Update properties of this object
|
2375
|
+
def update!(**args)
|
2376
|
+
@labels = args[:labels] if args.key?(:labels)
|
2377
|
+
end
|
2378
|
+
end
|
2379
|
+
|
2262
2380
|
# Time window in which disruptive maintenance updates occur. Non-disruptive
|
2263
2381
|
# updates can occur inside or outside this window.
|
2264
2382
|
class WeeklyMaintenanceWindow
|
@@ -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
|
|
@@ -346,12 +364,25 @@ module Google
|
|
346
364
|
include Google::Apis::Core::JsonObjectSupport
|
347
365
|
end
|
348
366
|
|
367
|
+
class UserLabels
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
349
373
|
class WeeklyMaintenanceWindow
|
350
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
375
|
|
352
376
|
include Google::Apis::Core::JsonObjectSupport
|
353
377
|
end
|
354
378
|
|
379
|
+
class AofConfig
|
380
|
+
# @private
|
381
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
382
|
+
property :append_fsync, as: 'appendFsync'
|
383
|
+
end
|
384
|
+
end
|
385
|
+
|
355
386
|
class AvailabilityConfiguration
|
356
387
|
# @private
|
357
388
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -406,10 +437,13 @@ module Google
|
|
406
437
|
collection :discovery_endpoints, as: 'discoveryEndpoints', class: Google::Apis::RedisV1::DiscoveryEndpoint, decorator: Google::Apis::RedisV1::DiscoveryEndpoint::Representation
|
407
438
|
|
408
439
|
property :name, as: 'name'
|
440
|
+
property :persistence_config, as: 'persistenceConfig', class: Google::Apis::RedisV1::ClusterPersistenceConfig, decorator: Google::Apis::RedisV1::ClusterPersistenceConfig::Representation
|
441
|
+
|
409
442
|
collection :psc_configs, as: 'pscConfigs', class: Google::Apis::RedisV1::PscConfig, decorator: Google::Apis::RedisV1::PscConfig::Representation
|
410
443
|
|
411
444
|
collection :psc_connections, as: 'pscConnections', class: Google::Apis::RedisV1::PscConnection, decorator: Google::Apis::RedisV1::PscConnection::Representation
|
412
445
|
|
446
|
+
hash :redis_configs, as: 'redisConfigs'
|
413
447
|
property :replica_count, as: 'replicaCount'
|
414
448
|
property :shard_count, as: 'shardCount'
|
415
449
|
property :size_gb, as: 'sizeGb'
|
@@ -421,6 +455,17 @@ module Google
|
|
421
455
|
end
|
422
456
|
end
|
423
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
|
+
|
424
469
|
class Compliance
|
425
470
|
# @private
|
426
471
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -525,6 +570,8 @@ module Google
|
|
525
570
|
property :resource_container, as: 'resourceContainer'
|
526
571
|
property :resource_name, as: 'resourceName'
|
527
572
|
property :updation_time, as: 'updationTime'
|
573
|
+
property :user_label_set, as: 'userLabelSet', class: Google::Apis::RedisV1::UserLabels, decorator: Google::Apis::RedisV1::UserLabels::Representation
|
574
|
+
|
528
575
|
hash :user_labels, as: 'userLabels'
|
529
576
|
end
|
530
577
|
end
|
@@ -859,6 +906,14 @@ module Google
|
|
859
906
|
end
|
860
907
|
end
|
861
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
|
+
|
862
917
|
class ReconciliationOperationMetadata
|
863
918
|
# @private
|
864
919
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -937,6 +992,13 @@ module Google
|
|
937
992
|
end
|
938
993
|
end
|
939
994
|
|
995
|
+
class UserLabels
|
996
|
+
# @private
|
997
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
998
|
+
hash :labels, as: 'labels'
|
999
|
+
end
|
1000
|
+
end
|
1001
|
+
|
940
1002
|
class WeeklyMaintenanceWindow
|
941
1003
|
# @private
|
942
1004
|
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: []
|