google-apis-redis_v1beta1 0.14.0 → 0.15.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 616e9f829560dcce86862d660d60d7774e4706f5b253e10bf4b5f04a8f71b242
|
4
|
+
data.tar.gz: 14372dbddad5a490e0b894333c8da93ea63ee17e40f2e76f7f27ae72c7252690
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d0b953d813950061e0da0edbcf9d47f74754796167aa6dee118aa11ba1ec1645d8463a82941b64dbf5077ad4bd45b97ed6dd72826090657bd037b98f85ac1dc
|
7
|
+
data.tar.gz: 48dd16854b377778ba8e2212e5faa41eea99b8c48b02f1cd46d441db48157d6457118ae2b791c383f338df0cdb47e67965aaf420580fd5a286ace46299efa2de
|
data/CHANGELOG.md
CHANGED
@@ -252,13 +252,15 @@ module Google
|
|
252
252
|
end
|
253
253
|
end
|
254
254
|
|
255
|
-
# A Google Cloud Redis instance. next id =
|
255
|
+
# A Google Cloud Redis instance. next id = 38
|
256
256
|
class Instance
|
257
257
|
include Google::Apis::Core::Hashable
|
258
258
|
|
259
|
-
# Optional.
|
260
|
-
#
|
261
|
-
# must be a different zone from the one provided in
|
259
|
+
# Optional. If specified, at least one node will be provisioned in this zone in
|
260
|
+
# addition to the zone specified in location_id. Only applicable to standard
|
261
|
+
# tier. If provided, it must be a different zone from the one provided in [
|
262
|
+
# location_id]. Additional nodes beyond the first 2 will be placed in zones
|
263
|
+
# selected by the service.
|
262
264
|
# Corresponds to the JSON property `alternativeLocationId`
|
263
265
|
# @return [String]
|
264
266
|
attr_accessor :alternative_location_id
|
@@ -289,10 +291,9 @@ module Google
|
|
289
291
|
# @return [String]
|
290
292
|
attr_accessor :create_time
|
291
293
|
|
292
|
-
# Output only. The current zone where the Redis
|
293
|
-
#
|
294
|
-
#
|
295
|
-
# location_id or alternative_location_id and can change after a failover event.
|
294
|
+
# Output only. The current zone where the Redis primary node is located. In
|
295
|
+
# basic tier, this will always be the same as [location_id]. In standard tier,
|
296
|
+
# this can be the zone of any node in the instance.
|
296
297
|
# Corresponds to the JSON property `currentLocationId`
|
297
298
|
# @return [String]
|
298
299
|
attr_accessor :current_location_id
|
@@ -315,9 +316,9 @@ module Google
|
|
315
316
|
|
316
317
|
# Optional. The zone where the instance will be provisioned. If not provided,
|
317
318
|
# the service will choose a zone from the specified region for the instance. For
|
318
|
-
# standard tier,
|
319
|
-
# against zonal failures. If
|
320
|
-
#
|
319
|
+
# standard tier, additional nodes will be added across multiple zones for
|
320
|
+
# protection against zonal failures. If specified, at least one node will be
|
321
|
+
# provisioned in this zone.
|
321
322
|
# Corresponds to the JSON property `locationId`
|
322
323
|
# @return [String]
|
323
324
|
attr_accessor :location_id
|
@@ -354,6 +355,11 @@ module Google
|
|
354
355
|
# @return [Array<Google::Apis::RedisV1beta1::NodeInfo>]
|
355
356
|
attr_accessor :nodes
|
356
357
|
|
358
|
+
# Configuration of the persistence functionality.
|
359
|
+
# Corresponds to the JSON property `persistenceConfig`
|
360
|
+
# @return [Google::Apis::RedisV1beta1::PersistenceConfig]
|
361
|
+
attr_accessor :persistence_config
|
362
|
+
|
357
363
|
# Output only. Cloud IAM identity used by import / export operations to transfer
|
358
364
|
# data to/from Cloud Storage. Format is "serviceAccount:". The value may change
|
359
365
|
# over time for a given instance so should be checked before each import/export
|
@@ -405,7 +411,7 @@ module Google
|
|
405
411
|
attr_accessor :redis_version
|
406
412
|
|
407
413
|
# Optional. The number of replica nodes. Valid range for standard tier is [1-5]
|
408
|
-
# and defaults to
|
414
|
+
# and defaults to 2. Valid value for basic tier is 0 and defaults to 0.
|
409
415
|
# Corresponds to the JSON property `replicaCount`
|
410
416
|
# @return [Fixnum]
|
411
417
|
attr_accessor :replica_count
|
@@ -415,7 +421,8 @@ module Google
|
|
415
421
|
# existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode,
|
416
422
|
# the name of one allocated IP address ranges associated with this private
|
417
423
|
# service access connection. If not provided, the service will choose an unused /
|
418
|
-
# 29 block, for example, 10.0.0.0/29 or 192.168.0.0/29.
|
424
|
+
# 29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. For
|
425
|
+
# READ_REPLICAS_ENABLED the default block size is /28.
|
419
426
|
# Corresponds to the JSON property `reservedIpRange`
|
420
427
|
# @return [String]
|
421
428
|
attr_accessor :reserved_ip_range
|
@@ -468,6 +475,7 @@ module Google
|
|
468
475
|
@memory_size_gb = args[:memory_size_gb] if args.key?(:memory_size_gb)
|
469
476
|
@name = args[:name] if args.key?(:name)
|
470
477
|
@nodes = args[:nodes] if args.key?(:nodes)
|
478
|
+
@persistence_config = args[:persistence_config] if args.key?(:persistence_config)
|
471
479
|
@persistence_iam_identity = args[:persistence_iam_identity] if args.key?(:persistence_iam_identity)
|
472
480
|
@port = args[:port] if args.key?(:port)
|
473
481
|
@read_endpoint = args[:read_endpoint] if args.key?(:read_endpoint)
|
@@ -699,8 +707,8 @@ module Google
|
|
699
707
|
# @return [String]
|
700
708
|
attr_accessor :end_time
|
701
709
|
|
702
|
-
# Output only. The
|
703
|
-
# including reschedule.
|
710
|
+
# Output only. The deadline that the maintenance schedule start time can not go
|
711
|
+
# beyond, including reschedule.
|
704
712
|
# Corresponds to the JSON property `scheduleDeadlineTime`
|
705
713
|
# @return [String]
|
706
714
|
attr_accessor :schedule_deadline_time
|
@@ -728,12 +736,12 @@ module Google
|
|
728
736
|
class NodeInfo
|
729
737
|
include Google::Apis::Core::Hashable
|
730
738
|
|
731
|
-
# Output only.
|
739
|
+
# Output only. Node identifying string. e.g. 'node-0', 'node-1'
|
732
740
|
# Corresponds to the JSON property `id`
|
733
741
|
# @return [String]
|
734
742
|
attr_accessor :id
|
735
743
|
|
736
|
-
# Output only.
|
744
|
+
# Output only. Location of the node.
|
737
745
|
# Corresponds to the JSON property `zone`
|
738
746
|
# @return [String]
|
739
747
|
attr_accessor :zone
|
@@ -834,6 +842,51 @@ module Google
|
|
834
842
|
end
|
835
843
|
end
|
836
844
|
|
845
|
+
# Configuration of the persistence functionality.
|
846
|
+
class PersistenceConfig
|
847
|
+
include Google::Apis::Core::Hashable
|
848
|
+
|
849
|
+
# Optional. Controls whether Persistence features are enabled. If not provided,
|
850
|
+
# the existing value will be used.
|
851
|
+
# Corresponds to the JSON property `persistenceMode`
|
852
|
+
# @return [String]
|
853
|
+
attr_accessor :persistence_mode
|
854
|
+
|
855
|
+
# Output only. The next time that a snapshot attempt is scheduled to occur.
|
856
|
+
# Corresponds to the JSON property `rdbNextSnapshotTime`
|
857
|
+
# @return [String]
|
858
|
+
attr_accessor :rdb_next_snapshot_time
|
859
|
+
|
860
|
+
# Optional. Period between RDB snapshots. Snapshots will be attempted every
|
861
|
+
# period starting from the provided snapshot start time. For example, a start
|
862
|
+
# time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing until
|
863
|
+
# 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45, and
|
864
|
+
# 00:45 the next day, and so on. If not provided, TWENTY_FOUR_HOURS will be used
|
865
|
+
# as default.
|
866
|
+
# Corresponds to the JSON property `rdbSnapshotPeriod`
|
867
|
+
# @return [String]
|
868
|
+
attr_accessor :rdb_snapshot_period
|
869
|
+
|
870
|
+
# Optional. Date and time that the first snapshot was/will be attempted, and to
|
871
|
+
# which future snapshots will be aligned. If not provided, the current time will
|
872
|
+
# be used.
|
873
|
+
# Corresponds to the JSON property `rdbSnapshotStartTime`
|
874
|
+
# @return [String]
|
875
|
+
attr_accessor :rdb_snapshot_start_time
|
876
|
+
|
877
|
+
def initialize(**args)
|
878
|
+
update!(**args)
|
879
|
+
end
|
880
|
+
|
881
|
+
# Update properties of this object
|
882
|
+
def update!(**args)
|
883
|
+
@persistence_mode = args[:persistence_mode] if args.key?(:persistence_mode)
|
884
|
+
@rdb_next_snapshot_time = args[:rdb_next_snapshot_time] if args.key?(:rdb_next_snapshot_time)
|
885
|
+
@rdb_snapshot_period = args[:rdb_snapshot_period] if args.key?(:rdb_snapshot_period)
|
886
|
+
@rdb_snapshot_start_time = args[:rdb_snapshot_start_time] if args.key?(:rdb_snapshot_start_time)
|
887
|
+
end
|
888
|
+
end
|
889
|
+
|
837
890
|
# Request for RescheduleMaintenance.
|
838
891
|
class RescheduleMaintenanceRequest
|
839
892
|
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.
|
19
|
+
GEM_VERSION = "0.15.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 = "
|
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::RedisV1beta1::NodeInfo, decorator: Google::Apis::RedisV1beta1::NodeInfo::Representation
|
285
291
|
|
292
|
+
property :persistence_config, as: 'persistenceConfig', class: Google::Apis::RedisV1beta1::PersistenceConfig, decorator: Google::Apis::RedisV1beta1::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
|
@@ -126,10 +126,10 @@ module Google
|
|
126
126
|
# default, the instance is accessible from the project's [default network](https:
|
127
127
|
# //cloud.google.com/vpc/docs/vpc). The creation is executed asynchronously and
|
128
128
|
# callers may check the returned operation to track its progress. Once the
|
129
|
-
# operation is completed the Redis instance will be fully functional.
|
130
|
-
# longrunning.Operation will contain the new instance object in the
|
131
|
-
# field. The returned operation is automatically deleted after a few
|
132
|
-
# there is no need to call DeleteOperation.
|
129
|
+
# operation is completed the Redis instance will be fully functional. The
|
130
|
+
# completed longrunning.Operation will contain the new instance object in the
|
131
|
+
# response field. The returned operation is automatically deleted after a few
|
132
|
+
# hours, so there is no need to call DeleteOperation.
|
133
133
|
# @param [String] parent
|
134
134
|
# Required. The resource name of the instance location using the form: `projects/
|
135
135
|
# `project_id`/locations/`location_id`` where `location_id` refers to a GCP
|
@@ -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_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.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-
|
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
|
@@ -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.
|
62
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1beta1/v0.15.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: []
|