google-cloud-compute-v1 1.7.1 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (363) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +76 -50
  3. data/lib/google/cloud/compute/v1/accelerator_types/rest/service_stub.rb +9 -10
  4. data/lib/google/cloud/compute/v1/accelerator_types/rest.rb +20 -0
  5. data/lib/google/cloud/compute/v1/accelerator_types.rb +2 -2
  6. data/lib/google/cloud/compute/v1/addresses/rest/client.rb +104 -83
  7. data/lib/google/cloud/compute/v1/addresses/rest/service_stub.rb +15 -16
  8. data/lib/google/cloud/compute/v1/addresses/rest.rb +18 -0
  9. data/lib/google/cloud/compute/v1/addresses.rb +2 -2
  10. data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +113 -94
  11. data/lib/google/cloud/compute/v1/autoscalers/rest/service_stub.rb +17 -18
  12. data/lib/google/cloud/compute/v1/autoscalers/rest.rb +18 -0
  13. data/lib/google/cloud/compute/v1/autoscalers.rb +2 -2
  14. data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +131 -116
  15. data/lib/google/cloud/compute/v1/backend_buckets/rest/service_stub.rb +21 -22
  16. data/lib/google/cloud/compute/v1/backend_buckets/rest.rb +18 -0
  17. data/lib/google/cloud/compute/v1/backend_buckets.rb +2 -2
  18. data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +176 -171
  19. data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +31 -32
  20. data/lib/google/cloud/compute/v1/backend_services/rest.rb +18 -0
  21. data/lib/google/cloud/compute/v1/backend_services.rb +2 -2
  22. data/lib/google/cloud/compute/v1/compute_pb.rb +260 -0
  23. data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +76 -50
  24. data/lib/google/cloud/compute/v1/disk_types/rest/service_stub.rb +9 -10
  25. data/lib/google/cloud/compute/v1/disk_types/rest.rb +18 -0
  26. data/lib/google/cloud/compute/v1/disk_types.rb +2 -2
  27. data/lib/google/cloud/compute/v1/disks/rest/client.rb +167 -160
  28. data/lib/google/cloud/compute/v1/disks/rest/service_stub.rb +29 -30
  29. data/lib/google/cloud/compute/v1/disks/rest.rb +18 -0
  30. data/lib/google/cloud/compute/v1/disks.rb +2 -2
  31. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +104 -83
  32. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/service_stub.rb +15 -16
  33. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest.rb +18 -0
  34. data/lib/google/cloud/compute/v1/external_vpn_gateways.rb +2 -2
  35. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +212 -215
  36. data/lib/google/cloud/compute/v1/firewall_policies/rest/service_stub.rb +39 -40
  37. data/lib/google/cloud/compute/v1/firewall_policies/rest.rb +18 -0
  38. data/lib/google/cloud/compute/v1/firewall_policies.rb +2 -2
  39. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +104 -83
  40. data/lib/google/cloud/compute/v1/firewalls/rest/service_stub.rb +15 -16
  41. data/lib/google/cloud/compute/v1/firewalls/rest.rb +18 -0
  42. data/lib/google/cloud/compute/v1/firewalls.rb +2 -2
  43. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +122 -105
  44. data/lib/google/cloud/compute/v1/forwarding_rules/rest/service_stub.rb +19 -20
  45. data/lib/google/cloud/compute/v1/forwarding_rules/rest.rb +18 -0
  46. data/lib/google/cloud/compute/v1/forwarding_rules.rb +2 -2
  47. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +95 -72
  48. data/lib/google/cloud/compute/v1/global_addresses/rest/service_stub.rb +13 -14
  49. data/lib/google/cloud/compute/v1/global_addresses/rest.rb +18 -0
  50. data/lib/google/cloud/compute/v1/global_addresses.rb +2 -2
  51. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +113 -94
  52. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/service_stub.rb +17 -18
  53. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest.rb +18 -0
  54. data/lib/google/cloud/compute/v1/global_forwarding_rules.rb +2 -2
  55. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +113 -94
  56. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/service_stub.rb +17 -18
  57. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest.rb +18 -0
  58. data/lib/google/cloud/compute/v1/global_network_endpoint_groups.rb +2 -2
  59. data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +94 -72
  60. data/lib/google/cloud/compute/v1/global_operations/rest/service_stub.rb +13 -14
  61. data/lib/google/cloud/compute/v1/global_operations/rest.rb +18 -0
  62. data/lib/google/cloud/compute/v1/global_operations.rb +2 -2
  63. data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +76 -50
  64. data/lib/google/cloud/compute/v1/global_organization_operations/rest/service_stub.rb +9 -10
  65. data/lib/google/cloud/compute/v1/global_organization_operations/rest.rb +18 -0
  66. data/lib/google/cloud/compute/v1/global_organization_operations.rb +2 -2
  67. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +95 -72
  68. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/service_stub.rb +13 -14
  69. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest.rb +18 -0
  70. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes.rb +2 -2
  71. data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +113 -94
  72. data/lib/google/cloud/compute/v1/health_checks/rest/service_stub.rb +17 -18
  73. data/lib/google/cloud/compute/v1/health_checks/rest.rb +18 -0
  74. data/lib/google/cloud/compute/v1/health_checks.rb +2 -2
  75. data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +58 -28
  76. data/lib/google/cloud/compute/v1/image_family_views/rest/service_stub.rb +5 -6
  77. data/lib/google/cloud/compute/v1/image_family_views/rest.rb +18 -0
  78. data/lib/google/cloud/compute/v1/image_family_views.rb +2 -2
  79. data/lib/google/cloud/compute/v1/images/rest/client.rb +149 -138
  80. data/lib/google/cloud/compute/v1/images/rest/service_stub.rb +25 -26
  81. data/lib/google/cloud/compute/v1/images/rest.rb +18 -0
  82. data/lib/google/cloud/compute/v1/images.rb +2 -2
  83. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +230 -237
  84. data/lib/google/cloud/compute/v1/instance_group_managers/rest/service_stub.rb +43 -44
  85. data/lib/google/cloud/compute/v1/instance_group_managers/rest.rb +18 -0
  86. data/lib/google/cloud/compute/v1/instance_group_managers.rb +2 -2
  87. data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +131 -116
  88. data/lib/google/cloud/compute/v1/instance_groups/rest/service_stub.rb +21 -22
  89. data/lib/google/cloud/compute/v1/instance_groups/rest.rb +18 -0
  90. data/lib/google/cloud/compute/v1/instance_groups.rb +2 -2
  91. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +113 -94
  92. data/lib/google/cloud/compute/v1/instance_templates/rest/service_stub.rb +17 -18
  93. data/lib/google/cloud/compute/v1/instance_templates/rest.rb +18 -0
  94. data/lib/google/cloud/compute/v1/instance_templates.rb +2 -2
  95. data/lib/google/cloud/compute/v1/instances/rest/client.rb +461 -514
  96. data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +93 -94
  97. data/lib/google/cloud/compute/v1/instances/rest.rb +18 -0
  98. data/lib/google/cloud/compute/v1/instances.rb +2 -2
  99. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +113 -94
  100. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/service_stub.rb +17 -18
  101. data/lib/google/cloud/compute/v1/interconnect_attachments/rest.rb +18 -0
  102. data/lib/google/cloud/compute/v1/interconnect_attachments.rb +2 -2
  103. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +67 -39
  104. data/lib/google/cloud/compute/v1/interconnect_locations/rest/service_stub.rb +7 -8
  105. data/lib/google/cloud/compute/v1/interconnect_locations/rest.rb +18 -0
  106. data/lib/google/cloud/compute/v1/interconnect_locations.rb +2 -2
  107. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +119 -100
  108. data/lib/google/cloud/compute/v1/interconnects/rest/service_stub.rb +17 -18
  109. data/lib/google/cloud/compute/v1/interconnects/rest.rb +18 -0
  110. data/lib/google/cloud/compute/v1/interconnects.rb +2 -2
  111. data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +67 -39
  112. data/lib/google/cloud/compute/v1/license_codes/rest/service_stub.rb +7 -8
  113. data/lib/google/cloud/compute/v1/license_codes/rest.rb +18 -0
  114. data/lib/google/cloud/compute/v1/license_codes.rb +2 -2
  115. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +113 -94
  116. data/lib/google/cloud/compute/v1/licenses/rest/service_stub.rb +17 -18
  117. data/lib/google/cloud/compute/v1/licenses/rest.rb +18 -0
  118. data/lib/google/cloud/compute/v1/licenses.rb +2 -2
  119. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +113 -94
  120. data/lib/google/cloud/compute/v1/machine_images/rest/service_stub.rb +17 -18
  121. data/lib/google/cloud/compute/v1/machine_images/rest.rb +18 -0
  122. data/lib/google/cloud/compute/v1/machine_images.rb +2 -2
  123. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +76 -50
  124. data/lib/google/cloud/compute/v1/machine_types/rest/service_stub.rb +9 -10
  125. data/lib/google/cloud/compute/v1/machine_types/rest.rb +18 -0
  126. data/lib/google/cloud/compute/v1/machine_types.rb +2 -2
  127. data/lib/google/cloud/compute/v1/network_attachments/credentials.rb +52 -0
  128. data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +945 -0
  129. data/lib/google/cloud/compute/v1/network_attachments/rest/service_stub.rb +527 -0
  130. data/lib/google/cloud/compute/v1/network_attachments/rest.rb +51 -0
  131. data/lib/google/cloud/compute/v1/network_attachments.rb +47 -0
  132. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +95 -72
  133. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/service_stub.rb +13 -14
  134. data/lib/google/cloud/compute/v1/network_edge_security_services/rest.rb +18 -0
  135. data/lib/google/cloud/compute/v1/network_edge_security_services.rb +2 -2
  136. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +131 -116
  137. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/service_stub.rb +21 -22
  138. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest.rb +18 -0
  139. data/lib/google/cloud/compute/v1/network_endpoint_groups.rb +2 -2
  140. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +194 -193
  141. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/service_stub.rb +35 -36
  142. data/lib/google/cloud/compute/v1/network_firewall_policies/rest.rb +18 -0
  143. data/lib/google/cloud/compute/v1/network_firewall_policies.rb +2 -2
  144. data/lib/google/cloud/compute/v1/networks/rest/client.rb +149 -138
  145. data/lib/google/cloud/compute/v1/networks/rest/service_stub.rb +25 -26
  146. data/lib/google/cloud/compute/v1/networks/rest.rb +18 -0
  147. data/lib/google/cloud/compute/v1/networks.rb +2 -2
  148. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +167 -160
  149. data/lib/google/cloud/compute/v1/node_groups/rest/service_stub.rb +29 -30
  150. data/lib/google/cloud/compute/v1/node_groups/rest.rb +18 -0
  151. data/lib/google/cloud/compute/v1/node_groups.rb +2 -2
  152. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +122 -105
  153. data/lib/google/cloud/compute/v1/node_templates/rest/service_stub.rb +19 -20
  154. data/lib/google/cloud/compute/v1/node_templates/rest.rb +18 -0
  155. data/lib/google/cloud/compute/v1/node_templates.rb +2 -2
  156. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +76 -50
  157. data/lib/google/cloud/compute/v1/node_types/rest/service_stub.rb +9 -10
  158. data/lib/google/cloud/compute/v1/node_types/rest.rb +18 -0
  159. data/lib/google/cloud/compute/v1/node_types.rb +2 -2
  160. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +113 -94
  161. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/service_stub.rb +17 -18
  162. data/lib/google/cloud/compute/v1/packet_mirrorings/rest.rb +18 -0
  163. data/lib/google/cloud/compute/v1/packet_mirrorings.rb +2 -2
  164. data/lib/google/cloud/compute/v1/projects/rest/client.rb +167 -160
  165. data/lib/google/cloud/compute/v1/projects/rest/service_stub.rb +29 -30
  166. data/lib/google/cloud/compute/v1/projects/rest.rb +18 -0
  167. data/lib/google/cloud/compute/v1/projects.rb +2 -2
  168. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +95 -72
  169. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/service_stub.rb +13 -14
  170. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest.rb +18 -0
  171. data/lib/google/cloud/compute/v1/public_advertised_prefixes.rb +2 -2
  172. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +104 -83
  173. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/service_stub.rb +15 -16
  174. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest.rb +18 -0
  175. data/lib/google/cloud/compute/v1/public_delegated_prefixes.rb +2 -2
  176. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +104 -83
  177. data/lib/google/cloud/compute/v1/region_autoscalers/rest/service_stub.rb +15 -16
  178. data/lib/google/cloud/compute/v1/region_autoscalers/rest.rb +18 -0
  179. data/lib/google/cloud/compute/v1/region_autoscalers.rb +2 -2
  180. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +131 -116
  181. data/lib/google/cloud/compute/v1/region_backend_services/rest/service_stub.rb +21 -22
  182. data/lib/google/cloud/compute/v1/region_backend_services/rest.rb +18 -0
  183. data/lib/google/cloud/compute/v1/region_backend_services.rb +2 -2
  184. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +95 -72
  185. data/lib/google/cloud/compute/v1/region_commitments/rest/service_stub.rb +13 -14
  186. data/lib/google/cloud/compute/v1/region_commitments/rest.rb +18 -0
  187. data/lib/google/cloud/compute/v1/region_commitments.rb +2 -2
  188. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +67 -39
  189. data/lib/google/cloud/compute/v1/region_disk_types/rest/service_stub.rb +7 -8
  190. data/lib/google/cloud/compute/v1/region_disk_types/rest.rb +18 -0
  191. data/lib/google/cloud/compute/v1/region_disk_types.rb +2 -2
  192. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +158 -149
  193. data/lib/google/cloud/compute/v1/region_disks/rest/service_stub.rb +27 -28
  194. data/lib/google/cloud/compute/v1/region_disks/rest.rb +18 -0
  195. data/lib/google/cloud/compute/v1/region_disks.rb +2 -2
  196. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +95 -72
  197. data/lib/google/cloud/compute/v1/region_health_check_services/rest/service_stub.rb +13 -14
  198. data/lib/google/cloud/compute/v1/region_health_check_services/rest.rb +18 -0
  199. data/lib/google/cloud/compute/v1/region_health_check_services.rb +2 -2
  200. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +104 -83
  201. data/lib/google/cloud/compute/v1/region_health_checks/rest/service_stub.rb +15 -16
  202. data/lib/google/cloud/compute/v1/region_health_checks/rest.rb +18 -0
  203. data/lib/google/cloud/compute/v1/region_health_checks.rb +2 -2
  204. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +221 -226
  205. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/service_stub.rb +41 -42
  206. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest.rb +18 -0
  207. data/lib/google/cloud/compute/v1/region_instance_group_managers.rb +2 -2
  208. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +86 -61
  209. data/lib/google/cloud/compute/v1/region_instance_groups/rest/service_stub.rb +11 -12
  210. data/lib/google/cloud/compute/v1/region_instance_groups/rest.rb +18 -0
  211. data/lib/google/cloud/compute/v1/region_instance_groups.rb +2 -2
  212. data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +59 -28
  213. data/lib/google/cloud/compute/v1/region_instances/rest/service_stub.rb +5 -6
  214. data/lib/google/cloud/compute/v1/region_instances/rest.rb +18 -0
  215. data/lib/google/cloud/compute/v1/region_instances.rb +2 -2
  216. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +86 -61
  217. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/service_stub.rb +11 -12
  218. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest.rb +18 -0
  219. data/lib/google/cloud/compute/v1/region_network_endpoint_groups.rb +2 -2
  220. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +203 -204
  221. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/service_stub.rb +37 -38
  222. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest.rb +18 -0
  223. data/lib/google/cloud/compute/v1/region_network_firewall_policies.rb +2 -2
  224. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +86 -61
  225. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/service_stub.rb +11 -12
  226. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest.rb +18 -0
  227. data/lib/google/cloud/compute/v1/region_notification_endpoints.rb +2 -2
  228. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +85 -61
  229. data/lib/google/cloud/compute/v1/region_operations/rest/service_stub.rb +11 -12
  230. data/lib/google/cloud/compute/v1/region_operations/rest.rb +18 -0
  231. data/lib/google/cloud/compute/v1/region_operations.rb +2 -2
  232. data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +96 -73
  233. data/lib/google/cloud/compute/v1/region_security_policies/rest/service_stub.rb +13 -14
  234. data/lib/google/cloud/compute/v1/region_security_policies/rest.rb +18 -0
  235. data/lib/google/cloud/compute/v1/region_security_policies.rb +2 -2
  236. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +86 -61
  237. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/service_stub.rb +11 -12
  238. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest.rb +18 -0
  239. data/lib/google/cloud/compute/v1/region_ssl_certificates.rb +2 -2
  240. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +104 -83
  241. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/service_stub.rb +15 -16
  242. data/lib/google/cloud/compute/v1/region_ssl_policies/rest.rb +18 -0
  243. data/lib/google/cloud/compute/v1/region_ssl_policies.rb +2 -2
  244. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +95 -72
  245. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/service_stub.rb +13 -14
  246. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest.rb +18 -0
  247. data/lib/google/cloud/compute/v1/region_target_http_proxies.rb +2 -2
  248. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +113 -94
  249. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/service_stub.rb +17 -18
  250. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest.rb +18 -0
  251. data/lib/google/cloud/compute/v1/region_target_https_proxies.rb +2 -2
  252. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +86 -61
  253. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/service_stub.rb +11 -12
  254. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest.rb +18 -0
  255. data/lib/google/cloud/compute/v1/region_target_tcp_proxies.rb +2 -2
  256. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +113 -94
  257. data/lib/google/cloud/compute/v1/region_url_maps/rest/service_stub.rb +17 -18
  258. data/lib/google/cloud/compute/v1/region_url_maps/rest.rb +18 -0
  259. data/lib/google/cloud/compute/v1/region_url_maps.rb +2 -2
  260. data/lib/google/cloud/compute/v1/regions/rest/client.rb +67 -39
  261. data/lib/google/cloud/compute/v1/regions/rest/service_stub.rb +7 -8
  262. data/lib/google/cloud/compute/v1/regions/rest.rb +18 -0
  263. data/lib/google/cloud/compute/v1/regions.rb +2 -2
  264. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +140 -127
  265. data/lib/google/cloud/compute/v1/reservations/rest/service_stub.rb +23 -24
  266. data/lib/google/cloud/compute/v1/reservations/rest.rb +18 -0
  267. data/lib/google/cloud/compute/v1/reservations.rb +2 -2
  268. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +122 -105
  269. data/lib/google/cloud/compute/v1/resource_policies/rest/service_stub.rb +19 -20
  270. data/lib/google/cloud/compute/v1/resource_policies/rest.rb +18 -0
  271. data/lib/google/cloud/compute/v1/resource_policies.rb +2 -2
  272. data/lib/google/cloud/compute/v1/rest.rb +124 -0
  273. data/lib/google/cloud/compute/v1/routers/rest/client.rb +140 -127
  274. data/lib/google/cloud/compute/v1/routers/rest/service_stub.rb +23 -24
  275. data/lib/google/cloud/compute/v1/routers/rest.rb +18 -0
  276. data/lib/google/cloud/compute/v1/routers.rb +2 -2
  277. data/lib/google/cloud/compute/v1/routes/rest/client.rb +86 -61
  278. data/lib/google/cloud/compute/v1/routes/rest/service_stub.rb +11 -12
  279. data/lib/google/cloud/compute/v1/routes/rest.rb +18 -0
  280. data/lib/google/cloud/compute/v1/routes.rb +2 -2
  281. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +159 -150
  282. data/lib/google/cloud/compute/v1/security_policies/rest/service_stub.rb +27 -28
  283. data/lib/google/cloud/compute/v1/security_policies/rest.rb +18 -0
  284. data/lib/google/cloud/compute/v1/security_policies.rb +2 -2
  285. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +131 -116
  286. data/lib/google/cloud/compute/v1/service_attachments/rest/service_stub.rb +21 -22
  287. data/lib/google/cloud/compute/v1/service_attachments/rest.rb +18 -0
  288. data/lib/google/cloud/compute/v1/service_attachments.rb +2 -2
  289. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +122 -105
  290. data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +19 -20
  291. data/lib/google/cloud/compute/v1/snapshots/rest.rb +18 -0
  292. data/lib/google/cloud/compute/v1/snapshots.rb +2 -2
  293. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +95 -72
  294. data/lib/google/cloud/compute/v1/ssl_certificates/rest/service_stub.rb +13 -14
  295. data/lib/google/cloud/compute/v1/ssl_certificates/rest.rb +18 -0
  296. data/lib/google/cloud/compute/v1/ssl_certificates.rb +2 -2
  297. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +113 -94
  298. data/lib/google/cloud/compute/v1/ssl_policies/rest/service_stub.rb +17 -18
  299. data/lib/google/cloud/compute/v1/ssl_policies/rest.rb +18 -0
  300. data/lib/google/cloud/compute/v1/ssl_policies.rb +2 -2
  301. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +158 -149
  302. data/lib/google/cloud/compute/v1/subnetworks/rest/service_stub.rb +27 -28
  303. data/lib/google/cloud/compute/v1/subnetworks/rest.rb +18 -0
  304. data/lib/google/cloud/compute/v1/subnetworks.rb +2 -2
  305. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +95 -72
  306. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/service_stub.rb +13 -14
  307. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest.rb +18 -0
  308. data/lib/google/cloud/compute/v1/target_grpc_proxies.rb +2 -2
  309. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +113 -94
  310. data/lib/google/cloud/compute/v1/target_http_proxies/rest/service_stub.rb +17 -18
  311. data/lib/google/cloud/compute/v1/target_http_proxies/rest.rb +18 -0
  312. data/lib/google/cloud/compute/v1/target_http_proxies.rb +2 -2
  313. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +149 -138
  314. data/lib/google/cloud/compute/v1/target_https_proxies/rest/service_stub.rb +25 -26
  315. data/lib/google/cloud/compute/v1/target_https_proxies/rest.rb +18 -0
  316. data/lib/google/cloud/compute/v1/target_https_proxies.rb +2 -2
  317. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +95 -72
  318. data/lib/google/cloud/compute/v1/target_instances/rest/service_stub.rb +13 -14
  319. data/lib/google/cloud/compute/v1/target_instances/rest.rb +18 -0
  320. data/lib/google/cloud/compute/v1/target_instances.rb +2 -2
  321. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +149 -138
  322. data/lib/google/cloud/compute/v1/target_pools/rest/service_stub.rb +25 -26
  323. data/lib/google/cloud/compute/v1/target_pools/rest.rb +18 -0
  324. data/lib/google/cloud/compute/v1/target_pools.rb +2 -2
  325. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +131 -116
  326. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +21 -22
  327. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest.rb +18 -0
  328. data/lib/google/cloud/compute/v1/target_ssl_proxies.rb +2 -2
  329. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +191 -83
  330. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/service_stub.rb +72 -15
  331. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest.rb +18 -0
  332. data/lib/google/cloud/compute/v1/target_tcp_proxies.rb +2 -2
  333. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +104 -83
  334. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/service_stub.rb +15 -16
  335. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest.rb +18 -0
  336. data/lib/google/cloud/compute/v1/target_vpn_gateways.rb +2 -2
  337. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +131 -116
  338. data/lib/google/cloud/compute/v1/url_maps/rest/service_stub.rb +21 -22
  339. data/lib/google/cloud/compute/v1/url_maps/rest.rb +18 -0
  340. data/lib/google/cloud/compute/v1/url_maps.rb +2 -2
  341. data/lib/google/cloud/compute/v1/version.rb +1 -1
  342. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +122 -105
  343. data/lib/google/cloud/compute/v1/vpn_gateways/rest/service_stub.rb +19 -20
  344. data/lib/google/cloud/compute/v1/vpn_gateways/rest.rb +18 -0
  345. data/lib/google/cloud/compute/v1/vpn_gateways.rb +2 -2
  346. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +104 -83
  347. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/service_stub.rb +15 -16
  348. data/lib/google/cloud/compute/v1/vpn_tunnels/rest.rb +18 -0
  349. data/lib/google/cloud/compute/v1/vpn_tunnels.rb +2 -2
  350. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +85 -61
  351. data/lib/google/cloud/compute/v1/zone_operations/rest/service_stub.rb +11 -12
  352. data/lib/google/cloud/compute/v1/zone_operations/rest.rb +18 -0
  353. data/lib/google/cloud/compute/v1/zone_operations.rb +2 -2
  354. data/lib/google/cloud/compute/v1/zones/rest/client.rb +67 -39
  355. data/lib/google/cloud/compute/v1/zones/rest/service_stub.rb +7 -8
  356. data/lib/google/cloud/compute/v1/zones/rest.rb +18 -0
  357. data/lib/google/cloud/compute/v1/zones.rb +2 -2
  358. data/lib/google/cloud/compute/v1.rb +3 -2
  359. data/proto_docs/google/api/client.rb +318 -0
  360. data/proto_docs/google/api/launch_stage.rb +71 -0
  361. data/proto_docs/google/cloud/compute/v1/compute.rb +761 -86
  362. data/proto_docs/google/protobuf/duration.rb +98 -0
  363. metadata +14 -5
