google-cloud-compute-v1 1.7.0 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (179) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +15 -6
  3. data/lib/google/cloud/compute/v1/accelerator_types/rest/service_stub.rb +1 -1
  4. data/lib/google/cloud/compute/v1/addresses/rest/client.rb +30 -12
  5. data/lib/google/cloud/compute/v1/addresses/rest/service_stub.rb +1 -1
  6. data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +35 -14
  7. data/lib/google/cloud/compute/v1/autoscalers/rest/service_stub.rb +1 -1
  8. data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +45 -18
  9. data/lib/google/cloud/compute/v1/backend_buckets/rest/service_stub.rb +1 -1
  10. data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +70 -28
  11. data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +1 -1
  12. data/lib/google/cloud/compute/v1/compute_pb.rb +66 -0
  13. data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +15 -6
  14. data/lib/google/cloud/compute/v1/disk_types/rest/service_stub.rb +1 -1
  15. data/lib/google/cloud/compute/v1/disks/rest/client.rb +65 -26
  16. data/lib/google/cloud/compute/v1/disks/rest/service_stub.rb +1 -1
  17. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +30 -12
  18. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/service_stub.rb +1 -1
  19. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +90 -36
  20. data/lib/google/cloud/compute/v1/firewall_policies/rest/service_stub.rb +1 -1
  21. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +30 -12
  22. data/lib/google/cloud/compute/v1/firewalls/rest/service_stub.rb +1 -1
  23. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +40 -16
  24. data/lib/google/cloud/compute/v1/forwarding_rules/rest/service_stub.rb +1 -1
  25. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +25 -10
  26. data/lib/google/cloud/compute/v1/global_addresses/rest/service_stub.rb +1 -1
  27. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +35 -14
  28. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/service_stub.rb +1 -1
  29. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +35 -14
  30. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/service_stub.rb +1 -1
  31. data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +25 -10
  32. data/lib/google/cloud/compute/v1/global_operations/rest/service_stub.rb +1 -1
  33. data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +15 -6
  34. data/lib/google/cloud/compute/v1/global_organization_operations/rest/service_stub.rb +1 -1
  35. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +25 -10
  36. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/service_stub.rb +1 -1
  37. data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +35 -14
  38. data/lib/google/cloud/compute/v1/health_checks/rest/service_stub.rb +1 -1
  39. data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +5 -2
  40. data/lib/google/cloud/compute/v1/image_family_views/rest/service_stub.rb +1 -1
  41. data/lib/google/cloud/compute/v1/images/rest/client.rb +55 -22
  42. data/lib/google/cloud/compute/v1/images/rest/service_stub.rb +1 -1
  43. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +100 -40
  44. data/lib/google/cloud/compute/v1/instance_group_managers/rest/service_stub.rb +1 -1
  45. data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +45 -18
  46. data/lib/google/cloud/compute/v1/instance_groups/rest/service_stub.rb +1 -1
  47. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +35 -14
  48. data/lib/google/cloud/compute/v1/instance_templates/rest/service_stub.rb +1 -1
  49. data/lib/google/cloud/compute/v1/instances/rest/client.rb +225 -90
  50. data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +1 -1
  51. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +35 -14
  52. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/service_stub.rb +1 -1
  53. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +10 -4
  54. data/lib/google/cloud/compute/v1/interconnect_locations/rest/service_stub.rb +1 -1
  55. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +35 -14
  56. data/lib/google/cloud/compute/v1/interconnects/rest/service_stub.rb +1 -1
  57. data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +10 -4
  58. data/lib/google/cloud/compute/v1/license_codes/rest/service_stub.rb +1 -1
  59. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +35 -14
  60. data/lib/google/cloud/compute/v1/licenses/rest/service_stub.rb +1 -1
  61. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +35 -14
  62. data/lib/google/cloud/compute/v1/machine_images/rest/service_stub.rb +1 -1
  63. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +15 -6
  64. data/lib/google/cloud/compute/v1/machine_types/rest/service_stub.rb +1 -1
  65. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +25 -10
  66. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/service_stub.rb +1 -1
  67. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +45 -18
  68. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/service_stub.rb +1 -1
  69. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +80 -32
  70. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/service_stub.rb +1 -1
  71. data/lib/google/cloud/compute/v1/networks/rest/client.rb +55 -22
  72. data/lib/google/cloud/compute/v1/networks/rest/service_stub.rb +1 -1
  73. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +65 -26
  74. data/lib/google/cloud/compute/v1/node_groups/rest/service_stub.rb +1 -1
  75. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +40 -16
  76. data/lib/google/cloud/compute/v1/node_templates/rest/service_stub.rb +1 -1
  77. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +15 -6
  78. data/lib/google/cloud/compute/v1/node_types/rest/service_stub.rb +1 -1
  79. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +35 -14
  80. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/service_stub.rb +1 -1
  81. data/lib/google/cloud/compute/v1/projects/rest/client.rb +65 -26
  82. data/lib/google/cloud/compute/v1/projects/rest/service_stub.rb +1 -1
  83. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +25 -10
  84. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/service_stub.rb +1 -1
  85. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +30 -12
  86. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/service_stub.rb +1 -1
  87. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +30 -12
  88. data/lib/google/cloud/compute/v1/region_autoscalers/rest/service_stub.rb +1 -1
  89. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +45 -18
  90. data/lib/google/cloud/compute/v1/region_backend_services/rest/service_stub.rb +1 -1
  91. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +25 -10
  92. data/lib/google/cloud/compute/v1/region_commitments/rest/service_stub.rb +1 -1
  93. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +10 -4
  94. data/lib/google/cloud/compute/v1/region_disk_types/rest/service_stub.rb +1 -1
  95. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +60 -24
  96. data/lib/google/cloud/compute/v1/region_disks/rest/service_stub.rb +1 -1
  97. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +25 -10
  98. data/lib/google/cloud/compute/v1/region_health_check_services/rest/service_stub.rb +1 -1
  99. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +30 -12
  100. data/lib/google/cloud/compute/v1/region_health_checks/rest/service_stub.rb +1 -1
  101. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +95 -38
  102. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/service_stub.rb +1 -1
  103. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +20 -8
  104. data/lib/google/cloud/compute/v1/region_instance_groups/rest/service_stub.rb +1 -1
  105. data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +5 -2
  106. data/lib/google/cloud/compute/v1/region_instances/rest/service_stub.rb +1 -1
  107. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +20 -8
  108. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/service_stub.rb +1 -1
  109. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +85 -34
  110. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/service_stub.rb +1 -1
  111. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +20 -8
  112. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/service_stub.rb +1 -1
  113. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +20 -8
  114. data/lib/google/cloud/compute/v1/region_operations/rest/service_stub.rb +1 -1
  115. data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +26 -11
  116. data/lib/google/cloud/compute/v1/region_security_policies/rest/service_stub.rb +1 -1
  117. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +20 -8
  118. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/service_stub.rb +1 -1
  119. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +30 -12
  120. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/service_stub.rb +1 -1
  121. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +25 -10
  122. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/service_stub.rb +1 -1
  123. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +35 -14
  124. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/service_stub.rb +1 -1
  125. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +20 -8
  126. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/service_stub.rb +1 -1
  127. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +35 -14
  128. data/lib/google/cloud/compute/v1/region_url_maps/rest/service_stub.rb +1 -1
  129. data/lib/google/cloud/compute/v1/regions/rest/client.rb +10 -4
  130. data/lib/google/cloud/compute/v1/regions/rest/service_stub.rb +1 -1
  131. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +50 -20
  132. data/lib/google/cloud/compute/v1/reservations/rest/service_stub.rb +1 -1
  133. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +40 -16
  134. data/lib/google/cloud/compute/v1/resource_policies/rest/service_stub.rb +1 -1
  135. data/lib/google/cloud/compute/v1/routers/rest/client.rb +50 -20
  136. data/lib/google/cloud/compute/v1/routers/rest/service_stub.rb +1 -1
  137. data/lib/google/cloud/compute/v1/routes/rest/client.rb +20 -8
  138. data/lib/google/cloud/compute/v1/routes/rest/service_stub.rb +1 -1
  139. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +61 -25
  140. data/lib/google/cloud/compute/v1/security_policies/rest/service_stub.rb +1 -1
  141. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +45 -18
  142. data/lib/google/cloud/compute/v1/service_attachments/rest/service_stub.rb +1 -1
  143. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +40 -16
  144. data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +1 -1
  145. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +25 -10
  146. data/lib/google/cloud/compute/v1/ssl_certificates/rest/service_stub.rb +1 -1
  147. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +35 -14
  148. data/lib/google/cloud/compute/v1/ssl_policies/rest/service_stub.rb +1 -1
  149. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +60 -24
  150. data/lib/google/cloud/compute/v1/subnetworks/rest/service_stub.rb +1 -1
  151. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +25 -10
  152. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/service_stub.rb +1 -1
  153. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +35 -14
  154. data/lib/google/cloud/compute/v1/target_http_proxies/rest/service_stub.rb +1 -1
  155. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +55 -22
  156. data/lib/google/cloud/compute/v1/target_https_proxies/rest/service_stub.rb +1 -1
  157. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +25 -10
  158. data/lib/google/cloud/compute/v1/target_instances/rest/service_stub.rb +1 -1
  159. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +55 -22
  160. data/lib/google/cloud/compute/v1/target_pools/rest/service_stub.rb +1 -1
  161. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +45 -18
  162. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +1 -1
  163. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +30 -12
  164. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/service_stub.rb +1 -1
  165. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +30 -12
  166. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/service_stub.rb +1 -1
  167. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +45 -18
  168. data/lib/google/cloud/compute/v1/url_maps/rest/service_stub.rb +1 -1
  169. data/lib/google/cloud/compute/v1/version.rb +1 -1
  170. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +40 -16
  171. data/lib/google/cloud/compute/v1/vpn_gateways/rest/service_stub.rb +1 -1
  172. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +30 -12
  173. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/service_stub.rb +1 -1
  174. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +20 -8
  175. data/lib/google/cloud/compute/v1/zone_operations/rest/service_stub.rb +1 -1
  176. data/lib/google/cloud/compute/v1/zones/rest/client.rb +10 -4
  177. data/lib/google/cloud/compute/v1/zones/rest/service_stub.rb +1 -1
  178. data/proto_docs/google/cloud/compute/v1/compute.rb +227 -60
  179. metadata +4 -4
