google-cloud-compute-v1 2.11.0 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/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 RegionInstanceGroupManagers 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
|
|
@@ -275,12 +278,13 @@ module Google
|
|
275
278
|
# Customize the options with defaults
|
276
279
|
call_metadata = @config.rpcs.abandon_instances.metadata.to_h
|
277
280
|
|
278
|
-
# Set x-goog-api-client
|
281
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
279
282
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
280
283
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
281
284
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
282
285
|
transports_version_send: [:rest]
|
283
286
|
|
287
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
284
288
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
285
289
|
|
286
290
|
options.apply_defaults timeout: @config.rpcs.abandon_instances.timeout,
|
@@ -368,12 +372,13 @@ module Google
|
|
368
372
|
# Customize the options with defaults
|
369
373
|
call_metadata = @config.rpcs.apply_updates_to_instances.metadata.to_h
|
370
374
|
|
371
|
-
# Set x-goog-api-client
|
375
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
372
376
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
373
377
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
374
378
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
375
379
|
transports_version_send: [:rest]
|
376
380
|
|
381
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
377
382
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
378
383
|
|
379
384
|
options.apply_defaults timeout: @config.rpcs.apply_updates_to_instances.timeout,
|
@@ -463,12 +468,13 @@ module Google
|
|
463
468
|
# Customize the options with defaults
|
464
469
|
call_metadata = @config.rpcs.create_instances.metadata.to_h
|
465
470
|
|
466
|
-
# Set x-goog-api-client
|
471
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
467
472
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
468
473
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
469
474
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
470
475
|
transports_version_send: [:rest]
|
471
476
|
|
477
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
472
478
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
473
479
|
|
474
480
|
options.apply_defaults timeout: @config.rpcs.create_instances.timeout,
|
@@ -556,12 +562,13 @@ module Google
|
|
556
562
|
# Customize the options with defaults
|
557
563
|
call_metadata = @config.rpcs.delete.metadata.to_h
|
558
564
|
|
559
|
-
# Set x-goog-api-client
|
565
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
560
566
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
561
567
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
562
568
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
563
569
|
transports_version_send: [:rest]
|
564
570
|
|
571
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
565
572
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
566
573
|
|
567
574
|
options.apply_defaults timeout: @config.rpcs.delete.timeout,
|
@@ -651,12 +658,13 @@ module Google
|
|
651
658
|
# Customize the options with defaults
|
652
659
|
call_metadata = @config.rpcs.delete_instances.metadata.to_h
|
653
660
|
|
654
|
-
# Set x-goog-api-client
|
661
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
655
662
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
656
663
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
657
664
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
658
665
|
transports_version_send: [:rest]
|
659
666
|
|
667
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
660
668
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
661
669
|
|
662
670
|
options.apply_defaults timeout: @config.rpcs.delete_instances.timeout,
|
@@ -744,12 +752,13 @@ module Google
|
|
744
752
|
# Customize the options with defaults
|
745
753
|
call_metadata = @config.rpcs.delete_per_instance_configs.metadata.to_h
|
746
754
|
|
747
|
-
# Set x-goog-api-client
|
755
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
748
756
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
749
757
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
750
758
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
751
759
|
transports_version_send: [:rest]
|
752
760
|
|
761
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
753
762
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
754
763
|
|
755
764
|
options.apply_defaults timeout: @config.rpcs.delete_per_instance_configs.timeout,
|
@@ -835,12 +844,13 @@ module Google
|
|
835
844
|
# Customize the options with defaults
|
836
845
|
call_metadata = @config.rpcs.get.metadata.to_h
|
837
846
|
|
838
|
-
# Set x-goog-api-client
|
847
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
839
848
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
840
849
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
841
850
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
842
851
|
transports_version_send: [:rest]
|
843
852
|
|
853
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
844
854
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
845
855
|
|
846
856
|
options.apply_defaults timeout: @config.rpcs.get.timeout,
|
@@ -919,12 +929,13 @@ module Google
|
|
919
929
|
# Customize the options with defaults
|
920
930
|
call_metadata = @config.rpcs.insert.metadata.to_h
|
921
931
|
|
922
|
-
# Set x-goog-api-client
|
932
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
923
933
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
924
934
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
925
935
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
926
936
|
transports_version_send: [:rest]
|
927
937
|
|
938
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
928
939
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
929
940
|
|
930
941
|
options.apply_defaults timeout: @config.rpcs.insert.timeout,
|
@@ -1018,12 +1029,13 @@ module Google
|
|
1018
1029
|
# Customize the options with defaults
|
1019
1030
|
call_metadata = @config.rpcs.list.metadata.to_h
|
1020
1031
|
|
1021
|
-
# Set x-goog-api-client
|
1032
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1022
1033
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1023
1034
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1024
1035
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
1025
1036
|
transports_version_send: [:rest]
|
1026
1037
|
|
1038
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1027
1039
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1028
1040
|
|
1029
1041
|
options.apply_defaults timeout: @config.rpcs.list.timeout,
|
@@ -1111,12 +1123,13 @@ module Google
|
|
1111
1123
|
# Customize the options with defaults
|
1112
1124
|
call_metadata = @config.rpcs.list_errors.metadata.to_h
|
1113
1125
|
|
1114
|
-
# Set x-goog-api-client
|
1126
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1115
1127
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1116
1128
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1117
1129
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
1118
1130
|
transports_version_send: [:rest]
|
1119
1131
|
|
1132
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1120
1133
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1121
1134
|
|
1122
1135
|
options.apply_defaults timeout: @config.rpcs.list_errors.timeout,
|
@@ -1204,12 +1217,13 @@ module Google
|
|
1204
1217
|
# Customize the options with defaults
|
1205
1218
|
call_metadata = @config.rpcs.list_managed_instances.metadata.to_h
|
1206
1219
|
|
1207
|
-
# Set x-goog-api-client
|
1220
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1208
1221
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1209
1222
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1210
1223
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
1211
1224
|
transports_version_send: [:rest]
|
1212
1225
|
|
1226
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1213
1227
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1214
1228
|
|
1215
1229
|
options.apply_defaults timeout: @config.rpcs.list_managed_instances.timeout,
|
@@ -1297,12 +1311,13 @@ module Google
|
|
1297
1311
|
# Customize the options with defaults
|
1298
1312
|
call_metadata = @config.rpcs.list_per_instance_configs.metadata.to_h
|
1299
1313
|
|
1300
|
-
# Set x-goog-api-client
|
1314
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1301
1315
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1302
1316
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1303
1317
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
1304
1318
|
transports_version_send: [:rest]
|
1305
1319
|
|
1320
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1306
1321
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1307
1322
|
|
1308
1323
|
options.apply_defaults timeout: @config.rpcs.list_per_instance_configs.timeout,
|
@@ -1384,12 +1399,13 @@ module Google
|
|
1384
1399
|
# Customize the options with defaults
|
1385
1400
|
call_metadata = @config.rpcs.patch.metadata.to_h
|
1386
1401
|
|
1387
|
-
# Set x-goog-api-client
|
1402
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1388
1403
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1389
1404
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1390
1405
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
1391
1406
|
transports_version_send: [:rest]
|
1392
1407
|
|
1408
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1393
1409
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1394
1410
|
|
1395
1411
|
options.apply_defaults timeout: @config.rpcs.patch.timeout,
|
@@ -1479,12 +1495,13 @@ module Google
|
|
1479
1495
|
# Customize the options with defaults
|
1480
1496
|
call_metadata = @config.rpcs.patch_per_instance_configs.metadata.to_h
|
1481
1497
|
|
1482
|
-
# Set x-goog-api-client
|
1498
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1483
1499
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1484
1500
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1485
1501
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
1486
1502
|
transports_version_send: [:rest]
|
1487
1503
|
|
1504
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1488
1505
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1489
1506
|
|
1490
1507
|
options.apply_defaults timeout: @config.rpcs.patch_per_instance_configs.timeout,
|
@@ -1574,12 +1591,13 @@ module Google
|
|
1574
1591
|
# Customize the options with defaults
|
1575
1592
|
call_metadata = @config.rpcs.recreate_instances.metadata.to_h
|
1576
1593
|
|
1577
|
-
# Set x-goog-api-client
|
1594
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1578
1595
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1579
1596
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1580
1597
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
1581
1598
|
transports_version_send: [:rest]
|
1582
1599
|
|
1600
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1583
1601
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1584
1602
|
|
1585
1603
|
options.apply_defaults timeout: @config.rpcs.recreate_instances.timeout,
|
@@ -1669,12 +1687,13 @@ module Google
|
|
1669
1687
|
# Customize the options with defaults
|
1670
1688
|
call_metadata = @config.rpcs.resize.metadata.to_h
|
1671
1689
|
|
1672
|
-
# Set x-goog-api-client
|
1690
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1673
1691
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1674
1692
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1675
1693
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
1676
1694
|
transports_version_send: [:rest]
|
1677
1695
|
|
1696
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1678
1697
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1679
1698
|
|
1680
1699
|
options.apply_defaults timeout: @config.rpcs.resize.timeout,
|
@@ -1764,12 +1783,13 @@ module Google
|
|
1764
1783
|
# Customize the options with defaults
|
1765
1784
|
call_metadata = @config.rpcs.set_instance_template.metadata.to_h
|
1766
1785
|
|
1767
|
-
# Set x-goog-api-client
|
1786
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1768
1787
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1769
1788
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1770
1789
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
1771
1790
|
transports_version_send: [:rest]
|
1772
1791
|
|
1792
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1773
1793
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1774
1794
|
|
1775
1795
|
options.apply_defaults timeout: @config.rpcs.set_instance_template.timeout,
|
@@ -1859,12 +1879,13 @@ module Google
|
|
1859
1879
|
# Customize the options with defaults
|
1860
1880
|
call_metadata = @config.rpcs.set_target_pools.metadata.to_h
|
1861
1881
|
|
1862
|
-
# Set x-goog-api-client
|
1882
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1863
1883
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1864
1884
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1865
1885
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
1866
1886
|
transports_version_send: [:rest]
|
1867
1887
|
|
1888
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1868
1889
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1869
1890
|
|
1870
1891
|
options.apply_defaults timeout: @config.rpcs.set_target_pools.timeout,
|
@@ -1954,12 +1975,13 @@ module Google
|
|
1954
1975
|
# Customize the options with defaults
|
1955
1976
|
call_metadata = @config.rpcs.update_per_instance_configs.metadata.to_h
|
1956
1977
|
|
1957
|
-
# Set x-goog-api-client
|
1978
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1958
1979
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1959
1980
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1960
1981
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
1961
1982
|
transports_version_send: [:rest]
|
1962
1983
|
|
1984
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1963
1985
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1964
1986
|
|
1965
1987
|
options.apply_defaults timeout: @config.rpcs.update_per_instance_configs.timeout,
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# The RegionInstanceGroups 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
|
|
@@ -238,12 +241,13 @@ module Google
|
|
238
241
|
# Customize the options with defaults
|
239
242
|
call_metadata = @config.rpcs.get.metadata.to_h
|
240
243
|
|
241
|
-
# Set x-goog-api-client
|
244
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
242
245
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
243
246
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
244
247
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
245
248
|
transports_version_send: [:rest]
|
246
249
|
|
250
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
247
251
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
248
252
|
|
249
253
|
options.apply_defaults timeout: @config.rpcs.get.timeout,
|
@@ -328,12 +332,13 @@ module Google
|
|
328
332
|
# Customize the options with defaults
|
329
333
|
call_metadata = @config.rpcs.list.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
|
call_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::Compute::V1::VERSION,
|
335
339
|
transports_version_send: [:rest]
|
336
340
|
|
341
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
337
342
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
338
343
|
|
339
344
|
options.apply_defaults timeout: @config.rpcs.list.timeout,
|
@@ -423,12 +428,13 @@ module Google
|
|
423
428
|
# Customize the options with defaults
|
424
429
|
call_metadata = @config.rpcs.list_instances.metadata.to_h
|
425
430
|
|
426
|
-
# Set x-goog-api-client
|
431
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
427
432
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
428
433
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
429
434
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
430
435
|
transports_version_send: [:rest]
|
431
436
|
|
437
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
432
438
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
433
439
|
|
434
440
|
options.apply_defaults timeout: @config.rpcs.list_instances.timeout,
|
@@ -510,12 +516,13 @@ module Google
|
|
510
516
|
# Customize the options with defaults
|
511
517
|
call_metadata = @config.rpcs.set_named_ports.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::Compute::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.set_named_ports.timeout,
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# The RegionInstanceTemplates 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 RegionInstances 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
|
|
@@ -228,12 +231,13 @@ module Google
|
|
228
231
|
# Customize the options with defaults
|
229
232
|
call_metadata = @config.rpcs.bulk_insert.metadata.to_h
|
230
233
|
|
231
|
-
# Set x-goog-api-client
|
234
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
232
235
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
233
236
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
234
237
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
235
238
|
transports_version_send: [:rest]
|
236
239
|
|
240
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
237
241
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
238
242
|
|
239
243
|
options.apply_defaults timeout: @config.rpcs.bulk_insert.timeout,
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# The RegionInstantSnapshots 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
|
|
@@ -251,12 +254,13 @@ module Google
|
|
251
254
|
# Customize the options with defaults
|
252
255
|
call_metadata = @config.rpcs.delete.metadata.to_h
|
253
256
|
|
254
|
-
# Set x-goog-api-client
|
257
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
255
258
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
256
259
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
257
260
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
258
261
|
transports_version_send: [:rest]
|
259
262
|
|
263
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
260
264
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
261
265
|
|
262
266
|
options.apply_defaults timeout: @config.rpcs.delete.timeout,
|
@@ -342,12 +346,13 @@ module Google
|
|
342
346
|
# Customize the options with defaults
|
343
347
|
call_metadata = @config.rpcs.get.metadata.to_h
|
344
348
|
|
345
|
-
# Set x-goog-api-client
|
349
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
346
350
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
347
351
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
348
352
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
349
353
|
transports_version_send: [:rest]
|
350
354
|
|
355
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
351
356
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
352
357
|
|
353
358
|
options.apply_defaults timeout: @config.rpcs.get.timeout,
|
@@ -426,12 +431,13 @@ module Google
|
|
426
431
|
# Customize the options with defaults
|
427
432
|
call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
428
433
|
|
429
|
-
# Set x-goog-api-client
|
434
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
430
435
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
431
436
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
432
437
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
433
438
|
transports_version_send: [:rest]
|
434
439
|
|
440
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
435
441
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
436
442
|
|
437
443
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
@@ -510,12 +516,13 @@ module Google
|
|
510
516
|
# Customize the options with defaults
|
511
517
|
call_metadata = @config.rpcs.insert.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::Compute::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.insert.timeout,
|
@@ -609,12 +616,13 @@ module Google
|
|
609
616
|
# Customize the options with defaults
|
610
617
|
call_metadata = @config.rpcs.list.metadata.to_h
|
611
618
|
|
612
|
-
# Set x-goog-api-client
|
619
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
613
620
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
614
621
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
615
622
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
616
623
|
transports_version_send: [:rest]
|
617
624
|
|
625
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
618
626
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
619
627
|
|
620
628
|
options.apply_defaults timeout: @config.rpcs.list.timeout,
|
@@ -694,12 +702,13 @@ module Google
|
|
694
702
|
# Customize the options with defaults
|
695
703
|
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
696
704
|
|
697
|
-
# Set x-goog-api-client
|
705
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
698
706
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
699
707
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
700
708
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
701
709
|
transports_version_send: [:rest]
|
702
710
|
|
711
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
703
712
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
704
713
|
|
705
714
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
@@ -780,12 +789,13 @@ module Google
|
|
780
789
|
# Customize the options with defaults
|
781
790
|
call_metadata = @config.rpcs.set_labels.metadata.to_h
|
782
791
|
|
783
|
-
# Set x-goog-api-client
|
792
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
784
793
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
785
794
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
786
795
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
787
796
|
transports_version_send: [:rest]
|
788
797
|
|
798
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
789
799
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
790
800
|
|
791
801
|
options.apply_defaults timeout: @config.rpcs.set_labels.timeout,
|
@@ -873,12 +883,13 @@ module Google
|
|
873
883
|
# Customize the options with defaults
|
874
884
|
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
875
885
|
|
876
|
-
# Set x-goog-api-client
|
886
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
877
887
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
878
888
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
879
889
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
880
890
|
transports_version_send: [:rest]
|
881
891
|
|
892
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
882
893
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
883
894
|
|
884
895
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|