@@ -35,7 +35,9 @@ 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, numeric_enums: false
38
+ @client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint, credentials: credentials,
39
+ numeric_enums: false,
40
+ raise_faraday_errors: false
39
41
  end
40
42
 
41
43
  ##
@@ -55,7 +57,7 @@ module Google
55
57
  def add_access_config request_pb, options = nil
56
58
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
57
59
 
58
- verb, uri, query_string_params, body = transcode_add_access_config_request request_pb
60
+ verb, uri, query_string_params, body = ServiceStub.transcode_add_access_config_request request_pb
59
61
  query_string_params = if query_string_params.any?
60
62
  query_string_params.to_h { |p| p.split("=", 2) }
61
63
  else
@@ -92,7 +94,7 @@ module Google
92
94
  def add_resource_policies request_pb, options = nil
93
95
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
94
96
 
95
- verb, uri, query_string_params, body = transcode_add_resource_policies_request request_pb
97
+ verb, uri, query_string_params, body = ServiceStub.transcode_add_resource_policies_request request_pb
96
98
  query_string_params = if query_string_params.any?
97
99
  query_string_params.to_h { |p| p.split("=", 2) }
98
100
  else
@@ -129,7 +131,7 @@ module Google
129
131
  def aggregated_list request_pb, options = nil