@@ -219,6 +219,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
219
219
  proto3_optional :description, :string, 422937596
220
220
  proto3_optional :id, :uint64, 3355
221
221
  proto3_optional :ip_version, :string, 294959552
222
+ proto3_optional :ipv6_endpoint_type, :string, 97501004
222
223
  proto3_optional :kind, :string, 3292052
223
224
  proto3_optional :name, :string, 3373707
224
225
  proto3_optional :network, :string, 232872494
@@ -243,6 +244,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
243
244
  value :IPV6, 2254343
244
245
  value :UNSPECIFIED_VERSION, 21850000
245
246
  end
247
+ add_enum "google.cloud.compute.v1.Address.Ipv6EndpointType" do
248
+ value :UNDEFINED_IPV6_ENDPOINT_TYPE, 0
249
+ value :NETLB, 74173363
250
+ value :VM, 2743
251
+ end
246
252
  add_enum "google.cloud.compute.v1.Address.NetworkTier" do
247
253
  value :UNDEFINED_NETWORK_TIER, 0
248
254
  value :FIXED_STANDARD, 310464328
@@ -2224,6 +2230,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
2224
2230
  proto3_optional :error_info, :message, 25251973, "google.cloud.compute.v1.ErrorInfo"
2225
2231
  proto3_optional :help, :message, 3198785, "google.cloud.compute.v1.Help"
