google-cloud-app_engine-v1 0.10.0 → 1.0.0
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 +4 -0
- metadata +2 -2
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# Manages domains serving an application.
|
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
|
|
@@ -227,12 +230,13 @@ module Google
|
|
227
230
|
# Customize the options with defaults
|
228
231
|
call_metadata = @config.rpcs.list_domain_mappings.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
|
call_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,
|
234
237
|
transports_version_send: [:rest]
|
235
238
|
|
239
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
236
240
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
237
241
|
|
238
242
|
options.apply_defaults timeout: @config.rpcs.list_domain_mappings.timeout,
|
@@ -307,12 +311,13 @@ module Google
|
|
307
311
|
# Customize the options with defaults
|
308
312
|
call_metadata = @config.rpcs.get_domain_mapping.metadata.to_h
|
309
313
|
|
310
|
-
# Set x-goog-api-client
|
314
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
311
315
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
312
316
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
313
317
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
314
318
|
transports_version_send: [:rest]
|
315
319
|
|
320
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
316
321
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
317
322
|
|
318
323
|
options.apply_defaults timeout: @config.rpcs.get_domain_mapping.timeout,
|
@@ -399,12 +404,13 @@ module Google
|
|
399
404
|
# Customize the options with defaults
|
400
405
|
call_metadata = @config.rpcs.create_domain_mapping.metadata.to_h
|
401
406
|
|
402
|
-
# Set x-goog-api-client
|
407
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
403
408
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
404
409
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
405
410
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
406
411
|
transports_version_send: [:rest]
|
407
412
|
|
413
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
408
414
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
409
415
|
|
410
416
|
options.apply_defaults timeout: @config.rpcs.create_domain_mapping.timeout,
|
@@ -494,12 +500,13 @@ module Google
|
|
494
500
|
# Customize the options with defaults
|
495
501
|
call_metadata = @config.rpcs.update_domain_mapping.metadata.to_h
|
496
502
|
|
497
|
-
# Set x-goog-api-client
|
503
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
498
504
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
499
505
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
500
506
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
501
507
|
transports_version_send: [:rest]
|
502
508
|
|
509
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
503
510
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
504
511
|
|
505
512
|
options.apply_defaults timeout: @config.rpcs.update_domain_mapping.timeout,
|
@@ -583,12 +590,13 @@ module Google
|
|
583
590
|
# Customize the options with defaults
|
584
591
|
call_metadata = @config.rpcs.delete_domain_mapping.metadata.to_h
|
585
592
|
|
586
|
-
# Set x-goog-api-client
|
593
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
587
594
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
588
595
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
589
596
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
590
597
|
transports_version_send: [:rest]
|
591
598
|
|
599
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
592
600
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
593
601
|
|
594
602
|
options.apply_defaults timeout: @config.rpcs.delete_domain_mapping.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,
|
@@ -39,6 +39,9 @@ module Google
|
|
39
39
|
# set to "allow" if not otherwise specified by the user.
|
40
40
|
#
|
41
41
|
class Client
|
42
|
+
# @private
|
43
|
+
API_VERSION = ""
|
44
|
+
|
42
45
|
# @private
|
43
46
|
DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
|
44
47
|
|
@@ -235,10 +238,11 @@ module Google
|
|
235
238
|
# Customize the options with defaults
|
236
239
|
metadata = @config.rpcs.list_ingress_rules.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 = {}
|
@@ -328,10 +332,11 @@ module Google
|
|
328
332
|
# Customize the options with defaults
|
329
333
|
metadata = @config.rpcs.batch_update_ingress_rules.metadata.to_h
|
330
334
|
|
331
|
-
# Set x-goog-api-client
|
335
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
332
336
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
333
337
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
334
338
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
339
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
335
340
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
336
341
|
|
337
342
|
header_params = {}
|
@@ -425,10 +430,11 @@ module Google
|
|
425
430
|
# Customize the options with defaults
|
426
431
|
metadata = @config.rpcs.create_ingress_rule.metadata.to_h
|
427
432
|
|
428
|
-
# Set x-goog-api-client
|
433
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
429
434
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
430
435
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
431
436
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
437
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
432
438
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
433
439
|
|
434
440
|
header_params = {}
|
@@ -511,10 +517,11 @@ module Google
|
|
511
517
|
# Customize the options with defaults
|
512
518
|
metadata = @config.rpcs.get_ingress_rule.metadata.to_h
|
513
519
|
|
514
|
-
# Set x-goog-api-client
|
520
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
515
521
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
516
522
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
517
523
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
524
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
518
525
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
519
526
|
|
520
527
|
header_params = {}
|
@@ -601,10 +608,11 @@ module Google
|
|
601
608
|
# Customize the options with defaults
|
602
609
|
metadata = @config.rpcs.update_ingress_rule.metadata.to_h
|
603
610
|
|
604
|
-
# Set x-goog-api-client
|
611
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
605
612
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
606
613
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
607
614
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
615
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
608
616
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
609
617
|
|
610
618
|
header_params = {}
|
@@ -687,10 +695,11 @@ module Google
|
|
687
695
|
# Customize the options with defaults
|
688
696
|
metadata = @config.rpcs.delete_ingress_rule.metadata.to_h
|
689
697
|
|
690
|
-
# Set x-goog-api-client
|
698
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
691
699
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
692
700
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
693
701
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
702
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
694
703
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
695
704
|
|
696
705
|
header_params = {}
|
@@ -41,6 +41,9 @@ module Google
|
|
41
41
|
# set to "allow" if not otherwise specified by the user.
|
42
42
|
#
|
43
43
|
class Client
|
44
|
+
# @private
|
45
|
+
API_VERSION = ""
|
46
|
+
|
44
47
|
# @private
|
45
48
|
DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
|
46
49
|
|
@@ -227,12 +230,13 @@ module Google
|
|
227
230
|
# Customize the options with defaults
|
228
231
|
call_metadata = @config.rpcs.list_ingress_rules.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
|
call_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,
|
234
237
|
transports_version_send: [:rest]
|
235
238
|
|
239
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
236
240
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
237
241
|
|
238
242
|
options.apply_defaults timeout: @config.rpcs.list_ingress_rules.timeout,
|
@@ -313,12 +317,13 @@ module Google
|
|
313
317
|
# Customize the options with defaults
|
314
318
|
call_metadata = @config.rpcs.batch_update_ingress_rules.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
|
call_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,
|
320
324
|
transports_version_send: [:rest]
|
321
325
|
|
326
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
322
327
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
323
328
|
|
324
329
|
options.apply_defaults timeout: @config.rpcs.batch_update_ingress_rules.timeout,
|
@@ -403,12 +408,13 @@ module Google
|
|
403
408
|
# Customize the options with defaults
|
404
409
|
call_metadata = @config.rpcs.create_ingress_rule.metadata.to_h
|
405
410
|
|
406
|
-
# Set x-goog-api-client
|
411
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
407
412
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
408
413
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
409
414
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
410
415
|
transports_version_send: [:rest]
|
411
416
|
|
417
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
412
418
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
413
419
|
|
414
420
|
options.apply_defaults timeout: @config.rpcs.create_ingress_rule.timeout,
|
@@ -482,12 +488,13 @@ module Google
|
|
482
488
|
# Customize the options with defaults
|
483
489
|
call_metadata = @config.rpcs.get_ingress_rule.metadata.to_h
|
484
490
|
|
485
|
-
# Set x-goog-api-client
|
491
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
486
492
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
487
493
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
488
494
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
489
495
|
transports_version_send: [:rest]
|
490
496
|
|
497
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
491
498
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
492
499
|
|
493
500
|
options.apply_defaults timeout: @config.rpcs.get_ingress_rule.timeout,
|
@@ -565,12 +572,13 @@ module Google
|
|
565
572
|
# Customize the options with defaults
|
566
573
|
call_metadata = @config.rpcs.update_ingress_rule.metadata.to_h
|
567
574
|
|
568
|
-
# Set x-goog-api-client
|
575
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
569
576
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
570
577
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
571
578
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
572
579
|
transports_version_send: [:rest]
|
573
580
|
|
581
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
574
582
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
575
583
|
|
576
584
|
options.apply_defaults timeout: @config.rpcs.update_ingress_rule.timeout,
|
@@ -644,12 +652,13 @@ module Google
|
|
644
652
|
# Customize the options with defaults
|
645
653
|
call_metadata = @config.rpcs.delete_ingress_rule.metadata.to_h
|
646
654
|
|
647
|
-
# Set x-goog-api-client
|
655
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
648
656
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
649
657
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
650
658
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
651
659
|
transports_version_send: [:rest]
|
652
660
|
|
661
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
653
662
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
654
663
|
|
655
664
|
options.apply_defaults timeout: @config.rpcs.delete_ingress_rule.timeout,
|
@@ -30,6 +30,9 @@ module Google
|
|
30
30
|
# Manages instances of a version.
|
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
|
|
@@ -239,10 +242,11 @@ module Google
|
|
239
242
|
# Customize the options with defaults
|
240
243
|
metadata = @config.rpcs.list_instances.metadata.to_h
|
241
244
|
|
242
|
-
# Set x-goog-api-client
|
245
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
243
246
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
244
247
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
245
248
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
249
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
246
250
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
247
251
|
|
248
252
|
header_params = {}
|
@@ -326,10 +330,11 @@ module Google
|
|
326
330
|
# Customize the options with defaults
|
327
331
|
metadata = @config.rpcs.get_instance.metadata.to_h
|
328
332
|
|
329
|
-
# Set x-goog-api-client
|
333
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
330
334
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
331
335
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
332
336
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
337
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
333
338
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
334
339
|
|
335
340
|
header_params = {}
|
@@ -430,10 +435,11 @@ module Google
|
|
430
435
|
# Customize the options with defaults
|
431
436
|
metadata = @config.rpcs.delete_instance.metadata.to_h
|
432
437
|
|
433
|
-
# Set x-goog-api-client
|
438
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
434
439
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
435
440
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
436
441
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
442
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
437
443
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
438
444
|
|
439
445
|
header_params = {}
|
@@ -539,10 +545,11 @@ module Google
|
|
539
545
|
# Customize the options with defaults
|
540
546
|
metadata = @config.rpcs.debug_instance.metadata.to_h
|
541
547
|
|
542
|
-
# Set x-goog-api-client
|
548
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
543
549
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
544
550
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
545
551
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
|
552
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
546
553
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
547
554
|
|
548
555
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Instances
|
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 instances of a version.
|
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
|
|
@@ -231,12 +234,13 @@ module Google
|
|
231
234
|
# Customize the options with defaults
|
232
235
|
call_metadata = @config.rpcs.list_instances.metadata.to_h
|
233
236
|
|
234
|
-
# Set x-goog-api-client
|
237
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
235
238
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
236
239
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
237
240
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
238
241
|
transports_version_send: [:rest]
|
239
242
|
|
243
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
240
244
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
241
245
|
|
242
246
|
options.apply_defaults timeout: @config.rpcs.list_instances.timeout,
|
@@ -311,12 +315,13 @@ module Google
|
|
311
315
|
# Customize the options with defaults
|
312
316
|
call_metadata = @config.rpcs.get_instance.metadata.to_h
|
313
317
|
|
314
|
-
# Set x-goog-api-client
|
318
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
315
319
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
316
320
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
317
321
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
318
322
|
transports_version_send: [:rest]
|
319
323
|
|
324
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
320
325
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
321
326
|
|
322
327
|
options.apply_defaults timeout: @config.rpcs.get_instance.timeout,
|
@@ -408,12 +413,13 @@ module Google
|
|
408
413
|
# Customize the options with defaults
|
409
414
|
call_metadata = @config.rpcs.delete_instance.metadata.to_h
|
410
415
|
|
411
|
-
# Set x-goog-api-client
|
416
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
412
417
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
413
418
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
414
419
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
415
420
|
transports_version_send: [:rest]
|
416
421
|
|
422
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
417
423
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
418
424
|
|
419
425
|
options.apply_defaults timeout: @config.rpcs.delete_instance.timeout,
|
@@ -510,12 +516,13 @@ module Google
|
|
510
516
|
# Customize the options with defaults
|
511
517
|
call_metadata = @config.rpcs.debug_instance.metadata.to_h
|
512
518
|
|
513
|
-
# Set x-goog-api-client
|
519
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
514
520
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
515
521
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
516
522
|
gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
|
517
523
|
transports_version_send: [:rest]
|
518
524
|
|
525
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
519
526
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
520
527
|
|
521
528
|
options.apply_defaults timeout: @config.rpcs.debug_instance.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,
|