130
132
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
131
133
 
132
- verb, uri, query_string_params, body = transcode_aggregated_list_request request_pb
134
+ verb, uri, query_string_params, body = ServiceStub.transcode_aggregated_list_request request_pb
133
135
  query_string_params = if query_string_params.any?
134
136
  query_string_params.to_h { |p| p.split("=", 2) }
135
137
  else
@@ -166,7 +168,7 @@ module Google
166
168
  def attach_disk request_pb, options = nil
167
169
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
168
170
 
169
- verb, uri, query_string_params, body = transcode_attach_disk_request request_pb
171
+ verb, uri, query_string_params, body = ServiceStub.transcode_attach_disk_request request_pb
170
172
  query_string_params = if query_string_params.any?
171
173
  query_string_params.to_h { |p| p.split("=", 2) }
172
174
  else
@@ -203,7 +205,7 @@ module Google
203
205
  def bulk_insert request_pb, options = nil
204
206
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
205
207
 
206
- verb, uri, query_string_params, body = transcode_bulk_insert_request request_pb
208
+ verb, uri, query_string_params, body = ServiceStub.transcode_bulk_insert_request request_pb
207
209
  query_string_params = if query_string_params.any?
208
210
  query_string_params.to_h { |p| p.split("=", 2) }
209
211
  else