2226
2232
  proto3_optional :localized_message, :message, 404537155, "google.cloud.compute.v1.LocalizedMessage"
2233
+ proto3_optional :quota_info, :message, 93923861, "google.cloud.compute.v1.QuotaExceededInfo"
2227
2234
  end
2228
2235
  add_message "google.cloud.compute.v1.ErrorInfo" do
2229
2236
  proto3_optional :domain, :string, 284415172
@@ -4011,6 +4018,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
4011
4018
  proto3_optional :private_ipv6_google_access, :string, 48277006
4012
4019
  proto3_optional :reservation_affinity, :message, 157850683, "google.cloud.compute.v1.ReservationAffinity"
4013
4020
  repeated :resource_policies, :string, 22220385
4021
+ proto3_optional :resource_status, :message, 249429315, "google.cloud.compute.v1.ResourceStatus"
4014
4022
  proto3_optional :satisfies_pzs, :bool, 480964267
4015
4023
  proto3_optional :scheduling, :message, 386688404, "google.cloud.compute.v1.Scheduling"
4016
4024
  proto3_optional :self_link, :string, 456214797
@@ -4113,6 +4121,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
4113
4121
  proto3_optional :instance_group, :string, 81095253
4114
4122
  proto3_optional :instance_template, :string, 309248228
4115
4123
  proto3_optional :kind, :string, 3292052
4124
+ proto3_optional :list_managed_instances_results, :string, 296047156
4116
4125
  proto3_optional :name, :string, 3373707
4117
4126
  repeated :named_ports, :message, 427598732, "google.cloud.compute.v1.NamedPort"
4118
4127
  proto3_optional :region, :string, 138946292
@@ -4125,6 +4134,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
4125
4134
  repeated :versions, :message, 162430619, "google.cloud.compute.v1.InstanceGroupManagerVersion"
4126
4135
  proto3_optional :zone, :string, 3744684
4127
4136
  end
4137
+ add_enum "google.cloud.compute.v1.InstanceGroupManager.ListManagedInstancesResults" do
4138
+ value :UNDEFINED_LIST_MANAGED_INSTANCES_RESULTS, 0
4139
+ value :PAGELESS, 32183464
4140
+ value :PAGINATED, 40190637
4141
+ end
4128
4142
  add_message "google.cloud.compute.v1.InstanceGroupManagerActionsSummary" do
4129
4143
  proto3_optional :abandoning, :int32, 440023373
4130
4144
  proto3_optional :creating, :int32, 209809081
@@ -6035,6 +6049,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
6035
6049
  proto3_optional :name, :string, 3373707
6036
6050
  proto3_optional :network, :string, 232872494
6037
6051
  proto3_optional :network_endpoint_type, :string, 118301523
6052
+ proto3_optional :psc_data, :message, 71937481, "google.cloud.compute.v1.NetworkEndpointGroupPscData"
6038
6053
  proto3_optional :psc_target_service, :string, 269132134
6039
6054
  proto3_optional :region, :string, 138946292
