google-cloud-redis 0.8.2 → 1.0.0
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.
- checksums.yaml +4 -4
 - data/.yardopts +2 -1
 - data/AUTHENTICATION.md +51 -54
 - data/LICENSE.md +203 -0
 - data/MIGRATING.md +272 -0
 - data/README.md +35 -23
 - data/lib/google-cloud-redis.rb +19 -0
 - data/lib/google/cloud/redis.rb +82 -117
 - data/lib/google/cloud/redis/version.rb +6 -2
 - metadata +97 -62
 - data/LICENSE +0 -201
 - data/lib/google/cloud/redis/v1.rb +0 -160
 - data/lib/google/cloud/redis/v1/cloud_redis_client.rb +0 -893
 - data/lib/google/cloud/redis/v1/cloud_redis_client_config.json +0 -66
 - data/lib/google/cloud/redis/v1/cloud_redis_pb.rb +0 -159
 - data/lib/google/cloud/redis/v1/cloud_redis_services_pb.rb +0 -111
 - data/lib/google/cloud/redis/v1/credentials.rb +0 -41
 - data/lib/google/cloud/redis/v1/doc/google/cloud/redis/v1/cloud_redis.rb +0 -408
 - data/lib/google/cloud/redis/v1/doc/google/longrunning/operations.rb +0 -51
 - data/lib/google/cloud/redis/v1/doc/google/protobuf/any.rb +0 -131
 - data/lib/google/cloud/redis/v1/doc/google/protobuf/field_mask.rb +0 -222
 - data/lib/google/cloud/redis/v1/doc/google/protobuf/timestamp.rb +0 -113
 - data/lib/google/cloud/redis/v1/doc/google/rpc/status.rb +0 -39
 - data/lib/google/cloud/redis/v1beta1.rb +0 -160
 - data/lib/google/cloud/redis/v1beta1/cloud_redis_client.rb +0 -971
 - data/lib/google/cloud/redis/v1beta1/cloud_redis_client_config.json +0 -71
 - data/lib/google/cloud/redis/v1beta1/cloud_redis_pb.rb +0 -154
 - data/lib/google/cloud/redis/v1beta1/cloud_redis_services_pb.rb +0 -114
 - data/lib/google/cloud/redis/v1beta1/credentials.rb +0 -41
 - data/lib/google/cloud/redis/v1beta1/doc/google/cloud/redis/v1beta1/cloud_redis.rb +0 -395
 - data/lib/google/cloud/redis/v1beta1/doc/google/longrunning/operations.rb +0 -51
 - data/lib/google/cloud/redis/v1beta1/doc/google/protobuf/any.rb +0 -131
 - data/lib/google/cloud/redis/v1beta1/doc/google/protobuf/field_mask.rb +0 -222
 - data/lib/google/cloud/redis/v1beta1/doc/google/protobuf/timestamp.rb +0 -113
 - data/lib/google/cloud/redis/v1beta1/doc/google/rpc/status.rb +0 -39
 
    
        data/README.md
    CHANGED
    
    | 
         @@ -1,41 +1,53 @@ 
     | 
|
| 
       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 
     | 
    
         
            -
             
     | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
      
 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 a convenience wrapper library that brings the
         
     | 
| 
      
 10 
     | 
    
         
            +
            verisoned gems in as dependencies, and provides high-level methods for
         
     | 
| 
      
 11 
     | 
    
         
            +
            constructing clients.
         
     | 
| 
       11 
12 
     | 
    
         | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
             
     | 
| 
      
 13 
     | 
    
         
            +
            View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-redis/latest)
         
     | 
| 
      
 14 
     | 
    
         
            +
            for this library, google-cloud-redis, to see the convenience methods for
         
     | 
| 
      
 15 
     | 
    
         
            +
            constructing client objects. Reference documentation for the client objects
         
     | 
| 
      
 16 
     | 
    
         
            +
            themselves can be found in the client library documentation for the versioned
         
     | 
| 
      
 17 
     | 
    
         
            +
            client gems:
         
     | 
