google-cloud-speech-v1p1beta1 0.3.0 → 0.3.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: 05372f925ff8d6076b29520efb9224f34d5e86fae7b53fc83e46a00f44c26223
4
- data.tar.gz: 1a50809d619b3239a9427b8ca180acea396b5d3d6daa47913333292d74b87f36
3
+ metadata.gz: a38f59a73d43386244db111a8513ef20ccd42b6603db40011466a22d086efa83
4
+ data.tar.gz: 72a9fb92532624ab6ba57c458d58223e12a0432842549b5b19cad52251dc2c0c
5
5
  SHA512:
6
- metadata.gz: b15afaadafe440bc1b331bb1a72a2ab8f6f44efcbb4ef95a56c8aea31ac4b128f559f2e1086cd67cbf4a3a0a214dc672af5c44a995fa2e49c9f207841404735f
7
- data.tar.gz: 46f10399c2190905c10c0e59226fd172cfbee9df976b4ed0c22d0511b4a677f9471c604900fcdaca5062af481c329d9e64ae2b3b6604a868b1103229ca1ebae9
6
+ metadata.gz: cdd7ae93409b4a1da7f15773ef7bfb10258733ff460a78a44e2783ab582346e6063bfd69cf618d250de56f73476ba17f30368106a277d59292da7811f949d29a
7
+ data.tar.gz: 2686104b93a98bf418093e98d3ff92b84d3f42c2b1fadc85acb0ca67bb63e7ea3465b0625957f610d9dac5080a6153d73c267f2ac8341bdc380f1711ab5d45ef
@@ -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 V1p1beta1
24
- VERSION = "0.3.0"
24
+ VERSION = "0.3.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-v1p1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.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
@@ -166,7 +166,6 @@ files:
166
166
  - LICENSE.md
167
167
  - README.md
168
168
  - lib/google-cloud-speech-v1p1beta1.rb
169
- - lib/google/cloud/common_resources_pb.rb
170
169
  - lib/google/cloud/speech/v1p1beta1.rb
171
170
  - lib/google/cloud/speech/v1p1beta1/cloud_speech_pb.rb
172
171
  - lib/google/cloud/speech/v1p1beta1/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