6040
6055
  proto3_optional :self_link, :string, 456214797
@@ -6083,6 +6098,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
6083
6098
  proto3_optional :self_link, :string, 456214797
6084
6099
  proto3_optional :warning, :message, 50704284, "google.cloud.compute.v1.Warning"
6085
6100
  end
6101
+ add_message "google.cloud.compute.v1.NetworkEndpointGroupPscData" do
6102
+ proto3_optional :consumer_psc_address, :string, 452646572
6103
+ proto3_optional :psc_connection_id, :uint64, 292082397
6104
+ proto3_optional :psc_connection_status, :string, 184149172
6105
+ end
6106
+ add_enum "google.cloud.compute.v1.NetworkEndpointGroupPscData.PscConnectionStatus" do
6107
+ value :UNDEFINED_PSC_CONNECTION_STATUS, 0
6108
+ value :ACCEPTED, 246714279
6109
+ value :CLOSED, 380163436
6110
+ value :NEEDS_ATTENTION, 344491452
6111
+ value :PENDING, 35394935
6112
+ value :REJECTED, 174130302
6113
+ value :STATUS_UNSPECIFIED, 42133066
6114
+ end
6086
6115
  add_message "google.cloud.compute.v1.NetworkEndpointGroupsAttachEndpointsRequest" do
6087
6116
  repeated :network_endpoints, :message, 149850285, "google.cloud.compute.v1.NetworkEndpoint"
6088
6117
  end
@@ -7256,6 +7285,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
7256
7285
  value :SSL_CERTIFICATES, 378372399
7257
7286
  value :STATIC_ADDRESSES, 93624049
7258
7287
  value :STATIC_BYOIP_ADDRESSES, 275809649
7288
+ value :STATIC_EXTERNAL_IPV6_ADDRESS_RANGES, 472346774
7259
7289
  value :SUBNETWORKS, 421330469
7260
7290
  value :T2A_CPUS, 522170599
7261
7291
  value :T2D_CPUS, 71187140
@@ -7271,6 +7301,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
7271
7301
  value :VPN_TUNNELS, 104327296
7272
7302
  value :XPN_SERVICE_PROJECTS, 95191981
7273
7303
  end
7304
+ add_message "google.cloud.compute.v1.QuotaExceededInfo" do
7305
+ map :dimensions, :string, :string, 414334925
7306
+ proto3_optional :limit, :double, 102976443
7307
+ proto3_optional :limit_name, :string, 398197903
7308
+ proto3_optional :metric_name, :string, 409881530
7309
+ end
7274
7310
  add_message "google.cloud.compute.v1.RawDisk" do
7275
7311
  proto3_optional :container_type, :string, 318809144
7276
7312
  proto3_optional :sha1_checksum, :string, 314444349
@@ -7809,6 +7845,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
7809
7845
  value :TUESDAY, 277509677
7810
7846
  value :WEDNESDAY, 422029110
7811
7847
  end
7848
+ add_message "google.cloud.compute.v1.ResourceStatus" do
7849
+ proto3_optional :physical_host, :string, 464370704
7850
+ end
7812
7851
  add_message "google.cloud.compute.v1.ResumeInstanceRequest" do
7813
7852
  optional :instance, :string, 18257045
7814
7853
  optional :project, :string, 227560217
@@ -7880,6 +7919,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
7880
7919
  proto3_optional :id, :uint64, 3355
7881
7920
  repeated :interfaces, :message, 12073562, "google.cloud.compute.v1.RouterInterface"
7882
7921
  proto3_optional :kind, :string, 3292052
7922
+ repeated :md5_authentication_keys, :message, 71063322, "google.cloud.compute.v1.RouterMd5AuthenticationKey"
7883
7923
  proto3_optional :name, :string, 3373707
7884
7924
  repeated :nats, :message, 3373938, "google.cloud.compute.v1.RouterNat"
7885
7925
  proto3_optional :network, :string, 232872494
@@ -7927,6 +7967,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
7927
7967
  proto3_optional :ip_address, :string, 406272220
7928
7968
  proto3_optional :ipv6_nexthop_address, :string, 27968211
7929
7969
  proto3_optional :management_type, :string, 173703606
7970
+ proto3_optional :md5_authentication_key_name, :string, 281075345
7930
7971
  proto3_optional :name, :string, 3373707
7931
7972
  proto3_optional :peer_asn, :uint32, 69573151
7932
7973
  proto3_optional :peer_ip_address, :string, 207735769
@@ -7987,6 +8028,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
7987
8028
  proto3_optional :self_link, :string, 456214797
7988
8029
  proto3_optional :warning, :message, 50704284, "google.cloud.compute.v1.Warning"
7989
8030
  end
8031
+ add_message "google.cloud.compute.v1.RouterMd5AuthenticationKey" do
8032
+ proto3_optional :key, :string, 106079
8033
+ proto3_optional :name, :string, 3373707
8034
+ end
7990
8035
  add_message "google.cloud.compute.v1.RouterNat" do
