google-cloud-redis 0.8.2 → 1.1.3

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.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +2 -1
  3. data/AUTHENTICATION.md +51 -54
  4. data/LICENSE.md +203 -0
  5. data/MIGRATING.md +318 -0
  6. data/README.md +94 -23
  7. data/lib/google-cloud-redis.rb +19 -0
  8. data/lib/google/cloud/redis.rb +88 -117
  9. data/lib/google/cloud/redis/version.rb +6 -2
  10. metadata +71 -64
  11. data/LICENSE +0 -201
  12. data/lib/google/cloud/redis/v1.rb +0 -160
  13. data/lib/google/cloud/redis/v1/cloud_redis_client.rb +0 -893
  14. data/lib/google/cloud/redis/v1/cloud_redis_client_config.json +0 -66
  15. data/lib/google/cloud/redis/v1/cloud_redis_pb.rb +0 -159
  16. data/lib/google/cloud/redis/v1/cloud_redis_services_pb.rb +0 -111
  17. data/lib/google/cloud/redis/v1/credentials.rb +0 -41
  18. data/lib/google/cloud/redis/v1/doc/google/cloud/redis/v1/cloud_redis.rb +0 -408
  19. data/lib/google/cloud/redis/v1/doc/google/longrunning/operations.rb +0 -51
  20. data/lib/google/cloud/redis/v1/doc/google/protobuf/any.rb +0 -131
  21. data/lib/google/cloud/redis/v1/doc/google/protobuf/field_mask.rb +0 -222
  22. data/lib/google/cloud/redis/v1/doc/google/protobuf/timestamp.rb +0 -113
  23. data/lib/google/cloud/redis/v1/doc/google/rpc/status.rb +0 -39
  24. data/lib/google/cloud/redis/v1beta1.rb +0 -160
  25. data/lib/google/cloud/redis/v1beta1/cloud_redis_client.rb +0 -971
  26. data/lib/google/cloud/redis/v1beta1/cloud_redis_client_config.json +0 -71
  27. data/lib/google/cloud/redis/v1beta1/cloud_redis_pb.rb +0 -154
  28. data/lib/google/cloud/redis/v1beta1/cloud_redis_services_pb.rb +0 -114
  29. data/lib/google/cloud/redis/v1beta1/credentials.rb +0 -41
  30. data/lib/google/cloud/redis/v1beta1/doc/google/cloud/redis/v1beta1/cloud_redis.rb +0 -395
  31. data/lib/google/cloud/redis/v1beta1/doc/google/longrunning/operations.rb +0 -51
  32. data/lib/google/cloud/redis/v1beta1/doc/google/protobuf/any.rb +0 -131
  33. data/lib/google/cloud/redis/v1beta1/doc/google/protobuf/field_mask.rb +0 -222
  34. data/lib/google/cloud/redis/v1beta1/doc/google/protobuf/timestamp.rb +0 -113
  35. data/lib/google/cloud/redis/v1beta1/doc/google/rpc/status.rb +0 -39
data/README.md CHANGED
@@ -1,41 +1,54 @@
1
- # Ruby Client for Google Cloud Memorystore for Redis API
1
+ # Ruby Client for the Google Cloud Memorystore for Redis API
2
+
3
+ API Client library for the Google Cloud Memorystore for Redis API
2
4
 
3
- [Google Cloud Memorystore for Redis API][Product Documentation]:
4
5
  Creates and manages Redis instances on the Google Cloud Platform.
5
- - [Client Library Documentation][]
6
- - [Product Documentation][]
7
6
 
8
- ## Quick Start
9
- In order to use this library, you first need to go through the following
10
- steps:
7
+ Actual client classes for the various versions of this API are defined in
8
+ _versioned_ client gems, with names of the form `google-cloud-redis-v*`.
9
+ The gem `google-cloud-redis` is the main client library that brings the
10
+ verisoned gems in as dependencies, and provides high-level methods for
11
+ constructing clients. More information on versioned clients can be found below
12
+ in the section titled *Which client should I use?*.
11
13
 
