google-cloud-dataproc 0.9.1 → 0.10.0

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: 8f4dc9ab9721db6accf4279d8963bc946bffef23d3480d5b661479df3cf76203
4
- data.tar.gz: 9919cb5e80780916635366bdabe88f9b4675f5cfaedaf07596633a5c316c8745
3
+ metadata.gz: 84b6f1f4633f62a9f5079b8a9203dfad46146e0a2aa64f56f733bf001f337988
4
+ data.tar.gz: dc222108b880590d29d74ae8effe450e5ce3afd4a14b6f639a61f12fb87707de
5
5
  SHA512:
6
- metadata.gz: 9b59bad93eadf97880799b451199ab06ff8fb4957463cfcc35277176352ad38098916931ee78cabf8e0507505c49f1f3c3636dbeebb8868c1b7ec0937bcbb9f3
7
- data.tar.gz: 9d60a85d4b95872d332bce6a501be08be0c6d61a4a4f0700392f4f3e2e00ff85b886e2a01b23db2502cfd346fd37269eedb284d54d261466a7354dbbc9437e53
6
+ metadata.gz: 827b5ba6dccf92b88545b62db5e987da33ae507c9e6acf67e35f09d79e2215f52d7ec4c7635b1f858eceef6ff72340f92f23bb9a71963e3f2276cf2d0673c66a
7
+ data.tar.gz: 7b9204b43e0cfd1f6d5e1657b114fd143583bdbddbaa4fa527c67056e1a4ea2420e9588e6088991a321164745e739888db5744a39f8aa0712913d64ffc8079cd
@@ -182,6 +182,9 @@ module Google
182
182
  google_api_client.freeze
183
183
 
184
184
  headers = { :"x-goog-api-client" => google_api_client }
185
+ if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
186
+ headers[:"x-goog-user-project"] = credentials.quota_project_id
187
+ end
185
188
  headers.merge!(metadata) unless metadata.nil?
186
189
  client_config_file = Pathname.new(__dir__).join(
187
190
  "autoscaling_policy_service_client_config.json"
@@ -165,6 +165,9 @@ module Google
165
165
  google_api_client.freeze
166
166
 
167
167
  headers = { :"x-goog-api-client" => google_api_client }
168
+ if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
169
+ headers[:"x-goog-user-project"] = credentials.quota_project_id
170
+ end
168
171
  headers.merge!(metadata) unless metadata.nil?
169
172
  client_config_file = Pathname.new(__dir__).join(
170
173
  "cluster_controller_client_config.json"
@@ -145,6 +145,9 @@ module Google
145
145
  google_api_client.freeze
146
146
 
147
147
  headers = { :"x-goog-api-client" => google_api_client }
148
+ if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
149
+ headers[:"x-goog-user-project"] = credentials.quota_project_id
150
+ end
148
151
  headers.merge!(metadata) unless metadata.nil?
149
152
  client_config_file = Pathname.new(__dir__).join(
150
153
  "job_controller_client_config.json"
@@ -200,6 +200,9 @@ module Google
200
200
  google_api_client.freeze
201
201
 
202
202
  headers = { :"x-goog-api-client" => google_api_client }
203
+ if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
204
+ headers[:"x-goog-user-project"] = credentials.quota_project_id
205
+ end
203
206
  headers.merge!(metadata) unless metadata.nil?
204
207
  client_config_file = Pathname.new(__dir__).join(
205
208
  "workflow_template_service_client_config.json"
@@ -182,6 +182,9 @@ module Google
182
182
  google_api_client.freeze
183
183
 
184
184
  headers = { :"x-goog-api-client" => google_api_client }
185
+ if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
186
+ headers[:"x-goog-user-project"] = credentials.quota_project_id
187
+ end
185
188
  headers.merge!(metadata) unless metadata.nil?
186
189
  client_config_file = Pathname.new(__dir__).join(
187
190
  "autoscaling_policy_service_client_config.json"
@@ -165,6 +165,9 @@ module Google
165
165
  google_api_client.freeze
166
166
 
167
167
  headers = { :"x-goog-api-client" => google_api_client }
168
+ if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
169
+ headers[:"x-goog-user-project"] = credentials.quota_project_id
170
+ end
168
171
  headers.merge!(metadata) unless metadata.nil?
169
172
  client_config_file = Pathname.new(__dir__).join(
170
173
  "cluster_controller_client_config.json"
@@ -145,6 +145,9 @@ module Google
145
145
  google_api_client.freeze
146
146
 
147
147
  headers = { :"x-goog-api-client" => google_api_client }
148
+ if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
149
+ headers[:"x-goog-user-project"] = credentials.quota_project_id
150
+ end
148
151
  headers.merge!(metadata) unless metadata.nil?
149
152
  client_config_file = Pathname.new(__dir__).join(
150
153
  "job_controller_client_config.json"
@@ -200,6 +200,9 @@ module Google
200
200
  google_api_client.freeze
201
201
 
202
202
  headers = { :"x-goog-api-client" => google_api_client }
203
+ if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
204
+ headers[:"x-goog-user-project"] = credentials.quota_project_id
205
+ end
203
206
  headers.merge!(metadata) unless metadata.nil?
204
207
  client_config_file = Pathname.new(__dir__).join(
205
208
  "workflow_template_service_client_config.json"
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Dataproc
19
- VERSION = "0.9.1".freeze
19
+ VERSION = "0.10.0".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dataproc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.10.0
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-03-02 00:00:00.000000000 Z
11
+ date: 2020-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax