google-apis-redis_v1beta1 0.19.0 → 0.20.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd641b8f40113c032e5026d457232dbafe9f6873a695489a3bb77f0cc027ad58
|
4
|
+
data.tar.gz: 32dcba09bfc79355d93c8c888ee121791ef113eb448fcab5797d7987cb5d6738
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 606a9d0a470a76f3fbb20189208f832e89be1662d460a305d0aa936f7f867399c470a636b916d1e46b889e294cd250afb65ff376af156126c17ef852d9125d23
|
7
|
+
data.tar.gz: 98cc558dde0d3f527f654f8eb0da6894a35dfc2e8f9067cd5d375d5594569e8132df6ed1b0c438ab7b570335c1a884c6bd8d34c5259f05a3996e52c14633c8c4
|
data/CHANGELOG.md
CHANGED
@@ -22,137 +22,6 @@ 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
|
-
|
156
25
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
157
26
|
# messages in your APIs. A typical example is to use it as the request or the
|
158
27
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -170,34 +39,6 @@ module Google
|
|
170
39
|
end
|
171
40
|
end
|
172
41
|
|
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
|
-
|
201
42
|
# Request for Export.
|
202
43
|
class ExportInstanceRequest
|
203
44
|
include Google::Apis::Core::Hashable
|
@@ -1060,33 +901,6 @@ module Google
|
|
1060
901
|
end
|
1061
902
|
end
|
1062
903
|
|
1063
|
-
# Contains private service connect specific options.
|
1064
|
-
class PrivateServiceConnect
|
1065
|
-
include Google::Apis::Core::Hashable
|
1066
|
-
|
1067
|
-
# Output only. The address of the Private Service Connect (PSC) service that the
|
1068
|
-
# customer can use to connect this instance to their local network.
|
1069
|
-
# Corresponds to the JSON property `pscService`
|
1070
|
-
# @return [String]
|
1071
|
-
attr_accessor :psc_service
|
1072
|
-
|
1073
|
-
# Optional. The service route to connect using Private Service Connect. On
|
1074
|
-
# Instance creation, this will automatically connect this route to this instance.
|
1075
|
-
# Corresponds to the JSON property `pscServiceRoute`
|
1076
|
-
# @return [String]
|
1077
|
-
attr_accessor :psc_service_route
|
1078
|
-
|
1079
|
-
def initialize(**args)
|
1080
|
-
update!(**args)
|
1081
|
-
end
|
1082
|
-
|
1083
|
-
# Update properties of this object
|
1084
|
-
def update!(**args)
|
1085
|
-
@psc_service = args[:psc_service] if args.key?(:psc_service)
|
1086
|
-
@psc_service_route = args[:psc_service_route] if args.key?(:psc_service_route)
|
1087
|
-
end
|
1088
|
-
end
|
1089
|
-
|
1090
904
|
# Request for RescheduleMaintenance.
|
1091
905
|
class RescheduleMaintenanceRequest
|
1092
906
|
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.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220125"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,30 +22,12 @@ 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
|
-
|
37
25
|
class Empty
|
38
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
27
|
|
40
28
|
include Google::Apis::Core::JsonObjectSupport
|
41
29
|
end
|
42
30
|
|
43
|
-
class Endpoint
|
44
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
-
|
46
|
-
include Google::Apis::Core::JsonObjectSupport
|
47
|
-
end
|
48
|
-
|
49
31
|
class ExportInstanceRequest
|
50
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
33
|
|
@@ -172,12 +154,6 @@ module Google
|
|
172
154
|
include Google::Apis::Core::JsonObjectSupport
|
173
155
|
end
|
174
156
|
|
175
|
-
class PrivateServiceConnect
|
176
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
-
|
178
|
-
include Google::Apis::Core::JsonObjectSupport
|
179
|
-
end
|
180
|
-
|
181
157
|
class RescheduleMaintenanceRequest
|
182
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
159
|
|
@@ -214,51 +190,12 @@ module Google
|
|
214
190
|
include Google::Apis::Core::JsonObjectSupport
|
215
191
|
end
|
216
192
|
|
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
|
-
|
248
193
|
class Empty
|
249
194
|
# @private
|
250
195
|
class Representation < Google::Apis::Core::JsonRepresentation
|
251
196
|
end
|
252
197
|
end
|
253
198
|
|
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
|
-
|
262
199
|
class ExportInstanceRequest
|
263
200
|
# @private
|
264
201
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -478,14 +415,6 @@ module Google
|
|
478
415
|
end
|
479
416
|
end
|
480
417
|
|
481
|
-
class PrivateServiceConnect
|
482
|
-
# @private
|
483
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
484
|
-
property :psc_service, as: 'pscService'
|
485
|
-
property :psc_service_route, as: 'pscServiceRoute'
|
486
|
-
end
|
487
|
-
end
|
488
|
-
|
489
418
|
class RescheduleMaintenanceRequest
|
490
419
|
# @private
|
491
420
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.20.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: 2022-
|
11
|
+
date: 2022-02-07 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.20.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: []
|