google-cloud-compute-v1 1.7.0 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +15 -6
- data/lib/google/cloud/compute/v1/accelerator_types/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +30 -12
- data/lib/google/cloud/compute/v1/addresses/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +35 -14
- data/lib/google/cloud/compute/v1/autoscalers/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +45 -18
- data/lib/google/cloud/compute/v1/backend_buckets/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +70 -28
- data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +15 -6
- data/lib/google/cloud/compute/v1/disk_types/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +65 -26
- data/lib/google/cloud/compute/v1/disks/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +30 -12
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +90 -36
- data/lib/google/cloud/compute/v1/firewall_policies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +30 -12
- data/lib/google/cloud/compute/v1/firewalls/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +40 -16
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +25 -10
- data/lib/google/cloud/compute/v1/global_addresses/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +35 -14
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +35 -14
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +25 -10
- data/lib/google/cloud/compute/v1/global_operations/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +15 -6
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +25 -10
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +35 -14
- data/lib/google/cloud/compute/v1/health_checks/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +5 -2
- data/lib/google/cloud/compute/v1/image_family_views/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/images/rest/client.rb +55 -22
- data/lib/google/cloud/compute/v1/images/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +100 -40
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +45 -18
- data/lib/google/cloud/compute/v1/instance_groups/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +35 -14
- data/lib/google/cloud/compute/v1/instance_templates/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +225 -90
- data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +35 -14
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +10 -4
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +35 -14
- data/lib/google/cloud/compute/v1/interconnects/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +10 -4
- data/lib/google/cloud/compute/v1/license_codes/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +35 -14
- data/lib/google/cloud/compute/v1/licenses/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +35 -14
- data/lib/google/cloud/compute/v1/machine_images/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +15 -6
- data/lib/google/cloud/compute/v1/machine_types/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +25 -10
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +45 -18
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +80 -32
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +55 -22
- data/lib/google/cloud/compute/v1/networks/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +65 -26
- data/lib/google/cloud/compute/v1/node_groups/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +40 -16
- data/lib/google/cloud/compute/v1/node_templates/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +15 -6
- data/lib/google/cloud/compute/v1/node_types/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +35 -14
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +65 -26
- data/lib/google/cloud/compute/v1/projects/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +25 -10
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +30 -12
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +30 -12
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +45 -18
- data/lib/google/cloud/compute/v1/region_backend_services/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +25 -10
- data/lib/google/cloud/compute/v1/region_commitments/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +10 -4
- data/lib/google/cloud/compute/v1/region_disk_types/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +60 -24
- data/lib/google/cloud/compute/v1/region_disks/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +25 -10
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +30 -12
- data/lib/google/cloud/compute/v1/region_health_checks/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +95 -38
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +20 -8
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +5 -2
- data/lib/google/cloud/compute/v1/region_instances/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +20 -8
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +85 -34
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +20 -8
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +20 -8
- data/lib/google/cloud/compute/v1/region_operations/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +25 -10
- data/lib/google/cloud/compute/v1/region_security_policies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +20 -8
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +30 -12
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +25 -10
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +35 -14
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +20 -8
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +35 -14
- data/lib/google/cloud/compute/v1/region_url_maps/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +10 -4
- data/lib/google/cloud/compute/v1/regions/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +50 -20
- data/lib/google/cloud/compute/v1/reservations/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +40 -16
- data/lib/google/cloud/compute/v1/resource_policies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +50 -20
- data/lib/google/cloud/compute/v1/routers/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +20 -8
- data/lib/google/cloud/compute/v1/routes/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +60 -24
- data/lib/google/cloud/compute/v1/security_policies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +45 -18
- data/lib/google/cloud/compute/v1/service_attachments/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +40 -16
- data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +25 -10
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +35 -14
- data/lib/google/cloud/compute/v1/ssl_policies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +60 -24
- data/lib/google/cloud/compute/v1/subnetworks/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +25 -10
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +35 -14
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +55 -22
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +25 -10
- data/lib/google/cloud/compute/v1/target_instances/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +55 -22
- data/lib/google/cloud/compute/v1/target_pools/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +45 -18
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +30 -12
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +30 -12
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +45 -18
- data/lib/google/cloud/compute/v1/url_maps/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +40 -16
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +30 -12
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +20 -8
- data/lib/google/cloud/compute/v1/zone_operations/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +10 -4
- data/lib/google/cloud/compute/v1/zones/rest/service_stub.rb +1 -1
- metadata +4 -4
@@ -334,8 +334,11 @@ module Google
|
|
334
334
|
return result
|
335
335
|
end
|
336
336
|
rescue ::Faraday::Error => e
|
337
|
-
|
338
|
-
|
337
|
+
begin
|
338
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
339
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
340
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
341
|
+
end
|
339
342
|
end
|
340
343
|
|
341
344
|
##
|
@@ -412,8 +415,11 @@ module Google
|
|
412
415
|
return result
|
413
416
|
end
|
414
417
|
rescue ::Faraday::Error => e
|
415
|
-
|
416
|
-
|
418
|
+
begin
|
419
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
420
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
421
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
422
|
+
end
|
417
423
|
end
|
418
424
|
|
419
425
|
##
|
@@ -486,8 +492,11 @@ module Google
|
|
486
492
|
return result
|
487
493
|
end
|
488
494
|
rescue ::Faraday::Error => e
|
489
|
-
|
490
|
-
|
495
|
+
begin
|
496
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
497
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
498
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
499
|
+
end
|
491
500
|
end
|
492
501
|
|
493
502
|
##
|
@@ -566,8 +575,11 @@ module Google
|
|
566
575
|
return result
|
567
576
|
end
|
568
577
|
rescue ::Faraday::Error => e
|
569
|
-
|
570
|
-
|
578
|
+
begin
|
579
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
580
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
581
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
582
|
+
end
|
571
583
|
end
|
572
584
|
|
573
585
|
##
|
@@ -642,8 +654,11 @@ module Google
|
|
642
654
|
return result
|
643
655
|
end
|
644
656
|
rescue ::Faraday::Error => e
|
645
|
-
|
646
|
-
|
657
|
+
begin
|
658
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
659
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
660
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
661
|
+
end
|
647
662
|
end
|
648
663
|
|
649
664
|
##
|
@@ -718,8 +733,11 @@ module Google
|
|
718
733
|
return result
|
719
734
|
end
|
720
735
|
rescue ::Faraday::Error => e
|
721
|
-
|
722
|
-
|
736
|
+
begin
|
737
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
738
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
739
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
740
|
+
end
|
723
741
|
end
|
724
742
|
|
725
743
|
##
|
@@ -798,8 +816,11 @@ module Google
|
|
798
816
|
return result
|
799
817
|
end
|
800
818
|
rescue ::Faraday::Error => e
|
801
|
-
|
802
|
-
|
819
|
+
begin
|
820
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
821
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
822
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
823
|
+
end
|
803
824
|
end
|
804
825
|
|
805
826
|
##
|
@@ -876,8 +897,11 @@ module Google
|
|
876
897
|
return result
|
877
898
|
end
|
878
899
|
rescue ::Faraday::Error => e
|
879
|
-
|
880
|
-
|
900
|
+
begin
|
901
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
902
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
903
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
904
|
+
end
|
881
905
|
end
|
882
906
|
|
883
907
|
##
|
@@ -941,8 +965,11 @@ module Google
|
|
941
965
|
return result
|
942
966
|
end
|
943
967
|
rescue ::Faraday::Error => e
|
944
|
-
|
945
|
-
|
968
|
+
begin
|
969
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
970
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
971
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
972
|
+
end
|
946
973
|
end
|
947
974
|
|
948
975
|
##
|
@@ -1008,8 +1035,11 @@ module Google
|
|
1008
1035
|
return result
|
1009
1036
|
end
|
1010
1037
|
rescue ::Faraday::Error => e
|
1011
|
-
|
1012
|
-
|
1038
|
+
begin
|
1039
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
1040
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
1041
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
1042
|
+
end
|
1013
1043
|
end
|
1014
1044
|
|
1015
1045
|
##
|
@@ -1077,8 +1107,11 @@ module Google
|
|
1077
1107
|
return result
|
1078
1108
|
end
|
1079
1109
|
rescue ::Faraday::Error => e
|
1080
|
-
|
1081
|
-
|
1110
|
+
begin
|
1111
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
1112
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
1113
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
1114
|
+
end
|
1082
1115
|
end
|
1083
1116
|
|
1084
1117
|
##
|
@@ -1144,8 +1177,11 @@ module Google
|
|
1144
1177
|
return result
|
1145
1178
|
end
|
1146
1179
|
rescue ::Faraday::Error => e
|
1147
|
-
|
1148
|
-
|
1180
|
+
begin
|
1181
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
1182
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
1183
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
1184
|
+
end
|
1149
1185
|
end
|
1150
1186
|
|
1151
1187
|
##
|
@@ -1209,8 +1245,11 @@ module Google
|
|
1209
1245
|
return result
|
1210
1246
|
end
|
1211
1247
|
rescue ::Faraday::Error => e
|
1212
|
-
|
1213
|
-
|
1248
|
+
begin
|
1249
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
1250
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
1251
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
1252
|
+
end
|
1214
1253
|
end
|
1215
1254
|
|
1216
1255
|
##
|
@@ -1278,8 +1317,11 @@ module Google
|
|
1278
1317
|
return result
|
1279
1318
|
end
|
1280
1319
|
rescue ::Faraday::Error => e
|
1281
|
-
|
1282
|
-
|
1320
|
+
begin
|
1321
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
1322
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
1323
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
1324
|
+
end
|
1283
1325
|
end
|
1284
1326
|
|
1285
1327
|
##
|
@@ -1343,8 +1385,11 @@ module Google
|
|
1343
1385
|
return result
|
1344
1386
|
end
|
1345
1387
|
rescue ::Faraday::Error => e
|
1346
|
-
|
1347
|
-
|
1388
|
+
begin
|
1389
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
1390
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
1391
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
1392
|
+
end
|
1348
1393
|
end
|
1349
1394
|
|
1350
1395
|
##
|
@@ -1423,8 +1468,11 @@ module Google
|
|
1423
1468
|
return result
|
1424
1469
|
end
|
1425
1470
|
rescue ::Faraday::Error => e
|
1426
|
-
|
1427
|
-
|
1471
|
+
begin
|
1472
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
1473
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
1474
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
1475
|
+
end
|
1428
1476
|
end
|
1429
1477
|
|
1430
1478
|
##
|
@@ -1497,8 +1545,11 @@ module Google
|
|
1497
1545
|
return result
|
1498
1546
|
end
|
1499
1547
|
rescue ::Faraday::Error => e
|
1500
|
-
|
1501
|
-
|
1548
|
+
begin
|
1549
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
1550
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
1551
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
1552
|
+
end
|
1502
1553
|
end
|
1503
1554
|
|
1504
1555
|
##
|
@@ -1573,8 +1624,11 @@ module Google
|
|
1573
1624
|
return result
|
1574
1625
|
end
|
1575
1626
|
rescue ::Faraday::Error => e
|
1576
|
-
|
1577
|
-
|
1627
|
+
begin
|
1628
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
1629
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
1630
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
1631
|
+
end
|
1578
1632
|
end
|
1579
1633
|
|
1580
1634
|
##
|
@@ -1651,8 +1705,11 @@ module Google
|
|
1651
1705
|
return result
|
1652
1706
|
end
|
1653
1707
|
rescue ::Faraday::Error => e
|
1654
|
-
|
1655
|
-
|
1708
|
+
begin
|
1709
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
1710
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
1711
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
1712
|
+
end
|
1656
1713
|
end
|
1657
1714
|
|
1658
1715
|
##
|
@@ -1727,8 +1784,11 @@ module Google
|
|
1727
1784
|
return result
|
1728
1785
|
end
|
1729
1786
|
rescue ::Faraday::Error => e
|
1730
|
-
|
1731
|
-
|
1787
|
+
begin
|
1788
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
1789
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
1790
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
1791
|
+
end
|
1732
1792
|
end
|
1733
1793
|
|
1734
1794
|
##
|
@@ -1803,8 +1863,11 @@ module Google
|
|
1803
1863
|
return result
|
1804
1864
|
end
|
1805
1865
|
rescue ::Faraday::Error => e
|
1806
|
-
|
1807
|
-
|
1866
|
+
begin
|
1867
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
1868
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
1869
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
1870
|
+
end
|
1808
1871
|
end
|
1809
1872
|
|
1810
1873
|
##
|
@@ -1868,8 +1931,11 @@ module Google
|
|
1868
1931
|
return result
|
1869
1932
|
end
|
1870
1933
|
rescue ::Faraday::Error => e
|
1871
|
-
|
1872
|
-
|
1934
|
+
begin
|
1935
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
1936
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
1937
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
1938
|
+
end
|
1873
1939
|
end
|
1874
1940
|
|
1875
1941
|
##
|
@@ -1946,8 +2012,11 @@ module Google
|
|
1946
2012
|
return result
|
1947
2013
|
end
|
1948
2014
|
rescue ::Faraday::Error => e
|
1949
|
-
|
1950
|
-
|
2015
|
+
begin
|
2016
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
2017
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
2018
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
2019
|
+
end
|
1951
2020
|
end
|
1952
2021
|
|
1953
2022
|
##
|
@@ -2026,8 +2095,11 @@ module Google
|
|
2026
2095
|
return result
|
2027
2096
|
end
|
2028
2097
|
rescue ::Faraday::Error => e
|
2029
|
-
|
2030
|
-
|
2098
|
+
begin
|
2099
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
2100
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
2101
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
2102
|
+
end
|
2031
2103
|
end
|
2032
2104
|
|
2033
2105
|
##
|
@@ -2093,8 +2165,11 @@ module Google
|
|
2093
2165
|
return result
|
2094
2166
|
end
|
2095
2167
|
rescue ::Faraday::Error => e
|
2096
|
-
|
2097
|
-
|
2168
|
+
begin
|
2169
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
2170
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
2171
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
2172
|
+
end
|
2098
2173
|
end
|
2099
2174
|
|
2100
2175
|
##
|
@@ -2171,8 +2246,11 @@ module Google
|
|
2171
2246
|
return result
|
2172
2247
|
end
|
2173
2248
|
rescue ::Faraday::Error => e
|
2174
|
-
|
2175
|
-
|
2249
|
+
begin
|
2250
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
2251
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
2252
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
2253
|
+
end
|
2176
2254
|
end
|
2177
2255
|
|
2178
2256
|
##
|
@@ -2249,8 +2327,11 @@ module Google
|
|
2249
2327
|
return result
|
2250
2328
|
end
|
2251
2329
|
rescue ::Faraday::Error => e
|
2252
|
-
|
2253
|
-
|
2330
|
+
begin
|
2331
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
2332
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
2333
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
2334
|
+
end
|
2254
2335
|
end
|
2255
2336
|
|
2256
2337
|
##
|
@@ -2327,8 +2408,11 @@ module Google
|
|
2327
2408
|
return result
|
2328
2409
|
end
|
2329
2410
|
rescue ::Faraday::Error => e
|
2330
|
-
|
2331
|
-
|
2411
|
+
begin
|
2412
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
2413
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
2414
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
2415
|
+
end
|
2332
2416
|
end
|
2333
2417
|
|
2334
2418
|
##
|
@@ -2405,8 +2489,11 @@ module Google
|
|
2405
2489
|
return result
|
2406
2490
|
end
|
2407
2491
|
rescue ::Faraday::Error => e
|
2408
|
-
|
2409
|
-
|
2492
|
+
begin
|
2493
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
2494
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
2495
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
2496
|
+
end
|
2410
2497
|
end
|
2411
2498
|
|
2412
2499
|
##
|
@@ -2483,8 +2570,11 @@ module Google
|
|
2483
2570
|
return result
|
2484
2571
|
end
|
2485
2572
|
rescue ::Faraday::Error => e
|
2486
|
-
|
2487
|
-
|
2573
|
+
begin
|
2574
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
2575
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
2576
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
2577
|
+
end
|
2488
2578
|
end
|
2489
2579
|
|
2490
2580
|
##
|
@@ -2561,8 +2651,11 @@ module Google
|
|
2561
2651
|
return result
|
2562
2652
|
end
|
2563
2653
|
rescue ::Faraday::Error => e
|
2564
|
-
|
2565
|
-
|
2654
|
+
begin
|
2655
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
2656
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
2657
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
2658
|
+
end
|
2566
2659
|
end
|
2567
2660
|
|
2568
2661
|
##
|
@@ -2639,8 +2732,11 @@ module Google
|
|
2639
2732
|
return result
|
2640
2733
|
end
|
2641
2734
|
rescue ::Faraday::Error => e
|
2642
|
-
|
2643
|
-
|
2735
|
+
begin
|
2736
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
2737
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
2738
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
2739
|
+
end
|
2644
2740
|
end
|
2645
2741
|
|
2646
2742
|
##
|
@@ -2717,8 +2813,11 @@ module Google
|
|
2717
2813
|
return result
|
2718
2814
|
end
|
2719
2815
|
rescue ::Faraday::Error => e
|
2720
|
-
|
2721
|
-
|
2816
|
+
begin
|
2817
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
2818
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
2819
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
2820
|
+
end
|
2722
2821
|
end
|
2723
2822
|
|
2724
2823
|
##
|
@@ -2795,8 +2894,11 @@ module Google
|
|
2795
2894
|
return result
|
2796
2895
|
end
|
2797
2896
|
rescue ::Faraday::Error => e
|
2798
|
-
|
2799
|
-
|
2897
|
+
begin
|
2898
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
2899
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
2900
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
2901
|
+
end
|
2800
2902
|
end
|
2801
2903
|
|
2802
2904
|
##
|
@@ -2869,8 +2971,11 @@ module Google
|
|
2869
2971
|
return result
|
2870
2972
|
end
|
2871
2973
|
rescue ::Faraday::Error => e
|
2872
|
-
|
2873
|
-
|
2974
|
+
begin
|
2975
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
2976
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
2977
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
2978
|
+
end
|
2874
2979
|
end
|
2875
2980
|
|
2876
2981
|
##
|
@@ -2945,8 +3050,11 @@ module Google
|
|
2945
3050
|
return result
|
2946
3051
|
end
|
2947
3052
|
rescue ::Faraday::Error => e
|
2948
|
-
|
2949
|
-
|
3053
|
+
begin
|
3054
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
3055
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
3056
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
3057
|
+
end
|
2950
3058
|
end
|
2951
3059
|
|
2952
3060
|
##
|
@@ -3023,8 +3131,11 @@ module Google
|
|
3023
3131
|
return result
|
3024
3132
|
end
|
3025
3133
|
rescue ::Faraday::Error => e
|
3026
|
-
|
3027
|
-
|
3134
|
+
begin
|
3135
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
3136
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
3137
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
3138
|
+
end
|
3028
3139
|
end
|
3029
3140
|
|
3030
3141
|
##
|
@@ -3099,8 +3210,11 @@ module Google
|
|
3099
3210
|
return result
|
3100
3211
|
end
|
3101
3212
|
rescue ::Faraday::Error => e
|
3102
|
-
|
3103
|
-
|
3213
|
+
begin
|
3214
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
3215
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
3216
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
3217
|
+
end
|
3104
3218
|
end
|
3105
3219
|
|
3106
3220
|
##
|
@@ -3175,8 +3289,11 @@ module Google
|
|
3175
3289
|
return result
|
3176
3290
|
end
|
3177
3291
|
rescue ::Faraday::Error => e
|
3178
|
-
|
3179
|
-
|
3292
|
+
begin
|
3293
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
3294
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
3295
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
3296
|
+
end
|
3180
3297
|
end
|
3181
3298
|
|
3182
3299
|
##
|
@@ -3242,8 +3359,11 @@ module Google
|
|
3242
3359
|
return result
|
3243
3360
|
end
|
3244
3361
|
rescue ::Faraday::Error => e
|
3245
|
-
|
3246
|
-
|
3362
|
+
begin
|
3363
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
3364
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
3365
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
3366
|
+
end
|
3247
3367
|
end
|
3248
3368
|
|
3249
3369
|
##
|
@@ -3326,8 +3446,11 @@ module Google
|
|
3326
3446
|
return result
|
3327
3447
|
end
|
3328
3448
|
rescue ::Faraday::Error => e
|
3329
|
-
|
3330
|
-
|
3449
|
+
begin
|
3450
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
3451
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
3452
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
3453
|
+
end
|
3331
3454
|
end
|
3332
3455
|
|
3333
3456
|
##
|
@@ -3406,8 +3529,11 @@ module Google
|
|
3406
3529
|
return result
|
3407
3530
|
end
|
3408
3531
|
rescue ::Faraday::Error => e
|
3409
|
-
|
3410
|
-
|
3532
|
+
begin
|
3533
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
3534
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
3535
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
3536
|
+
end
|
3411
3537
|
end
|
3412
3538
|
|
3413
3539
|
##
|
@@ -3484,8 +3610,11 @@ module Google
|
|
3484
3610
|
return result
|
3485
3611
|
end
|
3486
3612
|
rescue ::Faraday::Error => e
|
3487
|
-
|
3488
|
-
|
3613
|
+
begin
|
3614
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
3615
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
3616
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
3617
|
+
end
|
3489
3618
|
end
|
3490
3619
|
|
3491
3620
|
##
|
@@ -3564,8 +3693,11 @@ module Google
|
|
3564
3693
|
return result
|
3565
3694
|
end
|
3566
3695
|
rescue ::Faraday::Error => e
|
3567
|
-
|
3568
|
-
|
3696
|
+
begin
|
3697
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
3698
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
3699
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
3700
|
+
end
|
3569
3701
|
end
|
3570
3702
|
|
3571
3703
|
##
|
@@ -3642,8 +3774,11 @@ module Google
|
|
3642
3774
|
return result
|
3643
3775
|
end
|
3644
3776
|
rescue ::Faraday::Error => e
|
3645
|
-
|
3646
|
-
|
3777
|
+
begin
|
3778
|
+
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
3779
|
+
rescue ::Gapic::Rest::Error => gapic_error
|
3780
|
+
raise ::Google::Cloud::Error.from_error gapic_error
|
3781
|
+
end
|
3647
3782
|
end
|
3648
3783
|
|
3649
3784
|
##
|
@@ -35,7 +35,7 @@ module Google
|
|
35
35
|
# the REST modules only when it's required.
|
36
36
|
require "gapic/rest"
|
37
37
|
|
38
|
-
@client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint, credentials: credentials
|
38
|
+
@client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint, credentials: credentials, numeric_enums: false
|
39
39
|
end
|
40
40
|
|
41
41
|
##
|