google-cloud-automl-v1beta1 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: 3a7ef5c55b8177aabad04777abb5a8e9996f2c9f787d2ffd64bd4acc993dee3b
|
|
4
|
+
data.tar.gz: 669bb67a43920c1ee64c13cc1fc13775f324729d54a04f8ff6aadb99e6b8b0b6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f5168bf596cb65b0e1bef7b1de92800a2541fa3f57665a1704bee1d9a3444fc199416a50d30166bcce6149003ecabf610a9ae57a65725bfe7342d82a1a734c5d
|
|
7
|
+
data.tar.gz: a90cd1c8753039aaca52014516e5dff631e8927467740343ac15d28ceee18961a0e61ff2b3789d467dd87211389728699d5f3fc4d392f3fb5cd7c27509ca3092
|
|
@@ -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-v1beta1
|
|
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
|
|
@@ -207,7 +207,6 @@ files:
|
|
|
207
207
|
- lib/google/cloud/automl/v1beta1/translation_pb.rb
|
|
208
208
|
- lib/google/cloud/automl/v1beta1/version.rb
|
|
209
209
|
- lib/google/cloud/automl/v1beta1/video_pb.rb
|
|
210
|
-
- lib/google/cloud/common_resources_pb.rb
|
|
211
210
|
- proto_docs/README.md
|
|
212
211
|
- proto_docs/google/api/field_behavior.rb
|
|
213
212
|
- 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
|