google-cloud-vision-v1p3beta1 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: 47396fd5d4c76b7859a7d510e11e35fba685491c03e4bee3234960829697c5b9
4
- data.tar.gz: ee8f0f8608d6581cc330f55c69a85d985d8d86c1e6555da68639facdbead6c31
3
+ metadata.gz: bed8eb28908c3841ce50dfe2d626b437d214adddea0b2ccda921f6fe817f0d38
4
+ data.tar.gz: cf1ca2243e106768e301d541eacb922e28a660376eae64da343c5e666b990577
5
5
  SHA512:
6
- metadata.gz: fae793707921d472b04e8f5eb25be80b88996ca08f1fac8df5b41a30479544fbef98fb50a5d470ef34e3fa71b4686e0f8040f9e60fc98357ad2445748e1bd45a
7
- data.tar.gz: de85fc29ad8a25e6822212e870321858770176c56c88daa1a574e4822bad0f99e05125e71c47bfc13e979f5dc4078e7bb511bb12dd9c2eb2c8e06ab11d3cf707
6
+ metadata.gz: 32649728fca3d917fb6b91f0e19df61856fe109639e012052e09a5faa6464e2596a17ec2ba9a82fd99705d1c5589eeef0f7ea2906323e57081357b508365b506
7
+ data.tar.gz: 6b6f718c41497a9d56a97c032889f6bc185a609db794aa180212aec71a31e9ceb77eeaf3d225e826919f74b13f6caef857807acf4e678f116aefcf04174c46e3
@@ -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,
@@ -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 Vision
23
23
  module V1p3beta1
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-vision-v1p3beta1
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
@@ -163,7 +163,6 @@ files:
163
163
  - LICENSE.md
164
164
  - README.md
165
165
  - lib/google-cloud-vision-v1p3beta1.rb
166
- - lib/google/cloud/common_resources_pb.rb
167
166
  - lib/google/cloud/vision/v1p3beta1.rb
168
167
  - lib/google/cloud/vision/v1p3beta1/geometry_pb.rb
169
168
  - lib/google/cloud/vision/v1p3beta1/image_annotator.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