| 
      
 18 
     | 
    
         
            +
            [google-cloud-redis-v1](https://googleapis.dev/ruby/google-cloud-redis-v1/latest),
         
     | 
| 
      
 19 
     | 
    
         
            +
            [google-cloud-redis-v1beta1](https://googleapis.dev/ruby/google-cloud-redis-v1beta1/latest).
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
            See also the [Product Documentation](https://cloud.google.com/memorystore/docs/redis)
         
     | 
| 
      
 22 
     | 
    
         
            +
            for more usage information.
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
            ## Quick Start
         
     | 
| 
       16 
25 
     | 
    
         | 
| 
       17 
     | 
    
         
            -
            ### Installation
         
     | 
| 
       18 
26 
     | 
    
         
             
            ```
         
     | 
| 
       19 
27 
     | 
    
         
             
            $ gem install google-cloud-redis
         
     | 
| 
       20 
28 
     | 
    
         
             
            ```
         
     | 
| 
       21 
29 
     | 
    
         | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
             
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
       28 
     | 
    
         
            -
             
     | 
| 
      
 30 
     | 
    
         
            +
            In order to use this library, you first need to go through the following steps:
         
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
      
 32 
     | 
    
         
            +
            1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
         
     | 
| 
      
 33 
     | 
    
         
            +
            1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
         
     | 
| 
      
 34 
     | 
    
         
            +
            1. [Enable the API.](https://console.cloud.google.com/apis/library/redis.googleapis.com)
         
     | 
| 
      
 35 
     | 
    
         
            +
            1. {file:AUTHENTICATION.md Set up authentication.}
         
     | 
| 
      
 36 
     | 
    
         
            +
             
     | 
| 
      
 37 
     | 
    
         
            +
            ## Migrating from 0.x versions
         
     | 
| 
       29 
38 
     | 
    
         | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
            [ 
     | 
| 
      
 39 
     | 
    
         
            +
            The 1.0 release of the google-cloud-redis client is a significant upgrade
         
     | 
| 
      
 40 
     | 
    
         
            +
            based on a [next-gen code generator](https://github.com/googleapis/gapic-generator-ruby),
         
     | 
| 
      
 41 
     | 
    
         
            +
            and includes substantial interface changes. Existing code written for earlier
         
     | 
| 
      
 42 
     | 
    
         
            +
            versions of this library will likely require updates to use this version.
         
     | 
| 
      
 43 
     | 
    
         
            +
            See the {file:MIGRATING.md MIGRATING.md} document for more information.
         
     | 
| 
       32 
44 
     | 
    
         | 
| 
       33 
45 
     | 
    
         
             
            ## Enabling Logging
         
     | 
| 
       34 
46 
     | 
    
         | 
| 
       35 
47 
     | 
    
         
             
            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 
     | 
| 
      
 48 
     | 
    
         
            +
            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 
49 
     | 
    
         
             
            or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
         
     | 
| 
       38 
     | 
    
         
            -
            that will write logs to [ 
     | 
| 
      
 50 
     | 
    
         
            +
            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 
51 
     | 
    
         
             
            and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
         
     | 
| 
       40 
52 
     | 
    
         | 
| 
       41 
53 
     | 
    
         
             
            Configuring a Ruby stdlib logger:
         
     | 
| 
         @@ -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
         
     | 
    
        data/lib/google/cloud/redis.rb
    CHANGED
    
    | 
         @@ -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,46 @@ 
     | 
|
| 
       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"
         
     | 
| 
       15 
24 
     | 
    
         | 
| 
       16 
     | 
    
         
            -
            require " 
     | 
| 
       17 
     | 
    
         
            -
             
     | 
| 
      
 25 
     | 
    
         
            +
            require "googleauth"
         
     | 
| 
      
 26 
     | 
    
         
            +
            gem "google-cloud-core"
         
     | 
| 
      
 27 
     | 
    
         
            +
            require "google/cloud" unless defined? ::Google::Cloud.new
         
     | 
| 
      
 28 
     | 
    
         
            +
            require "google/cloud/config"
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
            # Set the default configuration
         
     | 
| 
      
 31 
     | 
    
         
            +
            ::Google::Cloud.configure.add_config! :redis do |config|
         
     | 
| 
      
 32 
     | 
    
         
            +
              config.add_field! :credentials,  nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
         
     | 
| 
      
 33 
     | 
    
         
            +
              config.add_field! :lib_name,     nil, match: ::String
         
     | 
| 
      
 34 
     | 
    
         
            +
              config.add_field! :lib_version,  nil, match: ::String
         
     | 
| 
      
 35 
     | 
    
         
            +
              config.add_field! :interceptors, nil, match: ::Array
         
     | 
| 
      
 36 
     | 
    
         
            +
              config.add_field! :timeout,      nil, match: ::Numeric
         
     | 
| 
      
 37 
     | 
    
         
            +
              config.add_field! :metadata,     nil, match: ::Hash
         
     | 
| 
      
 38 
     | 
    
         
            +
              config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
         
     | 
| 
      
 39 
     | 
    
         
            +
            end
         
     | 
| 
       18 
40 
     | 
    
         | 
| 
       19 
41 
     | 
    
         
             
            module Google
         
     | 
| 
       20 
42 
     | 
    
         
             
              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 
43 
     | 
    
         
             
                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 
44 
     | 
    
         
             
                  ##
         
     | 
| 
      
 45 
     | 
    
         
            +
                  # Create a new client object for CloudRedis.
         
     | 
| 
      
 46 
     | 
    
         
            +
                  #
         
     | 
| 
      
 47 
     | 
    
         
            +
                  # By default, this returns an instance of
         
     | 
| 
      
 48 
     | 
    
         
            +
                  # [Google::Cloud::Redis::V1::CloudRedis::Client](https://googleapis.dev/ruby/google-cloud-redis-v1/latest/Google/Cloud/Redis/V1/CloudRedis/Client.html)
         
     | 
| 
      
 49 
     | 
    
         
            +
                  # for version V1 of the API.
         
     | 
| 
      
 50 
     | 
    
         
            +
                  # However, you can specify specify a different API version by passing it in the
         
     | 
| 
      
 51 
     | 
    
         
            +
                  # `version` parameter. If the CloudRedis service is
         
     | 
| 
      
 52 
     | 
    
         
            +
                  # supported by that API version, and the corresponding gem is available, the
         
     | 
| 
      
 53 
     | 
    
         
            +
                  # appropriate versioned client will be returned.
         
     | 
| 
      
 54 
     | 
    
         
            +
                  #
         
     | 
| 
      
 55 
     | 
    
         
            +
                  # ## About CloudRedis
         
     | 
| 
      
 56 
     | 
    
         
            +
                  #
         
     | 
| 
       90 
57 
     | 
    
         
             
                  # Configures and manages Cloud Memorystore for Redis instances
         
     | 
| 
       91 
58 
     | 
    
         
             
                  #
         
     | 
| 
       92 
59 
     | 
    
         
             
                  # Google Cloud Memorystore for Redis v1
         
     | 
| 
         @@ -103,55 +70,53 @@ module Google 
     | 
|
| 
       103 
70 
     | 
    
         
             
                  # Note that location_id must be referring to a GCP `region`; for example:
         
     | 
| 
       104 
71 
     | 
    
         
             
                  # * `projects/redpepper-1290/locations/us-central1/instances/my-redis`
         
     | 
| 
       105 
72 
     | 
    
         
             
                  #
         
     | 
| 
       106 
     | 
    
         
            -
                  # @param version [ 
     | 
| 
       107 
     | 
    
         
            -
                  #    
     | 
| 
       108 
     | 
    
         
            -
                  # 
     | 
| 
       109 
     | 
    
         
            -
                  # 
     | 
| 
       110 
     | 
    
         
            -
                   
     | 
| 
       111 
     | 
    
         
            -
             
     | 
| 
       112 
     | 
    
         
            -
             
     | 
| 
       113 
     | 
    
         
            -
             
     | 
| 
       114 
     | 
    
         
            -
             
     | 
| 
       115 
     | 
    
         
            -
             
     | 
| 
       116 
     | 
    
         
            -
             
     | 
| 
       117 
     | 
    
         
            -
             
     | 
| 
       118 
     | 
    
         
            -
             
     | 
| 
       119 
     | 
    
         
            -
                   
     | 
| 
       120 
     | 
    
         
            -
             
     | 
| 
       121 
     | 
    
         
            -
                   
     | 
| 
       122 
     | 
    
         
            -
                  # 
     | 
| 
       123 
     | 
    
         
            -
                  # 
     | 
| 
       124 
     | 
    
         
            -
                  # 
     | 
| 
       125 
     | 
    
         
            -
                  # 
     | 
| 
       126 
     | 
    
         
            -
                  # 
     | 
| 
       127 
     | 
    
         
            -
                  #    
     | 
| 
       128 
     | 
    
         
            -
                  # 
     | 
| 
       129 
     | 
    
         
            -
                  # 
     | 
| 
       130 
     | 
    
         
            -
                  # 
     | 
| 
       131 
     | 
    
         
            -
                  # 
     | 
| 
       132 
     | 
    
         
            -
                  #    
     | 
| 
       133 
     | 
    
         
            -
                  # 
     | 
| 
       134 
     | 
    
         
            -
                  #    
     | 
| 
       135 
     | 
    
         
            -
                  # 
     | 
| 
       136 
     | 
    
         
            -
                  #    
     | 
| 
       137 
     | 
    
         
            -
                  # 
     | 
| 
       138 
     | 
    
         
            -
                  #    
     | 
| 
       139 
     | 
    
         
            -
                  # 
     | 
| 
       140 
     | 
    
         
            -
                  #    
     | 
| 
       141 
     | 
    
         
            -
                  #      
     | 
| 
       142 
     | 
    
         
            -
                  #      
     | 
| 
       143 
     | 
    
         
            -
                   
     | 
| 
       144 
     | 
    
         
            -
             
     | 
| 
       145 
     | 
    
         
            -
             
     | 
| 
       146 
     | 
    
         
            -
             
     | 
| 
       147 
     | 
    
         
            -
             
     | 
| 
      
 73 
     | 
    
         
            +
                  # @param version [::String, ::Symbol] The API version to connect to. Optional.
         
     | 
| 
      
 74 
     | 
    
         
            +
                  #   Defaults to `:v1`.
         
     | 
| 
      
 75 
     | 
    
         
            +
                  # @return [CloudRedis::Client] A client object for the specified version.
         
     | 
| 
      
 76 
     | 
    
         
            +
                  #
         
     | 
| 
      
 77 
     | 
    
         
            +
                  def self.cloud_redis version: :v1, &block
         
     | 
| 
      
 78 
     | 
    
         
            +
                    require "google/cloud/redis/#{version.to_s.downcase}"
         
     | 
| 
      
 79 
     | 
    
         
            +
             
     | 
| 
      
 80 
     | 
    
         
            +
                    package_name = Google::Cloud::Redis
         
     | 
| 
      
 81 
     | 
    
         
            +
                                   .constants
         
     | 
| 
      
 82 
     | 
    
         
            +
                                   .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
         
     | 
| 
      
 83 
     | 
    
         
            +
                                   .first
         
     | 
| 
      
 84 
     | 
    
         
            +
                    package_module = Google::Cloud::Redis.const_get package_name
         
     | 
| 
      
 85 
     | 
    
         
            +
                    package_module.const_get(:CloudRedis).const_get(:Client).new(&block)
         
     | 
| 
      
 86 
     | 
    
         
            +
                  end
         
     | 
| 
      
 87 
     | 
    
         
            +
             
     | 
| 
      
 88 
     | 
    
         
            +
                  ##
         
     | 
| 
      
 89 
     | 
    
         
            +
                  # Configure the google-cloud-redis library.
         
     | 
| 
      
 90 
     | 
    
         
            +
                  #
         
     | 
| 
      
 91 
     | 
    
         
            +
                  # The following configuration parameters are supported:
         
     | 
| 
      
 92 
     | 
    
         
            +
                  #
         
     | 
| 
      
 93 
     | 
    
         
            +
                  # * `credentials` (*type:* `String, Hash, Google::Auth::Credentials`) -
         
     | 
| 
      
 94 
     | 
    
         
            +
                  #   The path to the keyfile as a String, the contents of the keyfile as a
         
     | 
| 
      
 95 
     | 
    
         
            +
                  #   Hash, or a Google::Auth::Credentials object.
         
     | 
| 
      
 96 
     | 
    
         
            +
                  # * `lib_name` (*type:* `String`) -
         
     | 
| 
      
 97 
     | 
    
         
            +
                  #   The library name as recorded in instrumentation and logging.
         
     | 
| 
      
 98 
     | 
    
         
            +
                  # * `lib_version` (*type:* `String`) -
         
     | 
| 
      
 99 
     | 
    
         
            +
                  #   The library version as recorded in instrumentation and logging.
         
     | 
| 
      
 100 
     | 
    
         
            +
                  # * `interceptors` (*type:* `Array<GRPC::ClientInterceptor>`) -
         
     | 
| 
      
 101 
     | 
    
         
            +
                  #   An array of interceptors that are run before calls are executed.
         
     | 
| 
      
 102 
     | 
    
         
            +
                  # * `timeout` (*type:* `Integer`) -
         
     | 
| 
      
 103 
     | 
    
         
            +
                  #   Default timeout in milliseconds.
         
     | 
| 
      
 104 
     | 
    
         
            +
                  # * `metadata` (*type:* `Hash{Symbol=>String}`) -
         
     | 
| 
      
 105 
     | 
    
         
            +
                  #   Additional gRPC headers to be sent with the call.
         
     | 
| 
      
 106 
     | 
    
         
            +
                  # * `retry_policy` (*type:* `Hash`) -
         
     | 
| 
      
 107 
     | 
    
         
            +
                  #   The retry policy. The value is a hash with the following keys:
         
     | 
| 
      
 108 
     | 
    
         
            +
                  #     * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
         
     | 
| 
      
 109 
     | 
    
         
            +
                  #     * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
         
     | 
| 
      
 110 
     | 
    
         
            +
                  #     * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
         
     | 
| 
      
 111 
     | 
    
         
            +
                  #     * `:retry_codes` (*type:* `Array<String>`) -
         
     | 
| 
      
 112 
     | 
    
         
            +
                  #       The error codes that should trigger a retry.
         
     | 
| 
      
 113 
     | 
    
         
            +
                  #
         
     | 
| 
      
 114 
     | 
    
         
            +
                  # @return [::Google::Cloud::Config] The default configuration used by this library
         
     | 
| 
      
 115 
     | 
    
         
            +
                  #
         
     | 
| 
      
 116 
     | 
    
         
            +
                  def self.configure
         
     | 
| 
      
 117 
     | 
    
         
            +
                    yield ::Google::Cloud.configure.redis if block_given?
         
     | 
| 
       148 
118 
     | 
    
         | 
| 
       149 
     | 
    
         
            -
                     
     | 
| 
       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)
         
     | 
| 
      
 119 
     | 
    
         
            +
                    ::Google::Cloud.configure.redis
         
     | 
| 
       155 
120 
     | 
    
         
             
                  end
         
     | 
| 
       156 
121 
     | 
    
         
             
                end
         
     | 
| 
       157 
122 
     | 
    
         
             
              end
         
     | 
| 
         @@ -1,4 +1,6 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            #  
     | 
| 
      
 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. 
     | 
| 
      
 23 
     | 
    
         
            +
                  VERSION = "1.0.0"
         
     | 
| 
       20 
24 
     | 
    
         
             
                end
         
     | 
| 
       21 
25 
     | 
    
         
             
              end
         
     | 
| 
       22 
26 
     | 
    
         
             
            end
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,111 +1,169 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: google-cloud-redis
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.0.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: 2020- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2020-05-07 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
     | 
    
         
            -
              name: google- 
     | 
| 
      
 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. 
     | 
| 
      
 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. 
     | 
| 
      
 26 
     | 
    
         
            +
                    version: '1.5'
         
     | 
| 
       27 
27 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       28 
     | 
    
         
            -
              name:  
     | 
| 
      
 28 
     | 
    
         
            +
              name: google-cloud-redis-v1
         
     | 
| 
       29 
29 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       30 
30 
     | 
    
         
             
                requirements:
         
     | 
| 
       31 
     | 
    
         
            -
                - - " 
     | 
| 
      
 31 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
       32 
32 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       33 
     | 
    
         
            -
                    version:  
     | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
      
 33 
     | 
    
         
            +
                    version: '0.0'
         
     | 
| 
      
 34 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
      
 35 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 36 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 37 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 38 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
       35 
39 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       36 
     | 
    
         
            -
                    version: ' 
     | 
| 
      
 40 
     | 
    
         
            +
                    version: '0.0'
         
     | 
| 
      
 41 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 42 
     | 
    
         
            +
              name: google-cloud-redis-v1beta1
         
     | 
| 
      
 43 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 44 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 45 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 46 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 47 
     | 
    
         
            +
                    version: '0.0'
         
     | 
| 
       37 
48 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       38 
49 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       39 
50 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       40 
51 
     | 
    
         
             
                requirements:
         
     | 
| 
       41 
     | 
    
         
            -
                - - " 
     | 
| 
      
 52 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 53 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 54 
     | 
    
         
            +
                    version: '0.0'
         
     | 
| 
      
 55 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 56 
     | 
    
         
            +
              name: autotest-suffix
         
     | 
| 
      
 57 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 58 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 59 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
       42 
60 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       43 
     | 
    
         
            -
                    version: 1. 
     | 
| 
       44 
     | 
    
         
            -
             
     | 
| 
      
 61 
     | 
    
         
            +
                    version: '1.1'
         
     | 
| 
      
 62 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 63 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 64 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 65 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 66 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
       45 
67 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       46 
     | 
    
         
            -
                    version: ' 
     | 
| 
      
 68 
     | 
    
         
            +
                    version: '1.1'
         
     | 
| 
       47 
69 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       48 
     | 
    
         
            -
              name:  
     | 
| 
      
 70 
     | 
    
         
            +
              name: google-style
         
     | 
| 
       49 
71 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       50 
72 
     | 
    
         
             
                requirements:
         
     | 
| 
       51 
     | 
    
         
            -
                - - " 
     | 
| 
      
 73 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
       52 
74 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       53 
     | 
    
         
            -
                    version: 1.0 
     | 
| 
       54 
     | 
    
         
            -
             
     | 
| 
      
 75 
     | 
    
         
            +
                    version: 1.24.0
         
     | 
| 
      
 76 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 77 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 78 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 79 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 80 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
       55 
81 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       56 
     | 
    
         
            -
                    version:  
     | 
| 
       57 
     | 
    
         
            -
             
     | 
| 
      
 82 
     | 
    
         
            +
                    version: 1.24.0
         
     | 
| 
      
 83 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 84 
     | 
    
         
            +
              name: minitest
         
     | 
| 
      
 85 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 86 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 87 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 88 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 89 
     | 
    
         
            +
                    version: '5.14'
         
     | 
| 
      
 90 
     | 
    
         
            +
              type: :development
         
     | 
| 
       58 
91 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       59 
92 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       60 
93 
     | 
    
         
             
                requirements:
         
     | 
| 
       61 
     | 
    
         
            -
                - - " 
     | 
| 
      
 94 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
       62 
95 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       63 
     | 
    
         
            -
                    version:  
     | 
| 
       64 
     | 
    
         
            -
             
     | 
| 
      
 96 
     | 
    
         
            +
                    version: '5.14'
         
     | 
| 
      
 97 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 98 
     | 
    
         
            +
              name: minitest-autotest
         
     | 
| 
      
 99 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 100 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 101 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
       65 
102 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       66 
     | 
    
         
            -
                    version: ' 
     | 
| 
      
 103 
     | 
    
         
            +
                    version: '1.0'
         
     | 
| 
      
 104 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 105 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 106 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 107 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 108 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 109 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 110 
     | 
    
         
            +
                    version: '1.0'
         
     | 
| 
       67 
111 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       68 
     | 
    
         
            -
              name: minitest
         
     | 
| 
      
 112 
     | 
    
         
            +
              name: minitest-focus
         
     | 
| 
       69 
113 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       70 
114 
     | 
    
         
             
                requirements:
         
     | 
| 
       71 
115 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       72 
116 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       73 
     | 
    
         
            -
                    version: ' 
     | 
| 
      
 117 
     | 
    
         
            +
                    version: '1.1'
         
     | 
| 
       74 
118 
     | 
    
         
             
              type: :development
         
     | 
| 
       75 
119 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       76 
120 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       77 
121 
     | 
    
         
             
                requirements:
         
     | 
| 
       78 
122 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       79 
123 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       80 
     | 
    
         
            -
                    version: ' 
     | 
| 
      
 124 
     | 
    
         
            +
                    version: '1.1'
         
     | 
| 
       81 
125 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       82 
     | 
    
         
            -
              name:  
     | 
| 
      
 126 
     | 
    
         
            +
              name: minitest-rg
         
     | 
| 
       83 
127 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       84 
128 
     | 
    
         
             
                requirements:
         
     | 
| 
       85 
129 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       86 
130 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       87 
     | 
    
         
            -
                    version: ' 
     | 
| 
      
 131 
     | 
    
         
            +
                    version: '5.2'
         
     | 
| 
       88 
132 
     | 
    
         
             
              type: :development
         
     | 
| 
       89 
133 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       90 
134 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       91 
135 
     | 
    
         
             
                requirements:
         
     | 
| 
       92 
136 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       93 
137 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       94 
     | 
    
         
            -
                    version: ' 
     | 
| 
      
 138 
     | 
    
         
            +
                    version: '5.2'
         
     | 
| 
       95 
139 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       96 
     | 
    
         
            -
              name:  
     | 
| 
      
 140 
     | 
    
         
            +
              name: rake
         
     | 
| 
      
 141 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 142 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 143 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 144 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 145 
     | 
    
         
            +
                    version: '12.0'
         
     | 
| 
      
 146 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 147 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 148 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 149 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 150 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 151 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 152 
     | 
    
         
            +
                    version: '12.0'
         
     | 
| 
      
 153 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 154 
     | 
    
         
            +
              name: redcarpet
         
     | 
| 
       97 
155 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       98 
156 
     | 
    
         
             
                requirements:
         
     | 
| 
       99 
157 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       100 
158 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       101 
     | 
    
         
            -
                    version:  
     | 
| 
      
 159 
     | 
    
         
            +
                    version: '3.0'
         
     | 
| 
       102 
160 
     | 
    
         
             
              type: :development
         
     | 
| 
       103 
161 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       104 
162 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       105 
163 
     | 
    
         
             
                requirements:
         
     | 
| 
       106 
164 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       107 
165 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       108 
     | 
    
         
            -
                    version:  
     | 
| 
      
 166 
     | 
    
         
            +
                    version: '3.0'
         
     | 
| 
       109 
167 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       110 
168 
     | 
    
         
             
              name: simplecov
         
     | 
| 
       111 
169 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -134,8 +192,7 @@ dependencies: 
     | 
|
| 
       134 
192 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       135 
193 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       136 
194 
     | 
    
         
             
                    version: '0.9'
         
     | 
| 
       137 
     | 
    
         
            -
            description:  
     | 
| 
       138 
     | 
    
         
            -
              for Redis API.
         
     | 
| 
      
 195 
     | 
    
         
            +
            description: Creates and manages Redis instances on the Google Cloud Platform.
         
     | 
| 
       139 
196 
     | 
    
         
             
            email: googleapis-packages@google.com
         
     | 
| 
       140 
197 
     | 
    
         
             
            executables: []
         
     | 
| 
       141 
198 
     | 
    
         
             
            extensions: []
         
     | 
| 
         @@ -143,35 +200,13 @@ extra_rdoc_files: [] 
     | 
|
| 
       143 
200 
     | 
    
         
             
            files:
         
     | 
| 
       144 
201 
     | 
    
         
             
            - ".yardopts"
         
     | 
| 
       145 
202 
     | 
    
         
             
            - AUTHENTICATION.md
         
     | 
| 
       146 
     | 
    
         
            -
            - LICENSE
         
     | 
| 
      
 203 
     | 
    
         
            +
            - LICENSE.md
         
     | 
| 
      
 204 
     | 
    
         
            +
            - MIGRATING.md
         
     | 
| 
       147 
205 
     | 
    
         
             
            - README.md
         
     | 
| 
      
 206 
     | 
    
         
            +
            - lib/google-cloud-redis.rb
         
     | 
| 
       148 
207 
     | 
    
         
             
            - 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 
208 
     | 
    
         
             
            - lib/google/cloud/redis/version.rb
         
     | 
| 
       174 
     | 
    
         
            -
            homepage: https://github.com/googleapis/google-cloud-ruby 
     | 
| 
      
 209 
     | 
    
         
            +
            homepage: https://github.com/googleapis/google-cloud-ruby
         
     | 
| 
       175 
210 
     | 
    
         
             
            licenses:
         
     | 
| 
       176 
211 
     | 
    
         
             
            - Apache-2.0
         
     | 
| 
       177 
212 
     | 
    
         
             
            metadata: {}
         
     | 
| 
         @@ -193,5 +228,5 @@ requirements: [] 
     | 
|
| 
       193 
228 
     | 
    
         
             
            rubygems_version: 3.0.6
         
     | 
| 
       194 
229 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       195 
230 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       196 
     | 
    
         
            -
            summary: API Client library for Google Cloud Memorystore for Redis API
         
     | 
| 
      
 231 
     | 
    
         
            +
            summary: API Client library for the Google Cloud Memorystore for Redis API
         
     | 
| 
       197 
232 
     | 
    
         
             
            test_files: []
         
     |