google-apis-redis_v1 0.12.0 → 0.16.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: 0deabc07966615ef7e5343f8f4caff28b979959cb2b0257d8f575ea8198a8f4f
4
- data.tar.gz: 04ecd9bb6d4a01b427b85a7a7f34d08cbe9d390f6b79d9bef888412cda32e7de
3
+ metadata.gz: bd17c57a8ed40df12aeb0ae5c48373aabf9fee21b6587381a4e7d24e38df15e5
4
+ data.tar.gz: e852269a65b8a1a0d41bf2f6f692331fc0260183fccb969e749a36c42535d7f3
5
5
  SHA512:
6
- metadata.gz: fb1e0b6823eba4324015d47c8ba456a444dc133b87f4375204a33e9b860b33a3301b3fc87e71eb8442d8af5892a42617227d717a9bfa93ee0fbc4d1504cdbc45
7
- data.tar.gz: 0c8f186d87520ce0d4fe811bf6beff1af38adf3af56ada7fb908a47bf95fcaa4dabc10eee198217b3ab031f0e9de5948d4093293fb04a794822dcbb20764eb71
6
+ metadata.gz: ef59dd73055386533fcffb7d3c0ae7a679d93eaa063b03bf48ca72da8b4b67a159b8bbc9edd9a28cd65674fe4ce7ea6bd7f320d01c95de4bce17e290fcb7f618
7
+ data.tar.gz: 7608d66c021ec147d9c8e695e24d0161dbb02734560c3685c353d48a04de79f11eafbd22363a85d3b1a76eda3744704932719a7972336bd4dfb8d27423f0ccd6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-redis_v1
2
2
 
3
+ ### v0.16.0 (2021-10-20)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.15.0 (2021-10-10)
8
+
9
+ * Regenerated from discovery document revision 20210930
10
+
11
+ ### v0.14.0 (2021-09-15)
12
+
13
+ * Regenerated from discovery document revision 20210909
14
+
15
+ ### v0.13.0 (2021-08-18)
16
+
17
+ * Regenerated from discovery document revision 20210813
18
+
3
19
  ### v0.12.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/master/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/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
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
 
@@ -249,7 +249,7 @@ module Google
249
249
  end
250
250
  end
251
251
 
252
- # A Google Cloud Redis instance. next id = 30
252
+ # A Google Cloud Redis instance. next id = 37
253
253
  class Instance
254
254
  include Google::Apis::Core::Hashable
255
255
 
@@ -311,10 +311,10 @@ module Google
311
311
  attr_accessor :labels
312
312
 
313
313
  # Optional. The zone where the instance will be provisioned. If not provided,
314
- # the service will choose a zone for the instance. For STANDARD_HA tier,
315
- # instances will be created across two zones for protection against zonal
316
- # failures. If alternative_location_id is also provided, it must be different
317
- # from location_id.
314
+ # 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].
318
318
  # Corresponds to the JSON property `locationId`
319
319
  # @return [String]
320
320
  attr_accessor :location_id
@@ -346,6 +346,11 @@ module Google
346
346
  # @return [String]
347
347
  attr_accessor :name
348
348
 
349
+ # Output only. Info per node.
350
+ # Corresponds to the JSON property `nodes`
351
+ # @return [Array<Google::Apis::RedisV1::NodeInfo>]
352
+ attr_accessor :nodes
353
+
349
354
  # Output only. Cloud IAM identity used by import / export operations to transfer
350
355
  # data to/from Cloud Storage. Format is "serviceAccount:". The value may change
351
356
  # over time for a given instance so should be checked before each import/export
@@ -359,6 +364,25 @@ module Google
359
364
  # @return [Fixnum]
360
365
  attr_accessor :port
361
366
 
