google-apis-redis_v1 0.48.0 → 0.50.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: 913ca549ca81125e9510638fc6e573b633b938077c8aa1da1936b3b10c78055b
4
- data.tar.gz: 7f1cde727e061705744b33ea16c2c8a99f0661586d5333fe94c2d8ff6e8a55f9
3
+ metadata.gz: 4683c22c1b3d3898521b09c6a0ea022423f46a2fd2c14cdd650171b69ea395a2
4
+ data.tar.gz: a4d28952d79b22851c07e1875424cb85ae5c2476f383e478e72d2b22f3f1e62c
5
5
  SHA512:
6
- metadata.gz: '054974d84109cb4057f9c6083654707a9ea1258c1a50c159ca12a628e227c1792224066958c858ae83e1ed9e6d246d4512276a5daf8c1067d5a244fd87cb4302'
7
- data.tar.gz: cfea1ecd3a16c1ea174251171779ac8900126730f3a3ebe1f411684e758de0372a4927b802202693eff60785f7b50e96b8b9f592b78e174a16b817bd46990aa9
6
+ metadata.gz: 7d41b55484d98e5b5f0be05e24f9adcad04c808c5c55d401c2a81e5159aa8c4de0110c48b0575eb450558e04a23d5917d65992a34312aa5978cfafa46dd91402
7
+ data.tar.gz: 11de403ff011e01367f7f4e8af6296acf750b2e7b4ebdcfc212326e02efeb94a49ed79d7114b3517fdcd03cfe32c95ba7b04e0d8b8741b03ef7ec367d01eb200
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-redis_v1
2
2
 
3
+ ### v0.50.0 (2024-03-31)
4
+
5
+ * Regenerated from discovery document revision 20240327
6
+
7
+ ### v0.49.0 (2024-03-24)
8
+
9
+ * Regenerated from discovery document revision 20240319
10
+
3
11
  ### v0.48.0 (2024-03-17)
4
12
 
5
13
  * Regenerated from discovery document revision 20240307
@@ -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,22 @@ module Google
204
223
  # @return [String]
205
224
  attr_accessor :name
206
225
 
226
+ # Optional. The type of a redis node in the cluster. NodeType determines the
227
+ # underlying machine-type of a redis node.
228
+ # Corresponds to the JSON property `nodeType`
229
+ # @return [String]
230
+ attr_accessor :node_type
231
+
232
+ # Configuration of the persistence functionality.
233
+ # Corresponds to the JSON property `persistenceConfig`
234
+ # @return [Google::Apis::RedisV1::ClusterPersistenceConfig]
235
+ attr_accessor :persistence_config
236
+
237
+ # Output only. Precise value of redis memory size in GB for the entire cluster.
238
+ # Corresponds to the JSON property `preciseSizeGb`
239
+ # @return [Float]
240
+ attr_accessor :precise_size_gb
241
+
207
242
  # Required. Each PscConfig configures the consumer network where IPs will be
208
243
  # designated to the cluster for client access through Private Service Connect
209
244
  # Automation. Currently, only one PscConfig is supported.
@@ -217,6 +252,11 @@ module Google
217
252
  # @return [Array<Google::Apis::RedisV1::PscConnection>]
218
253
  attr_accessor :psc_connections
219
254
 
255
+ # Optional. Key/Value pairs of customer overrides for mutable Redis Configs
256
+ # Corresponds to the JSON property `redisConfigs`
257
+ # @return [Hash<String,String>]
258
+ attr_accessor :redis_configs
259
+
220
260
  # Optional. The number of replica nodes per shard.
221
261
  # Corresponds to the JSON property `replicaCount`
222
262
  # @return [Fixnum]
@@ -265,8 +305,12 @@ module Google
265
305
  @create_time = args[:create_time] if args.key?(:create_time)
266
306
  @discovery_endpoints = args[:discovery_endpoints] if args.key?(:discovery_endpoints)
267
307
  @name = args[:name] if args.key?(:name)
308
+ @node_type = args[:node_type] if args.key?(:node_type)
309
+ @persistence_config = args[:persistence_config] if args.key?(:persistence_config)
310
+ @precise_size_gb = args[:precise_size_gb] if args.key?(:precise_size_gb)
268
311
  @psc_configs = args[:psc_configs] if args.key?(:psc_configs)
269
312
  @psc_connections = args[:psc_connections] if args.key?(:psc_connections)
313
+ @redis_configs = args[:redis_configs] if args.key?(:redis_configs)
270
314
  @replica_count = args[:replica_count] if args.key?(:replica_count)
271
315
  @shard_count = args[:shard_count] if args.key?(:shard_count)
272
316
  @size_gb = args[:size_gb] if args.key?(:size_gb)
@@ -277,6 +321,37 @@ module Google
277
321
  end
278
322
  end
279
323
 
