google-cloud-compute-v1 1.6.0 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +1 -1
  3. data/lib/google/cloud/compute/v1/addresses/rest/client.rb +87 -0
  4. data/lib/google/cloud/compute/v1/addresses/rest/service_stub.rb +61 -0
  5. data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +151 -0
  6. data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +119 -0
  7. data/lib/google/cloud/compute/v1/compute_pb.rb +228 -0
  8. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +82 -0
  9. data/lib/google/cloud/compute/v1/global_addresses/rest/service_stub.rb +60 -0
  10. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +87 -0
  11. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/service_stub.rb +61 -0
  12. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +82 -0
  13. data/lib/google/cloud/compute/v1/interconnects/rest/service_stub.rb +60 -0
  14. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +155 -0
  15. data/lib/google/cloud/compute/v1/region_backend_services/rest/service_stub.rb +121 -0
  16. data/lib/google/cloud/compute/v1/region_ssl_policies/credentials.rb +52 -0
  17. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +759 -0
  18. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/service_stub.rb +408 -0
  19. data/lib/google/cloud/compute/v1/region_ssl_policies/rest.rb +33 -0
  20. data/lib/google/cloud/compute/v1/region_ssl_policies.rb +47 -0
  21. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/credentials.rb +52 -0
  22. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +587 -0
  23. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/service_stub.rb +288 -0
  24. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest.rb +33 -0
  25. data/lib/google/cloud/compute/v1/region_target_tcp_proxies.rb +47 -0
  26. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +82 -0
  27. data/lib/google/cloud/compute/v1/security_policies/rest/service_stub.rb +60 -0
  28. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +86 -0
  29. data/lib/google/cloud/compute/v1/ssl_policies/rest/service_stub.rb +58 -0
  30. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +87 -0
  31. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/service_stub.rb +61 -0
  32. data/lib/google/cloud/compute/v1/version.rb +1 -1
  33. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +87 -0
  34. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/service_stub.rb +61 -0
  35. data/lib/google/cloud/compute/v1.rb +2 -0
  36. data/proto_docs/google/cloud/compute/v1/compute.rb +637 -26
  37. metadata +12 -2
