google-cloud-speech-v1 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: 7697756af25f2776c2cf270ac1d917e0d7830ecdaadd612c10058523dbde336b
4
- data.tar.gz: 0c2807aa1e1daac67947470defe54804f6972fa93202c7ef9bdfc3faeb0ed4b1
3
+ metadata.gz: ae5cd36ed8edd0d4b5e609d86646fa7d210985b759d63fd5d476ab64f47d4a5a
4
+ data.tar.gz: c0586b8e9774b33fe2ec0ac60d9a931e0c4329bd297bc9ec79dd853868ede917
5
5
  SHA512:
6
- metadata.gz: 744b1144d5c40beb956ffa88228e4322c75b58f5ffbdc6fb50f460a9e5e7a0ecaf7943ab4ddd1a11b7ea90da57cd4e373fb42751d8e18c07dfef754ca185e63c
7
- data.tar.gz: fcb535466d0423fbe55050b4636f241195f24f089467c108a7bcb1be22cd9070349364f8b9234dd27fc4ee5b394d7958ee9677e085c17fd159d7e9e35f3679e2
6
+ metadata.gz: 2b15f23fc60018895050c14cb748129504c1e9b1ec00a98e5e11ee55a3df2da6aba84337c3a3cb22e89fc3b651fcebc861b055c1f3680c1f0a6d211a1a16e459
7
+ data.tar.gz: 74263772957dd57c9c65207aebbf71140f25347ea8b7827d11782a8bc51dec97457d9cb6f54cad366b2d91a9301334a8269854c5b8c27a9cda2fdca0e497119c
@@ -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 Speech
23
23
  module V1
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-speech-v1
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-20 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
@@ -166,7 +166,6 @@ files:
166
166
  - LICENSE.md
167
167
  - README.md
168
168
  - lib/google-cloud-speech-v1.rb
169
- - lib/google/cloud/common_resources_pb.rb
170
169
  - lib/google/cloud/speech/v1.rb
171
170
  - lib/google/cloud/speech/v1/cloud_speech_pb.rb
172
171
  - lib/google/cloud/speech/v1/cloud_speech_services_pb.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