google-cloud-dataproc-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: 57cdafe892c5546ce46041f6ab8e0a8830b2078b5b69506ae3058ca9411b8686
4
- data.tar.gz: d581925ee787baced846b8ae149a57631b241cb753b0e60bcb3fefc8e4bce59c
3
+ metadata.gz: d57b680ce9132d46310f96ebd8a911c9717f23dfd7af248244e523d42edabeaa
4
+ data.tar.gz: e9ec515cff136dfdcbeb8d134d1c8495b1b77eed4e7a3634e88b40039e2e489b
5
5
  SHA512:
6
- metadata.gz: cd36dd225df2f908ea687d9789ba7d47f8e205fc3f33f4ba5c44fd7af435a9a3c64f9a791057989c7e26f8e3ee236288ea5e11f13437d8e12f0bbb893b95b004
7
- data.tar.gz: 96e32cff99e2f2031d6ee010b857beab04c76dd068547cc1e29562290a52aab11133be90405c2c01ebc6e211ba7842c354812c78034ec688df942798842f675c
6
+ metadata.gz: 670363dfd41123ca6c05a757c50073b6c7762f5a178eefaeeffc32333c6141b48ffdae8dba88bdc97b65499269b53c0c09e886ca44048285558f19f12506f9ac
7
+ data.tar.gz: 1cc4aee4dc286a1a0c03bbddf4879edd857d9b7a52b077ac0c3bcd78420dfeeccbf45b9b498e7c5bf242e145b4c221ccc9796f7434fc326e6d93a25f59ce531d
@@ -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 Dataproc
23
23
  module V1
24
- VERSION = "0.2.0"
24
+ VERSION = "0.2.1"
25
25
  end
26
26
  end
27
27
  end
@@ -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-dataproc-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
@@ -161,7 +161,6 @@ files:
161
161
  - LICENSE.md
162
162
  - README.md
163
163
  - lib/google-cloud-dataproc-v1.rb
164
- - lib/google/cloud/common_resources_pb.rb
165
164
  - lib/google/cloud/dataproc/v1.rb
166
165
  - lib/google/cloud/dataproc/v1/autoscaling_policies_pb.rb
167
166
  - lib/google/cloud/dataproc/v1/autoscaling_policies_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