google-apis-redis_v1 0.54.0 → 0.56.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a0c0c34c99c8847e449012a6a53055d11cf421f6c6253050e968ff575547297
4
- data.tar.gz: f268fbdc2e785312b32faadbe7a488309b719586fc9737d0e04e7c3d560318a3
3
+ metadata.gz: 503f62e2e198a32646337657d94d8f473316d74fdcb85b33f0587525421aa9d3
4
+ data.tar.gz: a447f68a1020cacd35668f4deb937b96bfca3cf20e24438f19fe553fda37ed00
5
5
  SHA512:
6
- metadata.gz: 14d2cafee8b4f5171c102474d7abfe64cea182e57a9b9be6f03d6188b6638885f0e2eb398ad7753af3636368822adb50f5117ac216d14c99ba1bce8a17e013f2
7
- data.tar.gz: ff78e046888daeaef4a0a4c1d5a6a10508e432560889c32081c6feb21788246f6e5126cd5f046271a4bd520d239c57020c68bd582482299564428b8382a2c34b
6
+ metadata.gz: ce4dfa6ecef7d188ae649d64b9b47abbfb7002b6231dc953015b81c7a6ca80863ad87c496a2eec3b3617354c28f16483ba869d891775359bafac689f5bbda40b
7
+ data.tar.gz: 8bb980df37fd80612929fb51e56364baab87c47709d47b94ada4414ffd573edfc379adc9207364393d6db06f0baff700dbefb0640c836d923056cacdcba73cf2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-redis_v1
2
2
 
3
+ ### v0.56.0 (2024-06-23)
4
+
5
+ * Regenerated from discovery document revision 20240613
6
+
7
+ ### v0.55.0 (2024-06-09)
8
+
9
+ * Regenerated from discovery document revision 20240531
10
+
3
11
  ### v0.54.0 (2024-06-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20240528
@@ -230,9 +230,9 @@ module Google
230
230
  # @return [Array<Google::Apis::RedisV1::DiscoveryEndpoint>]
231
231
  attr_accessor :discovery_endpoints
232
232
 
233
- # Required. Unique name of the resource in this scope including project and
234
- # location using the form: `projects/`project_id`/locations/`location_id`/
235
- # clusters/`cluster_id``
233
+ # Required. Identifier. Unique name of the resource in this scope including
234
+ # project and location using the form: `projects/`project_id`/locations/`
235
+ # location_id`/clusters/`cluster_id``
236
236
  # Corresponds to the JSON property `name`
237
237
  # @return [String]
238
238
  attr_accessor :name
@@ -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.54.0"
19
+ GEM_VERSION = "0.56.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 = "20240528"
25
+ REVISION = "20240613"
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
@@ -324,9 +324,9 @@ module Google
324
324
  # field. The returned operation is automatically deleted after a few hours, so
325
325
  # there is no need to call DeleteOperation.
326
326
  # @param [String] name
327
- # Required. Unique name of the resource in this scope including project and
328
- # location using the form: `projects/`project_id`/locations/`location_id`/
329
- # clusters/`cluster_id``
327
+ # Required. Identifier. Unique name of the resource in this scope including
328
+ # project and location using the form: `projects/`project_id`/locations/`
329
+ # location_id`/clusters/`cluster_id``
330
330
  # @param [Google::Apis::RedisV1::Cluster] cluster_object
331
331
  # @param [String] request_id
332
332
  # Idempotent request UUID.
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.54.0
4
+ version: 0.56.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-02 00:00:00.000000000 Z
11
+ date: 2024-06-23 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.54.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1/v0.56.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: []