@@ -240,7 +242,7 @@ module Google
240
242
  def delete request_pb, options = nil
241
243
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
242
244
 
243
- verb, uri, query_string_params, body = transcode_delete_request request_pb
245
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_request request_pb
244
246
  query_string_params = if query_string_params.any?
245
247
  query_string_params.to_h { |p| p.split("=", 2) }
246
248
  else
@@ -277,7 +279,7 @@ module Google
277
279
  def delete_access_config request_pb, options = nil
278
280
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
279
281
 
280
- verb, uri, query_string_params, body = transcode_delete_access_config_request request_pb
282
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_access_config_request request_pb
281
283
  query_string_params = if query_string_params.any?
282
284
  query_string_params.to_h { |p| p.split("=", 2) }
283
285
  else
@@ -314,7 +316,7 @@ module Google
314
316
  def detach_disk request_pb, options = nil
315
317
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
316
318
 
317
- verb, uri, query_string_params, body = transcode_detach_disk_request request_pb
319
+ verb, uri, query_string_params, body = ServiceStub.transcode_detach_disk_request request_pb
318
320
  query_string_params = if query_string_params.any?
319
321
  query_string_params.to_h { |p| p.split("=", 2) }
320
322
  else
@@ -351,7 +353,7 @@ module Google
351
353
  def get request_pb, options = nil
352
354
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
353
355
 
354
- verb, uri, query_string_params, body = transcode_get_request request_pb
356
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_request request_pb
355
357
  query_string_params = if query_string_params.any?
356
358
  query_string_params.to_h { |p| p.split("=", 2) }
357
359
  else
@@ -388,7 +390,7 @@ module Google
388
390
  def get_effective_firewalls request_pb, options = nil
389
391
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
390
392
 
391
- verb, uri, query_string_params, body = transcode_get_effective_firewalls_request request_pb
393
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_effective_firewalls_request request_pb
392
394
  query_string_params = if query_string_params.any?
393
395
  query_string_params.to_h { |p| p.split("=", 2) }
394
396
  else
@@ -425,7 +427,7 @@ module Google
425
427
  def get_guest_attributes request_pb, options = nil
426
428
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
427
429
 
428
- verb, uri, query_string_params, body = transcode_get_guest_attributes_request request_pb
430
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_guest_attributes_request request_pb
429
431
  query_string_params = if query_string_params.any?
430
432
  query_string_params.to_h { |p| p.split("=", 2) }
431
433
  else
@@ -462,7 +464,7 @@ module Google
462
464
  def get_iam_policy request_pb, options = nil
463
465
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
464
466
 
465
- verb, uri, query_string_params, body = transcode_get_iam_policy_request request_pb
467
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_iam_policy_request request_pb
466
468
  query_string_params = if query_string_params.any?
467
469
  query_string_params.to_h { |p| p.split("=", 2) }
468
470
  else
@@ -499,7 +501,7 @@ module Google
499
501
  def get_screenshot request_pb, options = nil
500
502
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
501
503
 
502
- verb, uri, query_string_params, body = transcode_get_screenshot_request request_pb
504
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_screenshot_request request_pb
503
505
  query_string_params = if query_string_params.any?
504
506
  query_string_params.to_h { |p| p.split("=", 2) }
505
507
  else
@@ -536,7 +538,7 @@ module Google
536
538
  def get_serial_port_output request_pb, options = nil
537
539
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
538
540
 
539
- verb, uri, query_string_params, body = transcode_get_serial_port_output_request request_pb
541
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_serial_port_output_request request_pb
540
542
  query_string_params = if query_string_params.any?
541
543
  query_string_params.to_h { |p| p.split("=", 2) }
542
544
  else
@@ -573,7 +575,7 @@ module Google
573
575
  def get_shielded_instance_identity request_pb, options = nil
574
576
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
575
577
 
576
- verb, uri, query_string_params, body = transcode_get_shielded_instance_identity_request request_pb
578
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_shielded_instance_identity_request request_pb
577
579
  query_string_params = if query_string_params.any?
578
580
  query_string_params.to_h { |p| p.split("=", 2) }
579
581
  else
@@ -610,7 +612,7 @@ module Google
610
612
  def insert request_pb, options = nil
611
613
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
612
614
 
613
- verb, uri, query_string_params, body = transcode_insert_request request_pb
615
+ verb, uri, query_string_params, body = ServiceStub.transcode_insert_request request_pb
614
616
  query_string_params = if query_string_params.any?
615
617
  query_string_params.to_h { |p| p.split("=", 2) }
616
618
  else
@@ -647,7 +649,7 @@ module Google
647
649
  def list request_pb, options = nil
648
650
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
649
651
 
650
- verb, uri, query_string_params, body = transcode_list_request request_pb
652
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_request request_pb
651
653
  query_string_params = if query_string_params.any?
652
654
  query_string_params.to_h { |p| p.split("=", 2) }
653
655
  else
@@ -684,7 +686,7 @@ module Google
684
686
  def list_referrers request_pb, options = nil
685
687
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
686
688
 
687
- verb, uri, query_string_params, body = transcode_list_referrers_request request_pb
689
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_referrers_request request_pb
688
690
  query_string_params = if query_string_params.any?
689
691
  query_string_params.to_h { |p| p.split("=", 2) }
690
692
  else
@@ -721,7 +723,7 @@ module Google
721
723
  def remove_resource_policies request_pb, options = nil
722
724
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
723
725
 
724
- verb, uri, query_string_params, body = transcode_remove_resource_policies_request request_pb
726
+ verb, uri, query_string_params, body = ServiceStub.transcode_remove_resource_policies_request request_pb
725
727
  query_string_params = if query_string_params.any?
726
728
  query_string_params.to_h { |p| p.split("=", 2) }
727
729
  else
@@ -758,7 +760,7 @@ module Google
758
760
  def reset request_pb, options = nil
759
761
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
760
762
 
761
- verb, uri, query_string_params, body = transcode_reset_request request_pb
763
+ verb, uri, query_string_params, body = ServiceStub.transcode_reset_request request_pb
762
764
  query_string_params = if query_string_params.any?
763
765
  query_string_params.to_h { |p| p.split("=", 2) }
764
766
  else
@@ -795,7 +797,7 @@ module Google
795
797
  def resume request_pb, options = nil
796
798
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
797
799
 
798
- verb, uri, query_string_params, body = transcode_resume_request request_pb
800
+ verb, uri, query_string_params, body = ServiceStub.transcode_resume_request request_pb
799
801
  query_string_params = if query_string_params.any?
800
802
  query_string_params.to_h { |p| p.split("=", 2) }
801
803
  else
@@ -832,7 +834,7 @@ module Google
832
834
  def send_diagnostic_interrupt request_pb, options = nil
833
835
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
834
836
 
835
- verb, uri, query_string_params, body = transcode_send_diagnostic_interrupt_request request_pb
837
+ verb, uri, query_string_params, body = ServiceStub.transcode_send_diagnostic_interrupt_request request_pb
836
838
  query_string_params = if query_string_params.any?
