google-apis-redis_v1 0.54.0 → 0.55.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/redis_v1/classes.rb +34 -0
- data/lib/google/apis/redis_v1/gem_version.rb +2 -2
- data/lib/google/apis/redis_v1/representations.rb +16 -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: 7ef743d479b32aa418f7be3b744b060335c25a3d05eb2dfc1a6341d4f96ae5b7
|
4
|
+
data.tar.gz: 58db9938ac8089b577be712db07225855c71f95bfd5f2478be85552529942df5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b61d33abe40b1de99189ec27949311b415eebd7449180e10289cbbae86ed8b46df891b5bc48cf6154e4b291124df1c860e93b901e735ce46348a0dac8aa0d66a
|
7
|
+
data.tar.gz: 2834b65a9ea8c975f668a3b5e671306d69a76e0751be54796f0c5b797ca3fb1618bdcfa6cbd817ba84653503429a23fc096d269d708184b8d548dc8dd2d8c964
|
data/CHANGELOG.md
CHANGED
@@ -309,6 +309,11 @@ module Google
|
|
309
309
|
# @return [String]
|
310
310
|
attr_accessor :uid
|
311
311
|
|
312
|
+
# Zone distribution config for allocation of cluster resources.
|
313
|
+
# Corresponds to the JSON property `zoneDistributionConfig`
|
314
|
+
# @return [Google::Apis::RedisV1::ZoneDistributionConfig]
|
315
|
+
attr_accessor :zone_distribution_config
|
316
|
+
|
312
317
|
def initialize(**args)
|
313
318
|
update!(**args)
|
314
319
|
end
|
@@ -333,6 +338,7 @@ module Google
|
|
333
338
|
@state_info = args[:state_info] if args.key?(:state_info)
|
334
339
|
@transit_encryption_mode = args[:transit_encryption_mode] if args.key?(:transit_encryption_mode)
|
335
340
|
@uid = args[:uid] if args.key?(:uid)
|
341
|
+
@zone_distribution_config = args[:zone_distribution_config] if args.key?(:zone_distribution_config)
|
336
342
|
end
|
337
343
|
end
|
338
344
|
|
@@ -2557,6 +2563,34 @@ module Google
|
|
2557
2563
|
@start_time = args[:start_time] if args.key?(:start_time)
|
2558
2564
|
end
|
2559
2565
|
end
|
2566
|
+
|
2567
|
+
# Zone distribution config for allocation of cluster resources.
|
2568
|
+
class ZoneDistributionConfig
|
2569
|
+
include Google::Apis::Core::Hashable
|
2570
|
+
|
2571
|
+
# Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not
|
2572
|
+
# specified.
|
2573
|
+
# Corresponds to the JSON property `mode`
|
2574
|
+
# @return [String]
|
2575
|
+
attr_accessor :mode
|
2576
|
+
|
2577
|
+
# Optional. When SINGLE ZONE distribution is selected, zone field would be used
|
2578
|
+
# to allocate all resources in that zone. This is not applicable to MULTI_ZONE,
|
2579
|
+
# and would be ignored for MULTI_ZONE clusters.
|
2580
|
+
# Corresponds to the JSON property `zone`
|
2581
|
+
# @return [String]
|
2582
|
+
attr_accessor :zone
|
2583
|
+
|
2584
|
+
def initialize(**args)
|
2585
|
+
update!(**args)
|
2586
|
+
end
|
2587
|
+
|
2588
|
+
# Update properties of this object
|
2589
|
+
def update!(**args)
|
2590
|
+
@mode = args[:mode] if args.key?(:mode)
|
2591
|
+
@zone = args[:zone] if args.key?(:zone)
|
2592
|
+
end
|
2593
|
+
end
|
2560
2594
|
end
|
2561
2595
|
end
|
2562
2596
|
end
|
@@ -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.55.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240531"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -394,6 +394,12 @@ module Google
|
|
394
394
|
include Google::Apis::Core::JsonObjectSupport
|
395
395
|
end
|
396
396
|
|
397
|
+
class ZoneDistributionConfig
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
+
|
400
|
+
include Google::Apis::Core::JsonObjectSupport
|
401
|
+
end
|
402
|
+
|
397
403
|
class AofConfig
|
398
404
|
# @private
|
399
405
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -474,6 +480,8 @@ module Google
|
|
474
480
|
|
475
481
|
property :transit_encryption_mode, as: 'transitEncryptionMode'
|
476
482
|
property :uid, as: 'uid'
|
483
|
+
property :zone_distribution_config, as: 'zoneDistributionConfig', class: Google::Apis::RedisV1::ZoneDistributionConfig, decorator: Google::Apis::RedisV1::ZoneDistributionConfig::Representation
|
484
|
+
|
477
485
|
end
|
478
486
|
end
|
479
487
|
|
@@ -1063,6 +1071,14 @@ module Google
|
|
1063
1071
|
|
1064
1072
|
end
|
1065
1073
|
end
|
1074
|
+
|
1075
|
+
class ZoneDistributionConfig
|
1076
|
+
# @private
|
1077
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1078
|
+
property :mode, as: 'mode'
|
1079
|
+
property :zone, as: 'zone'
|
1080
|
+
end
|
1081
|
+
end
|
1066
1082
|
end
|
1067
1083
|
end
|
1068
1084
|
end
|
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.55.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-06-
|
11
|
+
date: 2024-06-09 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.55.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: []
|