google-apis-redis_v1 0.16.0 → 0.17.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: bd17c57a8ed40df12aeb0ae5c48373aabf9fee21b6587381a4e7d24e38df15e5
4
- data.tar.gz: e852269a65b8a1a0d41bf2f6f692331fc0260183fccb969e749a36c42535d7f3
3
+ metadata.gz: c8f3bc03ff1b14f71dc7adb60b14954c23d9d538aa894e9c9bf9b6425d567b04
4
+ data.tar.gz: d6791317d45c01a4d05cfb9c48150f3b7ef3cab0a4b5bf0605389225847727d3
5
5
  SHA512:
6
- metadata.gz: ef59dd73055386533fcffb7d3c0ae7a679d93eaa063b03bf48ca72da8b4b67a159b8bbc9edd9a28cd65674fe4ce7ea6bd7f320d01c95de4bce17e290fcb7f618
7
- data.tar.gz: 7608d66c021ec147d9c8e695e24d0161dbb02734560c3685c353d48a04de79f11eafbd22363a85d3b1a76eda3744704932719a7972336bd4dfb8d27423f0ccd6
6
+ metadata.gz: eaf63fccdbef8e5624f2afe721d3fafc8066014a4f5d2ff13ae38481eac1c3b09f78e529e7c8bd5740f6897ac6604c5af448c8b7f1072c1e3ade0805add16ca8
7
+ data.tar.gz: 2e6e05ddaf10b9cb720a73f982c4eca3229fbd4f49466db6a89ad1d52812151798f446ef0cc2bde3eb62fd59c202949a40da458629f2c7ce7c88992848766f9e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-redis_v1
2
2
 
3
+ ### v0.17.0 (2021-10-30)
4
+
5
+ * Regenerated from discovery document revision 20211021
6
+
3
7
  ### v0.16.0 (2021-10-20)
4
8
 
5
9
  * Unspecified changes
@@ -249,13 +249,15 @@ module Google
249
249
  end
250
250
  end
251
251
 
252
- # A Google Cloud Redis instance. next id = 37
252
+ # A Google Cloud Redis instance. next id = 38
253
253
  class Instance
254
254
  include Google::Apis::Core::Hashable
255
255
 
256
- # Optional. Only applicable to STANDARD_HA tier which protects the instance
257
- # against zonal failures by provisioning it across two zones. If provided, it
258
- # must be a different zone from the one provided in location_id.
256
+ # Optional. If specified, at least one node will be provisioned in this zone in
257
+ # addition to the zone specified in location_id. Only applicable to standard
258
+ # tier. If provided, it must be a different zone from the one provided in [
259
+ # location_id]. Additional nodes beyond the first 2 will be placed in zones
260
+ # selected by the service.
259
261
  # Corresponds to the JSON property `alternativeLocationId`
260
262
  # @return [String]
261
263
  attr_accessor :alternative_location_id
@@ -286,10 +288,9 @@ module Google
286
288
  # @return [String]
287
289
  attr_accessor :create_time
288
290
 
289
- # Output only. The current zone where the Redis endpoint is placed. For Basic
290
- # Tier instances, this will always be the same as the location_id provided by
291
- # the user at creation time. For Standard Tier instances, this can be either
292
- # location_id or alternative_location_id and can change after a failover event.
291
+ # Output only. The current zone where the Redis primary node is located. In
292
+ # basic tier, this will always be the same as [location_id]. In standard tier,
293
+ # this can be the zone of any node in the instance.
293
294
  # Corresponds to the JSON property `currentLocationId`
294
295
  # @return [String]
295
296
  attr_accessor :current_location_id
@@ -312,9 +313,9 @@ module Google
312
313
 
313
314
  # Optional. The zone where the instance will be provisioned. If not provided,
314
315
  # the service will choose a zone from the specified region for the instance. For
315
- # standard tier, instances will be created across two zones for protection
316
- # against zonal failures. If [alternative_location_id] is also provided, it must
317
- # be different from [location_id].
316
+ # standard tier, additional nodes will be added across multiple zones for
317
+ # protection against zonal failures. If specified, at least one node will be
318
+ # provisioned in this zone.
318
319
  # Corresponds to the JSON property `locationId`
