google-cloud-compute-v1 2.11.0 → 2.12.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/compute/v1/accelerator_types/rest/client.rb +9 -3
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +27 -12
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +35 -16
- data/lib/google/cloud/compute/v1/compute_pb.rb +1 -1
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +9 -3
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +39 -18
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +15 -6
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +39 -18
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +15 -6
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +19 -8
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +15 -6
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +13 -5
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +9 -3
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +13 -5
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +5 -1
- data/lib/google/cloud/compute/v1/images/rest/client.rb +25 -11
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/client.rb +13 -5
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +43 -20
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +21 -9
- data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +7 -2
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +19 -8
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +99 -48
- data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +21 -9
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +7 -2
- data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +7 -2
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +19 -8
- data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +7 -2
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +9 -3
- data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +21 -9
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +13 -5
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +21 -9
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +35 -16
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +25 -11
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +33 -15
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +19 -8
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +9 -3
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +31 -14
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +19 -8
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +15 -6
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +27 -12
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +13 -5
- data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +7 -2
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +37 -17
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +13 -5
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +15 -6
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +41 -19
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +11 -4
- data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +11 -4
- data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +5 -1
- data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +19 -8
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +37 -17
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +11 -4
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +11 -4
- data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +21 -9
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +11 -4
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +15 -6
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +13 -5
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +11 -4
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +5 -1
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +7 -2
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +23 -10
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +21 -9
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +25 -11
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +11 -4
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +27 -12
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +21 -9
- data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/client.rb +7 -2
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +19 -8
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +13 -5
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +9 -3
- data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +23 -10
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +27 -12
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +13 -5
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +25 -11
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +15 -6
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +27 -12
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +21 -9
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +15 -6
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +21 -9
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +19 -8
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +15 -6
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +11 -4
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +7 -2
- data/proto_docs/google/cloud/compute/v1/compute.rb +11 -7
- metadata +2 -2
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# The RegionSslCertificates API.
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -240,12 +243,13 @@ module Google
|
|
240
243
|
# Customize the options with defaults
|
241
244
|
call_metadata = @config.rpcs.delete.metadata.to_h
|
242
245
|
|
243
|
-
# Set x-goog-api-client
|
246
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
244
247
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
245
248
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
246
249
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
247
250
|
transports_version_send: [:rest]
|
248
251
|
|
252
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
249
253
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
250
254
|
|
251
255
|
options.apply_defaults timeout: @config.rpcs.delete.timeout,
|
@@ -331,12 +335,13 @@ module Google
|
|
331
335
|
# Customize the options with defaults
|
332
336
|
call_metadata = @config.rpcs.get.metadata.to_h
|
333
337
|
|
334
|
-
# Set x-goog-api-client
|
338
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
335
339
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
336
340
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
337
341
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
338
342
|
transports_version_send: [:rest]
|
339
343
|
|
344
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
340
345
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
341
346
|
|
342
347
|
options.apply_defaults timeout: @config.rpcs.get.timeout,
|
@@ -415,12 +420,13 @@ module Google
|
|
415
420
|
# Customize the options with defaults
|
416
421
|
call_metadata = @config.rpcs.insert.metadata.to_h
|
417
422
|
|
418
|
-
# Set x-goog-api-client
|
423
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
419
424
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
420
425
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
421
426
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
422
427
|
transports_version_send: [:rest]
|
423
428
|
|
429
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
424
430
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
425
431
|
|
426
432
|
options.apply_defaults timeout: @config.rpcs.insert.timeout,
|
@@ -514,12 +520,13 @@ module Google
|
|
514
520
|
# Customize the options with defaults
|
515
521
|
call_metadata = @config.rpcs.list.metadata.to_h
|
516
522
|
|
517
|
-
# Set x-goog-api-client
|
523
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
518
524
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
519
525
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
520
526
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
521
527
|
transports_version_send: [:rest]
|
522
528
|
|
529
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
523
530
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
524
531
|
|
525
532
|
options.apply_defaults timeout: @config.rpcs.list.timeout,
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# The RegionSslPolicies API.
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -247,12 +250,13 @@ module Google
|
|
247
250
|
# Customize the options with defaults
|
248
251
|
call_metadata = @config.rpcs.delete.metadata.to_h
|
249
252
|
|
250
|
-
# Set x-goog-api-client
|
253
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
251
254
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
252
255
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
253
256
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
254
257
|
transports_version_send: [:rest]
|
255
258
|
|
259
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
256
260
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
257
261
|
|
258
262
|
options.apply_defaults timeout: @config.rpcs.delete.timeout,
|
@@ -338,12 +342,13 @@ module Google
|
|
338
342
|
# Customize the options with defaults
|
339
343
|
call_metadata = @config.rpcs.get.metadata.to_h
|
340
344
|
|
341
|
-
# Set x-goog-api-client
|
345
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
342
346
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
343
347
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
344
348
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
345
349
|
transports_version_send: [:rest]
|
346
350
|
|
351
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
347
352
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
348
353
|
|
349
354
|
options.apply_defaults timeout: @config.rpcs.get.timeout,
|
@@ -422,12 +427,13 @@ module Google
|
|
422
427
|
# Customize the options with defaults
|
423
428
|
call_metadata = @config.rpcs.insert.metadata.to_h
|
424
429
|
|
425
|
-
# Set x-goog-api-client
|
430
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
426
431
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
427
432
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
428
433
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
429
434
|
transports_version_send: [:rest]
|
430
435
|
|
436
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
431
437
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
432
438
|
|
433
439
|
options.apply_defaults timeout: @config.rpcs.insert.timeout,
|
@@ -521,12 +527,13 @@ module Google
|
|
521
527
|
# Customize the options with defaults
|
522
528
|
call_metadata = @config.rpcs.list.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
|
call_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::Compute::V1::VERSION,
|
528
534
|
transports_version_send: [:rest]
|
529
535
|
|
536
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
530
537
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
531
538
|
|
532
539
|
options.apply_defaults timeout: @config.rpcs.list.timeout,
|
@@ -612,12 +619,13 @@ module Google
|
|
612
619
|
# Customize the options with defaults
|
613
620
|
call_metadata = @config.rpcs.list_available_features.metadata.to_h
|
614
621
|
|
615
|
-
# Set x-goog-api-client
|
622
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
616
623
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
617
624
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
618
625
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
619
626
|
transports_version_send: [:rest]
|
620
627
|
|
628
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
621
629
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
622
630
|
|
623
631
|
options.apply_defaults timeout: @config.rpcs.list_available_features.timeout,
|
@@ -698,12 +706,13 @@ module Google
|
|
698
706
|
# Customize the options with defaults
|
699
707
|
call_metadata = @config.rpcs.patch.metadata.to_h
|
700
708
|
|
701
|
-
# Set x-goog-api-client
|
709
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
702
710
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
703
711
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
704
712
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
705
713
|
transports_version_send: [:rest]
|
706
714
|
|
715
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
707
716
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
708
717
|
|
709
718
|
options.apply_defaults timeout: @config.rpcs.patch.timeout,
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# The RegionTargetHttpProxies API.
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -242,12 +245,13 @@ module Google
|
|
242
245
|
# Customize the options with defaults
|
243
246
|
call_metadata = @config.rpcs.delete.metadata.to_h
|
244
247
|
|
245
|
-
# Set x-goog-api-client
|
248
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
246
249
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
247
250
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
248
251
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
249
252
|
transports_version_send: [:rest]
|
250
253
|
|
254
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
251
255
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
252
256
|
|
253
257
|
options.apply_defaults timeout: @config.rpcs.delete.timeout,
|
@@ -333,12 +337,13 @@ module Google
|
|
333
337
|
# Customize the options with defaults
|
334
338
|
call_metadata = @config.rpcs.get.metadata.to_h
|
335
339
|
|
336
|
-
# Set x-goog-api-client
|
340
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
337
341
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
338
342
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
339
343
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
340
344
|
transports_version_send: [:rest]
|
341
345
|
|
346
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
342
347
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
343
348
|
|
344
349
|
options.apply_defaults timeout: @config.rpcs.get.timeout,
|
@@ -417,12 +422,13 @@ module Google
|
|
417
422
|
# Customize the options with defaults
|
418
423
|
call_metadata = @config.rpcs.insert.metadata.to_h
|
419
424
|
|
420
|
-
# Set x-goog-api-client
|
425
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
421
426
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
422
427
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
423
428
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
424
429
|
transports_version_send: [:rest]
|
425
430
|
|
431
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
426
432
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
427
433
|
|
428
434
|
options.apply_defaults timeout: @config.rpcs.insert.timeout,
|
@@ -516,12 +522,13 @@ module Google
|
|
516
522
|
# Customize the options with defaults
|
517
523
|
call_metadata = @config.rpcs.list.metadata.to_h
|
518
524
|
|
519
|
-
# Set x-goog-api-client
|
525
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
520
526
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
521
527
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
522
528
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
523
529
|
transports_version_send: [:rest]
|
524
530
|
|
531
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
525
532
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
526
533
|
|
527
534
|
options.apply_defaults timeout: @config.rpcs.list.timeout,
|
@@ -603,12 +610,13 @@ module Google
|
|
603
610
|
# Customize the options with defaults
|
604
611
|
call_metadata = @config.rpcs.set_url_map.metadata.to_h
|
605
612
|
|
606
|
-
# Set x-goog-api-client
|
613
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
607
614
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
608
615
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
609
616
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
610
617
|
transports_version_send: [:rest]
|
611
618
|
|
619
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
612
620
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
613
621
|
|
614
622
|
options.apply_defaults timeout: @config.rpcs.set_url_map.timeout,
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# The RegionTargetHttpsProxies API.
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -246,12 +249,13 @@ module Google
|
|
246
249
|
# Customize the options with defaults
|
247
250
|
call_metadata = @config.rpcs.delete.metadata.to_h
|
248
251
|
|
249
|
-
# Set x-goog-api-client
|
252
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
250
253
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
251
254
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
252
255
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
253
256
|
transports_version_send: [:rest]
|
254
257
|
|
258
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
255
259
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
256
260
|
|
257
261
|
options.apply_defaults timeout: @config.rpcs.delete.timeout,
|
@@ -337,12 +341,13 @@ module Google
|
|
337
341
|
# Customize the options with defaults
|
338
342
|
call_metadata = @config.rpcs.get.metadata.to_h
|
339
343
|
|
340
|
-
# Set x-goog-api-client
|
344
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
341
345
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
342
346
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
343
347
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
344
348
|
transports_version_send: [:rest]
|
345
349
|
|
350
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
346
351
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
347
352
|
|
348
353
|
options.apply_defaults timeout: @config.rpcs.get.timeout,
|
@@ -421,12 +426,13 @@ module Google
|
|
421
426
|
# Customize the options with defaults
|
422
427
|
call_metadata = @config.rpcs.insert.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
|
call_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::Compute::V1::VERSION,
|
428
433
|
transports_version_send: [:rest]
|
429
434
|
|
435
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
430
436
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
431
437
|
|
432
438
|
options.apply_defaults timeout: @config.rpcs.insert.timeout,
|
@@ -520,12 +526,13 @@ module Google
|
|
520
526
|
# Customize the options with defaults
|
521
527
|
call_metadata = @config.rpcs.list.metadata.to_h
|
522
528
|
|
523
|
-
# Set x-goog-api-client
|
529
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
524
530
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
525
531
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
526
532
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
527
533
|
transports_version_send: [:rest]
|
528
534
|
|
535
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
529
536
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
530
537
|
|
531
538
|
options.apply_defaults timeout: @config.rpcs.list.timeout,
|
@@ -607,12 +614,13 @@ module Google
|
|
607
614
|
# Customize the options with defaults
|
608
615
|
call_metadata = @config.rpcs.patch.metadata.to_h
|
609
616
|
|
610
|
-
# Set x-goog-api-client
|
617
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
611
618
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
612
619
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
613
620
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
614
621
|
transports_version_send: [:rest]
|
615
622
|
|
623
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
616
624
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
617
625
|
|
618
626
|
options.apply_defaults timeout: @config.rpcs.patch.timeout,
|
@@ -702,12 +710,13 @@ module Google
|
|
702
710
|
# Customize the options with defaults
|
703
711
|
call_metadata = @config.rpcs.set_ssl_certificates.metadata.to_h
|
704
712
|
|
705
|
-
# Set x-goog-api-client
|
713
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
706
714
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
707
715
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
708
716
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
709
717
|
transports_version_send: [:rest]
|
710
718
|
|
719
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
711
720
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
712
721
|
|
713
722
|
options.apply_defaults timeout: @config.rpcs.set_ssl_certificates.timeout,
|
@@ -797,12 +806,13 @@ module Google
|
|
797
806
|
# Customize the options with defaults
|
798
807
|
call_metadata = @config.rpcs.set_url_map.metadata.to_h
|
799
808
|
|
800
|
-
# Set x-goog-api-client
|
809
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
801
810
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
802
811
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
803
812
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
804
813
|
transports_version_send: [:rest]
|
805
814
|
|
815
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
806
816
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
807
817
|
|
808
818
|
options.apply_defaults timeout: @config.rpcs.set_url_map.timeout,
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# The RegionTargetTcpProxies API.
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -240,12 +243,13 @@ module Google
|
|
240
243
|
# Customize the options with defaults
|
241
244
|
call_metadata = @config.rpcs.delete.metadata.to_h
|
242
245
|
|
243
|
-
# Set x-goog-api-client
|
246
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
244
247
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
245
248
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
246
249
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
247
250
|
transports_version_send: [:rest]
|
248
251
|
|
252
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
249
253
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
250
254
|
|
251
255
|
options.apply_defaults timeout: @config.rpcs.delete.timeout,
|
@@ -331,12 +335,13 @@ module Google
|
|
331
335
|
# Customize the options with defaults
|
332
336
|
call_metadata = @config.rpcs.get.metadata.to_h
|
333
337
|
|
334
|
-
# Set x-goog-api-client
|
338
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
335
339
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
336
340
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
337
341
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
338
342
|
transports_version_send: [:rest]
|
339
343
|
|
344
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
340
345
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
341
346
|
|
342
347
|
options.apply_defaults timeout: @config.rpcs.get.timeout,
|
@@ -415,12 +420,13 @@ module Google
|
|
415
420
|
# Customize the options with defaults
|
416
421
|
call_metadata = @config.rpcs.insert.metadata.to_h
|
417
422
|
|
418
|
-
# Set x-goog-api-client
|
423
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
419
424
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
420
425
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
421
426
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
422
427
|
transports_version_send: [:rest]
|
423
428
|
|
429
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
424
430
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
425
431
|
|
426
432
|
options.apply_defaults timeout: @config.rpcs.insert.timeout,
|
@@ -514,12 +520,13 @@ module Google
|
|
514
520
|
# Customize the options with defaults
|
515
521
|
call_metadata = @config.rpcs.list.metadata.to_h
|
516
522
|
|
517
|
-
# Set x-goog-api-client
|
523
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
518
524
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
519
525
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
520
526
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
521
527
|
transports_version_send: [:rest]
|
522
528
|
|
529
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
523
530
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
524
531
|
|
525
532
|
options.apply_defaults timeout: @config.rpcs.list.timeout,
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# The RegionUrlMaps API.
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -246,12 +249,13 @@ module Google
|
|
246
249
|
# Customize the options with defaults
|
247
250
|
call_metadata = @config.rpcs.delete.metadata.to_h
|
248
251
|
|
249
|
-
# Set x-goog-api-client
|
252
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
250
253
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
251
254
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
252
255
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
253
256
|
transports_version_send: [:rest]
|
254
257
|
|
258
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
255
259
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
256
260
|
|
257
261
|
options.apply_defaults timeout: @config.rpcs.delete.timeout,
|
@@ -337,12 +341,13 @@ module Google
|
|
337
341
|
# Customize the options with defaults
|
338
342
|
call_metadata = @config.rpcs.get.metadata.to_h
|
339
343
|
|
340
|
-
# Set x-goog-api-client
|
344
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
341
345
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
342
346
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
343
347
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
344
348
|
transports_version_send: [:rest]
|
345
349
|
|
350
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
346
351
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
347
352
|
|
348
353
|
options.apply_defaults timeout: @config.rpcs.get.timeout,
|
@@ -421,12 +426,13 @@ module Google
|
|
421
426
|
# Customize the options with defaults
|
422
427
|
call_metadata = @config.rpcs.insert.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
|
call_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::Compute::V1::VERSION,
|
428
433
|
transports_version_send: [:rest]
|
429
434
|
|
435
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
430
436
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
431
437
|
|
432
438
|
options.apply_defaults timeout: @config.rpcs.insert.timeout,
|
@@ -520,12 +526,13 @@ module Google
|
|
520
526
|
# Customize the options with defaults
|
521
527
|
call_metadata = @config.rpcs.list.metadata.to_h
|
522
528
|
|
523
|
-
# Set x-goog-api-client
|
529
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
524
530
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
525
531
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
526
532
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
527
533
|
transports_version_send: [:rest]
|
528
534
|
|
535
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
529
536
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
530
537
|
|
531
538
|
options.apply_defaults timeout: @config.rpcs.list.timeout,
|
@@ -607,12 +614,13 @@ module Google
|
|
607
614
|
# Customize the options with defaults
|
608
615
|
call_metadata = @config.rpcs.patch.metadata.to_h
|
609
616
|
|
610
|
-
# Set x-goog-api-client
|
617
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
611
618
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
612
619
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
613
620
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
614
621
|
transports_version_send: [:rest]
|
615
622
|
|
623
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
616
624
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
617
625
|
|
618
626
|
options.apply_defaults timeout: @config.rpcs.patch.timeout,
|
@@ -702,12 +710,13 @@ module Google
|
|
702
710
|
# Customize the options with defaults
|
703
711
|
call_metadata = @config.rpcs.update.metadata.to_h
|
704
712
|
|
705
|
-
# Set x-goog-api-client
|
713
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
706
714
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
707
715
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
708
716
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
709
717
|
transports_version_send: [:rest]
|
710
718
|
|
719
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
711
720
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
712
721
|
|
713
722
|
options.apply_defaults timeout: @config.rpcs.update.timeout,
|
@@ -795,12 +804,13 @@ module Google
|
|
795
804
|
# Customize the options with defaults
|
796
805
|
call_metadata = @config.rpcs.validate.metadata.to_h
|
797
806
|
|
798
|
-
# Set x-goog-api-client
|
807
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
799
808
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
800
809
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
801
810
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
802
811
|
transports_version_send: [:rest]
|
803
812
|
|
813
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
804
814
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
805
815
|
|
806
816
|
options.apply_defaults timeout: @config.rpcs.validate.timeout,
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# The RegionZones API.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -222,12 +225,13 @@ module Google
|
|
222
225
|
# Customize the options with defaults
|
223
226
|
call_metadata = @config.rpcs.list.metadata.to_h
|
224
227
|
|
225
|
-
# Set x-goog-api-client
|
228
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
226
229
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
227
230
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
228
231
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
229
232
|
transports_version_send: [:rest]
|
230
233
|
|
234
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
231
235
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
232
236
|
|
233
237
|
options.apply_defaults timeout: @config.rpcs.list.timeout,
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# The Regions API.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -217,12 +220,13 @@ module Google
|
|
217
220
|
# Customize the options with defaults
|
218
221
|
call_metadata = @config.rpcs.get.metadata.to_h
|
219
222
|
|
220
|
-
# Set x-goog-api-client
|
223
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
221
224
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
222
225
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
223
226
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
224
227
|
transports_version_send: [:rest]
|
225
228
|
|
229
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
226
230
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
227
231
|
|
228
232
|
options.apply_defaults timeout: @config.rpcs.get.timeout,
|
@@ -305,12 +309,13 @@ module Google
|
|
305
309
|
# Customize the options with defaults
|
306
310
|
call_metadata = @config.rpcs.list.metadata.to_h
|
307
311
|
|
308
|
-
# Set x-goog-api-client
|
312
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
309
313
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
310
314
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
311
315
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
312
316
|
transports_version_send: [:rest]
|
313
317
|
|
318
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
314
319
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
315
320
|
|
316
321
|
options.apply_defaults timeout: @config.rpcs.list.timeout,
|