7991
8036
  repeated :drain_nat_ips, :string, 504078535
7992
8037
  proto3_optional :enable_dynamic_port_allocation, :bool, 532106402
@@ -8064,14 +8109,19 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
8064
8109
  add_message "google.cloud.compute.v1.RouterStatusBgpPeerStatus" do
8065
8110
  repeated :advertised_routes, :message, 333393068, "google.cloud.compute.v1.Route"
8066
8111
  proto3_optional :bfd_status, :message, 395631729, "google.cloud.compute.v1.BfdStatus"
8112
+ proto3_optional :enable_ipv6, :bool, 181467939
8067
8113
  proto3_optional :ip_address, :string, 406272220
8114
+ proto3_optional :ipv6_nexthop_address, :string, 27968211
8068
8115
  proto3_optional :linked_vpn_tunnel, :string, 352296953
8116
+ proto3_optional :md5_auth_enabled, :bool, 451152075
8069
8117
  proto3_optional :name, :string, 3373707
8070
8118
  proto3_optional :num_learned_routes, :uint32, 135457535
8071
8119
  proto3_optional :peer_ip_address, :string, 207735769
8120
+ proto3_optional :peer_ipv6_nexthop_address, :string, 491486608
8072
8121
  proto3_optional :router_appliance_instance, :string, 468312989
8073
8122
  proto3_optional :state, :string, 109757585
8074
8123
  proto3_optional :status, :string, 181260274
8124
+ proto3_optional :status_reason, :string, 342706993
8075
8125
  proto3_optional :uptime, :string, 235379688
8076
8126
  proto3_optional :uptime_seconds, :string, 104736040
8077
8127
  end
@@ -8081,6 +8131,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
8081
8131
  value :UNKNOWN, 433141802
8082
8132
  value :UP, 2715
8083
8133
  end
8134
+ add_enum "google.cloud.compute.v1.RouterStatusBgpPeerStatus.StatusReason" do
8135
+ value :UNDEFINED_STATUS_REASON, 0
8136
+ value :MD5_AUTH_INTERNAL_PROBLEM, 140462259
8137
+ value :STATUS_REASON_UNSPECIFIED, 394331913
8138
+ end
8084
8139
  add_message "google.cloud.compute.v1.RouterStatusNatStatus" do
8085
8140
  repeated :auto_allocated_nat_ips, :string, 510794246
8086
8141
  repeated :drain_auto_allocated_nat_ips, :string, 309184557
@@ -8397,7 +8452,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
8397
8452
  value :ALL, 64897
8398
8453
  value :HTTP_COOKIE, 494981627
8399
8454
  value :HTTP_HEADER, 91597348
8455
+ value :HTTP_PATH, 311503228
8400
8456
  value :IP, 2343
8457
+ value :REGION_CODE, 79559768
8458
+ value :SNI, 82254
8401
8459
  value :XFF_IP, 438707118
8402
8460
  end
8403
8461
  add_message "google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold" do
@@ -10555,6 +10613,7 @@ module Google
10555
10613
  Address = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.Address").msgclass
10556
10614
  Address::AddressType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.Address.AddressType").enummodule
10557
10615
  Address::IpVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.Address.IpVersion").enummodule
10616
+ Address::Ipv6EndpointType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.Address.Ipv6EndpointType").enummodule
10558
10617
  Address::NetworkTier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.Address.NetworkTier").enummodule
10559
10618
  Address::Purpose = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.Address.Purpose").enummodule
10560
10619
  Address::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.Address.Status").enummodule
@@ -11148,6 +11207,7 @@ module Google
11148
11207
  InstanceGroupAggregatedList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.InstanceGroupAggregatedList").msgclass
11149
11208
  InstanceGroupList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.InstanceGroupList").msgclass
11150
11209
  InstanceGroupManager = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.InstanceGroupManager").msgclass
11210
+ InstanceGroupManager::ListManagedInstancesResults = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.InstanceGroupManager.ListManagedInstancesResults").enummodule
11151
11211
  InstanceGroupManagerActionsSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.InstanceGroupManagerActionsSummary").msgclass
11152
11212
  InstanceGroupManagerAggregatedList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.InstanceGroupManagerAggregatedList").msgclass
11153
11213
  InstanceGroupManagerAutoHealingPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy").msgclass
@@ -11413,6 +11473,8 @@ module Google
11413
11473
  NetworkEndpointGroupCloudFunction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.NetworkEndpointGroupCloudFunction").msgclass
11414
11474
  NetworkEndpointGroupCloudRun = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.NetworkEndpointGroupCloudRun").msgclass
11415
11475
  NetworkEndpointGroupList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.NetworkEndpointGroupList").msgclass
11476
+ NetworkEndpointGroupPscData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.NetworkEndpointGroupPscData").msgclass
11477
+ NetworkEndpointGroupPscData::PscConnectionStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.NetworkEndpointGroupPscData.PscConnectionStatus").enummodule
11416
11478
  NetworkEndpointGroupsAttachEndpointsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.NetworkEndpointGroupsAttachEndpointsRequest").msgclass