319
320
  # @return [String]
320
321
  attr_accessor :location_id
@@ -351,6 +352,11 @@ module Google
351
352
  # @return [Array<Google::Apis::RedisV1::NodeInfo>]
352
353
  attr_accessor :nodes
353
354
 
355
+ # Configuration of the persistence functionality.
356
+ # Corresponds to the JSON property `persistenceConfig`
357
+ # @return [Google::Apis::RedisV1::PersistenceConfig]
358
+ attr_accessor :persistence_config
359
+
354
360
  # Output only. Cloud IAM identity used by import / export operations to transfer
355
361
  # data to/from Cloud Storage. Format is "serviceAccount:". The value may change
356
362
  # over time for a given instance so should be checked before each import/export
@@ -402,7 +408,7 @@ module Google
402
408
  attr_accessor :redis_version
403
409
 
404
410
  # Optional. The number of replica nodes. Valid range for standard tier is [1-5]
405
- # and defaults to 1. Valid value for basic tier is 0 and defaults to 0.
411
+ # and defaults to 2. Valid value for basic tier is 0 and defaults to 0.
406
412
  # Corresponds to the JSON property `replicaCount`
407
413
  # @return [Fixnum]
408
414
  attr_accessor :replica_count
@@ -412,7 +418,8 @@ module Google
412
418
  # existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode,
413
419
  # the name of one allocated IP address ranges associated with this private
414
420
  # service access connection. If not provided, the service will choose an unused /
415
- # 29 block, for example, 10.0.0.0/29 or 192.168.0.0/29.
421
+ # 29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. For
422
+ # READ_REPLICAS_ENABLED the default block size is /28.
416
423
  # Corresponds to the JSON property `reservedIpRange`
417
424
  # @return [String]
418
425
  attr_accessor :reserved_ip_range
@@ -465,6 +472,7 @@ module Google
465
472
  @memory_size_gb = args[:memory_size_gb] if args.key?(:memory_size_gb)
466
473
  @name = args[:name] if args.key?(:name)
467
474
  @nodes = args[:nodes] if args.key?(:nodes)
475
+ @persistence_config = args[:persistence_config] if args.key?(:persistence_config)
468
476
  @persistence_iam_identity = args[:persistence_iam_identity] if args.key?(:persistence_iam_identity)
469
477
  @port = args[:port] if args.key?(:port)
470
478
  @read_endpoint = args[:read_endpoint] if args.key?(:read_endpoint)
@@ -725,12 +733,12 @@ module Google
725
733
  class NodeInfo
726
734
  include Google::Apis::Core::Hashable
727
735
 
728
- # Output only. Output Only. Node identifying string. e.g. 'node-0', 'node-1'
736
+ # Output only. Node identifying string. e.g. 'node-0', 'node-1'
729
737
  # Corresponds to the JSON property `id`
730
738
  # @return [String]
731
739
  attr_accessor :id
732
740
 
733
- # Output only. Output Only. Location of the node.
741
+ # Output only. Location of the node.
734
742
  # Corresponds to the JSON property `zone`
735
743
  # @return [String]
736
744
  attr_accessor :zone
@@ -831,6 +839,51 @@ module Google
831
839
  end
832
840
  end
833
841
 
