google-cloud-dataproc 0.9.1 → 0.10.0
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 +4 -4
- data/lib/google/cloud/dataproc/v1/autoscaling_policy_service_client.rb +3 -0
- data/lib/google/cloud/dataproc/v1/cluster_controller_client.rb +3 -0
- data/lib/google/cloud/dataproc/v1/job_controller_client.rb +3 -0
- data/lib/google/cloud/dataproc/v1/workflow_template_service_client.rb +3 -0
- data/lib/google/cloud/dataproc/v1beta2/autoscaling_policy_service_client.rb +3 -0
- data/lib/google/cloud/dataproc/v1beta2/cluster_controller_client.rb +3 -0
- data/lib/google/cloud/dataproc/v1beta2/job_controller_client.rb +3 -0
- data/lib/google/cloud/dataproc/v1beta2/workflow_template_service_client.rb +3 -0
- data/lib/google/cloud/dataproc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 84b6f1f4633f62a9f5079b8a9203dfad46146e0a2aa64f56f733bf001f337988
|
|
4
|
+
data.tar.gz: dc222108b880590d29d74ae8effe450e5ce3afd4a14b6f639a61f12fb87707de
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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"
|
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.
|
|
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-
|
|
11
|
+
date: 2020-03-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-gax
|