google-cloud-dataproc-v1beta2 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: b35f53a0ac346f6fd1eda512e2fdce0ab5e45940ddbff3e2a1dee2c8bbd19585
4
- data.tar.gz: cad810727a51cc78223e390894843a621c27a16e8260d5956ead4a38c8e2f330
3
+ metadata.gz: 1e6c84b687b7d9cb902c2a31f1b653c3d7f72387a1f290acd77aa1d6d229abab
4
+ data.tar.gz: 3de64b3fb38a650062cca69c3e9511d8bb5f4e0047d90396cba34720ef1025f4
5
5
  SHA512:
6
- metadata.gz: f2100a2c9739e7194ef8b0a5b705b9dd570551ae016502dc17bf48c1d41621382473a1e062ec9b9eb7bdcd118f0886123df9d40d9a5ce7883708a4f74bcd6c44
7
- data.tar.gz: 6b81514a130d32372f57f5ddb893f096fb87377323cdbbb8c58504d098bea55cb4f25807b0f971f06c9e916b6bcd9e057dfc47f199754372ea9545d273397176
6
+ metadata.gz: c46bb0d30c129223429e12b43907b4ebb36235577e0c47f9192e9dc47900c2e6fd5d5ae19ebe6af2054124e914d4bbd1136f89e014066bd1461aecf7ab4b28b6
7
+ data.tar.gz: bece0fe337d940d0b22a57283a78f920c1faa440d944c4b2750e8f6d545829b9f56d61541eb88d76c753c22f273df0b0b0506bba3192aec393af38cc6c49c28e
@@ -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 V1beta2
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-v1beta2
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-v1beta2.rb
164
- - lib/google/cloud/common_resources_pb.rb
165
164
  - lib/google/cloud/dataproc/v1beta2.rb
166
165
  - lib/google/cloud/dataproc/v1beta2/autoscaling_policies_pb.rb
167
166
  - lib/google/cloud/dataproc/v1beta2/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