google-apis-redis_v1beta1 0.14.0 → 0.18.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 +16 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/redis_v1beta1/classes.rb +261 -19
- data/lib/google/apis/redis_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/redis_v1beta1/representations.rb +89 -0
- data/lib/google/apis/redis_v1beta1/service.rb +6 -5
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 337be0f2467fb6fe7e6d084a1a59330025805ebfb1703b428a06aa0e1ae032f1
|
4
|
+
data.tar.gz: 20ae116c09137492fe3144cbad9d16c98695eca813fb1fdfeff0bd53c884b584
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 809a3be7b2fd8b0c578d3cff78107cc627d7d7bb09e35e9d710b1a8b525709ffb1f04941568a4688aa3ef510752bdb73f54ae8a639b8a55a8dc0a1dd2ad44005
|
7
|
+
data.tar.gz: 9d83cb91d71456b54e602e95bee9bf816b306ec2145520d00bc423227c28fc7889ef87012af48b780d9e9fb06058035df10100b01daf88204cbb6fdbfa6a2e1b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-redis_v1beta1
|
2
2
|
|
3
|
+
### v0.18.0 (2021-12-14)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.17.0 (2021-12-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211202
|
10
|
+
|
11
|
+
### v0.16.0 (2021-11-13)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211104
|
14
|
+
|
15
|
+
### v0.15.0 (2021-10-30)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20211021
|
18
|
+
|
3
19
|
### v0.14.0 (2021-10-20)
|
4
20
|
|
5
21
|
* Unspecified changes
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/redis_v1beta1"
|
|
51
51
|
client = Google::Apis::RedisV1beta1::CloudRedisService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -22,6 +22,137 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module RedisV1beta1
|
24
24
|
|
25
|
+
# A cluster instance.
|
26
|
+
class Cluster
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Output only. UID of the cluster for use by Pantheon for analytics.
|
30
|
+
# Corresponds to the JSON property `clusterUid`
|
31
|
+
# @return [String]
|
32
|
+
attr_accessor :cluster_uid
|
33
|
+
|
34
|
+
# Output only. The timestamp associated with the cluster creation request.
|
35
|
+
# Corresponds to the JSON property `createTime`
|
36
|
+
# @return [String]
|
37
|
+
attr_accessor :create_time
|
38
|
+
|
39
|
+
# Input only. The KMS key reference that the customer provides when trying to
|
40
|
+
# create the instance.
|
41
|
+
# Corresponds to the JSON property `customerManagedKey`
|
42
|
+
# @return [String]
|
43
|
+
attr_accessor :customer_managed_key
|
44
|
+
|
45
|
+
# Optional. The number of replica nodes per shard. Valid range is [1-2] and
|
46
|
+
# defaults to 1.
|
47
|
+
# Corresponds to the JSON property `defaultReplicaCount`
|
48
|
+
# @return [Fixnum]
|
49
|
+
attr_accessor :default_replica_count
|
50
|
+
|
51
|
+
# Optional. An arbitrary and optional user-provided name for the cluster.
|
52
|
+
# Corresponds to the JSON property `displayName`
|
53
|
+
# @return [String]
|
54
|
+
attr_accessor :display_name
|
55
|
+
|
56
|
+
# Output only. Hostname or IP address and port pairs used to connect to the
|
57
|
+
# cluster.
|
58
|
+
# Corresponds to the JSON property `endpoints`
|
59
|
+
# @return [Array<Google::Apis::RedisV1beta1::Endpoint>]
|
60
|
+
attr_accessor :endpoints
|
61
|
+
|
62
|
+
# Required. Unique name of the resource in this scope including project and
|
63
|
+
# location using the form: `projects/`project_id`/locations/`location_id`/
|
64
|
+
# clusters/`cluster_id``
|
65
|
+
# Corresponds to the JSON property `name`
|
66
|
+
# @return [String]
|
67
|
+
attr_accessor :name
|
68
|
+
|
69
|
+
# Contains private service connect specific options.
|
70
|
+
# Corresponds to the JSON property `privateServiceConnect`
|
71
|
+
# @return [Google::Apis::RedisV1beta1::PrivateServiceConnect]
|
72
|
+
attr_accessor :private_service_connect
|
73
|
+
|
74
|
+
# Optional. Redis configuration parameters, according to http://redis.io/topics/
|
75
|
+
# config. Currently, the only supported parameters are: Redis version 6.x and
|
76
|
+
# newer: * lfu-decay-time * lfu-log-factor * maxmemory-policy
|
77
|
+
# Corresponds to the JSON property `redisConfigs`
|
78
|
+
# @return [Hash<String,String>]
|
79
|
+
attr_accessor :redis_configs
|
80
|
+
|
81
|
+
# Output only. The slots making up the cluster. Read-only. In future versions
|
82
|
+
# this will be writable to allow for heterogeneous clusters.
|
83
|
+
# Corresponds to the JSON property `slots`
|
84
|
+
# @return [Array<Google::Apis::RedisV1beta1::ClusterSlots>]
|
85
|
+
attr_accessor :slots
|
86
|
+
|
87
|
+
# Output only. The current state of this cluster. Can be CREATING, READY,
|
88
|
+
# UPDATING, DELETING and SUSPENDED
|
89
|
+
# Corresponds to the JSON property `state`
|
90
|
+
# @return [String]
|
91
|
+
attr_accessor :state
|
92
|
+
|
93
|
+
# Optional. Redis memory size in GiB for the entire cluster. Defaults to 32.
|
94
|
+
# Corresponds to the JSON property `totalMemorySizeGb`
|
95
|
+
# @return [Fixnum]
|
96
|
+
attr_accessor :total_memory_size_gb
|
97
|
+
|
98
|
+
def initialize(**args)
|
99
|
+
update!(**args)
|
100
|
+
end
|
101
|
+
|
102
|
+
# Update properties of this object
|
103
|
+
def update!(**args)
|
104
|
+
@cluster_uid = args[:cluster_uid] if args.key?(:cluster_uid)
|
105
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
106
|
+
@customer_managed_key = args[:customer_managed_key] if args.key?(:customer_managed_key)
|
107
|
+
@default_replica_count = args[:default_replica_count] if args.key?(:default_replica_count)
|
108
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
109
|
+
@endpoints = args[:endpoints] if args.key?(:endpoints)
|
110
|
+
@name = args[:name] if args.key?(:name)
|
111
|
+
@private_service_connect = args[:private_service_connect] if args.key?(:private_service_connect)
|
112
|
+
@redis_configs = args[:redis_configs] if args.key?(:redis_configs)
|
113
|
+
@slots = args[:slots] if args.key?(:slots)
|
114
|
+
@state = args[:state] if args.key?(:state)
|
115
|
+
@total_memory_size_gb = args[:total_memory_size_gb] if args.key?(:total_memory_size_gb)
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
# A series of slots belonging to a cluster.
|
120
|
+
class ClusterSlots
|
121
|
+
include Google::Apis::Core::Hashable
|
122
|
+
|
123
|
+
# Output only. The end of the slots that make up this series.
|
124
|
+
# Corresponds to the JSON property `endSlotsExclusive`
|
125
|
+
# @return [Fixnum]
|
126
|
+
attr_accessor :end_slots_exclusive
|
127
|
+
|
128
|
+
# Output only. The total size of keyspace this series has.
|
129
|
+
# Corresponds to the JSON property `memorySizeGb`
|
130
|
+
# @return [Fixnum]
|
131
|
+
attr_accessor :memory_size_gb
|
132
|
+
|
133
|
+
# Output only. The number of replicas this series has.
|
134
|
+
# Corresponds to the JSON property `replicaCount`
|
135
|
+
# @return [Fixnum]
|
136
|
+
attr_accessor :replica_count
|
137
|
+
|
138
|
+
# Output only. The start of the slots that make up this series.
|
139
|
+
# Corresponds to the JSON property `startSlotsInclusive`
|
140
|
+
# @return [Fixnum]
|
141
|
+
attr_accessor :start_slots_inclusive
|
142
|
+
|
143
|
+
def initialize(**args)
|
144
|
+
update!(**args)
|
145
|
+
end
|
146
|
+
|
147
|
+
# Update properties of this object
|
148
|
+
def update!(**args)
|
149
|
+
@end_slots_exclusive = args[:end_slots_exclusive] if args.key?(:end_slots_exclusive)
|
150
|
+
@memory_size_gb = args[:memory_size_gb] if args.key?(:memory_size_gb)
|
151
|
+
@replica_count = args[:replica_count] if args.key?(:replica_count)
|
152
|
+
@start_slots_inclusive = args[:start_slots_inclusive] if args.key?(:start_slots_inclusive)
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
25
156
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
26
157
|
# messages in your APIs. A typical example is to use it as the request or the
|
27
158
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -39,6 +170,34 @@ module Google
|
|
39
170
|
end
|
40
171
|
end
|
41
172
|
|
173
|
+
# An endpoint exposed by a cluster. In the future we will add an enum to
|
174
|
+
# identify whether this endpoint is read/write or read-only when the feature is
|
175
|
+
# ready.
|
176
|
+
class Endpoint
|
177
|
+
include Google::Apis::Core::Hashable
|
178
|
+
|
179
|
+
# Output only. Hostname or IP address of the exposed Redis endpoint used by
|
180
|
+
# clients to connect to the service.
|
181
|
+
# Corresponds to the JSON property `host`
|
182
|
+
# @return [String]
|
183
|
+
attr_accessor :host
|
184
|
+
|
185
|
+
# Output only. The port number of the exposed Redis endpoint.
|
186
|
+
# Corresponds to the JSON property `port`
|
187
|
+
# @return [Fixnum]
|
188
|
+
attr_accessor :port
|
189
|
+
|
190
|
+
def initialize(**args)
|
191
|
+
update!(**args)
|
192
|
+
end
|
193
|
+
|
194
|
+
# Update properties of this object
|
195
|
+
def update!(**args)
|
196
|
+
@host = args[:host] if args.key?(:host)
|
197
|
+
@port = args[:port] if args.key?(:port)
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
42
201
|
# Request for Export.
|
43
202
|
class ExportInstanceRequest
|
44
203
|
include Google::Apis::Core::Hashable
|
@@ -252,13 +411,15 @@ module Google
|
|
252
411
|
end
|
253
412
|
end
|
254
413
|
|
255
|
-
# A Google Cloud Redis instance.
|
414
|
+
# A Google Cloud Redis instance.
|
256
415
|
class Instance
|
257
416
|
include Google::Apis::Core::Hashable
|
258
417
|
|
259
|
-
# Optional.
|
260
|
-
#
|
261
|
-
# must be a different zone from the one provided in
|
418
|
+
# Optional. If specified, at least one node will be provisioned in this zone in
|
419
|
+
# addition to the zone specified in location_id. Only applicable to standard
|
420
|
+
# tier. If provided, it must be a different zone from the one provided in [
|
421
|
+
# location_id]. Additional nodes beyond the first 2 will be placed in zones
|
422
|
+
# selected by the service.
|
262
423
|
# Corresponds to the JSON property `alternativeLocationId`
|
263
424
|
# @return [String]
|
264
425
|
attr_accessor :alternative_location_id
|
@@ -289,10 +450,9 @@ module Google
|
|
289
450
|
# @return [String]
|
290
451
|
attr_accessor :create_time
|
291
452
|
|
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.
|
453
|
+
# Output only. The current zone where the Redis primary node is located. In
|
454
|
+
# basic tier, this will always be the same as [location_id]. In standard tier,
|
455
|
+
# this can be the zone of any node in the instance.
|
296
456
|
# Corresponds to the JSON property `currentLocationId`
|
297
457
|
# @return [String]
|
298
458
|
attr_accessor :current_location_id
|
@@ -315,9 +475,9 @@ module Google
|
|
315
475
|
|
316
476
|
# Optional. The zone where the instance will be provisioned. If not provided,
|
317
477
|
# the service will choose a zone from the specified region for the instance. For
|
318
|
-
# standard tier,
|
319
|
-
# against zonal failures. If
|
320
|
-
#
|
478
|
+
# standard tier, additional nodes will be added across multiple zones for
|
479
|
+
# protection against zonal failures. If specified, at least one node will be
|
480
|
+
# provisioned in this zone.
|
321
481
|
# Corresponds to the JSON property `locationId`
|
322
482
|
# @return [String]
|
323
483
|
attr_accessor :location_id
|
@@ -354,6 +514,11 @@ module Google
|
|
354
514
|
# @return [Array<Google::Apis::RedisV1beta1::NodeInfo>]
|
355
515
|
attr_accessor :nodes
|
356
516
|
|
517
|
+
# Configuration of the persistence functionality.
|
518
|
+
# Corresponds to the JSON property `persistenceConfig`
|
519
|
+
# @return [Google::Apis::RedisV1beta1::PersistenceConfig]
|
520
|
+
attr_accessor :persistence_config
|
521
|
+
|
357
522
|
# Output only. Cloud IAM identity used by import / export operations to transfer
|
358
523
|
# data to/from Cloud Storage. Format is "serviceAccount:". The value may change
|
359
524
|
# over time for a given instance so should be checked before each import/export
|
@@ -381,7 +546,8 @@ module Google
|
|
381
546
|
# @return [Fixnum]
|
382
547
|
attr_accessor :read_endpoint_port
|
383
548
|
|
384
|
-
# Optional. Read replica mode.
|
549
|
+
# Optional. Read replica mode. Can only be specified when trying to create the
|
550
|
+
# instance.
|
385
551
|
# Corresponds to the JSON property `readReplicasMode`
|
386
552
|
# @return [String]
|
387
553
|
attr_accessor :read_replicas_mode
|
@@ -404,8 +570,10 @@ module Google
|
|
404
570
|
# @return [String]
|
405
571
|
attr_accessor :redis_version
|
406
572
|
|
407
|
-
# Optional. The number of replica nodes.
|
408
|
-
#
|
573
|
+
# Optional. The number of replica nodes. The valid range for the Standard Tier
|
574
|
+
# with read replicas enabled is [1-5] and defaults to 2. If read replicas are
|
575
|
+
# not enabled for a Standard Tier instance, the only valid value is 1 and the
|
576
|
+
# default is 1. The valid value for basic tier is 0 and the default is also 0.
|
409
577
|
# Corresponds to the JSON property `replicaCount`
|
410
578
|
# @return [Fixnum]
|
411
579
|
attr_accessor :replica_count
|
@@ -415,7 +583,8 @@ module Google
|
|
415
583
|
# existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode,
|
416
584
|
# the name of one allocated IP address ranges associated with this private
|
417
585
|
# 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.
|
586
|
+
# 29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. For
|
587
|
+
# READ_REPLICAS_ENABLED the default block size is /28.
|
419
588
|
# Corresponds to the JSON property `reservedIpRange`
|
420
589
|
# @return [String]
|
421
590
|
attr_accessor :reserved_ip_range
|
@@ -468,6 +637,7 @@ module Google
|
|
468
637
|
@memory_size_gb = args[:memory_size_gb] if args.key?(:memory_size_gb)
|
469
638
|
@name = args[:name] if args.key?(:name)
|
470
639
|
@nodes = args[:nodes] if args.key?(:nodes)
|
640
|
+
@persistence_config = args[:persistence_config] if args.key?(:persistence_config)
|
471
641
|
@persistence_iam_identity = args[:persistence_iam_identity] if args.key?(:persistence_iam_identity)
|
472
642
|
@port = args[:port] if args.key?(:port)
|
473
643
|
@read_endpoint = args[:read_endpoint] if args.key?(:read_endpoint)
|
@@ -699,8 +869,8 @@ module Google
|
|
699
869
|
# @return [String]
|
700
870
|
attr_accessor :end_time
|
701
871
|
|
702
|
-
# Output only. The
|
703
|
-
# including reschedule.
|
872
|
+
# Output only. The deadline that the maintenance schedule start time can not go
|
873
|
+
# beyond, including reschedule.
|
704
874
|
# Corresponds to the JSON property `scheduleDeadlineTime`
|
705
875
|
# @return [String]
|
706
876
|
attr_accessor :schedule_deadline_time
|
@@ -728,12 +898,12 @@ module Google
|
|
728
898
|
class NodeInfo
|
729
899
|
include Google::Apis::Core::Hashable
|
730
900
|
|
731
|
-
# Output only.
|
901
|
+
# Output only. Node identifying string. e.g. 'node-0', 'node-1'
|
732
902
|
# Corresponds to the JSON property `id`
|
733
903
|
# @return [String]
|
734
904
|
attr_accessor :id
|
735
905
|
|
736
|
-
# Output only.
|
906
|
+
# Output only. Location of the node.
|
737
907
|
# Corresponds to the JSON property `zone`
|
738
908
|
# @return [String]
|
739
909
|
attr_accessor :zone
|
@@ -834,6 +1004,78 @@ module Google
|
|
834
1004
|
end
|
835
1005
|
end
|
836
1006
|
|
1007
|
+
# Configuration of the persistence functionality.
|
1008
|
+
class PersistenceConfig
|
1009
|
+
include Google::Apis::Core::Hashable
|
1010
|
+
|
1011
|
+
# Optional. Controls whether Persistence features are enabled. If not provided,
|
1012
|
+
# the existing value will be used.
|
1013
|
+
# Corresponds to the JSON property `persistenceMode`
|
1014
|
+
# @return [String]
|
1015
|
+
attr_accessor :persistence_mode
|
1016
|
+
|
1017
|
+
# Output only. The next time that a snapshot attempt is scheduled to occur.
|
1018
|
+
# Corresponds to the JSON property `rdbNextSnapshotTime`
|
1019
|
+
# @return [String]
|
1020
|
+
attr_accessor :rdb_next_snapshot_time
|
1021
|
+
|
1022
|
+
# Optional. Period between RDB snapshots. Snapshots will be attempted every
|
1023
|
+
# period starting from the provided snapshot start time. For example, a start
|
1024
|
+
# time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing until
|
1025
|
+
# 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45, and
|
1026
|
+
# 00:45 the next day, and so on. If not provided, TWENTY_FOUR_HOURS will be used
|
1027
|
+
# as default.
|
1028
|
+
# Corresponds to the JSON property `rdbSnapshotPeriod`
|
1029
|
+
# @return [String]
|
1030
|
+
attr_accessor :rdb_snapshot_period
|
1031
|
+
|
1032
|
+
# Optional. Date and time that the first snapshot was/will be attempted, and to
|
1033
|
+
# which future snapshots will be aligned. If not provided, the current time will
|
1034
|
+
# be used.
|
1035
|
+
# Corresponds to the JSON property `rdbSnapshotStartTime`
|
1036
|
+
# @return [String]
|
1037
|
+
attr_accessor :rdb_snapshot_start_time
|
1038
|
+
|
1039
|
+
def initialize(**args)
|
1040
|
+
update!(**args)
|
1041
|
+
end
|
1042
|
+
|
1043
|
+
# Update properties of this object
|
1044
|
+
def update!(**args)
|
1045
|
+
@persistence_mode = args[:persistence_mode] if args.key?(:persistence_mode)
|
1046
|
+
@rdb_next_snapshot_time = args[:rdb_next_snapshot_time] if args.key?(:rdb_next_snapshot_time)
|
1047
|
+
@rdb_snapshot_period = args[:rdb_snapshot_period] if args.key?(:rdb_snapshot_period)
|
1048
|
+
@rdb_snapshot_start_time = args[:rdb_snapshot_start_time] if args.key?(:rdb_snapshot_start_time)
|
1049
|
+
end
|
1050
|
+
end
|
1051
|
+
|
1052
|
+
# Contains private service connect specific options.
|
1053
|
+
class PrivateServiceConnect
|
1054
|
+
include Google::Apis::Core::Hashable
|
1055
|
+
|
1056
|
+
# Output only. The address of the Private Service Connect (PSC) service that the
|
1057
|
+
# customer can use to connect this instance to their local network.
|
1058
|
+
# Corresponds to the JSON property `pscService`
|
1059
|
+
# @return [String]
|
1060
|
+
attr_accessor :psc_service
|
1061
|
+
|
1062
|
+
# Optional. The service route to connect using Private Service Connect. On
|
1063
|
+
# Instance creation, this will automatically connect this route to this instance.
|
1064
|
+
# Corresponds to the JSON property `pscServiceRoute`
|
1065
|
+
# @return [String]
|
1066
|
+
attr_accessor :psc_service_route
|
1067
|
+
|
1068
|
+
def initialize(**args)
|
1069
|
+
update!(**args)
|
1070
|
+
end
|
1071
|
+
|
1072
|
+
# Update properties of this object
|
1073
|
+
def update!(**args)
|
1074
|
+
@psc_service = args[:psc_service] if args.key?(:psc_service)
|
1075
|
+
@psc_service_route = args[:psc_service_route] if args.key?(:psc_service_route)
|
1076
|
+
end
|
1077
|
+
end
|
1078
|
+
|
837
1079
|
# Request for RescheduleMaintenance.
|
838
1080
|
class RescheduleMaintenanceRequest
|
839
1081
|
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.18.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 = "20211202"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,12 +22,30 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module RedisV1beta1
|
24
24
|
|
25
|
+
class Cluster
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class ClusterSlots
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
25
37
|
class Empty
|
26
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
39
|
|
28
40
|
include Google::Apis::Core::JsonObjectSupport
|
29
41
|
end
|
30
42
|
|
43
|
+
class Endpoint
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
31
49
|
class ExportInstanceRequest
|
32
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
51
|
|
@@ -148,6 +166,18 @@ module Google
|
|
148
166
|
include Google::Apis::Core::JsonObjectSupport
|
149
167
|
end
|
150
168
|
|
169
|
+
class PersistenceConfig
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class PrivateServiceConnect
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
151
181
|
class RescheduleMaintenanceRequest
|
152
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
183
|
|
@@ -184,12 +214,51 @@ module Google
|
|
184
214
|
include Google::Apis::Core::JsonObjectSupport
|
185
215
|
end
|
186
216
|
|
217
|
+
class Cluster
|
218
|
+
# @private
|
219
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
220
|
+
property :cluster_uid, as: 'clusterUid'
|
221
|
+
property :create_time, as: 'createTime'
|
222
|
+
property :customer_managed_key, as: 'customerManagedKey'
|
223
|
+
property :default_replica_count, as: 'defaultReplicaCount'
|
224
|
+
property :display_name, as: 'displayName'
|
225
|
+
collection :endpoints, as: 'endpoints', class: Google::Apis::RedisV1beta1::Endpoint, decorator: Google::Apis::RedisV1beta1::Endpoint::Representation
|
226
|
+
|
227
|
+
property :name, as: 'name'
|
228
|
+
property :private_service_connect, as: 'privateServiceConnect', class: Google::Apis::RedisV1beta1::PrivateServiceConnect, decorator: Google::Apis::RedisV1beta1::PrivateServiceConnect::Representation
|
229
|
+
|
230
|
+
hash :redis_configs, as: 'redisConfigs'
|
231
|
+
collection :slots, as: 'slots', class: Google::Apis::RedisV1beta1::ClusterSlots, decorator: Google::Apis::RedisV1beta1::ClusterSlots::Representation
|
232
|
+
|
233
|
+
property :state, as: 'state'
|
234
|
+
property :total_memory_size_gb, as: 'totalMemorySizeGb'
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
class ClusterSlots
|
239
|
+
# @private
|
240
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
241
|
+
property :end_slots_exclusive, as: 'endSlotsExclusive'
|
242
|
+
property :memory_size_gb, as: 'memorySizeGb'
|
243
|
+
property :replica_count, as: 'replicaCount'
|
244
|
+
property :start_slots_inclusive, as: 'startSlotsInclusive'
|
245
|
+
end
|
246
|
+
end
|
247
|
+
|
187
248
|
class Empty
|
188
249
|
# @private
|
189
250
|
class Representation < Google::Apis::Core::JsonRepresentation
|
190
251
|
end
|
191
252
|
end
|
192
253
|
|
254
|
+
class Endpoint
|
255
|
+
# @private
|
256
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
257
|
+
property :host, as: 'host'
|
258
|
+
property :port, as: 'port'
|
259
|
+
end
|
260
|
+
end
|
261
|
+
|
193
262
|
class ExportInstanceRequest
|
194
263
|
# @private
|
195
264
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -283,6 +352,8 @@ module Google
|
|
283
352
|
property :name, as: 'name'
|
284
353
|
collection :nodes, as: 'nodes', class: Google::Apis::RedisV1beta1::NodeInfo, decorator: Google::Apis::RedisV1beta1::NodeInfo::Representation
|
285
354
|
|
355
|
+
property :persistence_config, as: 'persistenceConfig', class: Google::Apis::RedisV1beta1::PersistenceConfig, decorator: Google::Apis::RedisV1beta1::PersistenceConfig::Representation
|
356
|
+
|
286
357
|
property :persistence_iam_identity, as: 'persistenceIamIdentity'
|
287
358
|
property :port, as: 'port'
|
288
359
|
property :read_endpoint, as: 'readEndpoint'
|
@@ -396,6 +467,24 @@ module Google
|
|
396
467
|
end
|
397
468
|
end
|
398
469
|
|
470
|
+
class PersistenceConfig
|
471
|
+
# @private
|
472
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
473
|
+
property :persistence_mode, as: 'persistenceMode'
|
474
|
+
property :rdb_next_snapshot_time, as: 'rdbNextSnapshotTime'
|
475
|
+
property :rdb_snapshot_period, as: 'rdbSnapshotPeriod'
|
476
|
+
property :rdb_snapshot_start_time, as: 'rdbSnapshotStartTime'
|
477
|
+
end
|
478
|
+
end
|
479
|
+
|
480
|
+
class PrivateServiceConnect
|
481
|
+
# @private
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
483
|
+
property :psc_service, as: 'pscService'
|
484
|
+
property :psc_service_route, as: 'pscServiceRoute'
|
485
|
+
end
|
486
|
+
end
|
487
|
+
|
399
488
|
class RescheduleMaintenanceRequest
|
400
489
|
# @private
|
401
490
|
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.18.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:
|
11
|
+
date: 2022-01-10 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.18.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: []
|
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0'
|
78
78
|
requirements: []
|
79
|
-
rubygems_version: 3.
|
79
|
+
rubygems_version: 3.3.4
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
82
|
summary: Simple REST client for Google Cloud Memorystore for Redis API V1beta1
|