google-cloud-app_engine-v1 0.10.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/app_engine/v1/applications/client.rb +11 -4
- data/lib/google/cloud/app_engine/v1/applications/operations.rb +13 -5
- data/lib/google/cloud/app_engine/v1/applications/rest/client.rb +11 -4
- data/lib/google/cloud/app_engine/v1/applications/rest/operations.rb +11 -4
- data/lib/google/cloud/app_engine/v1/authorized_certificates/client.rb +13 -5
- data/lib/google/cloud/app_engine/v1/authorized_certificates/rest/client.rb +13 -5
- data/lib/google/cloud/app_engine/v1/authorized_domains/client.rb +5 -1
- data/lib/google/cloud/app_engine/v1/authorized_domains/rest/client.rb +5 -1
- data/lib/google/cloud/app_engine/v1/domain_mappings/client.rb +13 -5
- data/lib/google/cloud/app_engine/v1/domain_mappings/operations.rb +13 -5
- data/lib/google/cloud/app_engine/v1/domain_mappings/rest/client.rb +13 -5
- data/lib/google/cloud/app_engine/v1/domain_mappings/rest/operations.rb +11 -4
- data/lib/google/cloud/app_engine/v1/firewall/client.rb +15 -6
- data/lib/google/cloud/app_engine/v1/firewall/rest/client.rb +15 -6
- data/lib/google/cloud/app_engine/v1/instances/client.rb +11 -4
- data/lib/google/cloud/app_engine/v1/instances/operations.rb +13 -5
- data/lib/google/cloud/app_engine/v1/instances/rest/client.rb +11 -4
- data/lib/google/cloud/app_engine/v1/instances/rest/operations.rb +11 -4
- data/lib/google/cloud/app_engine/v1/services/client.rb +11 -4
- data/lib/google/cloud/app_engine/v1/services/operations.rb +13 -5
- data/lib/google/cloud/app_engine/v1/services/rest/client.rb +11 -4
- data/lib/google/cloud/app_engine/v1/services/rest/operations.rb +11 -4
- data/lib/google/cloud/app_engine/v1/version.rb +1 -1
- data/lib/google/cloud/app_engine/v1/versions/client.rb +13 -5
- data/lib/google/cloud/app_engine/v1/versions/operations.rb +13 -5
- data/lib/google/cloud/app_engine/v1/versions/rest/client.rb +13 -5
- data/lib/google/cloud/app_engine/v1/versions/rest/operations.rb +11 -4
- data/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- 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: e6bd435aa6cdd6e8ba3070da5a3803fad4e9ce818d69e960c4e5f0b6d61ce78f
|
4
|
+
data.tar.gz: 5a2f15fca1bb32b2eafb93a07028c36d8715f72984a91e9d4b058869786a4d5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 876b4f8a14c34e5b2f944cd9989fa9fc0befdf3e9023d7bebf1ea1a3155f81bedb8626bb8ba85a2362d1b962439b21da45f46250cdc90f51f774a41442aa43cd
|
7
|
+
data.tar.gz: 6794f3ad2dd5bf6aae5a3cf8a4b2edd943e0cd067879512388888da20ef2f5f4243700725ded6514218d49877c43a79716ae43bff6851d8e5c5fe9983247420c
|
@@ -30,6 +30,9 @@ module Google
|
|
30
30
|
# Manages App Engine applications.
|
31
31
|
#
|
32
32
|
class Client
|
33
|
+
# @private
|
34
|
+
API_VERSION = ""
|
35
|
+
|
33
36
|
# @private
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
|
35
38
|
|
@@ -227,10 +230,11 @@ module Google
|
|
227
230
|
# Customize the options with defaults
|
228
231
|
metadata = @config.rpcs.get_application.metadata.to_h
|
229
232
|
|
230
|
-
# Set x-goog-api-client
|
233
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
231
234
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
232
235
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
233
236
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
237
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
234
238
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
235
239
|
|
236
240
|
header_params = {}
|
@@ -325,10 +329,11 @@ module Google
|
|
325
329
|
# Customize the options with defaults
|
326
330
|
metadata = @config.rpcs.create_application.metadata.to_h
|
327
331
|
|
328
|
-
# Set x-goog-api-client
|
332
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
329
333
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
330
334
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
331
335
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
336
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
332
337
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
333
338
|
|
334
339
|
options.apply_defaults timeout: @config.rpcs.create_application.timeout,
|
@@ -419,10 +424,11 @@ module Google
|
|
419
424
|
# Customize the options with defaults
|
420
425
|
metadata = @config.rpcs.update_application.metadata.to_h
|
421
426
|
|
422
|
-
# Set x-goog-api-client
|
427
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
423
428
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
424
429
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
425
430
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
431
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
426
432
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
427
433
|
|
428
434
|
header_params = {}
|
@@ -521,10 +527,11 @@ module Google
|
|
521
527
|
# Customize the options with defaults
|
522
528
|
metadata = @config.rpcs.repair_application.metadata.to_h
|
523
529
|
|
524
|
-
# Set x-goog-api-client
|
530
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
525
531
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
526
532
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
527
533
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
534
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
528
535
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
529
536
|
|
530
537
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Applications
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -191,10 +194,11 @@ module Google
|
|
191
194
|
# Customize the options with defaults
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
193
196
|
|
194
|
-
# Set x-goog-api-client
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
197
200
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
199
203
|
|
200
204
|
header_params = {}
|
@@ -287,10 +291,11 @@ module Google
|
|
287
291
|
# Customize the options with defaults
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
289
293
|
|
290
|
-
# Set x-goog-api-client
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
293
297
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
295
300
|
|
296
301
|
header_params = {}
|
@@ -376,10 +381,11 @@ module Google
|
|
376
381
|
# Customize the options with defaults
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
378
383
|
|
379
|
-
# Set x-goog-api-client
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
382
387
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
384
390
|
|
385
391
|
header_params = {}
|
@@ -470,10 +476,11 @@ module Google
|
|
470
476
|
# Customize the options with defaults
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
472
478
|
|
473
|
-
# Set x-goog-api-client
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
476
482
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
478
485
|
|
479
486
|
header_params = {}
|
@@ -574,10 +581,11 @@ module Google
|
|
574
581
|
# Customize the options with defaults
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
576
583
|
|
577
|
-
# Set x-goog-api-client
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
580
587
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
582
590
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# Manages App Engine applications.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -219,12 +222,13 @@ module Google
|
|
219
222
|
# Customize the options with defaults
|
220
223
|
call_metadata = @config.rpcs.get_application.metadata.to_h
|
221
224
|
|
222
|
-
# Set x-goog-api-client
|
225
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
223
226
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
224
227
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
225
228
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
226
229
|
transports_version_send: [:rest]
|
227
230
|
|
231
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
228
232
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
229
233
|
|
230
234
|
options.apply_defaults timeout: @config.rpcs.get_application.timeout,
|
@@ -310,12 +314,13 @@ module Google
|
|
310
314
|
# Customize the options with defaults
|
311
315
|
call_metadata = @config.rpcs.create_application.metadata.to_h
|
312
316
|
|
313
|
-
# Set x-goog-api-client
|
317
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
314
318
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
315
319
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
316
320
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
317
321
|
transports_version_send: [:rest]
|
318
322
|
|
323
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
319
324
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
320
325
|
|
321
326
|
options.apply_defaults timeout: @config.rpcs.create_application.timeout,
|
@@ -405,12 +410,13 @@ module Google
|
|
405
410
|
# Customize the options with defaults
|
406
411
|
call_metadata = @config.rpcs.update_application.metadata.to_h
|
407
412
|
|
408
|
-
# Set x-goog-api-client
|
413
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
409
414
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
410
415
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
411
416
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
412
417
|
transports_version_send: [:rest]
|
413
418
|
|
419
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
414
420
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
415
421
|
|
416
422
|
options.apply_defaults timeout: @config.rpcs.update_application.timeout,
|
@@ -500,12 +506,13 @@ module Google
|
|
500
506
|
# Customize the options with defaults
|
501
507
|
call_metadata = @config.rpcs.repair_application.metadata.to_h
|
502
508
|
|
503
|
-
# Set x-goog-api-client
|
509
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
504
510
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
505
511
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
506
512
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
507
513
|
transports_version_send: [:rest]
|
508
514
|
|
515
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
509
516
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
510
517
|
|
511
518
|
options.apply_defaults timeout: @config.rpcs.repair_application.timeout,
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -181,12 +184,13 @@ module Google
|
|
181
184
|
# Customize the options with defaults
|
182
185
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
183
186
|
|
184
|
-
# Set x-goog-api-client
|
187
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
185
188
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
186
189
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
187
190
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
188
191
|
transports_version_send: [:rest]
|
189
192
|
|
193
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
190
194
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
191
195
|
|
192
196
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -269,12 +273,13 @@ module Google
|
|
269
273
|
# Customize the options with defaults
|
270
274
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
271
275
|
|
272
|
-
# Set x-goog-api-client
|
276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
273
277
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
274
278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
275
279
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
276
280
|
transports_version_send: [:rest]
|
277
281
|
|
282
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
278
283
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
279
284
|
|
280
285
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -351,12 +356,13 @@ module Google
|
|
351
356
|
# Customize the options with defaults
|
352
357
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
353
358
|
|
354
|
-
# Set x-goog-api-client
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
355
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
356
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
357
362
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
358
363
|
transports_version_send: [:rest]
|
359
364
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
360
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
361
367
|
|
362
368
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -438,12 +444,13 @@ module Google
|
|
438
444
|
# Customize the options with defaults
|
439
445
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
440
446
|
|
441
|
-
# Set x-goog-api-client
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
442
448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
443
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
444
450
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
445
451
|
transports_version_send: [:rest]
|
446
452
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
448
455
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
@@ -31,6 +31,9 @@ module Google
|
|
31
31
|
# administer any SSL certificates applicable to their authorized domains.
|
32
32
|
#
|
33
33
|
class Client
|
34
|
+
# @private
|
35
|
+
API_VERSION = ""
|
36
|
+
|
34
37
|
# @private
|
35
38
|
DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
|
36
39
|
|
@@ -224,10 +227,11 @@ module Google
|
|
224
227
|
# Customize the options with defaults
|
225
228
|
metadata = @config.rpcs.list_authorized_certificates.metadata.to_h
|
226
229
|
|
227
|
-
# Set x-goog-api-client
|
230
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
228
231
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
229
232
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
230
233
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
234
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
231
235
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
232
236
|
|
233
237
|
header_params = {}
|
@@ -313,10 +317,11 @@ module Google
|
|
313
317
|
# Customize the options with defaults
|
314
318
|
metadata = @config.rpcs.get_authorized_certificate.metadata.to_h
|
315
319
|
|
316
|
-
# Set x-goog-api-client
|
320
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
317
321
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
318
322
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
319
323
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
324
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
320
325
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
321
326
|
|
322
327
|
header_params = {}
|
@@ -400,10 +405,11 @@ module Google
|
|
400
405
|
# Customize the options with defaults
|
401
406
|
metadata = @config.rpcs.create_authorized_certificate.metadata.to_h
|
402
407
|
|
403
|
-
# Set x-goog-api-client
|
408
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
404
409
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
405
410
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
406
411
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
412
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
407
413
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
408
414
|
|
409
415
|
header_params = {}
|
@@ -496,10 +502,11 @@ module Google
|
|
496
502
|
# Customize the options with defaults
|
497
503
|
metadata = @config.rpcs.update_authorized_certificate.metadata.to_h
|
498
504
|
|
499
|
-
# Set x-goog-api-client
|
505
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
500
506
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
501
507
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
502
508
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
509
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
503
510
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
504
511
|
|
505
512
|
header_params = {}
|
@@ -582,10 +589,11 @@ module Google
|
|
582
589
|
# Customize the options with defaults
|
583
590
|
metadata = @config.rpcs.delete_authorized_certificate.metadata.to_h
|
584
591
|
|
585
|
-
# Set x-goog-api-client
|
592
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
586
593
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
587
594
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
588
595
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
596
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
589
597
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
590
598
|
|
591
599
|
header_params = {}
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# administer any SSL certificates applicable to their authorized domains.
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -216,12 +219,13 @@ module Google
|
|
216
219
|
# Customize the options with defaults
|
217
220
|
call_metadata = @config.rpcs.list_authorized_certificates.metadata.to_h
|
218
221
|
|
219
|
-
# Set x-goog-api-client
|
222
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
220
223
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
221
224
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
222
225
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
223
226
|
transports_version_send: [:rest]
|
224
227
|
|
228
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
225
229
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
226
230
|
|
227
231
|
options.apply_defaults timeout: @config.rpcs.list_authorized_certificates.timeout,
|
@@ -298,12 +302,13 @@ module Google
|
|
298
302
|
# Customize the options with defaults
|
299
303
|
call_metadata = @config.rpcs.get_authorized_certificate.metadata.to_h
|
300
304
|
|
301
|
-
# Set x-goog-api-client
|
305
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
302
306
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
303
307
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
304
308
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
305
309
|
transports_version_send: [:rest]
|
306
310
|
|
311
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
307
312
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
308
313
|
|
309
314
|
options.apply_defaults timeout: @config.rpcs.get_authorized_certificate.timeout,
|
@@ -378,12 +383,13 @@ module Google
|
|
378
383
|
# Customize the options with defaults
|
379
384
|
call_metadata = @config.rpcs.create_authorized_certificate.metadata.to_h
|
380
385
|
|
381
|
-
# Set x-goog-api-client
|
386
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
382
387
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
383
388
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
384
389
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
385
390
|
transports_version_send: [:rest]
|
386
391
|
|
392
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
387
393
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
388
394
|
|
389
395
|
options.apply_defaults timeout: @config.rpcs.create_authorized_certificate.timeout,
|
@@ -467,12 +473,13 @@ module Google
|
|
467
473
|
# Customize the options with defaults
|
468
474
|
call_metadata = @config.rpcs.update_authorized_certificate.metadata.to_h
|
469
475
|
|
470
|
-
# Set x-goog-api-client
|
476
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
471
477
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
472
478
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
473
479
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
474
480
|
transports_version_send: [:rest]
|
475
481
|
|
482
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
476
483
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
477
484
|
|
478
485
|
options.apply_defaults timeout: @config.rpcs.update_authorized_certificate.timeout,
|
@@ -546,12 +553,13 @@ module Google
|
|
546
553
|
# Customize the options with defaults
|
547
554
|
call_metadata = @config.rpcs.delete_authorized_certificate.metadata.to_h
|
548
555
|
|
549
|
-
# Set x-goog-api-client
|
556
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
550
557
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
551
558
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
552
559
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
553
560
|
transports_version_send: [:rest]
|
554
561
|
|
562
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
555
563
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
556
564
|
|
557
565
|
options.apply_defaults timeout: @config.rpcs.delete_authorized_certificate.timeout,
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# [Webmaster Central](https://www.google.com/webmasters/verification/home).
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -223,10 +226,11 @@ module Google
|
|
223
226
|
# Customize the options with defaults
|
224
227
|
metadata = @config.rpcs.list_authorized_domains.metadata.to_h
|
225
228
|
|
226
|
-
# Set x-goog-api-client
|
229
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
227
230
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
228
231
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
229
232
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
233
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
230
234
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
231
235
|
|
232
236
|
header_params = {}
|
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# [Webmaster Central](https://www.google.com/webmasters/verification/home).
|
35
35
|
#
|
36
36
|
class Client
|
37
|
+
# @private
|
38
|
+
API_VERSION = ""
|
39
|
+
|
37
40
|
# @private
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
|
39
42
|
|
@@ -215,12 +218,13 @@ module Google
|
|
215
218
|
# Customize the options with defaults
|
216
219
|
call_metadata = @config.rpcs.list_authorized_domains.metadata.to_h
|
217
220
|
|
218
|
-
# Set x-goog-api-client
|
221
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
219
222
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
220
223
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
221
224
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
222
225
|
transports_version_send: [:rest]
|
223
226
|
|
227
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
224
228
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
225
229
|
|
226
230
|
options.apply_defaults timeout: @config.rpcs.list_authorized_domains.timeout,
|
@@ -30,6 +30,9 @@ module Google
|
|
30
30
|
# Manages domains serving an application.
|
31
31
|
#
|
32
32
|
class Client
|
33
|
+
# @private
|
34
|
+
API_VERSION = ""
|
35
|
+
|
33
36
|
# @private
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
|
35
38
|
|
@@ -235,10 +238,11 @@ module Google
|
|
235
238
|
# Customize the options with defaults
|
236
239
|
metadata = @config.rpcs.list_domain_mappings.metadata.to_h
|
237
240
|
|
238
|
-
# Set x-goog-api-client
|
241
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
239
242
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
240
243
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
241
244
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
245
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
242
246
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
243
247
|
|
244
248
|
header_params = {}
|
@@ -322,10 +326,11 @@ module Google
|
|
322
326
|
# Customize the options with defaults
|
323
327
|
metadata = @config.rpcs.get_domain_mapping.metadata.to_h
|
324
328
|
|
325
|
-
# Set x-goog-api-client
|
329
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
326
330
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
327
331
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
328
332
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
333
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
329
334
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
330
335
|
|
331
336
|
header_params = {}
|
@@ -421,10 +426,11 @@ module Google
|
|
421
426
|
# Customize the options with defaults
|
422
427
|
metadata = @config.rpcs.create_domain_mapping.metadata.to_h
|
423
428
|
|
424
|
-
# Set x-goog-api-client
|
429
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
425
430
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
426
431
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
427
432
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
433
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
428
434
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
429
435
|
|
430
436
|
header_params = {}
|
@@ -523,10 +529,11 @@ module Google
|
|
523
529
|
# Customize the options with defaults
|
524
530
|
metadata = @config.rpcs.update_domain_mapping.metadata.to_h
|
525
531
|
|
526
|
-
# Set x-goog-api-client
|
532
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
527
533
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
528
534
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
529
535
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
536
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
530
537
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
531
538
|
|
532
539
|
header_params = {}
|
@@ -619,10 +626,11 @@ module Google
|
|
619
626
|
# Customize the options with defaults
|
620
627
|
metadata = @config.rpcs.delete_domain_mapping.metadata.to_h
|
621
628
|
|
622
|
-
# Set x-goog-api-client
|
629
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
623
630
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
624
631
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
625
632
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
633
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
626
634
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
627
635
|
|
628
636
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module DomainMappings
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -191,10 +194,11 @@ module Google
|
|
191
194
|
# Customize the options with defaults
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
193
196
|
|
194
|
-
# Set x-goog-api-client
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
197
200
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
199
203
|
|
200
204
|
header_params = {}
|
@@ -287,10 +291,11 @@ module Google
|
|
287
291
|
# Customize the options with defaults
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
289
293
|
|
290
|
-
# Set x-goog-api-client
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
293
297
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
295
300
|
|
296
301
|
header_params = {}
|
@@ -376,10 +381,11 @@ module Google
|
|
376
381
|
# Customize the options with defaults
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
378
383
|
|
379
|
-
# Set x-goog-api-client
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
382
387
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
384
390
|
|
385
391
|
header_params = {}
|
@@ -470,10 +476,11 @@ module Google
|
|
470
476
|
# Customize the options with defaults
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
472
478
|
|
473
|
-
# Set x-goog-api-client
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
476
482
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
478
485
|
|
479
486
|
header_params = {}
|
@@ -574,10 +581,11 @@ module Google
|
|
574
581
|
# Customize the options with defaults
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
576
583
|
|
577
|
-
# Set x-goog-api-client
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
580
587
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
582
590
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|