842
+ # Configuration of the persistence functionality.
843
+ class PersistenceConfig
844
+ include Google::Apis::Core::Hashable
845
+
846
+ # Optional. Controls whether Persistence features are enabled. If not provided,
847
+ # the existing value will be used.
848
+ # Corresponds to the JSON property `persistenceMode`
849
+ # @return [String]
850
+ attr_accessor :persistence_mode
851
+
852
+ # Output only. The next time that a snapshot attempt is scheduled to occur.
853
+ # Corresponds to the JSON property `rdbNextSnapshotTime`
854
+ # @return [String]
855
+ attr_accessor :rdb_next_snapshot_time
856
+
857
+ # Optional. Period between RDB snapshots. Snapshots will be attempted every
858
+ # period starting from the provided snapshot start time. For example, a start
859
+ # time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing until
860
+ # 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45, and
861
+ # 00:45 the next day, and so on. If not provided, TWENTY_FOUR_HOURS will be used
862
+ # as default.
863
+ # Corresponds to the JSON property `rdbSnapshotPeriod`
864
+ # @return [String]
865
+ attr_accessor :rdb_snapshot_period
866
+
867
+ # Optional. Date and time that the first snapshot was/will be attempted, and to
868
+ # which future snapshots will be aligned. If not provided, the current time will
869
+ # be used.
870
+ # Corresponds to the JSON property `rdbSnapshotStartTime`
871
+ # @return [String]
872
+ attr_accessor :rdb_snapshot_start_time
873
+
874
+ def initialize(**args)
875
+ update!(**args)
876
+ end
877
+
878
+ # Update properties of this object
879
+ def update!(**args)
880
+ @persistence_mode = args[:persistence_mode] if args.key?(:persistence_mode)
881
+ @rdb_next_snapshot_time = args[:rdb_next_snapshot_time] if args.key?(:rdb_next_snapshot_time)
882
+ @rdb_snapshot_period = args[:rdb_snapshot_period] if args.key?(:rdb_snapshot_period)
883
+ @rdb_snapshot_start_time = args[:rdb_snapshot_start_time] if args.key?(:rdb_snapshot_start_time)
884
+ end
885
+ end
886
+
834
887
  # Request for RescheduleMaintenance.
835
888
  class RescheduleMaintenanceRequest
836
889
  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.16.0"
19
+ GEM_VERSION = "0.17.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210930"
25
+ REVISION = "20211021"
26
26
  end
27
27
  end
28
28
  end
@@ -148,6 +148,12 @@ module Google
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
+ class PersistenceConfig
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
151
157
  class RescheduleMaintenanceRequest
152
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
159
 
@@ -283,6 +289,8 @@ module Google
283
289
  property :name, as: 'name'
284
290
  collection :nodes, as: 'nodes', class: Google::Apis::RedisV1::NodeInfo, decorator: Google::Apis::RedisV1::NodeInfo::Representation
285
291
 
292
+ property :persistence_config, as: 'persistenceConfig', class: Google::Apis::RedisV1::PersistenceConfig, decorator: Google::Apis::RedisV1::PersistenceConfig::Representation
293
+
286
294
  property :persistence_iam_identity, as: 'persistenceIamIdentity'
287
295
  property :port, as: 'port'
288
296
  property :read_endpoint, as: 'readEndpoint'
@@ -396,6 +404,16 @@ module Google
396
404
  end
397
405
  end
398
406
 
407
+ class PersistenceConfig
408
+ # @private
409
+ class Representation < Google::Apis::Core::JsonRepresentation
410
+ property :persistence_mode, as: 'persistenceMode'
411
+ property :rdb_next_snapshot_time, as: 'rdbNextSnapshotTime'
412
+ property :rdb_snapshot_period, as: 'rdbSnapshotPeriod'
413
+ property :rdb_snapshot_start_time, as: 'rdbSnapshotStartTime'
414
+ end
415
+ end
416
+
399
417
  class RescheduleMaintenanceRequest
400
418
  # @private
401
419
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -445,7 +445,8 @@ module Google
445
445
  # @param [String] update_mask
446
446
  # Required. Mask of fields to update. At least one path must be supplied in this
447
447
  # field. The elements of the repeated paths field may only include these fields
448
- # from Instance: * `displayName` * `labels` * `memorySizeGb` * `redisConfig`
448
+ # from Instance: * `displayName` * `labels` * `memorySizeGb` * `redisConfig` * `
449
+ # replica_count`
449
450
  # @param [String] fields
450
451
  # Selector specifying which fields to include in a partial response.
451
452
  # @param [String] quota_user
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.16.0
4
+ version: 0.17.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: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2021-11-01 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.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1/v0.17.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: []