367
+ # Output only. Hostname or IP address of the exposed readonly Redis endpoint.
368
+ # Standard tier only. Targets all healthy replica nodes in instance. Replication
369
+ # is asynchronous and replica nodes will exhibit some lag behind the primary.
370
+ # Write requests must target 'host'.
371
+ # Corresponds to the JSON property `readEndpoint`
372
+ # @return [String]
373
+ attr_accessor :read_endpoint
374
+
375
+ # Output only. The port number of the exposed readonly redis endpoint. Standard
376
+ # tier only. Write requests should target 'port'.
377
+ # Corresponds to the JSON property `readEndpointPort`
378
+ # @return [Fixnum]
379
+ attr_accessor :read_endpoint_port
380
+
381
+ # Optional. Read replica mode.
382
+ # Corresponds to the JSON property `readReplicasMode`
383
+ # @return [String]
384
+ attr_accessor :read_replicas_mode
385
+
362
386
  # Optional. Redis configuration parameters, according to http://redis.io/topics/
363
387
  # config. Currently, the only supported parameters are: Redis version 3.2 and
364
388
  # newer: * maxmemory-policy * notify-keyspace-events Redis version 4.0 and newer:
@@ -377,6 +401,12 @@ module Google
377
401
  # @return [String]
378
402
  attr_accessor :redis_version
379
403
 
404
+ # 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.
406
+ # Corresponds to the JSON property `replicaCount`
407
+ # @return [Fixnum]
408
+ attr_accessor :replica_count
409
+
380
410
  # Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses that
381
411
  # are reserved for this instance. Range must be unique and non-overlapping with
382
412
  # existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode,
@@ -434,10 +464,15 @@ module Google
434
464
  @maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
435
465
  @memory_size_gb = args[:memory_size_gb] if args.key?(:memory_size_gb)
436
466
  @name = args[:name] if args.key?(:name)
467
+ @nodes = args[:nodes] if args.key?(:nodes)
437
468
  @persistence_iam_identity = args[:persistence_iam_identity] if args.key?(:persistence_iam_identity)
438
469
  @port = args[:port] if args.key?(:port)
470
+ @read_endpoint = args[:read_endpoint] if args.key?(:read_endpoint)
471
+ @read_endpoint_port = args[:read_endpoint_port] if args.key?(:read_endpoint_port)
472
+ @read_replicas_mode = args[:read_replicas_mode] if args.key?(:read_replicas_mode)
439
473
  @redis_configs = args[:redis_configs] if args.key?(:redis_configs)
440
474
  @redis_version = args[:redis_version] if args.key?(:redis_version)
475
+ @replica_count = args[:replica_count] if args.key?(:replica_count)
441
476
  @reserved_ip_range = args[:reserved_ip_range] if args.key?(:reserved_ip_range)
442
477
  @server_ca_certs = args[:server_ca_certs] if args.key?(:server_ca_certs)
443
478
  @state = args[:state] if args.key?(:state)
@@ -686,6 +721,31 @@ module Google
686
721
  end
687
722
  end
688
723
 
724
+ # Node specific properties.
725
+ class NodeInfo
726
+ include Google::Apis::Core::Hashable
727
+
728
+ # Output only. Output Only. Node identifying string. e.g. 'node-0', 'node-1'
729
+ # Corresponds to the JSON property `id`
730
+ # @return [String]
731
+ attr_accessor :id
732
+
733
+ # Output only. Output Only. Location of the node.
734
+ # Corresponds to the JSON property `zone`
735
+ # @return [String]
736
+ attr_accessor :zone
737
+
738
+ def initialize(**args)
739
+ update!(**args)
740
+ end
741
+
742
+ # Update properties of this object
743
+ def update!(**args)
744
+ @id = args[:id] if args.key?(:id)
745
+ @zone = args[:zone] if args.key?(:zone)
746
+ end
747
+ end
748
+
689
749
  # This resource represents a long-running operation that is the result of a
690
750
  # network API call.
691
751
  class Operation
@@ -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.12.0"
19
+ GEM_VERSION = "0.16.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 = "20210624"
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::RedisV1::NodeInfo, decorator: Google::Apis::RedisV1::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::RedisV1::TlsCertificate, decorator: Google::Apis::RedisV1::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 = 'V1'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.16.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-07-05 00:00:00.000000000 Z
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
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-redis_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1/v0.12.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-redis_v1
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
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: []
65
65
  require_paths: