google-cloud-redis-v1 0.1.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96e3dfdba6283c5e01b9cd277897b83ce9c7ced88c26a24e574cb2429f6caf1d
4
- data.tar.gz: f7e60670c1f2faa913043dc2e9cabf34ebeb8381960e53f820399aa59709ef1e
3
+ metadata.gz: '038047e49edefcce2484119ac42a3cc8460cbcf51b523b3be3cf18af6d1e30fe'
4
+ data.tar.gz: acee195bb64a89f09fe23db95d020e50cbd5c8557e3cce84fd41b960187651ad
5
5
  SHA512:
6
- metadata.gz: 06b41c996afa7d0e0a296b17108ce9aaf0e760153409035462d496cf842c8515332443736dbaf3a3d102e3cb1f9df0b2ccb694ff336a63de0f2bee20bb07bc42
7
- data.tar.gz: eef8724ea179d54baed22be7bc4e7bf007be0b77bb9c75e55e26268b59bce4936ea6f6734efd2f4caef534ee485416f2f56f11ef356d90dca530768a3915fdda
6
+ metadata.gz: e61bf5e0b7c505c1ba54112d5f7c48148e411080033833d323bc30b772cf7029d0414f302277f96447be6a659589666f862402197a9079b53fbdb8c237453564
7
+ data.tar.gz: b5dc1146c7a5b5388fc81cabb69e3b5d769d022e4c426b731e1d03788dd41308d7b4b109b342d375d8b046c225e109d1d0f7314a732b7b31c41cd590de559d64
data/README.md CHANGED
@@ -18,6 +18,7 @@ In order to use this library, you first need to go through the following steps:
18
18
 
19
19
  1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
20
20
  1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
21
+ 1. [Enable the API.](https://console.cloud.google.com/apis/library/redis.googleapis.com)
21
22
  1. {file:AUTHENTICATION.md Set up authentication.}
22
23
 
23
24
  ## Quick Start
@@ -33,6 +34,9 @@ response = client.list_instances request
33
34
  View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-redis-v1/latest)
34
35
  for class and method documentation.
35
36
 
