google-apis-redis_v1beta1 0.45.0 → 0.46.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: c2b1edd5824508d5a29d60e4945c9223b4a1149f5264c3d54d970590d5c61ef3
4
- data.tar.gz: e7a5f5257505c5ed20ae41212127244c49b88c5b0a9b1da5f8f5964d58d5aef7
3
+ metadata.gz: 687cfd76024c8369b70f93afbb5df284e46af085b6932eb35aa8310457ee635b
4
+ data.tar.gz: 6e596eddcd882077d5778bb46db4c0f365739c1cbaccffa2a2df19ad06b50a91
5
5
  SHA512:
6
- metadata.gz: c0c795c6a4c7b46b035f2eed5b322baadef038c295cfd5d82b6fc0ba6c9bb92919b60bfe8fb07bcbc97598dc23896284827a7b2304534cb8199c355fc57ff778
7
- data.tar.gz: e31caf8b3c66b10855e658516678f8b0b64738a96b96fc64d05587c5d777d7919656be5c90b3e1f8708239dce33d34ee874e85890d7f909d41bf14d047d7508f
6
+ metadata.gz: ac979279bf165bf6938d04fc58345123144b918a4d79ed7f07476a3179e772a57c42c5f784bda308512205b150ffbe5ff90ed50d2d203441e90b40f11be96f5f
7
+ data.tar.gz: 131b763cbeb712e9d53fbde3a887a667f8cb91b48c9f9cdecc4f883887b246ac255e0b88fcc561382396217228337a88577b791e3d4e3719a5be2fb6a506bff7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-redis_v1beta1
2
2
 
3
+ ### v0.46.0 (2024-03-24)
4
+
5
+ * Regenerated from discovery document revision 20240319
6
+
3
7
  ### v0.45.0 (2024-03-17)
4
8
 
5
9
  * Regenerated from discovery document revision 20240307
@@ -22,6 +22,25 @@ module Google
22
22
  module Apis
23
23
  module RedisV1beta1
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::RedisV1beta1::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::RedisV1beta1::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::RedisV1beta1::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::RedisV1beta1::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
@@ -1997,6 +2059,33 @@ module Google
1997
2059
  end
1998
2060
  end
1999
2061
 
2062
+ # Configuration of the RDB based persistence.
2063
+ class RdbConfig
2064
+ include Google::Apis::Core::Hashable
2065
+
2066
+ # Optional. Period between RDB snapshots.
2067
+ # Corresponds to the JSON property `rdbSnapshotPeriod`
2068
+ # @return [String]
2069
+ attr_accessor :rdb_snapshot_period
2070
+
2071
+ # Optional. The time that the first snapshot was/will be attempted, and to which
2072
+ # future snapshots will be aligned. If not provided, the current time will be
2073
+ # used.
2074
+ # Corresponds to the JSON property `rdbSnapshotStartTime`
2075
+ # @return [String]
2076
+ attr_accessor :rdb_snapshot_start_time
2077
+
2078
+ def initialize(**args)
2079
+ update!(**args)
2080
+ end
2081
+
2082
+ # Update properties of this object
2083
+ def update!(**args)
2084
+ @rdb_snapshot_period = args[:rdb_snapshot_period] if args.key?(:rdb_snapshot_period)
2085
+ @rdb_snapshot_start_time = args[:rdb_snapshot_start_time] if args.key?(:rdb_snapshot_start_time)
2086
+ end
2087
+ end
2088
+
2000
2089
  # Operation metadata returned by the CLH during resource state reconciliation.
2001
2090
  class ReconciliationOperationMetadata
2002
2091
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RedisV1beta1
18
18
  # Version of the google-apis-redis_v1beta1 gem
19
- GEM_VERSION = "0.45.0"
19
+ GEM_VERSION = "0.46.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 = "20240307"
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 RedisV1beta1
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::RedisV1beta1::DiscoveryEndpoint, decorator: Google::Apis::RedisV1beta1::DiscoveryEndpoint::Representation
413
438
 
414
439
  property :name, as: 'name'
440
+ property :persistence_config, as: 'persistenceConfig', class: Google::Apis::RedisV1beta1::ClusterPersistenceConfig, decorator: Google::Apis::RedisV1beta1::ClusterPersistenceConfig::Representation
441
+
415
442
  collection :psc_configs, as: 'pscConfigs', class: Google::Apis::RedisV1beta1::PscConfig, decorator: Google::Apis::RedisV1beta1::PscConfig::Representation
416
443
 
417
444
  collection :psc_connections, as: 'pscConnections', class: Google::Apis::RedisV1beta1::PscConnection, decorator: Google::Apis::RedisV1beta1::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::RedisV1beta1::AofConfig, decorator: Google::Apis::RedisV1beta1::AofConfig::Representation
462
+
463
+ property :mode, as: 'mode'
464
+ property :rdb_config, as: 'rdbConfig', class: Google::Apis::RedisV1beta1::RdbConfig, decorator: Google::Apis::RedisV1beta1::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_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.45.0
4
+ version: 0.46.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-17 00:00:00.000000000 Z
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
@@ -59,7 +59,7 @@ licenses:
59
59
  metadata:
60
60
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
61
61
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-redis_v1beta1/CHANGELOG.md
62
- documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1beta1/v0.45.0
62
+ documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1beta1/v0.46.0
63
63
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-redis_v1beta1
64
64
  post_install_message:
65
65
  rdoc_options: []