837
839
  query_string_params.to_h { |p| p.split("=", 2) }
838
840
  else
@@ -869,7 +871,7 @@ module Google
869
871
  def set_deletion_protection request_pb, options = nil
870
872
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
871
873
 
872
- verb, uri, query_string_params, body = transcode_set_deletion_protection_request request_pb
874
+ verb, uri, query_string_params, body = ServiceStub.transcode_set_deletion_protection_request request_pb
873
875
  query_string_params = if query_string_params.any?
874
876
  query_string_params.to_h { |p| p.split("=", 2) }
875
877
  else
@@ -906,7 +908,7 @@ module Google
906
908
  def set_disk_auto_delete request_pb, options = nil
907
909
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
908
910
 
909
- verb, uri, query_string_params, body = transcode_set_disk_auto_delete_request request_pb
911
+ verb, uri, query_string_params, body = ServiceStub.transcode_set_disk_auto_delete_request request_pb
910
912
  query_string_params = if query_string_params.any?
911
913
  query_string_params.to_h { |p| p.split("=", 2) }
912
914
  else
@@ -943,7 +945,7 @@ module Google
943
945
  def set_iam_policy request_pb, options = nil
944
946
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
945
947
 
946
- verb, uri, query_string_params, body = transcode_set_iam_policy_request request_pb
948
+ verb, uri, query_string_params, body = ServiceStub.transcode_set_iam_policy_request request_pb
947
949
  query_string_params = if query_string_params.any?
948
950
  query_string_params.to_h { |p| p.split("=", 2) }
949
951
  else
@@ -980,7 +982,7 @@ module Google
980
982
  def set_labels request_pb, options = nil
981
983
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
982
984
 
983
- verb, uri, query_string_params, body = transcode_set_labels_request request_pb
985
+ verb, uri, query_string_params, body = ServiceStub.transcode_set_labels_request request_pb
984
986
  query_string_params = if query_string_params.any?
985
987
  query_string_params.to_h { |p| p.split("=", 2) }
986
988
  else
@@ -1017,7 +1019,7 @@ module Google
1017
1019
  def set_machine_resources request_pb, options = nil
1018
1020
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1019
1021
 
1020
- verb, uri, query_string_params, body = transcode_set_machine_resources_request request_pb
1022
+ verb, uri, query_string_params, body = ServiceStub.transcode_set_machine_resources_request request_pb
1021
1023
  query_string_params = if query_string_params.any?
1022
1024
  query_string_params.to_h { |p| p.split("=", 2) }
1023
1025
  else
@@ -1054,7 +1056,7 @@ module Google
1054
1056
  def set_machine_type request_pb, options = nil
1055
1057
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1056
1058
 
1057
- verb, uri, query_string_params, body = transcode_set_machine_type_request request_pb
1059
+ verb, uri, query_string_params, body = ServiceStub.transcode_set_machine_type_request request_pb
1058
1060
  query_string_params = if query_string_params.any?
1059
1061
  query_string_params.to_h { |p| p.split("=", 2) }
1060
1062
  else
@@ -1091,7 +1093,7 @@ module Google
1091
1093
  def set_metadata request_pb, options = nil
1092
1094
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1093
1095
 
1094
- verb, uri, query_string_params, body = transcode_set_metadata_request request_pb
1096
+ verb, uri, query_string_params, body = ServiceStub.transcode_set_metadata_request request_pb
1095
1097
  query_string_params = if query_string_params.any?
1096
1098
  query_string_params.to_h { |p| p.split("=", 2) }
1097
1099
  else
@@ -1128,7 +1130,7 @@ module Google
1128
1130
  def set_min_cpu_platform request_pb, options = nil
1129
1131
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1130
1132
 
1131
- verb, uri, query_string_params, body = transcode_set_min_cpu_platform_request request_pb
1133
+ verb, uri, query_string_params, body = ServiceStub.transcode_set_min_cpu_platform_request request_pb
1132
1134
  query_string_params = if query_string_params.any?
1133
1135
  query_string_params.to_h { |p| p.split("=", 2) }
1134
1136
  else
@@ -1165,7 +1167,7 @@ module Google
1165
1167
  def set_scheduling request_pb, options = nil
1166
1168
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1167
1169
 
1168
- verb, uri, query_string_params, body = transcode_set_scheduling_request request_pb
1170
+ verb, uri, query_string_params, body = ServiceStub.transcode_set_scheduling_request request_pb
1169
1171
  query_string_params = if query_string_params.any?
1170
1172
  query_string_params.to_h { |p| p.split("=", 2) }
1171
1173
  else
@@ -1202,7 +1204,7 @@ module Google
1202
1204
  def set_service_account request_pb, options = nil
1203
1205
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1204
1206
 
1205
- verb, uri, query_string_params, body = transcode_set_service_account_request request_pb
1207
+ verb, uri, query_string_params, body = ServiceStub.transcode_set_service_account_request request_pb
1206
1208
  query_string_params = if query_string_params.any?
1207
1209
  query_string_params.to_h { |p| p.split("=", 2) }
1208
1210
  else
@@ -1239,7 +1241,7 @@ module Google
1239
1241
  def set_shielded_instance_integrity_policy request_pb, options = nil
1240
1242
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1241
1243
 
1242
- verb, uri, query_string_params, body = transcode_set_shielded_instance_integrity_policy_request request_pb
1244
+ verb, uri, query_string_params, body = ServiceStub.transcode_set_shielded_instance_integrity_policy_request request_pb
1243
1245
  query_string_params = if query_string_params.any?
1244
1246
  query_string_params.to_h { |p| p.split("=", 2) }
1245
1247
  else
@@ -1276,7 +1278,7 @@ module Google
1276
1278
  def set_tags request_pb, options = nil
1277
1279
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1278
1280
 
1279
- verb, uri, query_string_params, body = transcode_set_tags_request request_pb
1281
+ verb, uri, query_string_params, body = ServiceStub.transcode_set_tags_request request_pb
1280
1282
  query_string_params = if query_string_params.any?
1281
1283
  query_string_params.to_h { |p| p.split("=", 2) }
1282
1284
  else
@@ -1313,7 +1315,7 @@ module Google
1313
1315
  def simulate_maintenance_event request_pb, options = nil
1314
1316
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1315
1317
 
1316
- verb, uri, query_string_params, body = transcode_simulate_maintenance_event_request request_pb
1318
+ verb, uri, query_string_params, body = ServiceStub.transcode_simulate_maintenance_event_request request_pb
1317
1319
  query_string_params = if query_string_params.any?
1318
1320
  query_string_params.to_h { |p| p.split("=", 2) }
1319
1321
  else
@@ -1350,7 +1352,7 @@ module Google
1350
1352
  def start request_pb, options = nil
1351
1353
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1352
1354
 
1353
- verb, uri, query_string_params, body = transcode_start_request request_pb
1355
+ verb, uri, query_string_params, body = ServiceStub.transcode_start_request request_pb
1354
1356
  query_string_params = if query_string_params.any?
1355
1357
  query_string_params.to_h { |p| p.split("=", 2) }
1356
1358
  else
@@ -1387,7 +1389,7 @@ module Google
1387
1389
  def start_with_encryption_key request_pb, options = nil
1388
1390
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1389
1391
 
1390
- verb, uri, query_string_params, body = transcode_start_with_encryption_key_request request_pb
1392
+ verb, uri, query_string_params, body = ServiceStub.transcode_start_with_encryption_key_request request_pb
1391
1393
  query_string_params = if query_string_params.any?
1392
1394
  query_string_params.to_h { |p| p.split("=", 2) }
1393
1395
  else
@@ -1424,7 +1426,7 @@ module Google
1424
1426
  def stop request_pb, options = nil
1425
1427
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1426
1428
 
1427
- verb, uri, query_string_params, body = transcode_stop_request request_pb
1429
+ verb, uri, query_string_params, body = ServiceStub.transcode_stop_request request_pb
1428
1430
  query_string_params = if query_string_params.any?
1429
1431
  query_string_params.to_h { |p| p.split("=", 2) }
1430
1432
  else
@@ -1461,7 +1463,7 @@ module Google
1461
1463
  def suspend request_pb, options = nil
1462
1464
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1463
1465
 
1464
- verb, uri, query_string_params, body = transcode_suspend_request request_pb
1466
+ verb, uri, query_string_params, body = ServiceStub.transcode_suspend_request request_pb
1465
1467
  query_string_params = if query_string_params.any?
1466
1468
  query_string_params.to_h { |p| p.split("=", 2) }
1467
1469
  else
@@ -1498,7 +1500,7 @@ module Google
1498
1500
  def test_iam_permissions request_pb, options = nil
