google-cloud-redis-v1beta1 0.2.0 → 0.2.1

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: 076eb50baeb8f4c67453f537c5794979b33d185eccdf339f41bc4194f3a972ee
4
- data.tar.gz: 958da724969c3297e54bfe2c75ff7f4e7d993f6df107c865c5ec7f790acb39e3
3
+ metadata.gz: 7de57c015bb57e338c5250aefce31a0c66ac85f18e210102b4dedb3f800aeefc
4
+ data.tar.gz: 792c5b298f9fb398715f3d46a3cd3bf87899392f12084d58fa451c73fc98e782
5
5
  SHA512:
6
- metadata.gz: ebae632bd32c5d36fd93a6c66d51aa48a1637f8287b009687cf1e177e6c4fff82648c0e3b7d7d068a5774758af7994b46f95158fca84e8361fd0117bda391892
7
- data.tar.gz: b969807219e9a6a1dbf15293318b4d648e4feaadd17bc54347abe48fec5540ff872117c57d62c0e9f2a2fed29b2b9adabe2e53013da9efed57ce4ad2ff11a5fd
6
+ metadata.gz: b8db96b8162e4ede4581cefc55d171ee4558b38860090d0e49dce2c1988cc79eecb3345039d2860f1129df5fc08d70f0abbaa0e479506f930555e1bcba244b2c
7
+ data.tar.gz: d9ed8c9ac4fa65ec276b4b6942731759b8bc254f92e93ddce7f173a8118421c07b9fac593d837d4f6f55011bcd2d81b30a5e0bcec0512bd7bb2281a78a979d3a
@@ -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,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Redis
23
23
  module V1beta1
24
- VERSION = "0.2.0"
24
+ VERSION = "0.2.1"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-redis-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
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-21 00:00:00.000000000 Z
11
+ date: 2020-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -161,7 +161,6 @@ files:
161
161
  - LICENSE.md
162
162
  - README.md
163
163
  - lib/google-cloud-redis-v1beta1.rb
164
- - lib/google/cloud/common_resources_pb.rb
165
164
  - lib/google/cloud/redis/v1beta1.rb
166
165
  - lib/google/cloud/redis/v1beta1/cloud_redis.rb
167
166
  - lib/google/cloud/redis/v1beta1/cloud_redis/client.rb
@@ -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