@@ -0,0 +1,408 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/compute/v1/compute_pb"
20
+
21
+ module Google
22
+ module Cloud
23
+ module Compute
24
+ module V1
25
+ module RegionSslPolicies
26
+ module Rest
27
+ ##
28
+ # REST service stub for the RegionSslPolicies service.
29
+ # Service stub contains baseline method implementations
30
+ # including transcoding, making the REST call, and deserialing the response.
31
+ #
32
+ class ServiceStub
33
+ def initialize endpoint:, credentials:
34
+ # These require statements are intentionally placed here to initialize
35
+ # the REST modules only when it's required.
36
+ require "gapic/rest"
37
+
38
+ @client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint, credentials: credentials
39
+ end
40
+
41
+ ##
42
+ # Baseline implementation for the delete REST call
43
+ #
44
+ # @param request_pb [::Google::Cloud::Compute::V1::DeleteRegionSslPolicyRequest]
45
+ # A request object representing the call parameters. Required.
46
+ # @param options [::Gapic::CallOptions]
47
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
48
+ #
49
+ # @yield [result, response] Access the result along with the Faraday response object
50
+ # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
51
+ # @yieldparam response [::Faraday::Response]
52
+ #
53
+ # @return [::Google::Cloud::Compute::V1::Operation]
54
+ # A result object deserialized from the server's reply
55
+ def delete request_pb, options = nil
56
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
57
+
58
+ verb, uri, query_string_params, body = transcode_delete_request request_pb
59
+ query_string_params = if query_string_params.any?
60
+ query_string_params.to_h { |p| p.split("=", 2) }
61
+ else
62
+ {}
63
+ end
64
+
65
+ response = @client_stub.make_http_request(
66
+ verb,
67
+ uri: uri,
68
+ body: body || "",
69
+ params: query_string_params,
70
+ options: options
71
+ )
72
+ result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
73
+
74
+ yield result, response if block_given?
75
+ result
76
+ end
77
+
78
+ ##
79
+ # Baseline implementation for the get REST call
80
+ #
81
+ # @param request_pb [::Google::Cloud::Compute::V1::GetRegionSslPolicyRequest]
82
+ # A request object representing the call parameters. Required.
83
+ # @param options [::Gapic::CallOptions]
84
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
85
+ #
86
+ # @yield [result, response] Access the result along with the Faraday response object
87
+ # @yieldparam result [::Google::Cloud::Compute::V1::SslPolicy]
88
+ # @yieldparam response [::Faraday::Response]
89
+ #
90
+ # @return [::Google::Cloud::Compute::V1::SslPolicy]
91
+ # A result object deserialized from the server's reply
92
+ def get request_pb, options = nil
93
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
94
+
95
+ verb, uri, query_string_params, body = transcode_get_request request_pb
96
+ query_string_params = if query_string_params.any?
97
+ query_string_params.to_h { |p| p.split("=", 2) }
98
+ else
99
+ {}
100
+ end
101
+
102
+ response = @client_stub.make_http_request(
103
+ verb,
104
+ uri: uri,
105
+ body: body || "",
106
+ params: query_string_params,
107
+ options: options
108
+ )
109
+ result = ::Google::Cloud::Compute::V1::SslPolicy.decode_json response.body, ignore_unknown_fields: true
110
+
111
+ yield result, response if block_given?
112
+ result
113
+ end
114
+
115
+ ##
116
+ # Baseline implementation for the insert REST call
117
+ #
118
+ # @param request_pb [::Google::Cloud::Compute::V1::InsertRegionSslPolicyRequest]
119
+ # A request object representing the call parameters. Required.
120
+ # @param options [::Gapic::CallOptions]
121
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
122
+ #
123
+ # @yield [result, response] Access the result along with the Faraday response object
124
+ # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
125
+ # @yieldparam response [::Faraday::Response]
126
+ #
127
+ # @return [::Google::Cloud::Compute::V1::Operation]
128
+ # A result object deserialized from the server's reply
129
+ def insert request_pb, options = nil
130
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
131
+
132
+ verb, uri, query_string_params, body = transcode_insert_request request_pb
133
+ query_string_params = if query_string_params.any?
134
+ query_string_params.to_h { |p| p.split("=", 2) }
135
+ else
136
+ {}
137
+ end
138
+
139
+ response = @client_stub.make_http_request(
140
+ verb,
141
+ uri: uri,
142
+ body: body || "",
143
+ params: query_string_params,
144
+ options: options
145
+ )
146
+ result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
147
+
148
+ yield result, response if block_given?
149
+ result
150
+ end
151
+
152
+ ##
153
+ # Baseline implementation for the list REST call
154
+ #
155
+ # @param request_pb [::Google::Cloud::Compute::V1::ListRegionSslPoliciesRequest]
156
+ # A request object representing the call parameters. Required.
157
+ # @param options [::Gapic::CallOptions]
158
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
159
+ #
160
+ # @yield [result, response] Access the result along with the Faraday response object
161
+ # @yieldparam result [::Google::Cloud::Compute::V1::SslPoliciesList]
162
+ # @yieldparam response [::Faraday::Response]
163
+ #
164
+ # @return [::Google::Cloud::Compute::V1::SslPoliciesList]
165
+ # A result object deserialized from the server's reply
166
+ def list request_pb, options = nil
167
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
168
+
169
+ verb, uri, query_string_params, body = transcode_list_request request_pb
170
+ query_string_params = if query_string_params.any?
171
+ query_string_params.to_h { |p| p.split("=", 2) }
172
+ else
173
+ {}
174
+ end
175
+
176
+ response = @client_stub.make_http_request(
177
+ verb,
178
+ uri: uri,
179
+ body: body || "",
180
+ params: query_string_params,
181
+ options: options
182
+ )
183
+ result = ::Google::Cloud::Compute::V1::SslPoliciesList.decode_json response.body, ignore_unknown_fields: true
184
+
185
+ yield result, response if block_given?
186
+ result
187
+ end
188
+
189
+ ##
190
+ # Baseline implementation for the list_available_features REST call
191
+ #
192
+ # @param request_pb [::Google::Cloud::Compute::V1::ListAvailableFeaturesRegionSslPoliciesRequest]
193
+ # A request object representing the call parameters. Required.
194
+ # @param options [::Gapic::CallOptions]
195
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
196
+ #
197
+ # @yield [result, response] Access the result along with the Faraday response object
198
+ # @yieldparam result [::Google::Cloud::Compute::V1::SslPoliciesListAvailableFeaturesResponse]
199
+ # @yieldparam response [::Faraday::Response]
200
+ #
201
+ # @return [::Google::Cloud::Compute::V1::SslPoliciesListAvailableFeaturesResponse]
202
+ # A result object deserialized from the server's reply
203
+ def list_available_features request_pb, options = nil
204
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
205
+
206
+ verb, uri, query_string_params, body = transcode_list_available_features_request request_pb
207
+ query_string_params = if query_string_params.any?
208
+ query_string_params.to_h { |p| p.split("=", 2) }
209
+ else
210
+ {}
211
+ end
212
+
213
+ response = @client_stub.make_http_request(
214
+ verb,
215
+ uri: uri,
216
+ body: body || "",
217
+ params: query_string_params,
218
+ options: options
219
+ )
220
+ result = ::Google::Cloud::Compute::V1::SslPoliciesListAvailableFeaturesResponse.decode_json response.body, ignore_unknown_fields: true
221
+
222
+ yield result, response if block_given?
223
+ result
224
+ end
225
+
226
+ ##
227
+ # Baseline implementation for the patch REST call
228
+ #
229
+ # @param request_pb [::Google::Cloud::Compute::V1::PatchRegionSslPolicyRequest]
230
+ # A request object representing the call parameters. Required.
231
+ # @param options [::Gapic::CallOptions]
232
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
233
+ #
234
+ # @yield [result, response] Access the result along with the Faraday response object
235
+ # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
236
+ # @yieldparam response [::Faraday::Response]
237
+ #
238
+ # @return [::Google::Cloud::Compute::V1::Operation]
239
+ # A result object deserialized from the server's reply
240
+ def patch request_pb, options = nil
241
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
242
+
243
+ verb, uri, query_string_params, body = transcode_patch_request request_pb
244
+ query_string_params = if query_string_params.any?
245
+ query_string_params.to_h { |p| p.split("=", 2) }
246
+ else
247
+ {}
248
+ end
249
+
250
+ response = @client_stub.make_http_request(
251
+ verb,
252
+ uri: uri,
253
+ body: body || "",
254
+ params: query_string_params,
255
+ options: options
256
+ )
257
+ result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
258
+
259
+ yield result, response if block_given?
260
+ result
261
+ end
262
+
263
+
264
+ private
265
+
266
+ ##
267
+ # @private
268
+ #
269
+ # GRPC transcoding helper method for the delete REST call
270
+ #
271
+ # @param request_pb [::Google::Cloud::Compute::V1::DeleteRegionSslPolicyRequest]
272
+ # A request object representing the call parameters. Required.
273
+ # @return [Array(String, [String, nil], Hash{String => String})]
274
+ # Uri, Body, Query string parameters
275
+ def transcode_delete_request request_pb
276
+ transcoder = Gapic::Rest::GrpcTranscoder.new
277
+ .with_bindings(
278
+ uri_method: :delete,
279
+ uri_template: "/compute/v1/projects/{project}/regions/{region}/sslPolicies/{ssl_policy}",
280
+ matches: [
281
+ ["project", %r{^[^/]+/?$}, false],
282
+ ["region", %r{^[^/]+/?$}, false],
283
+ ["ssl_policy", %r{^[^/]+/?$}, false]
284
+ ]
285
+ )
286
+ transcoder.transcode request_pb
287
+ end
288
+
289
+ ##
290
+ # @private
291
+ #
292
+ # GRPC transcoding helper method for the get REST call
293
+ #
294
+ # @param request_pb [::Google::Cloud::Compute::V1::GetRegionSslPolicyRequest]
295
+ # A request object representing the call parameters. Required.
296
+ # @return [Array(String, [String, nil], Hash{String => String})]
297
+ # Uri, Body, Query string parameters
298
+ def transcode_get_request request_pb
299
+ transcoder = Gapic::Rest::GrpcTranscoder.new
300
+ .with_bindings(
301
+ uri_method: :get,
302
+ uri_template: "/compute/v1/projects/{project}/regions/{region}/sslPolicies/{ssl_policy}",
303
+ matches: [
304
+ ["project", %r{^[^/]+/?$}, false],
305
+ ["region", %r{^[^/]+/?$}, false],
306
+ ["ssl_policy", %r{^[^/]+/?$}, false]
307
+ ]
308
+ )
309
+ transcoder.transcode request_pb
310
+ end
311
+
312
+ ##
313
+ # @private
314
+ #
315
+ # GRPC transcoding helper method for the insert REST call
316
+ #
317
+ # @param request_pb [::Google::Cloud::Compute::V1::InsertRegionSslPolicyRequest]
318
+ # A request object representing the call parameters. Required.
319
+ # @return [Array(String, [String, nil], Hash{String => String})]
320
+ # Uri, Body, Query string parameters
321
+ def transcode_insert_request request_pb
322
+ transcoder = Gapic::Rest::GrpcTranscoder.new
323
+ .with_bindings(
324
+ uri_method: :post,
325
+ uri_template: "/compute/v1/projects/{project}/regions/{region}/sslPolicies",
326
+ body: "ssl_policy_resource",
327
+ matches: [
328
+ ["project", %r{^[^/]+/?$}, false],
329
+ ["region", %r{^[^/]+/?$}, false]
330
+ ]
331
+ )
332
+ transcoder.transcode request_pb
333
+ end
334
+
335
+ ##
336
+ # @private
337
+ #
338
+ # GRPC transcoding helper method for the list REST call
339
+ #
340
+ # @param request_pb [::Google::Cloud::Compute::V1::ListRegionSslPoliciesRequest]
341
+ # A request object representing the call parameters. Required.
342
+ # @return [Array(String, [String, nil], Hash{String => String})]
343
+ # Uri, Body, Query string parameters
344
+ def transcode_list_request request_pb
345
+ transcoder = Gapic::Rest::GrpcTranscoder.new
346
+ .with_bindings(
347
+ uri_method: :get,
348
+ uri_template: "/compute/v1/projects/{project}/regions/{region}/sslPolicies",
349
+ matches: [
350
+ ["project", %r{^[^/]+/?$}, false],
351
+ ["region", %r{^[^/]+/?$}, false]
352
+ ]
353
+ )
354
+ transcoder.transcode request_pb
355
+ end
356
+
357
+ ##
358
+ # @private
359
+ #
360
+ # GRPC transcoding helper method for the list_available_features REST call
361
+ #
362
+ # @param request_pb [::Google::Cloud::Compute::V1::ListAvailableFeaturesRegionSslPoliciesRequest]
363
+ # A request object representing the call parameters. Required.
364
+ # @return [Array(String, [String, nil], Hash{String => String})]
365
+ # Uri, Body, Query string parameters
366
+ def transcode_list_available_features_request request_pb
367
+ transcoder = Gapic::Rest::GrpcTranscoder.new
368
+ .with_bindings(
369
+ uri_method: :get,
370
+ uri_template: "/compute/v1/projects/{project}/regions/{region}/sslPolicies/listAvailableFeatures",
371
+ matches: [
372
+ ["project", %r{^[^/]+/?$}, false],
373
+ ["region", %r{^[^/]+/?$}, false]
374
+ ]
375
+ )
376
+ transcoder.transcode request_pb
377
+ end
378
+
379
+ ##
380
+ # @private
381
+ #
382
+ # GRPC transcoding helper method for the patch REST call
383
+ #
384
+ # @param request_pb [::Google::Cloud::Compute::V1::PatchRegionSslPolicyRequest]
385
+ # A request object representing the call parameters. Required.
386
+ # @return [Array(String, [String, nil], Hash{String => String})]
387
+ # Uri, Body, Query string parameters
388
+ def transcode_patch_request request_pb
389
+ transcoder = Gapic::Rest::GrpcTranscoder.new
390
+ .with_bindings(
391
+ uri_method: :patch,
392
+ uri_template: "/compute/v1/projects/{project}/regions/{region}/sslPolicies/{ssl_policy}",
393
+ body: "ssl_policy_resource",
394
+ matches: [
395
+ ["project", %r{^[^/]+/?$}, false],
396
+ ["region", %r{^[^/]+/?$}, false],
397
+ ["ssl_policy", %r{^[^/]+/?$}, false]
398
+ ]
399
+ )
400
+ transcoder.transcode request_pb
401
+ end
402
+ end
403
+ end
404
+ end
405
+ end
406
+ end
407
+ end
408
+ end
@@ -0,0 +1,33 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/compute/v1/region_ssl_policies/rest/client"
20
+
21
+ module Google
22
+ module Cloud
23
+ module Compute
24
+ module V1
25
+ module RegionSslPolicies
26
+ # Client for the REST transport
27
+ module Rest
28
+ end
29
+ end
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/config"
20
+ require "gapic/config/method"
21
+
22
+ require "google/cloud/compute/v1/version"
23
+
24
+ require "google/cloud/compute/v1/region_ssl_policies/credentials"
25
+ require "google/cloud/compute/v1/region_ssl_policies/rest"
26
+
27
+ module Google
28
+ module Cloud
29
+ module Compute
30
+ module V1
31
+ ##
32
+ # The RegionSslPolicies API.
33
+ #
34
+ # To load this service and instantiate a REST client:
35
+ #
36
+ # require "google/cloud/compute/v1/region_ssl_policies"
37
+ # client = ::Google::Cloud::Compute::V1::RegionSslPolicies::Rest::Client.new
38
+ #
39
+ module RegionSslPolicies
40
+ end
41
+ end
42
+ end
43
+ end
44
+ end
45
+
46
+ helper_path = ::File.join __dir__, "region_ssl_policies", "helpers.rb"
47
+ require "google/cloud/compute/v1/region_ssl_policies/helpers" if ::File.file? helper_path
@@ -0,0 +1,52 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "googleauth"
20
+
21
+ module Google
22
+ module Cloud
23
+ module Compute
24
+ module V1
25
+ module RegionTargetTcpProxies
26
+ # Credentials for the RegionTargetTcpProxies API.
27
+ class Credentials < ::Google::Auth::Credentials
28
+ self.scope = [
29
+ "https://www.googleapis.com/auth/compute",
30
+ "https://www.googleapis.com/auth/cloud-platform"
31
+ ]
32
+ self.env_vars = [
33
+ "COMPUTE_CREDENTIALS",
34
+ "COMPUTE_KEYFILE",
35
+ "GOOGLE_CLOUD_CREDENTIALS",
36
+ "GOOGLE_CLOUD_KEYFILE",
37
+ "GCLOUD_KEYFILE",
38
+ "COMPUTE_CREDENTIALS_JSON",
39
+ "COMPUTE_KEYFILE_JSON",
40
+ "GOOGLE_CLOUD_CREDENTIALS_JSON",
41
+ "GOOGLE_CLOUD_KEYFILE_JSON",
42
+ "GCLOUD_KEYFILE_JSON"
43
+ ]
44
+ self.paths = [
45
+ "~/.config/google_cloud/application_default_credentials.json"
46
+ ]
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end