12
- 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
13
- 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
14
- 3. [Enable the Google Cloud Memorystore for Redis API.](https://console.cloud.google.com/apis/library/redis.googleapis.com)
15
- 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-redis/latest/file.AUTHENTICATION.html)
14
+ View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-redis/latest)
15
+ for this library, google-cloud-redis, to see the convenience methods for
16
+ constructing client objects. Reference documentation for the client objects
17
+ themselves can be found in the client library documentation for the versioned
18
+ client gems:
19
+ [google-cloud-redis-v1](https://googleapis.dev/ruby/google-cloud-redis-v1/latest),
20
+ [google-cloud-redis-v1beta1](https://googleapis.dev/ruby/google-cloud-redis-v1beta1/latest).
21
+
22
+ See also the [Product Documentation](https://cloud.google.com/memorystore/docs/redis)
23
+ for more usage information.
24
+
25
+ ## Quick Start
16
26
 
17
- ### Installation
18
27
  ```
19
28
  $ gem install google-cloud-redis
20
29
  ```
21
30
 
22
- ### Next Steps
23
- - Read the [Client Library Documentation][] for Google Cloud Memorystore for Redis API
24
- to see other available methods on the client.
25
- - Read the [Google Cloud Memorystore for Redis API Product documentation][Product Documentation]
26
- to learn more about the product and see How-to Guides.
27
- - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
28
- to see the full list of Cloud APIs that we cover.
31
+ In order to use this library, you first need to go through the following steps:
29
32
 
30
- [Client Library Documentation]: https://googleapis.dev/ruby/google-cloud-redis/latest
31
- [Product Documentation]: https://cloud.google.com/memorystore
33
+ 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
34
+ 1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
35
+ 1. [Enable the API.](https://console.cloud.google.com/apis/library/redis.googleapis.com)
36
+ 1. {file:AUTHENTICATION.md Set up authentication.}
37
+
38
+ ## Migrating from 0.x versions
39
+
40
+ The 1.0 release of the google-cloud-redis client is a significant upgrade
41
+ based on a [next-gen code generator](https://github.com/googleapis/gapic-generator-ruby),
42
+ and includes substantial interface changes. Existing code written for earlier
43
+ versions of this library will likely require updates to use this version.
44
+ See the {file:MIGRATING.md MIGRATING.md} document for more information.
32
45
 
33
46
  ## Enabling Logging
34
47
 
35
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
36
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
37
50
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
38
- that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
51
+ that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
39
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
40
53
 
41
54
  Configuring a Ruby stdlib logger:
@@ -66,3 +79,61 @@ in security maintenance, and not end of life. Currently, this means Ruby 2.4
66
79
  and later. Older versions of Ruby _may_ still work, but are unsupported and not
67
80
  recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
68
81
  about the Ruby support schedule.
82
+
83
+ ## Which client should I use?
84
+
85
+ Most modern Ruby client libraries for Google APIs come in two flavors: the main
86
+ client library with a name such as `google-cloud-redis`,
87
+ and lower-level _versioned_ client libraries with names such as
88
+ `google-cloud-redis-v1`.
89
+ _In most cases, you should install the main client._
90
+
91
+ ### What's the difference between the main client and a versioned client?
92
+
93
+ A _versioned client_ provides a basic set of data types and client classes for
94
+ a _single version_ of a specific service. (That is, for a service with multiple
95
+ versions, there might be a separate versioned client for each service version.)
96
+ Most versioned clients are written and maintained by a code generator.
97
+
98
+ The _main client_ is designed to provide you with the _recommended_ client
99
+ interfaces for the service. There will be only one main client for any given
100
+ service, even a service with multiple versions. The main client includes
101
+ factory methods for constructing the client objects we recommend for most
102
+ users. In some cases, those will be classes provided by an underlying versioned
103
+ client; in other cases, they will be handwritten higher-level client objects
104
+ with additional capabilities, convenience methods, or best practices built in.
105
+ Generally, the main client will default to a recommended service version,
106
+ although in some cases you can override this if you need to talk to a specific
107
+ service version.
108
+
109
+ ### Why would I want to use the main client?
110
+
111
+ We recommend that most users install the main client gem for a service. You can
112
+ identify this gem as the one _without_ a version in its name, e.g.
113
+ `google-cloud-redis`.
114
+ The main client is recommended because it will embody the best practices for
115
+ accessing the service, and may also provide more convenient interfaces or
116
+ tighter integration into frameworks and third-party libraries. In addition, the
117
+ documentation and samples published by Google will generally demonstrate use of
118
+ the main client.
119
+
120
+ ### Why would I want to use a versioned client?
121
+
122
+ You can use a versioned client if you are content with a possibly lower-level
123
+ class interface, you explicitly want to avoid features provided by the main
124
+ client, or you want to access a specific service version not be covered by the
125
+ main client. You can identify versioned client gems because the service version
126
+ is part of the name, e.g. `google-cloud-redis-v1`.
127
+
128
+ ### What about the google-apis-<name> clients?
129
+
130
+ Client library gems with names that begin with `google-apis-` are based on an
131
+ older code generation technology. They talk to a REST/JSON backend (whereas
132
+ most modern clients talk to a [gRPC](https://grpc.io/) backend) and they may
133
+ not offer the same performance, features, and ease of use provided by more
134
+ modern clients.
135
+
136
+ The `google-apis-` clients have wide coverage across Google services, so you
137
+ might need to use one if there is no modern client available for the service.
138
+ However, if a modern client is available, we generally recommend it over the
139
+ older `google-apis-` clients.
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/redis" unless defined? Google::Cloud::Redis::VERSION
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Copyright 2020 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -12,81 +14,49 @@
12
14
  # See the License for the specific language governing permissions and
13
15
  # limitations under the License.
14
16
 
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ # Require this file early so that the version constant gets defined before
20
+ # requiring "google/cloud". This is because google-cloud-core will load the
21
+ # entrypoint (gem name) file, which in turn re-requires this file (hence
22
+ # causing a require cycle) unless the version constant is already defined.
23
+ require "google/cloud/redis/version"
24
+
25
+ require "googleauth"
26
+ gem "google-cloud-core"
27
+ require "google/cloud" unless defined? ::Google::Cloud.new
28
+ require "google/cloud/config"
15
29
 
16
- require "google/gax"
17
- require "pathname"
30
+ # Set the default configuration
31
+ ::Google::Cloud.configure.add_config! :redis do |config|
32
+ config.add_field! :endpoint, "redis.googleapis.com", match: ::String
33
+ config.add_field! :credentials, nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
34
+ config.add_field! :scope, nil, match: [::Array, ::String]
35
+ config.add_field! :lib_name, nil, match: ::String
36
+ config.add_field! :lib_version, nil, match: ::String
37
+ config.add_field! :interceptors, nil, match: ::Array
38
+ config.add_field! :timeout, nil, match: ::Numeric
39
+ config.add_field! :metadata, nil, match: ::Hash
40
+ config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
41
+ config.add_field! :quota_project, nil, match: ::String
42
+ end
18
43
 
19
44
  module Google
20
45
  module Cloud
21
- # rubocop:disable LineLength
22
-
23
- ##
24
- # # Ruby Client for Google Cloud Memorystore for Redis API
25
- #
26
- # [Google Cloud Memorystore for Redis API][Product Documentation]:
27
- # Creates and manages Redis instances on the Google Cloud Platform.
28
- # - [Product Documentation][]
29
- #
30
- # ## Quick Start
31
- # In order to use this library, you first need to go through the following
32
- # steps:
33
- #
34
- # 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
35
- # 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
36
- # 3. [Enable the Google Cloud Memorystore for Redis API.](https://console.cloud.google.com/apis/library/redis.googleapis.com)
37
- # 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-redis/latest/file.AUTHENTICATION.html)
38
- #
39
- # ### Installation
40
- # ```
41
- # $ gem install google-cloud-redis
42
- # ```
43
- #
44
- # ### Next Steps
45
- # - Read the [Google Cloud Memorystore for Redis API Product documentation][Product Documentation]
46
- # to learn more about the product and see How-to Guides.
47
- # - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
48
- # to see the full list of Cloud APIs that we cover.
49
- #
50
- # [Product Documentation]: https://cloud.google.com/memorystore
51
- #
52
- # ## Enabling Logging
53
- #
54
- # To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
55
- # The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
56
- # or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
57
- # that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
58
- # and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
59
- #
60
- # Configuring a Ruby stdlib logger:
61
- #
62
- # ```ruby
63
- # require "logger"
64
- #
65
- # module MyLogger
66
- # LOGGER = Logger.new $stderr, level: Logger::WARN
67
- # def logger
68
- # LOGGER
69
- # end
70
- # end
71
- #
72
- # # Define a gRPC module-level logger method before grpc/logconfig.rb loads.
73
- # module GRPC
74
- # extend MyLogger
75
- # end
76
- # ```
77
- #
78
46
  module Redis
79
- # rubocop:enable LineLength
80
-
81
- FILE_DIR = File.realdirpath(Pathname.new(__FILE__).join("..").join("redis"))
82
-
83
- AVAILABLE_VERSIONS = Dir["#{FILE_DIR}/*"]
84
- .select { |file| File.directory?(file) }
85
- .select { |dir| Google::Gax::VERSION_MATCHER.match(File.basename(dir)) }
86
- .select { |dir| File.exist?(dir + ".rb") }
87
- .map { |dir| File.basename(dir) }
88
-
89
47
  ##
48
+ # Create a new client object for CloudRedis.
49
+ #
50
+ # By default, this returns an instance of
51
+ # [Google::Cloud::Redis::V1::CloudRedis::Client](https://googleapis.dev/ruby/google-cloud-redis-v1/latest/Google/Cloud/Redis/V1/CloudRedis/Client.html)
52
+ # for version V1 of the API.
53
+ # However, you can specify specify a different API version by passing it in the
54
+ # `version` parameter. If the CloudRedis service is
55
+ # supported by that API version, and the corresponding gem is available, the
56
+ # appropriate versioned client will be returned.
57
+ #
58
+ # ## About CloudRedis
59
+ #
90
60
  # Configures and manages Cloud Memorystore for Redis instances
91
61
  #
92
62
  # Google Cloud Memorystore for Redis v1
@@ -103,56 +73,57 @@ module Google
103
73
  # Note that location_id must be referring to a GCP `region`; for example:
104
74
  # * `projects/redpepper-1290/locations/us-central1/instances/my-redis`
105
75
  #
106
- # @param version [Symbol, String]
107
- # The major version of the service to be used. By default :v1
108
- # is used.
109
- # @overload new(version:, credentials:, scopes:, client_config:, timeout:)
110
- # @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
111
- # Provides the means for authenticating requests made by the client. This parameter can
112
- # be many types.
113
- # A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
114
- # authenticating requests made by this client.
115
- # A `String` will be treated as the path to the keyfile to be used for the construction of
116
- # credentials for this client.
117
- # A `Hash` will be treated as the contents of a keyfile to be used for the construction of
118
- # credentials for this client.
119
- # A `GRPC::Core::Channel` will be used to make calls through.
120
- # A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
121
- # should already be composed with a `GRPC::Core::CallCredentials` object.
122
- # A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
123
- # metadata for requests, generally, to give OAuth credentials.
124
- # @param scopes [Array<String>]
125
- # The OAuth scopes for this service. This parameter is ignored if
126
- # an updater_proc is supplied.
127
- # @param client_config [Hash]
128
- # A Hash for call options for each method. See
129
- # Google::Gax#construct_settings for the structure of
130
- # this data. Falls back to the default config if not specified
131
- # or the specified config is missing data points.
132
- # @param timeout [Numeric]
133
- # The default timeout, in seconds, for calls made through this client.
134
- # @param metadata [Hash]
135
- # Default metadata to be sent with each request. This can be overridden on a per call basis.
136
- # @param service_address [String]
137
- # Override for the service hostname, or `nil` to leave as the default.
138
- # @param service_port [Integer]
139
- # Override for the service port, or `nil` to leave as the default.
140
- # @param exception_transformer [Proc]
141
- # An optional proc that intercepts any exceptions raised during an API call to inject
142
- # custom error handling.
143
- def self.new(*args, version: :v1, **kwargs)
144
- unless AVAILABLE_VERSIONS.include?(version.to_s.downcase)
145
- raise "The version: #{version} is not available. The available versions " \
146
- "are: [#{AVAILABLE_VERSIONS.join(", ")}]"
147
- end
76
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
77
+ # Defaults to `:v1`.
78
+ # @return [CloudRedis::Client] A client object for the specified version.
79
+ #
80
+ def self.cloud_redis version: :v1, &block
81
+ require "google/cloud/redis/#{version.to_s.downcase}"
82
+
83
+ package_name = Google::Cloud::Redis
84
+ .constants
85
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
86
+ .first
87
+ package_module = Google::Cloud::Redis.const_get package_name
88
+ package_module.const_get(:CloudRedis).const_get(:Client).new(&block)
89
+ end
90
+
91
+ ##
92
+ # Configure the google-cloud-redis library.
93
+ #
94
+ # The following configuration parameters are supported:
95
+ #
96
+ # * `credentials` (*type:* `String, Hash, Google::Auth::Credentials`) -
97
+ # The path to the keyfile as a String, the contents of the keyfile as a
98
+ # Hash, or a Google::Auth::Credentials object.
99
+ # * `lib_name` (*type:* `String`) -
100
+ # The library name as recorded in instrumentation and logging.
101
+ # * `lib_version` (*type:* `String`) -
102
+ # The library version as recorded in instrumentation and logging.
103
+ # * `interceptors` (*type:* `Array<GRPC::ClientInterceptor>`) -
104
+ # An array of interceptors that are run before calls are executed.
105
+ # * `timeout` (*type:* `Numeric`) -
106
+ # Default timeout in seconds.
107
+ # * `metadata` (*type:* `Hash{Symbol=>String}`) -
108
+ # Additional gRPC headers to be sent with the call.
109
+ # * `retry_policy` (*type:* `Hash`) -
110
+ # The retry policy. The value is a hash with the following keys:
111
+ # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
112
+ # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
113
+ # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
114
+ # * `:retry_codes` (*type:* `Array<String>`) -
115
+ # The error codes that should trigger a retry.
116
+ #
117
+ # @return [::Google::Cloud::Config] The default configuration used by this library
118
+ #
119
+ def self.configure
120
+ yield ::Google::Cloud.configure.redis if block_given?
148
121
 
149
- require "#{FILE_DIR}/#{version.to_s.downcase}"
150
- version_module = Google::Cloud::Redis
151
- .constants
152
- .select {|sym| sym.to_s.downcase == version.to_s.downcase}
153
- .first
154
- Google::Cloud::Redis.const_get(version_module).new(*args, **kwargs)
122
+ ::Google::Cloud.configure.redis
155
123
  end
156
124
  end
157
125
  end
158
126
  end
127
+
128
+ helper_path = ::File.join __dir__, "redis", "helpers.rb"
129
+ require "google/cloud/redis/helpers" if ::File.file? helper_path
@@ -1,4 +1,6 @@
1
- # Copyright 2019 Google LLC
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
4
6
  # you may not use this file except in compliance with the License.
@@ -12,11 +14,13 @@
12
14
  # See the License for the specific language governing permissions and
13
15
  # limitations under the License.
14
16
 
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
15
19
 
16
20
  module Google
17
21
  module Cloud
18
22
  module Redis
19
- VERSION = "0.8.2".freeze
23
+ VERSION = "1.1.3"
20
24
  end
21
25
  end
22
26
  end
metadata CHANGED
@@ -1,111 +1,141 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-02 00:00:00.000000000 Z
11
+ date: 2021-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: google-gax
14
+ name: google-cloud-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.8'
19
+ version: '1.5'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.8'
26
+ version: '1.5'
27
27
  - !ruby/object:Gem::Dependency
28
- name: googleapis-common-protos
28
+ name: google-cloud-redis-v1
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: 1.3.9
34
- - - "<"
31
+ - - "~>"
35
32
  - !ruby/object:Gem::Version
36
- version: '2.0'
33
+ version: '0.0'
37
34
  type: :runtime
38
35
  prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
40
37
  requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- version: 1.3.9
44
- - - "<"
38
+ - - "~>"
45
39
  - !ruby/object:Gem::Version
46
- version: '2.0'
40
+ version: '0.0'
47
41
  - !ruby/object:Gem::Dependency
48
- name: googleapis-common-protos-types
42
+ name: google-cloud-redis-v1beta1
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: 1.0.4
54
- - - "<"
45
+ - - "~>"
55
46
  - !ruby/object:Gem::Version
56
- version: '2.0'
47
+ version: '0.0'
57
48
  type: :runtime
58
49
  prerelease: false
59
50
  version_requirements: !ruby/object:Gem::Requirement
60
51
  requirements:
61
- - - ">="
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: google-style
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
62
60
  - !ruby/object:Gem::Version
63
- version: 1.0.4
64
- - - "<"
61
+ version: 1.24.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
65
67
  - !ruby/object:Gem::Version
66
- version: '2.0'
68
+ version: 1.24.0
67
69
  - !ruby/object:Gem::Dependency
68
70
  name: minitest
69
71
  requirement: !ruby/object:Gem::Requirement
70
72
  requirements:
71
73
  - - "~>"
72
74
  - !ruby/object:Gem::Version
73
- version: '5.10'
75
+ version: '5.14'
74
76
  type: :development
75
77
  prerelease: false
76
78
  version_requirements: !ruby/object:Gem::Requirement
77
79
  requirements:
78
80
  - - "~>"
79
81
  - !ruby/object:Gem::Version
80
- version: '5.10'
82
+ version: '5.14'
81
83
  - !ruby/object:Gem::Dependency
82
- name: redcarpet
84
+ name: minitest-focus
83
85
  requirement: !ruby/object:Gem::Requirement
84
86
  requirements:
85
87
  - - "~>"
86
88
  - !ruby/object:Gem::Version
87
- version: '3.0'
89
+ version: '1.1'
88
90
  type: :development
89
91
  prerelease: false
90
92
  version_requirements: !ruby/object:Gem::Requirement
91
93
  requirements:
92
94
  - - "~>"
93
95
  - !ruby/object:Gem::Version
94
- version: '3.0'
96
+ version: '1.1'
95
97
  - !ruby/object:Gem::Dependency
96
- name: google-style
98
+ name: minitest-rg
97
99
  requirement: !ruby/object:Gem::Requirement
98
100
  requirements:
99
101
  - - "~>"
100
102
  - !ruby/object:Gem::Version
101
- version: 1.24.0
103
+ version: '5.2'
102
104
  type: :development
103
105
  prerelease: false
104
106
  version_requirements: !ruby/object:Gem::Requirement
105
107
  requirements:
106
108
  - - "~>"
107
109
  - !ruby/object:Gem::Version
108
- version: 1.24.0
110
+ version: '5.2'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rake
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '12.0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '12.0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: redcarpet
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '3.0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '3.0'
109
139
  - !ruby/object:Gem::Dependency
110
140
  name: simplecov
111
141
  requirement: !ruby/object:Gem::Requirement
@@ -134,8 +164,7 @@ dependencies:
134
164
  - - "~>"
135
165
  - !ruby/object:Gem::Version
136
166
  version: '0.9'
137
- description: google-cloud-redis is the official library for Google Cloud Memorystore
138
- for Redis API.
167
+ description: Creates and manages Redis instances on the Google Cloud Platform.
139
168
  email: googleapis-packages@google.com
140
169
  executables: []
141
170
  extensions: []
@@ -143,35 +172,13 @@ extra_rdoc_files: []
143
172
  files:
144
173
  - ".yardopts"
145
174
  - AUTHENTICATION.md
146
- - LICENSE
175
+ - LICENSE.md
176
+ - MIGRATING.md
147
177
  - README.md
178
+ - lib/google-cloud-redis.rb
148
179
  - lib/google/cloud/redis.rb
149
- - lib/google/cloud/redis/v1.rb
150
- - lib/google/cloud/redis/v1/cloud_redis_client.rb
151
- - lib/google/cloud/redis/v1/cloud_redis_client_config.json
152
- - lib/google/cloud/redis/v1/cloud_redis_pb.rb
153
- - lib/google/cloud/redis/v1/cloud_redis_services_pb.rb
154
- - lib/google/cloud/redis/v1/credentials.rb
155
- - lib/google/cloud/redis/v1/doc/google/cloud/redis/v1/cloud_redis.rb
156
- - lib/google/cloud/redis/v1/doc/google/longrunning/operations.rb
157
- - lib/google/cloud/redis/v1/doc/google/protobuf/any.rb
158
- - lib/google/cloud/redis/v1/doc/google/protobuf/field_mask.rb
159
- - lib/google/cloud/redis/v1/doc/google/protobuf/timestamp.rb
160
- - lib/google/cloud/redis/v1/doc/google/rpc/status.rb
161
- - lib/google/cloud/redis/v1beta1.rb
162
- - lib/google/cloud/redis/v1beta1/cloud_redis_client.rb
163
- - lib/google/cloud/redis/v1beta1/cloud_redis_client_config.json
164
- - lib/google/cloud/redis/v1beta1/cloud_redis_pb.rb
165
- - lib/google/cloud/redis/v1beta1/cloud_redis_services_pb.rb
166
- - lib/google/cloud/redis/v1beta1/credentials.rb
167
- - lib/google/cloud/redis/v1beta1/doc/google/cloud/redis/v1beta1/cloud_redis.rb
168
- - lib/google/cloud/redis/v1beta1/doc/google/longrunning/operations.rb
169
- - lib/google/cloud/redis/v1beta1/doc/google/protobuf/any.rb
170
- - lib/google/cloud/redis/v1beta1/doc/google/protobuf/field_mask.rb
171
- - lib/google/cloud/redis/v1beta1/doc/google/protobuf/timestamp.rb
172
- - lib/google/cloud/redis/v1beta1/doc/google/rpc/status.rb
173
180
  - lib/google/cloud/redis/version.rb
174
- homepage: https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud-redis
181
+ homepage: https://github.com/googleapis/google-cloud-ruby
175
182
  licenses:
176
183
  - Apache-2.0
177
184
  metadata: {}
@@ -190,8 +197,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
190
197
  - !ruby/object:Gem::Version
191
198
  version: '0'
192
199
  requirements: []
193
- rubygems_version: 3.0.6
200
+ rubygems_version: 3.2.6
194
201
  signing_key:
195
202
  specification_version: 4
196
- summary: API Client library for Google Cloud Memorystore for Redis API
203
+ summary: API Client library for the Google Cloud Memorystore for Redis API
197
204
  test_files: []