11417
11479
  NetworkEndpointGroupsDetachEndpointsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.NetworkEndpointGroupsDetachEndpointsRequest").msgclass
11418
11480
  NetworkEndpointGroupsListEndpointsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.NetworkEndpointGroupsListEndpointsRequest").msgclass
@@ -11567,6 +11629,7 @@ module Google
11567
11629
  PublicDelegatedPrefixesScopedList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.PublicDelegatedPrefixesScopedList").msgclass
11568
11630
  Quota = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.Quota").msgclass
11569
11631
  Quota::Metric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.Quota.Metric").enummodule
11632
+ QuotaExceededInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.QuotaExceededInfo").msgclass
11570
11633
  RawDisk = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RawDisk").msgclass
11571
11634
  RawDisk::ContainerType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RawDisk.ContainerType").enummodule
11572
11635
  RecreateInstancesInstanceGroupManagerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RecreateInstancesInstanceGroupManagerRequest").msgclass
@@ -11661,6 +11724,7 @@ module Google
11661
11724
  ResourcePolicyWeeklyCycle = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.ResourcePolicyWeeklyCycle").msgclass
11662
11725
  ResourcePolicyWeeklyCycleDayOfWeek = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek").msgclass
11663
11726
  ResourcePolicyWeeklyCycleDayOfWeek::Day = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek.Day").enummodule
11727
+ ResourceStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.ResourceStatus").msgclass
11664
11728
  ResumeInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.ResumeInstanceRequest").msgclass
11665
11729
  Route = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.Route").msgclass
11666
11730
  Route::RouteStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.Route.RouteStatus").enummodule
@@ -11684,6 +11748,7 @@ module Google
11684
11748
  RouterInterface = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RouterInterface").msgclass
11685
11749
  RouterInterface::ManagementType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RouterInterface.ManagementType").enummodule
11686
11750
  RouterList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RouterList").msgclass
11751
+ RouterMd5AuthenticationKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RouterMd5AuthenticationKey").msgclass
11687
11752
  RouterNat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RouterNat").msgclass
11688
11753
  RouterNat::EndpointTypes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RouterNat.EndpointTypes").enummodule
11689
11754
  RouterNat::NatIpAllocateOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RouterNat.NatIpAllocateOption").enummodule
@@ -11697,6 +11762,7 @@ module Google
11697
11762
  RouterStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RouterStatus").msgclass
11698
11763
  RouterStatusBgpPeerStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RouterStatusBgpPeerStatus").msgclass
11699
11764
  RouterStatusBgpPeerStatus::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RouterStatusBgpPeerStatus.Status").enummodule
11765
+ RouterStatusBgpPeerStatus::StatusReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RouterStatusBgpPeerStatus.StatusReason").enummodule
11700
11766
  RouterStatusNatStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RouterStatusNatStatus").msgclass
11701
11767
  RouterStatusNatStatusNatRuleStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus").msgclass
11702
11768
  RouterStatusResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RouterStatusResponse").msgclass
@@ -210,8 +210,11 @@ module Google
210
210
  return result
211
211
  end
212
212
  rescue ::Faraday::Error => e
213
- gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
214
- raise ::Google::Cloud::Error.from_error(gapic_error)
213
+ begin
214
+ raise ::Gapic::Rest::Error.wrap_faraday_error e
215
+ rescue ::Gapic::Rest::Error => gapic_error
216
+ raise ::Google::Cloud::Error.from_error gapic_error
217
+ end
215
218
  end
216
219
 
217
220
  ##
@@ -275,8 +278,11 @@ module Google
275
278
  return result
276
279
  end
277
280
  rescue ::Faraday::Error => e
278
- gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
279
- raise ::Google::Cloud::Error.from_error(gapic_error)
281
+ begin
282
+ raise ::Gapic::Rest::Error.wrap_faraday_error e
283
+ rescue ::Gapic::Rest::Error => gapic_error
284
+ raise ::Google::Cloud::Error.from_error gapic_error
285
+ end
280
286
  end
281
287
 
282
288
  ##
@@ -349,8 +355,11 @@ module Google
349
355
  return result
350
356
  end
351
357
  rescue ::Faraday::Error => e
352
- gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
353
- raise ::Google::Cloud::Error.from_error(gapic_error)
358
+ begin
359
+ raise ::Gapic::Rest::Error.wrap_faraday_error e
360
+ rescue ::Gapic::Rest::Error => gapic_error
361
+ raise ::Google::Cloud::Error.from_error gapic_error
362
+ end
354
363
  end
355
364
 
356
365
  ##
@@ -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
  ##
@@ -250,8 +250,11 @@ module Google
250
250
  return result
251
251
  end
252
252
  rescue ::Faraday::Error => e