1499
1501
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1500
1502
 
1501
- verb, uri, query_string_params, body = transcode_test_iam_permissions_request request_pb
1503
+ verb, uri, query_string_params, body = ServiceStub.transcode_test_iam_permissions_request request_pb
1502
1504
  query_string_params = if query_string_params.any?
1503
1505
  query_string_params.to_h { |p| p.split("=", 2) }
1504
1506
  else
@@ -1535,7 +1537,7 @@ module Google
1535
1537
  def update request_pb, options = nil
1536
1538
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1537
1539
 
1538
- verb, uri, query_string_params, body = transcode_update_request request_pb
1540
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_request request_pb
1539
1541
  query_string_params = if query_string_params.any?
1540
1542
  query_string_params.to_h { |p| p.split("=", 2) }
1541
1543
  else
@@ -1572,7 +1574,7 @@ module Google
1572
1574
  def update_access_config request_pb, options = nil
1573
1575
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1574
1576
 
1575
- verb, uri, query_string_params, body = transcode_update_access_config_request request_pb
1577
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_access_config_request request_pb
1576
1578
  query_string_params = if query_string_params.any?
1577
1579
  query_string_params.to_h { |p| p.split("=", 2) }
1578
1580
  else
@@ -1609,7 +1611,7 @@ module Google
1609
1611
  def update_display_device request_pb, options = nil
1610
1612
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1611
1613
 
1612
- verb, uri, query_string_params, body = transcode_update_display_device_request request_pb
1614
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_display_device_request request_pb
1613
1615
  query_string_params = if query_string_params.any?
1614
1616
  query_string_params.to_h { |p| p.split("=", 2) }
1615
1617
  else
@@ -1646,7 +1648,7 @@ module Google
1646
1648
  def update_network_interface request_pb, options = nil
1647
1649
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1648
1650
 
1649
- verb, uri, query_string_params, body = transcode_update_network_interface_request request_pb
1651
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_network_interface_request request_pb
1650
1652
  query_string_params = if query_string_params.any?
1651
1653
  query_string_params.to_h { |p| p.split("=", 2) }
1652
1654
  else
@@ -1683,7 +1685,7 @@ module Google
1683
1685
  def update_shielded_instance_config request_pb, options = nil
1684
1686
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1685
1687
 
1686
- verb, uri, query_string_params, body = transcode_update_shielded_instance_config_request request_pb
1688
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_shielded_instance_config_request request_pb
1687
1689
  query_string_params = if query_string_params.any?
1688
1690
  query_string_params.to_h { |p| p.split("=", 2) }
1689
1691
  else
@@ -1703,9 +1705,6 @@ module Google
1703
1705
  result
1704
1706
  end
1705
1707
 
1706
-
1707
- private
1708
-
1709
1708
  ##
1710
1709
  # @private
1711
1710
  #
@@ -1715,7 +1714,7 @@ module Google
1715
1714
  # A request object representing the call parameters. Required.
1716
1715
  # @return [Array(String, [String, nil], Hash{String => String})]
1717
1716
  # Uri, Body, Query string parameters
1718
- def transcode_add_access_config_request request_pb
1717
+ def self.transcode_add_access_config_request request_pb
1719
1718
  transcoder = Gapic::Rest::GrpcTranscoder.new