37
+ See also the [Product Documentation](https://cloud.google.com/memorystore/docs/redis)
38
+ for general usage information.
39
+
36
40
  ## Enabling Logging
37
41
 
38
42
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
@@ -87,6 +87,8 @@ module Google
87
87
 
88
88
  default_config.rpcs.update_instance.timeout = 600.0
89
89
 
90
+ default_config.rpcs.upgrade_instance.timeout = 600.0
91
+
90
92
  default_config.rpcs.import_instance.timeout = 600.0
91
93
 
92
94
  default_config.rpcs.export_instance.timeout = 600.0
@@ -160,7 +162,8 @@ module Google
160
162
  if credentials.is_a?(String) || credentials.is_a?(Hash)
161
163
  credentials = Credentials.new credentials, scope: @config.scope
162
164
  end
163
- @quota_project_id = credentials.respond_to?(:quota_project_id) ? credentials.quota_project_id : nil
165
+ @quota_project_id = @config.quota_project
166
+ @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
164
167
 
165
168
  @operations_client = Operations.new do |config|
166
169
  config.credentials = credentials
@@ -345,7 +348,7 @@ module Google
345
348
  # Creates a Redis instance based on the specified tier and memory size.
346
349
  #
347
350
  # By default, the instance is accessible from the project's
348
- # [default network](/compute/docs/networks-and-firewalls#networks).
351
+ # [default network](https://cloud.google.com/vpc/docs/vpc).
349
352
  #
350
353
  # The creation is executed asynchronously and callers may check the returned
351
354
  # operation to track its progress. Once the operation is completed the Redis
@@ -513,6 +516,78 @@ module Google
513
516
  raise ::Google::Cloud::Error.from_error(e)
514
517
  end
515
518
 
519
+ ##
520
+ # Upgrades Redis instance to the newer Redis version specified in the
521
+ # request.
522
+ #
523
+ # @overload upgrade_instance(request, options = nil)
524
+ # Pass arguments to `upgrade_instance` via a request object, either of type
525
+ # {::Google::Cloud::Redis::V1::UpgradeInstanceRequest} or an equivalent Hash.
526
+ #
527
+ # @param request [::Google::Cloud::Redis::V1::UpgradeInstanceRequest, ::Hash]
528
+ # A request object representing the call parameters. Required. To specify no
529
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
530
+ # @param options [::Gapic::CallOptions, ::Hash]
531
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
532
+ #
533
+ # @overload upgrade_instance(name: nil, redis_version: nil)
534
+ # Pass arguments to `upgrade_instance` via keyword arguments. Note that at
535
+ # least one keyword argument is required. To specify no parameters, or to keep all
536
+ # the default parameter values, pass an empty Hash as a request object (see above).
537
+ #
538
+ # @param name [::String]
539
+ # Required. Redis instance resource name using the form:
540
+ # `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
541
+ # where `location_id` refers to a GCP region.
542
+ # @param redis_version [::String]
543
+ # Required. Specifies the target version of Redis software to upgrade to.
544
+ #
545
+ # @yield [response, operation] Access the result along with the RPC operation
546
+ # @yieldparam response [::Gapic::Operation]
547
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
548
+ #
549
+ # @return [::Gapic::Operation]
550
+ #
551
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
552
+ #
553
+ def upgrade_instance request, options = nil
554
+ raise ::ArgumentError, "request must be provided" if request.nil?
555
+
556
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Redis::V1::UpgradeInstanceRequest
557
+
558
+ # Converts hash and nil to an options object
559
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
560
+
561
+ # Customize the options with defaults
562
+ metadata = @config.rpcs.upgrade_instance.metadata.to_h
563
+
564
+ # Set x-goog-api-client and x-goog-user-project headers
565
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
566
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
567
+ gapic_version: ::Google::Cloud::Redis::V1::VERSION
568
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
569
+
570
+ header_params = {
571
+ "name" => request.name
572
+ }
573
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
574
+ metadata[:"x-goog-request-params"] ||= request_params_header
575
+
576
+ options.apply_defaults timeout: @config.rpcs.upgrade_instance.timeout,
577
+ metadata: metadata,
578
+ retry_policy: @config.rpcs.upgrade_instance.retry_policy
579
+ options.apply_defaults metadata: @config.metadata,
580
+ retry_policy: @config.retry_policy
581
+
582
+ @cloud_redis_stub.call_rpc :upgrade_instance, request, options: options do |response, operation|
583
+ response = ::Gapic::Operation.new response, @operations_client, options: options
584
+ yield response, operation if block_given?
585
+ return response
586
+ end
587
+ rescue ::GRPC::BadStatus => e
588
+ raise ::Google::Cloud::Error.from_error(e)
589
+ end
590
+
516
591
  ##
517
592
  # Import a Redis RDB snapshot file from Cloud Storage into a Redis instance.
518
593
  #
@@ -886,24 +961,28 @@ module Google
886
961
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
887
962
  # trigger a retry.
888
963
  # @return [::Hash]
964
+ # @!attribute [rw] quota_project
965
+ # A separate project against which to charge quota.
966
+ # @return [::String]
889
967
  #
890
968
  class Configuration
891
969
  extend ::Gapic::Config
892
970
 
893
- config_attr :endpoint, "redis.googleapis.com", String
894
- config_attr :credentials, nil do |value|
971
+ config_attr :endpoint, "redis.googleapis.com", ::String
972
+ config_attr :credentials, nil do |value|
895
973
  allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
896
974
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
897
975
  allowed.any? { |klass| klass === value }
898
976
  end
899
- config_attr :scope, nil, ::String, ::Array, nil
900
- config_attr :lib_name, nil, ::String, nil
901
- config_attr :lib_version, nil, ::String, nil
902
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
903
- config_attr :interceptors, nil, ::Array, nil
904
- config_attr :timeout, nil, ::Numeric, nil
905
- config_attr :metadata, nil, ::Hash, nil
906
- config_attr :retry_policy, nil, ::Hash, Proc, nil
977
+ config_attr :scope, nil, ::String, ::Array, nil
978
+ config_attr :lib_name, nil, ::String, nil
979
+ config_attr :lib_version, nil, ::String, nil
980
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
981
+ config_attr :interceptors, nil, ::Array, nil
982
+ config_attr :timeout, nil, ::Numeric, nil
983
+ config_attr :metadata, nil, ::Hash, nil
984
+ config_attr :retry_policy, nil, ::Hash, ::Proc, nil
985
+ config_attr :quota_project, nil, ::String, nil
907
986
 
908
987
  # @private
909
988
  def initialize parent_config = nil
@@ -919,7 +998,7 @@ module Google
919
998
  def rpcs
920
999
  @rpcs ||= begin
921
1000
  parent_rpcs = nil
922
- parent_rpcs = @parent_config.rpcs if @parent_config&.respond_to? :rpcs
1001
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
923
1002
  Rpcs.new parent_rpcs
924
1003
  end
925
1004
  end
@@ -963,6 +1042,11 @@ module Google
963
1042
  #
964
1043
  attr_reader :update_instance
965
1044
  ##
1045
+ # RPC-specific configuration for `upgrade_instance`
1046
+ # @return [::Gapic::Config::Method]
1047
+ #
1048
+ attr_reader :upgrade_instance
1049
+ ##
966
1050
  # RPC-specific configuration for `import_instance`
967
1051
  # @return [::Gapic::Config::Method]
968
1052
  #
@@ -993,6 +1077,8 @@ module Google
993
1077
  @create_instance = ::Gapic::Config::Method.new create_instance_config
994
1078
  update_instance_config = parent_rpcs&.update_instance if parent_rpcs&.respond_to? :update_instance
995
1079
  @update_instance = ::Gapic::Config::Method.new update_instance_config
1080
+ upgrade_instance_config = parent_rpcs&.upgrade_instance if parent_rpcs&.respond_to? :upgrade_instance
1081
+ @upgrade_instance = ::Gapic::Config::Method.new upgrade_instance_config
996
1082
  import_instance_config = parent_rpcs&.import_instance if parent_rpcs&.respond_to? :import_instance
997
1083
  @import_instance = ::Gapic::Config::Method.new import_instance_config
998
1084
  export_instance_config = parent_rpcs&.export_instance if parent_rpcs&.respond_to? :export_instance
@@ -85,6 +85,8 @@ module Google
85
85
  if credentials.is_a?(String) || credentials.is_a?(Hash)
86
86
  credentials = Credentials.new credentials, scope: @config.scope
87
87
  end
88
+ @quota_project_id = @config.quota_project
89
+ @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
88
90
 
89
91
  @operations_stub = ::Gapic::ServiceStub.new(
90
92
  ::Google::Longrunning::Operations::Stub,
@@ -464,24 +466,28 @@ module Google
464
466
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
465
467
  # trigger a retry.
466
468
  # @return [::Hash]
469
+ # @!attribute [rw] quota_project
470
+ # A separate project against which to charge quota.
471
+ # @return [::String]
467
472
  #
468
473
  class Configuration
469
474
  extend ::Gapic::Config
470
475
 
471
- config_attr :endpoint, "redis.googleapis.com", String
472
- config_attr :credentials, nil do |value|
476
+ config_attr :endpoint, "redis.googleapis.com", ::String
477
+ config_attr :credentials, nil do |value|
473
478
  allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
474
479
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
475
480
  allowed.any? { |klass| klass === value }
476
481
  end
477
- config_attr :scope, nil, ::String, ::Array, nil
478
- config_attr :lib_name, nil, ::String, nil
479
- config_attr :lib_version, nil, ::String, nil
480
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
481
- config_attr :interceptors, nil, ::Array, nil
482
- config_attr :timeout, nil, ::Numeric, nil
483
- config_attr :metadata, nil, ::Hash, nil
484
- config_attr :retry_policy, nil, ::Hash, Proc, nil
482
+ config_attr :scope, nil, ::String, ::Array, nil
483
+ config_attr :lib_name, nil, ::String, nil
484
+ config_attr :lib_version, nil, ::String, nil
485
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
486
+ config_attr :interceptors, nil, ::Array, nil
487
+ config_attr :timeout, nil, ::Numeric, nil
488
+ config_attr :metadata, nil, ::Hash, nil
489
+ config_attr :retry_policy, nil, ::Hash, ::Proc, nil
490
+ config_attr :quota_project, nil, ::String, nil
485
491
 
486
492
  # @private
487
493
  def initialize parent_config = nil
@@ -497,7 +503,7 @@ module Google
497
503
  def rpcs
498
504
  @rpcs ||= begin
499
505
  parent_rpcs = nil
500
- parent_rpcs = @parent_config.rpcs if @parent_config&.respond_to? :rpcs
506
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
501
507
  Rpcs.new parent_rpcs
502
508
  end
503
509
  end
@@ -76,6 +76,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
76
76
  optional :update_mask, :message, 1, "google.protobuf.FieldMask"
77
77
  optional :instance, :message, 2, "google.cloud.redis.v1.Instance"
78
78
  end
79
+ add_message "google.cloud.redis.v1.UpgradeInstanceRequest" do
80
+ optional :name, :string, 1
81
+ optional :redis_version, :string, 2
82
+ end
79
83
  add_message "google.cloud.redis.v1.DeleteInstanceRequest" do
80
84
  optional :name, :string, 1
81
85
  end
@@ -142,6 +146,7 @@ module Google
142
146
  GetInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1.GetInstanceRequest").msgclass
143
147
  CreateInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1.CreateInstanceRequest").msgclass
144
148
  UpdateInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1.UpdateInstanceRequest").msgclass
149
+ UpgradeInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1.UpgradeInstanceRequest").msgclass
145
150
  DeleteInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1.DeleteInstanceRequest").msgclass
146
151
  GcsSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1.GcsSource").msgclass
147
152
  InputConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1.InputConfig").msgclass
@@ -62,7 +62,7 @@ module Google
62
62
  # Creates a Redis instance based on the specified tier and memory size.
63
63
  #
64
64
  # By default, the instance is accessible from the project's
65
- # [default network](/compute/docs/networks-and-firewalls#networks).
65
+ # [default network](https://cloud.google.com/vpc/docs/vpc).
66
66
  #
67
67
  # The creation is executed asynchronously and callers may check the returned
68
68
  # operation to track its progress. Once the operation is completed the Redis
@@ -78,6 +78,9 @@ module Google
78
78
  # in the response field. The returned operation is automatically deleted
79
79
  # after a few hours, so there is no need to call DeleteOperation.
80
80
  rpc :UpdateInstance, UpdateInstanceRequest, Google::Longrunning::Operation
81
+ # Upgrades Redis instance to the newer Redis version specified in the
82
+ # request.
83
+ rpc :UpgradeInstance, UpgradeInstanceRequest, Google::Longrunning::Operation
81
84
  # Import a Redis RDB snapshot file from Cloud Storage into a Redis instance.
82
85
  #
83
86
  # Redis may stop serving during this operation. Instance state will be
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Redis
23
23
  module V1
24
- VERSION = "0.1.1"
24
+ VERSION = "0.3.0"
25
25
  end
26
26
  end
27
27
  end
@@ -121,7 +121,7 @@ module Google
121
121
  # @!attribute [rw] authorized_network
122
122
  # @return [::String]
123
123
  # Optional. The full name of the Google Compute Engine
124
- # [network](/compute/docs/networks-and-firewalls#networks) to which the
124
+ # [network](https://cloud.google.com/vpc/docs/vpc) to which the
125
125
  # instance is connected. If left unspecified, the `default` network
126
126
  # will be used.
127
127
  # @!attribute [r] persistence_iam_identity
@@ -133,9 +133,8 @@ module Google
133
133
  # operation.
134
134
  # @!attribute [rw] connect_mode
135
135
  # @return [::Google::Cloud::Redis::V1::Instance::ConnectMode]
136
- # Optional. The connect mode of Redis instance.
137
- # If not provided, default one will be used.
138
- # Current default: DIRECT_PEERING.
136
+ # Optional. The network connect mode of the Redis instance.
137
+ # If not provided, the connect mode defaults to DIRECT_PEERING.
139
138
  class Instance
140
139
  include ::Google::Protobuf::MessageExts
141
140
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -207,11 +206,12 @@ module Google
207
206
  # Not set.
208
207
  CONNECT_MODE_UNSPECIFIED = 0
209
208
 
210
- # Connect via directly peering with memorystore redis hosted service.
209
+ # Connect via direct peering to the Memorystore for Redis hosted service.
211
210
  DIRECT_PEERING = 1
212
211
 
213
- # Connect with google via private service access and share connection
214
- # across google managed services.
212
+ # Connect your Memorystore for Redis instance using Private Service
213
+ # Access. Private services access provides an IP address range for multiple
214
+ # Google Cloud services, including Memorystore.
215
215
  PRIVATE_SERVICE_ACCESS = 2
216
216
  end
217
217
  end
@@ -320,6 +320,20 @@ module Google
320
320
  extend ::Google::Protobuf::MessageExts::ClassMethods
321
321
  end
322
322
 
323
+ # Request for {::Google::Cloud::Redis::V1::CloudRedis::Client#upgrade_instance UpgradeInstance}.
324
+ # @!attribute [rw] name
325
+ # @return [::String]
326
+ # Required. Redis instance resource name using the form:
327
+ # `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
328
+ # where `location_id` refers to a GCP region.
329
+ # @!attribute [rw] redis_version
330
+ # @return [::String]
331
+ # Required. Specifies the target version of Redis software to upgrade to.
332
+ class UpgradeInstanceRequest
333
+ include ::Google::Protobuf::MessageExts
334
+ extend ::Google::Protobuf::MessageExts::ClassMethods
335
+ end
336
+
323
337
  # Request for {::Google::Cloud::Redis::V1::CloudRedis::Client#delete_instance DeleteInstance}.
324
338
  # @!attribute [rw] name
325
339
  # @return [::String]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-redis-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.3.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-05-05 00:00:00.000000000 Z
11
+ date: 2020-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.2'
19
+ version: '0.3'
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: '0.2'
26
+ version: '0.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: google-cloud-errors
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,42 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '5.10'
61
+ version: '5.14'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '5.10'
68
+ version: '5.14'
69
+ - !ruby/object:Gem::Dependency
70
+ name: minitest-focus
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.1'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.1'
83
+ - !ruby/object:Gem::Dependency
84
+ name: minitest-rg
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '5.2'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '5.2'
69
97
  - !ruby/object:Gem::Dependency
70
98
  name: rake
71
99
  requirement: !ruby/object:Gem::Requirement
@@ -133,7 +161,6 @@ files:
133
161
  - LICENSE.md
134
162
  - README.md
135
163
  - lib/google-cloud-redis-v1.rb
136
- - lib/google/cloud/common_resources_pb.rb
137
164
  - lib/google/cloud/redis/v1.rb
138
165
  - lib/google/cloud/redis/v1/cloud_redis.rb
139
166
  - lib/google/cloud/redis/v1/cloud_redis/client.rb
@@ -172,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
199
  - !ruby/object:Gem::Version
173
200
  version: '0'
174
201
  requirements: []
175
- rubygems_version: 3.0.6
202
+ rubygems_version: 3.1.3
176
203
  signing_key:
177
204
  specification_version: 4
178
205
  summary: API Client library for the Google Cloud Memorystore for Redis V1 API
@@ -1,15 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/cloud/common_resources.proto
3
-
4
- require 'google/protobuf'
5
-
6
- require 'google/api/resource_pb'
7
- Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_file("google/cloud/common_resources.proto", :syntax => :proto3) do
9
- end
10
- end
11
-
12
- module Google
13
- module Cloud
14
- end
15
- end