google-apis-redis_v1beta1 0.10.0 → 0.14.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: 3ccaabe9e6c881d785d9a52ace3b2de837b8fa0d748deead952fcccd20c64ca6
|
4
|
+
data.tar.gz: ba996cf2fecd4612af2263ad0fddb8498ddf79a811c4522c2ee0471b38af0ee9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc2dff7c5cd4b4e09c3246bf4427b2780514a5b9dab554b08a7b9990f616866862e5eefc1461c47e7899480eccc08b7c81d618c213acebb120e0ea5ec7be28ae
|
7
|
+
data.tar.gz: 7a0dea1b51bc834117ddd47dd45f6c421c9a2ba866dab2c2f37c1c5dba499af750aabaad992d6683f44238b6efc2809e508936b23f73a4fa654ed874bf7aa4ed
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-redis_v1beta1
|
2
2
|
|
3
|
+
### v0.14.0 (2021-10-20)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.13.0 (2021-10-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210930
|
10
|
+
|
11
|
+
### v0.12.0 (2021-09-15)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210909
|
14
|
+
|
15
|
+
### v0.11.0 (2021-08-18)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210813
|
18
|
+
|
3
19
|
### v0.10.0 (2021-07-01)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210624
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Redis service in particular.)
|
67
67
|
|
@@ -127,7 +127,7 @@ module Google
|
|
127
127
|
attr_accessor :api_version
|
128
128
|
|
129
129
|
# Output only. Identifies whether the user has requested cancellation of the
|
130
|
-
# operation. Operations that have
|
130
|
+
# operation. Operations that have been cancelled successfully have Operation.
|
131
131
|
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
132
132
|
# CANCELLED`.
|
133
133
|
# Corresponds to the JSON property `cancelRequested`
|
@@ -252,7 +252,7 @@ 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 = 37
|
256
256
|
class Instance
|
257
257
|
include Google::Apis::Core::Hashable
|
258
258
|
|
@@ -314,10 +314,10 @@ module Google
|
|
314
314
|
attr_accessor :labels
|
315
315
|
|
316
316
|
# Optional. The zone where the instance will be provisioned. If not provided,
|
317
|
-
# the service will choose a zone for the instance. For
|
318
|
-
# instances will be created across two zones for protection
|
319
|
-
# failures. If alternative_location_id is also provided, it must
|
320
|
-
# from location_id.
|
317
|
+
# the service will choose a zone from the specified region for the instance. For
|
318
|
+
# standard tier, instances will be created across two zones for protection
|
319
|
+
# against zonal failures. If [alternative_location_id] is also provided, it must
|
320
|
+
# be different from [location_id].
|
321
321
|
# Corresponds to the JSON property `locationId`
|
322
322
|
# @return [String]
|
323
323
|
attr_accessor :location_id
|
@@ -349,6 +349,11 @@ module Google
|
|
349
349
|
# @return [String]
|
350
350
|
attr_accessor :name
|
351
351
|
|
352
|
+
# Output only. Info per node.
|
353
|
+
# Corresponds to the JSON property `nodes`
|
354
|
+
# @return [Array<Google::Apis::RedisV1beta1::NodeInfo>]
|
355
|
+
attr_accessor :nodes
|
356
|
+
|
352
357
|
# Output only. Cloud IAM identity used by import / export operations to transfer
|
353
358
|
# data to/from Cloud Storage. Format is "serviceAccount:". The value may change
|
354
359
|
# over time for a given instance so should be checked before each import/export
|
@@ -362,6 +367,25 @@ module Google
|
|
362
367
|
# @return [Fixnum]
|
363
368
|
attr_accessor :port
|
364
369
|
|
370
|
+
# Output only. Hostname or IP address of the exposed readonly Redis endpoint.
|
371
|
+
# Standard tier only. Targets all healthy replica nodes in instance. Replication
|
372
|
+
# is asynchronous and replica nodes will exhibit some lag behind the primary.
|
373
|
+
# Write requests must target 'host'.
|
374
|
+
# Corresponds to the JSON property `readEndpoint`
|
375
|
+
# @return [String]
|
376
|
+
attr_accessor :read_endpoint
|
377
|
+
|
378
|
+
# Output only. The port number of the exposed readonly redis endpoint. Standard
|
379
|
+
# tier only. Write requests should target 'port'.
|
380
|
+
# Corresponds to the JSON property `readEndpointPort`
|
381
|
+
# @return [Fixnum]
|
382
|
+
attr_accessor :read_endpoint_port
|
383
|
+
|
384
|
+
# Optional. Read replica mode.
|
385
|
+
# Corresponds to the JSON property `readReplicasMode`
|
386
|
+
# @return [String]
|
387
|
+
attr_accessor :read_replicas_mode
|
388
|
+
|
365
389
|
# Optional. Redis configuration parameters, according to http://redis.io/topics/
|
366
390
|
# config. Currently, the only supported parameters are: Redis version 3.2 and
|
367
391
|
# newer: * maxmemory-policy * notify-keyspace-events Redis version 4.0 and newer:
|
@@ -380,6 +404,12 @@ module Google
|
|
380
404
|
# @return [String]
|
381
405
|
attr_accessor :redis_version
|
382
406
|
|
407
|
+
# Optional. The number of replica nodes. Valid range for standard tier is [1-5]
|
408
|
+
# and defaults to 1. Valid value for basic tier is 0 and defaults to 0.
|
409
|
+
# Corresponds to the JSON property `replicaCount`
|
410
|
+
# @return [Fixnum]
|
411
|
+
attr_accessor :replica_count
|
412
|
+
|
383
413
|
# Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses that
|
384
414
|
# are reserved for this instance. Range must be unique and non-overlapping with
|
385
415
|
# existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode,
|
@@ -437,10 +467,15 @@ module Google
|
|
437
467
|
@maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
|
438
468
|
@memory_size_gb = args[:memory_size_gb] if args.key?(:memory_size_gb)
|
439
469
|
@name = args[:name] if args.key?(:name)
|
470
|
+
@nodes = args[:nodes] if args.key?(:nodes)
|
440
471
|
@persistence_iam_identity = args[:persistence_iam_identity] if args.key?(:persistence_iam_identity)
|
441
472
|
@port = args[:port] if args.key?(:port)
|
473
|
+
@read_endpoint = args[:read_endpoint] if args.key?(:read_endpoint)
|
474
|
+
@read_endpoint_port = args[:read_endpoint_port] if args.key?(:read_endpoint_port)
|
475
|
+
@read_replicas_mode = args[:read_replicas_mode] if args.key?(:read_replicas_mode)
|
442
476
|
@redis_configs = args[:redis_configs] if args.key?(:redis_configs)
|
443
477
|
@redis_version = args[:redis_version] if args.key?(:redis_version)
|
478
|
+
@replica_count = args[:replica_count] if args.key?(:replica_count)
|
444
479
|
@reserved_ip_range = args[:reserved_ip_range] if args.key?(:reserved_ip_range)
|
445
480
|
@server_ca_certs = args[:server_ca_certs] if args.key?(:server_ca_certs)
|
446
481
|
@state = args[:state] if args.key?(:state)
|
@@ -689,6 +724,31 @@ module Google
|
|
689
724
|
end
|
690
725
|
end
|
691
726
|
|
727
|
+
# Node specific properties.
|
728
|
+
class NodeInfo
|
729
|
+
include Google::Apis::Core::Hashable
|
730
|
+
|
731
|
+
# Output only. Output Only. Node identifying string. e.g. 'node-0', 'node-1'
|
732
|
+
# Corresponds to the JSON property `id`
|
733
|
+
# @return [String]
|
734
|
+
attr_accessor :id
|
735
|
+
|
736
|
+
# Output only. Output Only. Location of the node.
|
737
|
+
# Corresponds to the JSON property `zone`
|
738
|
+
# @return [String]
|
739
|
+
attr_accessor :zone
|
740
|
+
|
741
|
+
def initialize(**args)
|
742
|
+
update!(**args)
|
743
|
+
end
|
744
|
+
|
745
|
+
# Update properties of this object
|
746
|
+
def update!(**args)
|
747
|
+
@id = args[:id] if args.key?(:id)
|
748
|
+
@zone = args[:zone] if args.key?(:zone)
|
749
|
+
end
|
750
|
+
end
|
751
|
+
|
692
752
|
# This resource represents a long-running operation that is the result of a
|
693
753
|
# network API call.
|
694
754
|
class Operation
|
@@ -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.14.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 = "20210930"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -130,6 +130,12 @@ module Google
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
131
131
|
end
|
132
132
|
|
133
|
+
class NodeInfo
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
133
139
|
class Operation
|
134
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
141
|
|
@@ -275,10 +281,16 @@ module Google
|
|
275
281
|
|
276
282
|
property :memory_size_gb, as: 'memorySizeGb'
|
277
283
|
property :name, as: 'name'
|
284
|
+
collection :nodes, as: 'nodes', class: Google::Apis::RedisV1beta1::NodeInfo, decorator: Google::Apis::RedisV1beta1::NodeInfo::Representation
|
285
|
+
|
278
286
|
property :persistence_iam_identity, as: 'persistenceIamIdentity'
|
279
287
|
property :port, as: 'port'
|
288
|
+
property :read_endpoint, as: 'readEndpoint'
|
289
|
+
property :read_endpoint_port, as: 'readEndpointPort'
|
290
|
+
property :read_replicas_mode, as: 'readReplicasMode'
|
280
291
|
hash :redis_configs, as: 'redisConfigs'
|
281
292
|
property :redis_version, as: 'redisVersion'
|
293
|
+
property :replica_count, as: 'replicaCount'
|
282
294
|
property :reserved_ip_range, as: 'reservedIpRange'
|
283
295
|
collection :server_ca_certs, as: 'serverCaCerts', class: Google::Apis::RedisV1beta1::TlsCertificate, decorator: Google::Apis::RedisV1beta1::TlsCertificate::Representation
|
284
296
|
|
@@ -356,6 +368,14 @@ module Google
|
|
356
368
|
end
|
357
369
|
end
|
358
370
|
|
371
|
+
class NodeInfo
|
372
|
+
# @private
|
373
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
374
|
+
property :id, as: 'id'
|
375
|
+
property :zone, as: 'zone'
|
376
|
+
end
|
377
|
+
end
|
378
|
+
|
359
379
|
class Operation
|
360
380
|
# @private
|
361
381
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1beta1'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
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.14.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-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,9 +58,9 @@ licenses:
|
|
58
58
|
- Apache-2.0
|
59
59
|
metadata:
|
60
60
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
61
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
62
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1beta1/v0.
|
63
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.14.0
|
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: []
|
66
66
|
require_paths:
|