1720
1719
  .with_bindings(
1721
1720
  uri_method: :post,
@@ -1739,7 +1738,7 @@ module Google
1739
1738
  # A request object representing the call parameters. Required.
1740
1739
  # @return [Array(String, [String, nil], Hash{String => String})]
1741
1740
  # Uri, Body, Query string parameters
1742
- def transcode_add_resource_policies_request request_pb
1741
+ def self.transcode_add_resource_policies_request request_pb
1743
1742
  transcoder = Gapic::Rest::GrpcTranscoder.new
1744
1743
  .with_bindings(
1745
1744
  uri_method: :post,
@@ -1763,7 +1762,7 @@ module Google
1763
1762
  # A request object representing the call parameters. Required.
1764
1763
  # @return [Array(String, [String, nil], Hash{String => String})]
1765
1764
  # Uri, Body, Query string parameters
1766
- def transcode_aggregated_list_request request_pb
1765
+ def self.transcode_aggregated_list_request request_pb
1767
1766
  transcoder = Gapic::Rest::GrpcTranscoder.new
1768
1767
  .with_bindings(
1769
1768
  uri_method: :get,
@@ -1784,7 +1783,7 @@ module Google
1784
1783
  # A request object representing the call parameters. Required.
1785
1784
  # @return [Array(String, [String, nil], Hash{String => String})]
1786
1785
  # Uri, Body, Query string parameters
1787
- def transcode_attach_disk_request request_pb
1786
+ def self.transcode_attach_disk_request request_pb
1788
1787
  transcoder = Gapic::Rest::GrpcTranscoder.new
1789
1788
  .with_bindings(
1790
1789
  uri_method: :post,
@@ -1808,7 +1807,7 @@ module Google
1808
1807
  # A request object representing the call parameters. Required.
1809
1808
  # @return [Array(String, [String, nil], Hash{String => String})]
1810
1809
  # Uri, Body, Query string parameters
1811
- def transcode_bulk_insert_request request_pb
1810
+ def self.transcode_bulk_insert_request request_pb
1812
1811
  transcoder = Gapic::Rest::GrpcTranscoder.new
1813
1812
  .with_bindings(
1814
1813
  uri_method: :post,
@@ -1831,7 +1830,7 @@ module Google
1831
1830
  # A request object representing the call parameters. Required.
1832
1831
  # @return [Array(String, [String, nil], Hash{String => String})]
1833
1832
  # Uri, Body, Query string parameters
1834
- def transcode_delete_request request_pb
1833
+ def self.transcode_delete_request request_pb
1835
1834
  transcoder = Gapic::Rest::GrpcTranscoder.new
1836
1835
  .with_bindings(
1837
1836
  uri_method: :delete,
@@ -1854,7 +1853,7 @@ module Google
1854
1853
  # A request object representing the call parameters. Required.
1855
1854
  # @return [Array(String, [String, nil], Hash{String => String})]
1856
1855
  # Uri, Body, Query string parameters
1857
- def transcode_delete_access_config_request request_pb
1856
+ def self.transcode_delete_access_config_request request_pb
1858
1857
  transcoder = Gapic::Rest::GrpcTranscoder.new
1859
1858
  .with_bindings(
1860
1859
  uri_method: :post,
@@ -1877,7 +1876,7 @@ module Google
1877
1876
  # A request object representing the call parameters. Required.
1878
1877
  # @return [Array(String, [String, nil], Hash{String => String})]
1879
1878
  # Uri, Body, Query string parameters
1880
- def transcode_detach_disk_request request_pb
1879
+ def self.transcode_detach_disk_request request_pb
1881
1880
  transcoder = Gapic::Rest::GrpcTranscoder.new
1882
1881
  .with_bindings(
1883
1882
  uri_method: :post,
@@ -1900,7 +1899,7 @@ module Google
1900
1899
  # A request object representing the call parameters. Required.
1901
1900
  # @return [Array(String, [String, nil], Hash{String => String})]
1902
1901
  # Uri, Body, Query string parameters
1903
- def transcode_get_request request_pb
1902
+ def self.transcode_get_request request_pb
1904
1903
  transcoder = Gapic::Rest::GrpcTranscoder.new
1905
1904
  .with_bindings(
1906
1905
  uri_method: :get,
@@ -1923,7 +1922,7 @@ module Google
1923
1922
  # A request object representing the call parameters. Required.
1924
1923
  # @return [Array(String, [String, nil], Hash{String => String})]
1925
1924
  # Uri, Body, Query string parameters
1926
- def transcode_get_effective_firewalls_request request_pb
1925
+ def self.transcode_get_effective_firewalls_request request_pb
1927
1926
  transcoder = Gapic::Rest::GrpcTranscoder.new
1928
1927
  .with_bindings(
1929
1928
  uri_method: :get,
@@ -1946,7 +1945,7 @@ module Google
1946
1945
  # A request object representing the call parameters. Required.
1947
1946
  # @return [Array(String, [String, nil], Hash{String => String})]
1948
1947
  # Uri, Body, Query string parameters
1949
- def transcode_get_guest_attributes_request request_pb
1948
+ def self.transcode_get_guest_attributes_request request_pb
1950
1949
  transcoder = Gapic::Rest::GrpcTranscoder.new
1951
1950
  .with_bindings(
1952
1951
  uri_method: :get,
@@ -1969,7 +1968,7 @@ module Google
1969
1968
  # A request object representing the call parameters. Required.
1970
1969
  # @return [Array(String, [String, nil], Hash{String => String})]
1971
1970
  # Uri, Body, Query string parameters
1972
- def transcode_get_iam_policy_request request_pb
1971
+ def self.transcode_get_iam_policy_request request_pb
1973
1972
  transcoder = Gapic::Rest::GrpcTranscoder.new
1974
1973
  .with_bindings(
1975
1974
  uri_method: :get,
@@ -1992,7 +1991,7 @@ module Google
1992
1991
  # A request object representing the call parameters. Required.
1993
1992
  # @return [Array(String, [String, nil], Hash{String => String})]
1994
1993
  # Uri, Body, Query string parameters
1995
- def transcode_get_screenshot_request request_pb
1994
+ def self.transcode_get_screenshot_request request_pb
1996
1995
  transcoder = Gapic::Rest::GrpcTranscoder.new
1997
1996
  .with_bindings(
1998
1997
  uri_method: :get,
@@ -2015,7 +2014,7 @@ module Google
2015
2014
  # A request object representing the call parameters. Required.
2016
2015
  # @return [Array(String, [String, nil], Hash{String => String})]
2017
2016
  # Uri, Body, Query string parameters
2018
- def transcode_get_serial_port_output_request request_pb
2017
+ def self.transcode_get_serial_port_output_request request_pb
2019
2018
  transcoder = Gapic::Rest::GrpcTranscoder.new
2020
2019
  .with_bindings(
2021
2020
  uri_method: :get,
@@ -2038,7 +2037,7 @@ module Google
2038
2037
  # A request object representing the call parameters. Required.
2039
2038
  # @return [Array(String, [String, nil], Hash{String => String})]
2040
2039
  # Uri, Body, Query string parameters
2041
- def transcode_get_shielded_instance_identity_request request_pb
2040
+ def self.transcode_get_shielded_instance_identity_request request_pb
2042
2041
  transcoder = Gapic::Rest::GrpcTranscoder.new
2043
2042
  .with_bindings(
2044
2043
  uri_method: :get,
@@ -2061,7 +2060,7 @@ module Google
2061
2060
  # A request object representing the call parameters. Required.
2062
2061
  # @return [Array(String, [String, nil], Hash{String => String})]
2063
2062
  # Uri, Body, Query string parameters
2064
- def transcode_insert_request request_pb
2063
+ def self.transcode_insert_request request_pb
2065
2064
  transcoder = Gapic::Rest::GrpcTranscoder.new
2066
2065
  .with_bindings(
2067
2066
  uri_method: :post,
@@ -2084,7 +2083,7 @@ module Google
2084
2083
  # A request object representing the call parameters. Required.
2085
2084
  # @return [Array(String, [String, nil], Hash{String => String})]
2086
2085
  # Uri, Body, Query string parameters
2087
- def transcode_list_request request_pb
2086
+ def self.transcode_list_request request_pb
2088
2087
  transcoder = Gapic::Rest::GrpcTranscoder.new
2089
2088
  .with_bindings(
2090
2089
  uri_method: :get,
@@ -2106,7 +2105,7 @@ module Google
2106
2105
  # A request object representing the call parameters. Required.
2107
2106
  # @return [Array(String, [String, nil], Hash{String => String})]
2108
2107
  # Uri, Body, Query string parameters
2109
- def transcode_list_referrers_request request_pb
2108
+ def self.transcode_list_referrers_request request_pb
2110
2109
  transcoder = Gapic::Rest::GrpcTranscoder.new
2111
2110
  .with_bindings(
2112
2111
  uri_method: :get,
@@ -2129,7 +2128,7 @@ module Google
2129
2128
  # A request object representing the call parameters. Required.
2130
2129
  # @return [Array(String, [String, nil], Hash{String => String})]
2131
2130
  # Uri, Body, Query string parameters
2132
- def transcode_remove_resource_policies_request request_pb
2131
+ def self.transcode_remove_resource_policies_request request_pb
2133
2132
  transcoder = Gapic::Rest::GrpcTranscoder.new
2134
2133
  .with_bindings(
2135
2134
  uri_method: :post,
@@ -2153,7 +2152,7 @@ module Google
2153
2152
  # A request object representing the call parameters. Required.
2154
2153
  # @return [Array(String, [String, nil], Hash{String => String})]
2155
2154
  # Uri, Body, Query string parameters
2156
- def transcode_reset_request request_pb
2155
+ def self.transcode_reset_request request_pb
2157
2156
  transcoder = Gapic::Rest::GrpcTranscoder.new
2158
2157
  .with_bindings(
2159
2158
  uri_method: :post,
@@ -2176,7 +2175,7 @@ module Google
2176
2175
  # A request object representing the call parameters. Required.
2177
2176
  # @return [Array(String, [String, nil], Hash{String => String})]
2178
2177
  # Uri, Body, Query string parameters
2179
- def transcode_resume_request request_pb
2178
+ def self.transcode_resume_request request_pb
2180
2179
  transcoder = Gapic::Rest::GrpcTranscoder.new
2181
2180
  .with_bindings(
2182
2181
  uri_method: :post,
@@ -2199,7 +2198,7 @@ module Google
2199
2198
  # A request object representing the call parameters. Required.
2200
2199
  # @return [Array(String, [String, nil], Hash{String => String})]
2201
2200
  # Uri, Body, Query string parameters
2202
- def transcode_send_diagnostic_interrupt_request request_pb
2201
+ def self.transcode_send_diagnostic_interrupt_request request_pb
2203
2202
  transcoder = Gapic::Rest::GrpcTranscoder.new
2204
2203
  .with_bindings(
2205
2204
  uri_method: :post,
@@ -2222,7 +2221,7 @@ module Google
2222
2221
  # A request object representing the call parameters. Required.
2223
2222
  # @return [Array(String, [String, nil], Hash{String => String})]
2224
2223
  # Uri, Body, Query string parameters
2225
- def transcode_set_deletion_protection_request request_pb
2224
+ def self.transcode_set_deletion_protection_request request_pb
2226
2225
  transcoder = Gapic::Rest::GrpcTranscoder.new
2227
2226
  .with_bindings(
2228
2227
  uri_method: :post,
@@ -2245,7 +2244,7 @@ module Google
2245
2244
  # A request object representing the call parameters. Required.
2246
2245
  # @return [Array(String, [String, nil], Hash{String => String})]
2247
2246
  # Uri, Body, Query string parameters
2248
- def transcode_set_disk_auto_delete_request request_pb
2247
+ def self.transcode_set_disk_auto_delete_request request_pb
2249
2248
  transcoder = Gapic::Rest::GrpcTranscoder.new
2250
2249
  .with_bindings(
2251
2250
  uri_method: :post,
@@ -2268,7 +2267,7 @@ module Google
2268
2267
  # A request object representing the call parameters. Required.
2269
2268
  # @return [Array(String, [String, nil], Hash{String => String})]
2270
2269
  # Uri, Body, Query string parameters
2271
- def transcode_set_iam_policy_request request_pb
2270
+ def self.transcode_set_iam_policy_request request_pb
2272
2271
  transcoder = Gapic::Rest::GrpcTranscoder.new
2273
2272
  .with_bindings(
2274
2273
  uri_method: :post,
@@ -2292,7 +2291,7 @@ module Google
2292
2291
  # A request object representing the call parameters. Required.
2293
2292
  # @return [Array(String, [String, nil], Hash{String => String})]
2294
2293
  # Uri, Body, Query string parameters
2295
- def transcode_set_labels_request request_pb
2294
+ def self.transcode_set_labels_request request_pb
2296
2295
  transcoder = Gapic::Rest::GrpcTranscoder.new
2297
2296
  .with_bindings(
2298
2297
  uri_method: :post,
@@ -2316,7 +2315,7 @@ module Google
2316
2315
  # A request object representing the call parameters. Required.
2317
2316
  # @return [Array(String, [String, nil], Hash{String => String})]
2318
2317
  # Uri, Body, Query string parameters
2319
- def transcode_set_machine_resources_request request_pb
2318
+ def self.transcode_set_machine_resources_request request_pb
2320
2319
  transcoder = Gapic::Rest::GrpcTranscoder.new
2321
2320
  .with_bindings(
2322
2321
  uri_method: :post,
@@ -2340,7 +2339,7 @@ module Google
2340
2339
  # A request object representing the call parameters. Required.
2341
2340
  # @return [Array(String, [String, nil], Hash{String => String})]
2342
2341
  # Uri, Body, Query string parameters
2343
- def transcode_set_machine_type_request request_pb
2342
+ def self.transcode_set_machine_type_request request_pb
2344
2343
  transcoder = Gapic::Rest::GrpcTranscoder.new
2345
2344
  .with_bindings(
2346
2345
  uri_method: :post,
@@ -2364,7 +2363,7 @@ module Google
2364
2363
  # A request object representing the call parameters. Required.
2365
2364
  # @return [Array(String, [String, nil], Hash{String => String})]
2366
2365
  # Uri, Body, Query string parameters
2367
- def transcode_set_metadata_request request_pb
2366
+ def self.transcode_set_metadata_request request_pb
2368
2367
  transcoder = Gapic::Rest::GrpcTranscoder.new
2369
2368
  .with_bindings(
2370
2369
  uri_method: :post,
@@ -2388,7 +2387,7 @@ module Google
2388
2387
  # A request object representing the call parameters. Required.
2389
2388
  # @return [Array(String, [String, nil], Hash{String => String})]
2390
2389
  # Uri, Body, Query string parameters
2391
- def transcode_set_min_cpu_platform_request request_pb
2390
+ def self.transcode_set_min_cpu_platform_request request_pb
2392
2391
  transcoder = Gapic::Rest::GrpcTranscoder.new
2393
2392
  .with_bindings(
2394
2393
  uri_method: :post,
@@ -2412,7 +2411,7 @@ module Google
2412
2411
  # A request object representing the call parameters. Required.
2413
2412
  # @return [Array(String, [String, nil], Hash{String => String})]
2414
2413
  # Uri, Body, Query string parameters
2415
- def transcode_set_scheduling_request request_pb
2414
+ def self.transcode_set_scheduling_request request_pb
2416
2415
  transcoder = Gapic::Rest::GrpcTranscoder.new
2417
2416
  .with_bindings(
2418
2417
  uri_method: :post,
@@ -2436,7 +2435,7 @@ module Google
2436
2435
  # A request object representing the call parameters. Required.
2437
2436
  # @return [Array(String, [String, nil], Hash{String => String})]
2438
2437
  # Uri, Body, Query string parameters
2439
- def transcode_set_service_account_request request_pb
2438
+ def self.transcode_set_service_account_request request_pb
2440
2439
  transcoder = Gapic::Rest::GrpcTranscoder.new
2441
2440
  .with_bindings(
2442
2441
  uri_method: :post,
@@ -2460,7 +2459,7 @@ module Google
2460
2459
  # A request object representing the call parameters. Required.
2461
2460
  # @return [Array(String, [String, nil], Hash{String => String})]
2462
2461
  # Uri, Body, Query string parameters
2463
- def transcode_set_shielded_instance_integrity_policy_request request_pb
2462
+ def self.transcode_set_shielded_instance_integrity_policy_request request_pb
2464
2463
  transcoder = Gapic::Rest::GrpcTranscoder.new
2465
2464
  .with_bindings(
2466
2465
  uri_method: :patch,
@@ -2484,7 +2483,7 @@ module Google
2484
2483
  # A request object representing the call parameters. Required.
2485
2484
  # @return [Array(String, [String, nil], Hash{String => String})]
2486
2485
  # Uri, Body, Query string parameters
2487
- def transcode_set_tags_request request_pb
2486
+ def self.transcode_set_tags_request request_pb
2488
2487
  transcoder = Gapic::Rest::GrpcTranscoder.new
2489
2488
  .with_bindings(
2490
2489
  uri_method: :post,
@@ -2508,7 +2507,7 @@ module Google
2508
2507
  # A request object representing the call parameters. Required.
2509
2508
  # @return [Array(String, [String, nil], Hash{String => String})]
2510
2509
  # Uri, Body, Query string parameters
2511
- def transcode_simulate_maintenance_event_request request_pb
2510
+ def self.transcode_simulate_maintenance_event_request request_pb
2512
2511
  transcoder = Gapic::Rest::GrpcTranscoder.new
2513
2512
  .with_bindings(
2514
2513
  uri_method: :post,
@@ -2531,7 +2530,7 @@ module Google
2531
2530
  # A request object representing the call parameters. Required.
2532
2531
  # @return [Array(String, [String, nil], Hash{String => String})]
2533
2532
  # Uri, Body, Query string parameters
2534
- def transcode_start_request request_pb
2533
+ def self.transcode_start_request request_pb
2535
2534
  transcoder = Gapic::Rest::GrpcTranscoder.new
2536
2535
  .with_bindings(
2537
2536
  uri_method: :post,
@@ -2554,7 +2553,7 @@ module Google
2554
2553
  # A request object representing the call parameters. Required.
2555
2554
  # @return [Array(String, [String, nil], Hash{String => String})]
2556
2555
  # Uri, Body, Query string parameters
2557
- def transcode_start_with_encryption_key_request request_pb
2556
+ def self.transcode_start_with_encryption_key_request request_pb
2558
2557
  transcoder = Gapic::Rest::GrpcTranscoder.new
2559
2558
  .with_bindings(
2560
2559
  uri_method: :post,
@@ -2578,7 +2577,7 @@ module Google
2578
2577
  # A request object representing the call parameters. Required.
2579
2578
  # @return [Array(String, [String, nil], Hash{String => String})]
2580
2579
  # Uri, Body, Query string parameters
2581
- def transcode_stop_request request_pb
2580
+ def self.transcode_stop_request request_pb
2582
2581
  transcoder = Gapic::Rest::GrpcTranscoder.new
2583
2582
  .with_bindings(
2584
2583
  uri_method: :post,
@@ -2601,7 +2600,7 @@ module Google
2601
2600
  # A request object representing the call parameters. Required.
2602
2601
  # @return [Array(String, [String, nil], Hash{String => String})]
2603
2602
  # Uri, Body, Query string parameters
2604
- def transcode_suspend_request request_pb
2603
+ def self.transcode_suspend_request request_pb
2605
2604
  transcoder = Gapic::Rest::GrpcTranscoder.new
2606
2605
  .with_bindings(
2607
2606
  uri_method: :post,
@@ -2624,7 +2623,7 @@ module Google
2624
2623
  # A request object representing the call parameters. Required.
2625
2624
  # @return [Array(String, [String, nil], Hash{String => String})]
2626
2625
  # Uri, Body, Query string parameters
2627
- def transcode_test_iam_permissions_request request_pb
2626
+ def self.transcode_test_iam_permissions_request request_pb
2628
2627
  transcoder = Gapic::Rest::GrpcTranscoder.new
2629
2628
  .with_bindings(
2630
2629
  uri_method: :post,
@@ -2648,7 +2647,7 @@ module Google
2648
2647
  # A request object representing the call parameters. Required.
2649
2648
  # @return [Array(String, [String, nil], Hash{String => String})]
2650
2649
  # Uri, Body, Query string parameters
2651
- def transcode_update_request request_pb
2650
+ def self.transcode_update_request request_pb
2652
2651
  transcoder = Gapic::Rest::GrpcTranscoder.new
2653
2652
  .with_bindings(
2654
2653
  uri_method: :put,
@@ -2672,7 +2671,7 @@ module Google
2672
2671
  # A request object representing the call parameters. Required.
2673
2672
  # @return [Array(String, [String, nil], Hash{String => String})]
2674
2673
  # Uri, Body, Query string parameters
2675
- def transcode_update_access_config_request request_pb
2674
+ def self.transcode_update_access_config_request request_pb
2676
2675
  transcoder = Gapic::Rest::GrpcTranscoder.new
2677
2676
  .with_bindings(
2678
2677
  uri_method: :post,
@@ -2696,7 +2695,7 @@ module Google
2696
2695
  # A request object representing the call parameters. Required.
2697
2696
  # @return [Array(String, [String, nil], Hash{String => String})]
2698
2697
  # Uri, Body, Query string parameters
2699
- def transcode_update_display_device_request request_pb
2698
+ def self.transcode_update_display_device_request request_pb
2700
2699
  transcoder = Gapic::Rest::GrpcTranscoder.new
2701
2700
  .with_bindings(
2702
2701
  uri_method: :patch,
@@ -2720,7 +2719,7 @@ module Google
2720
2719
  # A request object representing the call parameters. Required.
2721
2720
  # @return [Array(String, [String, nil], Hash{String => String})]
2722
2721
  # Uri, Body, Query string parameters
2723
- def transcode_update_network_interface_request request_pb
2722
+ def self.transcode_update_network_interface_request request_pb
2724
2723
  transcoder = Gapic::Rest::GrpcTranscoder.new
2725
2724
  .with_bindings(
2726
2725
  uri_method: :patch,
@@ -2744,7 +2743,7 @@ module Google
2744
2743
  # A request object representing the call parameters. Required.
2745
2744
  # @return [Array(String, [String, nil], Hash{String => String})]
2746
2745
  # Uri, Body, Query string parameters
2747
- def transcode_update_shielded_instance_config_request request_pb
2746
+ def self.transcode_update_shielded_instance_config_request request_pb
2748
2747
  transcoder = Gapic::Rest::GrpcTranscoder.new
2749
2748
  .with_bindings(
2750
2749
  uri_method: :patch,