324
+ # Configuration of the persistence functionality.
325
+ class ClusterPersistenceConfig
326
+ include Google::Apis::Core::Hashable
327
+
328
+ # Configuration of the AOF based persistence.
329
+ # Corresponds to the JSON property `aofConfig`
330
+ # @return [Google::Apis::RedisV1::AofConfig]
331
+ attr_accessor :aof_config
332
+
333
+ # Optional. The mode of persistence.
334
+ # Corresponds to the JSON property `mode`
335
+ # @return [String]
336
+ attr_accessor :mode
337
+
338
+ # Configuration of the RDB based persistence.
339
+ # Corresponds to the JSON property `rdbConfig`
340
+ # @return [Google::Apis::RedisV1::RdbConfig]
341
+ attr_accessor :rdb_config
342
+
343
+ def initialize(**args)
344
+ update!(**args)
345
+ end
346
+
347
+ # Update properties of this object
348
+ def update!(**args)
349
+ @aof_config = args[:aof_config] if args.key?(:aof_config)
350
+ @mode = args[:mode] if args.key?(:mode)
351
+ @rdb_config = args[:rdb_config] if args.key?(:rdb_config)
352
+ end
353
+ end
354
+
280
355
  # Contains compliance information about a security standard indicating unmet
281
356
  # recommendations.
282
357
  class Compliance
@@ -1994,6 +2069,33 @@ module Google
1994
2069
  end
1995
2070
  end
1996
2071
 
2072
+ # Configuration of the RDB based persistence.
2073
+ class RdbConfig
2074
+ include Google::Apis::Core::Hashable
2075
+
2076
+ # Optional. Period between RDB snapshots.
2077
+ # Corresponds to the JSON property `rdbSnapshotPeriod`
2078
+ # @return [String]
2079
+ attr_accessor :rdb_snapshot_period
2080
+
2081
+ # Optional. The time that the first snapshot was/will be attempted, and to which
2082
+ # future snapshots will be aligned. If not provided, the current time will be
2083
+ # used.
2084
+ # Corresponds to the JSON property `rdbSnapshotStartTime`
2085
+ # @return [String]
2086
+ attr_accessor :rdb_snapshot_start_time
2087
+
2088
+ def initialize(**args)
2089
+ update!(**args)
2090
+ end
2091
+
2092
+ # Update properties of this object
2093
+ def update!(**args)
2094
+ @rdb_snapshot_period = args[:rdb_snapshot_period] if args.key?(:rdb_snapshot_period)
2095
+ @rdb_snapshot_start_time = args[:rdb_snapshot_start_time] if args.key?(:rdb_snapshot_start_time)
2096
+ end
2097
+ end
2098
+
1997
2099
  # Operation metadata returned by the CLH during resource state reconciliation.
1998
2100
  class ReconciliationOperationMetadata
1999
2101
  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.48.0"
19
+ GEM_VERSION = "0.50.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 = "20240327"
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,15 @@ 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 :node_type, as: 'nodeType'
441
+ property :persistence_config, as: 'persistenceConfig', class: Google::Apis::RedisV1::ClusterPersistenceConfig, decorator: Google::Apis::RedisV1::ClusterPersistenceConfig::Representation
442
+
443
+ property :precise_size_gb, as: 'preciseSizeGb'
415
444
  collection :psc_configs, as: 'pscConfigs', class: Google::Apis::RedisV1::PscConfig, decorator: Google::Apis::RedisV1::PscConfig::Representation
416
445
 
417
446
  collection :psc_connections, as: 'pscConnections', class: Google::Apis::RedisV1::PscConnection, decorator: Google::Apis::RedisV1::PscConnection::Representation
418
447
 
448
+ hash :redis_configs, as: 'redisConfigs'
419
449
  property :replica_count, as: 'replicaCount'
420
450
  property :shard_count, as: 'shardCount'
421
451
  property :size_gb, as: 'sizeGb'
@@ -427,6 +457,17 @@ module Google
427
457
  end
428
458
  end
429
459
 
460
+ class ClusterPersistenceConfig
461
+ # @private
462
+ class Representation < Google::Apis::Core::JsonRepresentation
463
+ property :aof_config, as: 'aofConfig', class: Google::Apis::RedisV1::AofConfig, decorator: Google::Apis::RedisV1::AofConfig::Representation
464
+
465
+ property :mode, as: 'mode'
466
+ property :rdb_config, as: 'rdbConfig', class: Google::Apis::RedisV1::RdbConfig, decorator: Google::Apis::RedisV1::RdbConfig::Representation
467
+
468
+ end
469
+ end
470
+
430
471
  class Compliance
431
472
  # @private
432
473
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -867,6 +908,14 @@ module Google
867
908
  end
868
909
  end
869
910
 
911
+ class RdbConfig
912
+ # @private
913
+ class Representation < Google::Apis::Core::JsonRepresentation
914
+ property :rdb_snapshot_period, as: 'rdbSnapshotPeriod'
915
+ property :rdb_snapshot_start_time, as: 'rdbSnapshotStartTime'
916
+ end
917
+ end
918
+
870
919
  class ReconciliationOperationMetadata
871
920
  # @private
872
921
  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.48.0
4
+ version: 0.50.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-31 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.48.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1/v0.50.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: []