google-apis-redis_v1beta1 0.45.0 → 0.47.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: cc8fef494adc9dccfaebe5a5c94b8f8d75ff2686fdd7e9be5fee1ad66bf576f9
4
+ data.tar.gz: 849278d86db5c8aeb08409e627614fb9c44664a1da44af4b7ec3a9ed47055fee
5
5
  SHA512:
6
- metadata.gz: c0c795c6a4c7b46b035f2eed5b322baadef038c295cfd5d82b6fc0ba6c9bb92919b60bfe8fb07bcbc97598dc23896284827a7b2304534cb8199c355fc57ff778
7
- data.tar.gz: e31caf8b3c66b10855e658516678f8b0b64738a96b96fc64d05587c5d777d7919656be5c90b3e1f8708239dce33d34ee874e85890d7f909d41bf14d047d7508f
6
+ metadata.gz: 66e888eb2e6b01c1ada35b06f31fe16676f5954a6695f191c5540ab0a3eaf96437a3c34d27e0352021a5950e3d1142de476b0ce7f047933484e83a9d0f40f2b3
7
+ data.tar.gz: 0dded22c2b04984ac7d4dff15ffde7d8c78f51cf04800c6e658a5177d533c139da9ef01e76e53eaf7ff960c0d1bd75024cc3cebe429c35f475b8cd8deb7e6fea
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-redis_v1beta1
2
2
 
3
+ ### v0.47.0 (2024-03-31)
4
+
5
+ * Regenerated from discovery document revision 20240327
6
+
7
+ ### v0.46.0 (2024-03-24)
8
+
9
+ * Regenerated from discovery document revision 20240319
10
+
3
11
  ### v0.45.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 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,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::RedisV1beta1::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::RedisV1beta1::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::RedisV1beta1::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::RedisV1beta1::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
@@ -1997,6 +2072,33 @@ module Google
1997
2072
  end
1998
2073
  end
1999
2074
 
2075
+ # Configuration of the RDB based persistence.
2076
+ class RdbConfig
2077
+ include Google::Apis::Core::Hashable
2078
+
2079
+ # Optional. Period between RDB snapshots.
2080
+ # Corresponds to the JSON property `rdbSnapshotPeriod`
2081
+ # @return [String]
2082
+ attr_accessor :rdb_snapshot_period
2083
+
2084
+ # Optional. The time that the first snapshot was/will be attempted, and to which
2085
+ # future snapshots will be aligned. If not provided, the current time will be
2086
+ # used.
2087
+ # Corresponds to the JSON property `rdbSnapshotStartTime`
2088
+ # @return [String]
2089
+ attr_accessor :rdb_snapshot_start_time
2090
+
2091
+ def initialize(**args)
2092
+ update!(**args)
2093
+ end
2094
+
2095
+ # Update properties of this object
2096
+ def update!(**args)
2097
+ @rdb_snapshot_period = args[:rdb_snapshot_period] if args.key?(:rdb_snapshot_period)
2098
+ @rdb_snapshot_start_time = args[:rdb_snapshot_start_time] if args.key?(:rdb_snapshot_start_time)
2099
+ end
2100
+ end
2101
+
2000
2102
  # Operation metadata returned by the CLH during resource state reconciliation.
2001
2103
  class ReconciliationOperationMetadata
2002
2104
  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.47.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 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,15 @@ 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 :node_type, as: 'nodeType'
441
+ property :persistence_config, as: 'persistenceConfig', class: Google::Apis::RedisV1beta1::ClusterPersistenceConfig, decorator: Google::Apis::RedisV1beta1::ClusterPersistenceConfig::Representation
442
+
443
+ property :precise_size_gb, as: 'preciseSizeGb'
415
444
  collection :psc_configs, as: 'pscConfigs', class: Google::Apis::RedisV1beta1::PscConfig, decorator: Google::Apis::RedisV1beta1::PscConfig::Representation
416
445
 
417
446
  collection :psc_connections, as: 'pscConnections', class: Google::Apis::RedisV1beta1::PscConnection, decorator: Google::Apis::RedisV1beta1::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::RedisV1beta1::AofConfig, decorator: Google::Apis::RedisV1beta1::AofConfig::Representation
464
+
465
+ property :mode, as: 'mode'
466
+ property :rdb_config, as: 'rdbConfig', class: Google::Apis::RedisV1beta1::RdbConfig, decorator: Google::Apis::RedisV1beta1::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_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.45.0
4
+ version: 0.47.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
@@ -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.47.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: []