google-cloud-automl-v1 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9f3d96c714f8eeecc29866443ce5aa5ed87f04385a8b6c6774b956a2c409c09e
|
|
4
|
+
data.tar.gz: 39af58c066d46d990c5ac0541493efe6c055aabda27581c158904a4d796213df
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2eed003ff76085d819cd62167ef2b195c403e0815c6c16f9b57d6659a4243ea269d405f2525ae0b35c45c1ee10bae666e4a6b08ed57428213cdaec4753a54fa1
|
|
7
|
+
data.tar.gz: ae2c4cc8e36401b5e3572c7754700aa0a390e04494f46a807ab6a570857f52877eafa4154ec54d1de087411d85e154257719bd13fbdcfb5778bd4dbf3408f02c
|
|
@@ -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,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-automl-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
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-
|
|
11
|
+
date: 2020-05-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|
|
@@ -198,7 +198,6 @@ files:
|
|
|
198
198
|
- lib/google/cloud/automl/v1/text_sentiment_pb.rb
|
|
199
199
|
- lib/google/cloud/automl/v1/translation_pb.rb
|
|
200
200
|
- lib/google/cloud/automl/v1/version.rb
|
|
201
|
-
- lib/google/cloud/common_resources_pb.rb
|
|
202
201
|
- proto_docs/README.md
|
|
203
202
|
- proto_docs/google/api/field_behavior.rb
|
|
204
203
|
- proto_docs/google/api/resource.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
|