253
- gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
254
- raise ::Google::Cloud::Error.from_error(gapic_error)
253
+ begin
254
+ raise ::Gapic::Rest::Error.wrap_faraday_error e
255
+ rescue ::Gapic::Rest::Error => gapic_error
256
+ raise ::Google::Cloud::Error.from_error gapic_error
257
+ end
255
258
  end
256
259
 
257
260
  ##
@@ -324,8 +327,11 @@ module Google
324
327
  return result
325
328
  end
326
329
  rescue ::Faraday::Error => e
327
- gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
328
- raise ::Google::Cloud::Error.from_error(gapic_error)
330
+ begin
331
+ raise ::Gapic::Rest::Error.wrap_faraday_error e
332
+ rescue ::Gapic::Rest::Error => gapic_error
333
+ raise ::Google::Cloud::Error.from_error gapic_error
334
+ end
329
335
  end
330
336
 
331
337
  ##
@@ -404,8 +410,11 @@ module Google
404
410
  return result
405
411
  end
406
412
  rescue ::Faraday::Error => e
407
- gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
408
- raise ::Google::Cloud::Error.from_error(gapic_error)
413
+ begin
414
+ raise ::Gapic::Rest::Error.wrap_faraday_error e
415
+ rescue ::Gapic::Rest::Error => gapic_error
416
+ raise ::Google::Cloud::Error.from_error gapic_error
417
+ end
409
418
  end
410
419
 
411
420
  ##
@@ -480,8 +489,11 @@ module Google
480
489
  return result
481
490
  end
482
491
  rescue ::Faraday::Error => e
483
- gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
484
- raise ::Google::Cloud::Error.from_error(gapic_error)
492
+ begin
493
+ raise ::Gapic::Rest::Error.wrap_faraday_error e
494
+ rescue ::Gapic::Rest::Error => gapic_error
495
+ raise ::Google::Cloud::Error.from_error gapic_error
496
+ end
485
497
  end
486
498
 
487
499
  ##
@@ -545,8 +557,11 @@ module Google
545
557
  return result
546
558
  end
547
559
  rescue ::Faraday::Error => e
548
- gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
549
- raise ::Google::Cloud::Error.from_error(gapic_error)
560
+ begin
561
+ raise ::Gapic::Rest::Error.wrap_faraday_error e
562
+ rescue ::Gapic::Rest::Error => gapic_error
563
+ raise ::Google::Cloud::Error.from_error gapic_error
564
+ end
550
565
  end
551
566
 
552
567
  ##
@@ -612,8 +627,11 @@ module Google
612
627
  return result
613
628
  end
614
629
  rescue ::Faraday::Error => e
615
- gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
616
- raise ::Google::Cloud::Error.from_error(gapic_error)
630
+ begin
631
+ raise ::Gapic::Rest::Error.wrap_faraday_error e
632
+ rescue ::Gapic::Rest::Error => gapic_error
633
+ raise ::Google::Cloud::Error.from_error gapic_error
634
+ end
617
635
  end
618
636
 
619
637
  ##
@@ -690,8 +708,11 @@ module Google
690
708
  return result
691
709
  end
692
710
  rescue ::Faraday::Error => e
693
- gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
694
- raise ::Google::Cloud::Error.from_error(gapic_error)
711
+ begin
712
+ raise ::Gapic::Rest::Error.wrap_faraday_error e
713
+ rescue ::Gapic::Rest::Error => gapic_error
714
+ raise ::Google::Cloud::Error.from_error gapic_error
715
+ end
695
716
  end
696
717
 
697
718
  ##
@@ -764,8 +785,11 @@ module Google
764
785
  return result
765
786
  end
766
787
  rescue ::Faraday::Error => e
767
- gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
768
- raise ::Google::Cloud::Error.from_error(gapic_error)
788
+ begin
789
+ raise ::Gapic::Rest::Error.wrap_faraday_error e
790
+ rescue ::Gapic::Rest::Error => gapic_error
791
+ raise ::Google::Cloud::Error.from_error gapic_error
792
+ end
769
793
  end
770
794
 
771
795
  ##
@@ -842,8 +866,11 @@ module Google
842
866
  return result
843
867
  end
844
868
  rescue ::Faraday::Error => e
845
- gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
846
- raise ::Google::Cloud::Error.from_error(gapic_error)
869
+ begin
870
+ raise ::Gapic::Rest::Error.wrap_faraday_error e
871
+ rescue ::Gapic::Rest::Error => gapic_error
872
+ raise ::Google::Cloud::Error.from_error gapic_error
873
+ end
847
874
  end
848
875
 
849
876
  ##
@@ -920,8 +947,11 @@ module Google
920
947
  return result
921
948
  end
922
949
  rescue ::Faraday::Error => e
923
- gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
924
- raise ::Google::Cloud::Error.from_error(gapic_error)
950
+ begin
951
+ raise ::Gapic::Rest::Error.wrap_faraday_error e
952
+ rescue ::Gapic::Rest::Error => gapic_error
953
+ raise ::Google::Cloud::Error.from_error gapic_error
954
+ end
925
955
  end
926
956
 
927
957
  ##
@@ -987,8 +1017,11 @@ module Google
987
1017
  return result
988
1018
  end
989
1019
  rescue ::Faraday::Error => e
990
- gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
991
- raise ::Google::Cloud::Error.from_error(gapic_error)
1020
+ begin
1021
+ raise ::Gapic::Rest::Error.wrap_faraday_error e
1022
+ rescue ::Gapic::Rest::Error => gapic_error
1023
+ raise ::Google::Cloud::Error.from_error gapic_error
1024
+ end
992
1025
  end
993
1026
 
994
1027
  ##
@@ -1065,8 +1098,11 @@ module Google
1065
1098
  return result
1066
1099
  end
1067
1100
  rescue ::Faraday::Error => e
1068
- gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
1069
- raise ::Google::Cloud::Error.from_error(gapic_error)
1101
+ begin
1102
+ raise ::Gapic::Rest::Error.wrap_faraday_error e
1103
+ rescue ::Gapic::Rest::Error => gapic_error
1104
+ raise ::Google::Cloud::Error.from_error gapic_error
1105
+ end
1070
1106
  end
1071
1107
 
1072
1108
  ##
@@ -1132,8 +1168,11 @@ module Google
1132
1168
  return result
1133
1169
  end
1134
1170
  rescue ::Faraday::Error => e
1135
- gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
1136
- raise ::Google::Cloud::Error.from_error(gapic_error)
1171
+ begin
1172
+ raise ::Gapic::Rest::Error.wrap_faraday_error e
1173
+ rescue ::Gapic::Rest::Error => gapic_error
1174
+ raise ::Google::Cloud::Error.from_error gapic_error
1175
+ end
1137
1176
  end
1138
1177
 
1139
1178
  ##
@@ -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
  ##
@@ -225,8 +225,11 @@ module Google
225
225
  return result
226
226
  end
227
227
  rescue ::Faraday::Error => e
228
- gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
229
- raise ::Google::Cloud::Error.from_error(gapic_error)
228
+ begin
229
+ raise ::Gapic::Rest::Error.wrap_faraday_error e
230
+ rescue ::Gapic::Rest::Error => gapic_error
231
+ raise ::Google::Cloud::Error.from_error gapic_error
232
+ end
230
233
  end
231
234
 
232
235
  ##
@@ -288,8 +291,11 @@ module Google
288
291
  return result
289
292
  end
290
293
  rescue ::Faraday::Error => e
291
- gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
292
- raise ::Google::Cloud::Error.from_error(gapic_error)
294
+ begin
295
+ raise ::Gapic::Rest::Error.wrap_faraday_error e
296
+ rescue ::Gapic::Rest::Error => gapic_error
297
+ raise ::Google::Cloud::Error.from_error gapic_error
298
+ end
293
299
  end
294
300
 
295
301
  ##
@@ -361,8 +367,11 @@ module Google
361
367
  return result
362
368
  end
363
369
  rescue ::Faraday::Error => e
364
- gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
365
- raise ::Google::Cloud::Error.from_error(gapic_error)
370
+ begin
371
+ raise ::Gapic::Rest::Error.wrap_faraday_error e
372
+ rescue ::Gapic::Rest::Error => gapic_error
373
+ raise ::Google::Cloud::Error.from_error gapic_error
374
+ end
366
375
  end
367
376
 
368
377
  ##
@@ -433,8 +442,11 @@ module Google
433
442
  return result
434
443
  end
435
444
  rescue ::Faraday::Error => e
436
- gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
437
- raise ::Google::Cloud::Error.from_error(gapic_error)
445
+ begin
446
+ raise ::Gapic::Rest::Error.wrap_faraday_error e
447
+ rescue ::Gapic::Rest::Error => gapic_error
448
+ raise ::Google::Cloud::Error.from_error gapic_error
449
+ end
438
450
  end
439
451
 
440
452
  ##
@@ -506,8 +518,11 @@ module Google
506
518
  return result
507
519
  end
508
520
  rescue ::Faraday::Error => e
509
- gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
510
- raise ::Google::Cloud::Error.from_error(gapic_error)
521
+ begin
522
+ raise ::Gapic::Rest::Error.wrap_faraday_error e
523
+ rescue ::Gapic::Rest::Error => gapic_error
524
+ raise ::Google::Cloud::Error.from_error gapic_error
525
+ end
511
526
  end
512
527
 
513
528
  ##
@@ -571,8 +586,11 @@ module Google
571
586
  return result
572
587
  end
573
588
  rescue ::Faraday::Error => e
574
- gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
575
- raise ::Google::Cloud::Error.from_error(gapic_error)
589
+ begin
590
+ raise ::Gapic::Rest::Error.wrap_faraday_error e
591
+ rescue ::Gapic::Rest::Error => gapic_error
592
+ raise ::Google::Cloud::Error.from_error gapic_error
593
+ end
576
594
  end
577
595
 
578
596
  ##
@@ -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
  ##