google-cloud-compute-v1 3.12.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (402) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +5 -17
  3. data/lib/google/cloud/compute/v1/accelerator_types/rest.rb +2 -0
  4. data/lib/google/cloud/compute/v1/accelerator_types.rb +2 -0
  5. data/lib/google/cloud/compute/v1/addresses/rest/client.rb +5 -17
  6. data/lib/google/cloud/compute/v1/addresses/rest.rb +2 -0
  7. data/lib/google/cloud/compute/v1/addresses.rb +2 -0
  8. data/lib/google/cloud/compute/v1/advice/rest/client.rb +3 -1
  9. data/lib/google/cloud/compute/v1/advice/rest.rb +2 -0
  10. data/lib/google/cloud/compute/v1/advice.rb +2 -0
  11. data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +5 -17
  12. data/lib/google/cloud/compute/v1/autoscalers/rest.rb +2 -0
  13. data/lib/google/cloud/compute/v1/autoscalers.rb +2 -0
  14. data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +6 -25
  15. data/lib/google/cloud/compute/v1/backend_buckets/rest.rb +2 -0
  16. data/lib/google/cloud/compute/v1/backend_buckets.rb +2 -0
  17. data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +6 -25
  18. data/lib/google/cloud/compute/v1/backend_services/rest.rb +2 -0
  19. data/lib/google/cloud/compute/v1/backend_services.rb +2 -0
  20. data/lib/google/cloud/compute/v1/compute_pb.rb +19 -1
  21. data/lib/google/cloud/compute/v1/cross_site_networks/rest/client.rb +4 -9
  22. data/lib/google/cloud/compute/v1/cross_site_networks/rest.rb +2 -0
  23. data/lib/google/cloud/compute/v1/cross_site_networks.rb +2 -0
  24. data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +5 -17
  25. data/lib/google/cloud/compute/v1/disk_types/rest.rb +2 -0
  26. data/lib/google/cloud/compute/v1/disk_types.rb +2 -0
  27. data/lib/google/cloud/compute/v1/disks/rest/client.rb +5 -17
  28. data/lib/google/cloud/compute/v1/disks/rest.rb +2 -0
  29. data/lib/google/cloud/compute/v1/disks.rb +2 -0
  30. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +4 -9
  31. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest.rb +2 -0
  32. data/lib/google/cloud/compute/v1/external_vpn_gateways.rb +2 -0
  33. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +4 -9
  34. data/lib/google/cloud/compute/v1/firewall_policies/rest.rb +2 -0
  35. data/lib/google/cloud/compute/v1/firewall_policies.rb +2 -0
  36. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +4 -9
  37. data/lib/google/cloud/compute/v1/firewalls/rest.rb +2 -0
  38. data/lib/google/cloud/compute/v1/firewalls.rb +2 -0
  39. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +5 -17
  40. data/lib/google/cloud/compute/v1/forwarding_rules/rest.rb +2 -0
  41. data/lib/google/cloud/compute/v1/forwarding_rules.rb +2 -0
  42. data/lib/google/cloud/compute/v1/future_reservations/rest/client.rb +5 -17
  43. data/lib/google/cloud/compute/v1/future_reservations/rest.rb +2 -0
  44. data/lib/google/cloud/compute/v1/future_reservations.rb +2 -0
  45. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +4 -9
  46. data/lib/google/cloud/compute/v1/global_addresses/rest.rb +2 -0
  47. data/lib/google/cloud/compute/v1/global_addresses.rb +2 -0
  48. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +4 -9
  49. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest.rb +2 -0
  50. data/lib/google/cloud/compute/v1/global_forwarding_rules.rb +2 -0
  51. data/lib/google/cloud/compute/v1/global_frontend_settings_service/credentials.rb +52 -0
  52. data/lib/google/cloud/compute/v1/global_frontend_settings_service/rest/client.rb +524 -0
  53. data/lib/google/cloud/compute/v1/global_frontend_settings_service/rest/service_stub.rb +204 -0
  54. data/lib/google/cloud/compute/v1/global_frontend_settings_service/rest.rb +53 -0
  55. data/lib/google/cloud/compute/v1/global_frontend_settings_service.rb +49 -0
  56. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +5 -17
  57. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest.rb +2 -0
  58. data/lib/google/cloud/compute/v1/global_network_endpoint_groups.rb +2 -0
  59. data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +5 -17
  60. data/lib/google/cloud/compute/v1/global_operations/rest.rb +2 -0
  61. data/lib/google/cloud/compute/v1/global_operations.rb +2 -0
  62. data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +4 -9
  63. data/lib/google/cloud/compute/v1/global_organization_operations/rest.rb +2 -0
  64. data/lib/google/cloud/compute/v1/global_organization_operations.rb +2 -0
  65. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +4 -9
  66. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest.rb +2 -0
  67. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes.rb +2 -0
  68. data/lib/google/cloud/compute/v1/global_vm_extension_policies/rest/client.rb +5 -17
  69. data/lib/google/cloud/compute/v1/global_vm_extension_policies/rest.rb +2 -0
  70. data/lib/google/cloud/compute/v1/global_vm_extension_policies.rb +2 -0
  71. data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +5 -17
  72. data/lib/google/cloud/compute/v1/health_checks/rest.rb +2 -0
  73. data/lib/google/cloud/compute/v1/health_checks.rb +2 -0
  74. data/lib/google/cloud/compute/v1/hosts/rest/client.rb +4 -9
  75. data/lib/google/cloud/compute/v1/hosts/rest.rb +2 -0
  76. data/lib/google/cloud/compute/v1/hosts.rb +2 -0
  77. data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +3 -1
  78. data/lib/google/cloud/compute/v1/image_family_views/rest.rb +2 -0
  79. data/lib/google/cloud/compute/v1/image_family_views.rb +2 -0
  80. data/lib/google/cloud/compute/v1/image_views/credentials.rb +53 -0
  81. data/lib/google/cloud/compute/v1/image_views/rest/client.rb +612 -0
  82. data/lib/google/cloud/compute/v1/image_views/rest/service_stub.rb +206 -0
  83. data/lib/google/cloud/compute/v1/image_views/rest.rb +53 -0
  84. data/lib/google/cloud/compute/v1/image_views.rb +49 -0
  85. data/lib/google/cloud/compute/v1/images/rest/client.rb +4 -9
  86. data/lib/google/cloud/compute/v1/images/rest.rb +2 -0
  87. data/lib/google/cloud/compute/v1/images.rb +2 -0
  88. data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/client.rb +4 -9
  89. data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest.rb +2 -0
  90. data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests.rb +2 -0
  91. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +8 -41
  92. data/lib/google/cloud/compute/v1/instance_group_managers/rest.rb +2 -0
  93. data/lib/google/cloud/compute/v1/instance_group_managers.rb +2 -0
  94. data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +6 -25
  95. data/lib/google/cloud/compute/v1/instance_groups/rest.rb +2 -0
  96. data/lib/google/cloud/compute/v1/instance_groups.rb +2 -0
  97. data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +3 -1
  98. data/lib/google/cloud/compute/v1/instance_settings_service/rest.rb +2 -0
  99. data/lib/google/cloud/compute/v1/instance_settings_service.rb +2 -0
  100. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +5 -17
  101. data/lib/google/cloud/compute/v1/instance_templates/rest.rb +2 -0
  102. data/lib/google/cloud/compute/v1/instance_templates.rb +2 -0
  103. data/lib/google/cloud/compute/v1/instances/rest/client.rb +6 -25
  104. data/lib/google/cloud/compute/v1/instances/rest.rb +2 -0
  105. data/lib/google/cloud/compute/v1/instances.rb +2 -0
  106. data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest/client.rb +4 -9
  107. data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest.rb +2 -0
  108. data/lib/google/cloud/compute/v1/instant_snapshot_groups.rb +2 -0
  109. data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +5 -17
  110. data/lib/google/cloud/compute/v1/instant_snapshots/rest.rb +2 -0
  111. data/lib/google/cloud/compute/v1/instant_snapshots.rb +2 -0
  112. data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest/client.rb +4 -9
  113. data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest.rb +2 -0
  114. data/lib/google/cloud/compute/v1/interconnect_attachment_groups.rb +2 -0
  115. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +5 -17
  116. data/lib/google/cloud/compute/v1/interconnect_attachments/rest.rb +2 -0
  117. data/lib/google/cloud/compute/v1/interconnect_attachments.rb +2 -0
  118. data/lib/google/cloud/compute/v1/interconnect_groups/rest/client.rb +4 -9
  119. data/lib/google/cloud/compute/v1/interconnect_groups/rest.rb +2 -0
  120. data/lib/google/cloud/compute/v1/interconnect_groups.rb +2 -0
  121. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +4 -9
  122. data/lib/google/cloud/compute/v1/interconnect_locations/rest.rb +2 -0
  123. data/lib/google/cloud/compute/v1/interconnect_locations.rb +2 -0
  124. data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +4 -9
  125. data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest.rb +2 -0
  126. data/lib/google/cloud/compute/v1/interconnect_remote_locations.rb +2 -0
  127. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +118 -9
  128. data/lib/google/cloud/compute/v1/interconnects/rest/service_stub.rb +63 -0
  129. data/lib/google/cloud/compute/v1/interconnects/rest.rb +2 -0
  130. data/lib/google/cloud/compute/v1/interconnects.rb +2 -0
  131. data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +3 -1
  132. data/lib/google/cloud/compute/v1/license_codes/rest.rb +2 -0
  133. data/lib/google/cloud/compute/v1/license_codes.rb +2 -0
  134. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +4 -9
  135. data/lib/google/cloud/compute/v1/licenses/rest.rb +2 -0
  136. data/lib/google/cloud/compute/v1/licenses.rb +2 -0
  137. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +4 -9
  138. data/lib/google/cloud/compute/v1/machine_images/rest.rb +2 -0
  139. data/lib/google/cloud/compute/v1/machine_images.rb +2 -0
  140. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +5 -17
  141. data/lib/google/cloud/compute/v1/machine_types/rest.rb +2 -0
  142. data/lib/google/cloud/compute/v1/machine_types.rb +2 -0
  143. data/lib/google/cloud/compute/v1/managed_rulesets/credentials.rb +53 -0
  144. data/lib/google/cloud/compute/v1/managed_rulesets/rest/client.rb +606 -0
  145. data/lib/google/cloud/compute/v1/managed_rulesets/rest/service_stub.rb +204 -0
  146. data/lib/google/cloud/compute/v1/managed_rulesets/rest.rb +53 -0
  147. data/lib/google/cloud/compute/v1/managed_rulesets.rb +49 -0
  148. data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +5 -17
  149. data/lib/google/cloud/compute/v1/network_attachments/rest.rb +2 -0
  150. data/lib/google/cloud/compute/v1/network_attachments.rb +2 -0
  151. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +4 -9
  152. data/lib/google/cloud/compute/v1/network_edge_security_services/rest.rb +2 -0
  153. data/lib/google/cloud/compute/v1/network_edge_security_services.rb +2 -0
  154. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +6 -25
  155. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest.rb +2 -0
  156. data/lib/google/cloud/compute/v1/network_endpoint_groups.rb +2 -0
  157. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +5 -17
  158. data/lib/google/cloud/compute/v1/network_firewall_policies/rest.rb +2 -0
  159. data/lib/google/cloud/compute/v1/network_firewall_policies.rb +2 -0
  160. data/lib/google/cloud/compute/v1/network_profiles/rest/client.rb +4 -9
  161. data/lib/google/cloud/compute/v1/network_profiles/rest.rb +2 -0
  162. data/lib/google/cloud/compute/v1/network_profiles.rb +2 -0
  163. data/lib/google/cloud/compute/v1/networks/rest/client.rb +5 -17
  164. data/lib/google/cloud/compute/v1/networks/rest.rb +2 -0
  165. data/lib/google/cloud/compute/v1/networks.rb +2 -0
  166. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +6 -25
  167. data/lib/google/cloud/compute/v1/node_groups/rest.rb +2 -0
  168. data/lib/google/cloud/compute/v1/node_groups.rb +2 -0
  169. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +5 -17
  170. data/lib/google/cloud/compute/v1/node_templates/rest.rb +2 -0
  171. data/lib/google/cloud/compute/v1/node_templates.rb +2 -0
  172. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +5 -17
  173. data/lib/google/cloud/compute/v1/node_types/rest.rb +2 -0
  174. data/lib/google/cloud/compute/v1/node_types.rb +2 -0
  175. data/lib/google/cloud/compute/v1/organization_security_policies/rest/client.rb +5 -17
  176. data/lib/google/cloud/compute/v1/organization_security_policies/rest.rb +2 -0
  177. data/lib/google/cloud/compute/v1/organization_security_policies.rb +2 -0
  178. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +5 -17
  179. data/lib/google/cloud/compute/v1/packet_mirrorings/rest.rb +2 -0
  180. data/lib/google/cloud/compute/v1/packet_mirrorings.rb +2 -0
  181. data/lib/google/cloud/compute/v1/preview_features/rest/client.rb +4 -9
  182. data/lib/google/cloud/compute/v1/preview_features/rest.rb +2 -0
  183. data/lib/google/cloud/compute/v1/preview_features.rb +2 -0
  184. data/lib/google/cloud/compute/v1/project_views/rest/client.rb +3 -1
  185. data/lib/google/cloud/compute/v1/project_views/rest.rb +2 -0
  186. data/lib/google/cloud/compute/v1/project_views.rb +2 -0
  187. data/lib/google/cloud/compute/v1/projects/rest/client.rb +5 -17
  188. data/lib/google/cloud/compute/v1/projects/rest.rb +2 -0
  189. data/lib/google/cloud/compute/v1/projects.rb +2 -0
  190. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +4 -9
  191. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest.rb +2 -0
  192. data/lib/google/cloud/compute/v1/public_advertised_prefixes.rb +2 -0
  193. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +5 -17
  194. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest.rb +2 -0
  195. data/lib/google/cloud/compute/v1/public_delegated_prefixes.rb +2 -0
  196. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +4 -9
  197. data/lib/google/cloud/compute/v1/region_autoscalers/rest.rb +2 -0
  198. data/lib/google/cloud/compute/v1/region_autoscalers.rb +2 -0
  199. data/lib/google/cloud/compute/v1/region_backend_buckets/rest/client.rb +5 -17
  200. data/lib/google/cloud/compute/v1/region_backend_buckets/rest.rb +2 -0
  201. data/lib/google/cloud/compute/v1/region_backend_buckets.rb +2 -0
  202. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +5 -17
  203. data/lib/google/cloud/compute/v1/region_backend_services/rest.rb +2 -0
  204. data/lib/google/cloud/compute/v1/region_backend_services.rb +2 -0
  205. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +5 -17
  206. data/lib/google/cloud/compute/v1/region_commitments/rest.rb +2 -0
  207. data/lib/google/cloud/compute/v1/region_commitments.rb +2 -0
  208. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/client.rb +5 -17
  209. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest.rb +2 -0
  210. data/lib/google/cloud/compute/v1/region_composite_health_checks.rb +2 -0
  211. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +4 -9
  212. data/lib/google/cloud/compute/v1/region_disk_types/rest.rb +2 -0
  213. data/lib/google/cloud/compute/v1/region_disk_types.rb +2 -0
  214. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +4 -9
  215. data/lib/google/cloud/compute/v1/region_disks/rest.rb +2 -0
  216. data/lib/google/cloud/compute/v1/region_disks.rb +2 -0
  217. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/client.rb +5 -17
  218. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest.rb +2 -0
  219. data/lib/google/cloud/compute/v1/region_health_aggregation_policies.rb +2 -0
  220. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +5 -17
  221. data/lib/google/cloud/compute/v1/region_health_check_services/rest.rb +2 -0
  222. data/lib/google/cloud/compute/v1/region_health_check_services.rb +2 -0
  223. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +4 -9
  224. data/lib/google/cloud/compute/v1/region_health_checks/rest.rb +2 -0
  225. data/lib/google/cloud/compute/v1/region_health_checks.rb +2 -0
  226. data/lib/google/cloud/compute/v1/region_health_sources/rest/client.rb +5 -17
  227. data/lib/google/cloud/compute/v1/region_health_sources/rest.rb +2 -0
  228. data/lib/google/cloud/compute/v1/region_health_sources.rb +2 -0
  229. data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest/client.rb +4 -9
  230. data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest.rb +2 -0
  231. data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests.rb +2 -0
  232. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +7 -33
  233. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest.rb +2 -0
  234. data/lib/google/cloud/compute/v1/region_instance_group_managers.rb +2 -0
  235. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +5 -17
  236. data/lib/google/cloud/compute/v1/region_instance_groups/rest.rb +2 -0
  237. data/lib/google/cloud/compute/v1/region_instance_groups.rb +2 -0
  238. data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +4 -9
  239. data/lib/google/cloud/compute/v1/region_instance_templates/rest.rb +2 -0
  240. data/lib/google/cloud/compute/v1/region_instance_templates.rb +2 -0
  241. data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +3 -1
  242. data/lib/google/cloud/compute/v1/region_instances/rest.rb +2 -0
  243. data/lib/google/cloud/compute/v1/region_instances.rb +2 -0
  244. data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest/client.rb +4 -9
  245. data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest.rb +2 -0
  246. data/lib/google/cloud/compute/v1/region_instant_snapshot_groups.rb +2 -0
  247. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +4 -9
  248. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest.rb +2 -0
  249. data/lib/google/cloud/compute/v1/region_instant_snapshots.rb +2 -0
  250. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +5 -17
  251. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest.rb +2 -0
  252. data/lib/google/cloud/compute/v1/region_network_endpoint_groups.rb +2 -0
  253. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +126 -10
  254. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/service_stub.rb +64 -0
  255. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest.rb +2 -0
  256. data/lib/google/cloud/compute/v1/region_network_firewall_policies.rb +2 -0
  257. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +5 -17
  258. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest.rb +2 -0
  259. data/lib/google/cloud/compute/v1/region_notification_endpoints.rb +2 -0
  260. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +4 -9
  261. data/lib/google/cloud/compute/v1/region_operations/rest.rb +2 -0
  262. data/lib/google/cloud/compute/v1/region_operations.rb +2 -0
  263. data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +4 -9
  264. data/lib/google/cloud/compute/v1/region_security_policies/rest.rb +2 -0
  265. data/lib/google/cloud/compute/v1/region_security_policies.rb +2 -0
  266. data/lib/google/cloud/compute/v1/region_snapshot_settings/rest/client.rb +3 -1
  267. data/lib/google/cloud/compute/v1/region_snapshot_settings/rest.rb +2 -0
  268. data/lib/google/cloud/compute/v1/region_snapshot_settings.rb +2 -0
  269. data/lib/google/cloud/compute/v1/region_snapshots/rest/client.rb +4 -9
  270. data/lib/google/cloud/compute/v1/region_snapshots/rest.rb +2 -0
  271. data/lib/google/cloud/compute/v1/region_snapshots.rb +2 -0
  272. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +4 -9
  273. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest.rb +2 -0
  274. data/lib/google/cloud/compute/v1/region_ssl_certificates.rb +2 -0
  275. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +5 -17
  276. data/lib/google/cloud/compute/v1/region_ssl_policies/rest.rb +2 -0
  277. data/lib/google/cloud/compute/v1/region_ssl_policies.rb +2 -0
  278. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +4 -9
  279. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest.rb +2 -0
  280. data/lib/google/cloud/compute/v1/region_target_http_proxies.rb +2 -0
  281. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +4 -9
  282. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest.rb +2 -0
  283. data/lib/google/cloud/compute/v1/region_target_https_proxies.rb +2 -0
  284. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +4 -9
  285. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest.rb +2 -0
  286. data/lib/google/cloud/compute/v1/region_target_tcp_proxies.rb +2 -0
  287. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +4 -9
  288. data/lib/google/cloud/compute/v1/region_url_maps/rest.rb +2 -0
  289. data/lib/google/cloud/compute/v1/region_url_maps.rb +2 -0
  290. data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +4 -9
  291. data/lib/google/cloud/compute/v1/region_zones/rest.rb +2 -0
  292. data/lib/google/cloud/compute/v1/region_zones.rb +2 -0
  293. data/lib/google/cloud/compute/v1/regions/rest/client.rb +4 -9
  294. data/lib/google/cloud/compute/v1/regions/rest.rb +2 -0
  295. data/lib/google/cloud/compute/v1/regions.rb +2 -0
  296. data/lib/google/cloud/compute/v1/reliability_risks/rest/client.rb +4 -9
  297. data/lib/google/cloud/compute/v1/reliability_risks/rest.rb +2 -0
  298. data/lib/google/cloud/compute/v1/reliability_risks.rb +2 -0
  299. data/lib/google/cloud/compute/v1/reservation_blocks/rest/client.rb +4 -9
  300. data/lib/google/cloud/compute/v1/reservation_blocks/rest.rb +2 -0
  301. data/lib/google/cloud/compute/v1/reservation_blocks.rb +2 -0
  302. data/lib/google/cloud/compute/v1/reservation_slots/rest/client.rb +4 -9
  303. data/lib/google/cloud/compute/v1/reservation_slots/rest.rb +2 -0
  304. data/lib/google/cloud/compute/v1/reservation_slots.rb +2 -0
  305. data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/client.rb +4 -9
  306. data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest.rb +2 -0
  307. data/lib/google/cloud/compute/v1/reservation_sub_blocks.rb +2 -0
  308. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +5 -17
  309. data/lib/google/cloud/compute/v1/reservations/rest.rb +2 -0
  310. data/lib/google/cloud/compute/v1/reservations.rb +2 -0
  311. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +5 -17
  312. data/lib/google/cloud/compute/v1/resource_policies/rest.rb +2 -0
  313. data/lib/google/cloud/compute/v1/resource_policies.rb +2 -0
  314. data/lib/google/cloud/compute/v1/rest.rb +3 -0
  315. data/lib/google/cloud/compute/v1/rollout_plans/rest/client.rb +4 -9
  316. data/lib/google/cloud/compute/v1/rollout_plans/rest.rb +2 -0
  317. data/lib/google/cloud/compute/v1/rollout_plans.rb +2 -0
  318. data/lib/google/cloud/compute/v1/rollouts/rest/client.rb +4 -9
  319. data/lib/google/cloud/compute/v1/rollouts/rest.rb +2 -0
  320. data/lib/google/cloud/compute/v1/rollouts.rb +2 -0
  321. data/lib/google/cloud/compute/v1/routers/rest/client.rb +9 -49
  322. data/lib/google/cloud/compute/v1/routers/rest.rb +2 -0
  323. data/lib/google/cloud/compute/v1/routers.rb +2 -0
  324. data/lib/google/cloud/compute/v1/routes/rest/client.rb +4 -9
  325. data/lib/google/cloud/compute/v1/routes/rest.rb +2 -0
  326. data/lib/google/cloud/compute/v1/routes.rb +2 -0
  327. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +6 -25
  328. data/lib/google/cloud/compute/v1/security_policies/rest.rb +2 -0
  329. data/lib/google/cloud/compute/v1/security_policies.rb +2 -0
  330. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +5 -17
  331. data/lib/google/cloud/compute/v1/service_attachments/rest.rb +2 -0
  332. data/lib/google/cloud/compute/v1/service_attachments.rb +2 -0
  333. data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/client.rb +3 -1
  334. data/lib/google/cloud/compute/v1/snapshot_settings_service/rest.rb +2 -0
  335. data/lib/google/cloud/compute/v1/snapshot_settings_service.rb +2 -0
  336. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +4 -9
  337. data/lib/google/cloud/compute/v1/snapshots/rest.rb +2 -0
  338. data/lib/google/cloud/compute/v1/snapshots.rb +2 -0
  339. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +5 -17
  340. data/lib/google/cloud/compute/v1/ssl_certificates/rest.rb +2 -0
  341. data/lib/google/cloud/compute/v1/ssl_certificates.rb +2 -0
  342. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +6 -25
  343. data/lib/google/cloud/compute/v1/ssl_policies/rest.rb +2 -0
  344. data/lib/google/cloud/compute/v1/ssl_policies.rb +2 -0
  345. data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +5 -17
  346. data/lib/google/cloud/compute/v1/storage_pool_types/rest.rb +2 -0
  347. data/lib/google/cloud/compute/v1/storage_pool_types.rb +2 -0
  348. data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +6 -25
  349. data/lib/google/cloud/compute/v1/storage_pools/rest.rb +2 -0
  350. data/lib/google/cloud/compute/v1/storage_pools.rb +2 -0
  351. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +6 -25
  352. data/lib/google/cloud/compute/v1/subnetworks/rest.rb +2 -0
  353. data/lib/google/cloud/compute/v1/subnetworks.rb +2 -0
  354. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +4 -9
  355. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest.rb +2 -0
  356. data/lib/google/cloud/compute/v1/target_grpc_proxies.rb +2 -0
  357. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +5 -17
  358. data/lib/google/cloud/compute/v1/target_http_proxies/rest.rb +2 -0
  359. data/lib/google/cloud/compute/v1/target_http_proxies.rb +2 -0
  360. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +5 -17
  361. data/lib/google/cloud/compute/v1/target_https_proxies/rest.rb +2 -0
  362. data/lib/google/cloud/compute/v1/target_https_proxies.rb +2 -0
  363. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +5 -17
  364. data/lib/google/cloud/compute/v1/target_instances/rest.rb +2 -0
  365. data/lib/google/cloud/compute/v1/target_instances.rb +2 -0
  366. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +5 -17
  367. data/lib/google/cloud/compute/v1/target_pools/rest.rb +2 -0
  368. data/lib/google/cloud/compute/v1/target_pools.rb +2 -0
  369. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +4 -9
  370. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest.rb +2 -0
  371. data/lib/google/cloud/compute/v1/target_ssl_proxies.rb +2 -0
  372. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +5 -17
  373. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest.rb +2 -0
  374. data/lib/google/cloud/compute/v1/target_tcp_proxies.rb +2 -0
  375. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +5 -17
  376. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest.rb +2 -0
  377. data/lib/google/cloud/compute/v1/target_vpn_gateways.rb +2 -0
  378. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +5 -17
  379. data/lib/google/cloud/compute/v1/url_maps/rest.rb +2 -0
  380. data/lib/google/cloud/compute/v1/url_maps.rb +2 -0
  381. data/lib/google/cloud/compute/v1/version.rb +1 -1
  382. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +5 -17
  383. data/lib/google/cloud/compute/v1/vpn_gateways/rest.rb +2 -0
  384. data/lib/google/cloud/compute/v1/vpn_gateways.rb +2 -0
  385. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +5 -17
  386. data/lib/google/cloud/compute/v1/vpn_tunnels/rest.rb +2 -0
  387. data/lib/google/cloud/compute/v1/vpn_tunnels.rb +2 -0
  388. data/lib/google/cloud/compute/v1/wire_groups/rest/client.rb +4 -9
  389. data/lib/google/cloud/compute/v1/wire_groups/rest.rb +2 -0
  390. data/lib/google/cloud/compute/v1/wire_groups.rb +2 -0
  391. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +4 -9
  392. data/lib/google/cloud/compute/v1/zone_operations/rest.rb +2 -0
  393. data/lib/google/cloud/compute/v1/zone_operations.rb +2 -0
  394. data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest/client.rb +4 -9
  395. data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest.rb +2 -0
  396. data/lib/google/cloud/compute/v1/zone_vm_extension_policies.rb +2 -0
  397. data/lib/google/cloud/compute/v1/zones/rest/client.rb +4 -9
  398. data/lib/google/cloud/compute/v1/zones/rest.rb +2 -0
  399. data/lib/google/cloud/compute/v1/zones.rb +2 -0
  400. data/lib/google/cloud/compute/v1.rb +3 -0
  401. data/proto_docs/google/cloud/compute/v1/compute.rb +566 -1614
  402. metadata +16 -1
@@ -32,9 +32,11 @@ module Google
32
32
  #
33
33
  # The RegionInstanceTemplates API.
34
34
  #
35
+ # This client uses RegionInstanceTemplates version 2026-09-01.
36
+ #
35
37
  class Client
36
38
  # @private
37
- API_VERSION = ""
39
+ API_VERSION = "2026-09-01"
38
40
 
39
41
  # @private
40
42
  DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
@@ -513,7 +515,7 @@ module Google
513
515
  # @param options [::Gapic::CallOptions, ::Hash]
514
516
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
515
517
  #
516
- # @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, region: nil, return_partial_success: nil)
518
+ # @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, region: nil)
517
519
  # Pass arguments to `list` via keyword arguments. Note that at
518
520
  # least one keyword argument is required. To specify no parameters, or to keep all
519
521
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -603,13 +605,6 @@ module Google
603
605
  # Project ID for this request.
604
606
  # @param region [::String]
605
607
  # The name of the regions for this request.
606
- # @param return_partial_success [::Boolean]
607
- # Opt-in for partial success behavior which provides partial results in case
608
- # of failure. The default value is false.
609
- #
610
- # For example, when partial success behavior is enabled, aggregatedList for a
611
- # single zone scope either returns all resources in the zone or no resources,
612
- # with an error code.
613
608
  # @yield [result, operation] Access the result along with the TransportOperation object
614
609
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::InstanceTemplate>]
615
610
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -32,6 +32,8 @@ module Google
32
32
  ##
33
33
  # The RegionInstanceTemplates API.
34
34
  #
35
+ # This client uses RegionInstanceTemplates version 2026-09-01.
36
+ #
35
37
  # To load this service and instantiate a REST client:
36
38
  #
37
39
  # require "google/cloud/compute/v1/region_instance_templates/rest"
@@ -31,6 +31,8 @@ module Google
31
31
  ##
32
32
  # The RegionInstanceTemplates API.
33
33
  #
34
+ # This client uses RegionInstanceTemplates version 2026-09-01.
35
+ #
34
36
  # @example Load this service and instantiate a REST client
35
37
  #
36
38
  # require "google/cloud/compute/v1/region_instance_templates/rest"
@@ -32,9 +32,11 @@ module Google
32
32
  #
33
33
  # The RegionInstances API.
34
34
  #
35
+ # This client uses RegionInstances version 2026-09-01.
36
+ #
35
37
  class Client
36
38
  # @private
37
- API_VERSION = ""
39
+ API_VERSION = "2026-09-01"
38
40
 
39
41
  # @private
40
42
  DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
@@ -32,6 +32,8 @@ module Google
32
32
  ##
33
33
  # The RegionInstances API.
34
34
  #
35
+ # This client uses RegionInstances version 2026-09-01.
36
+ #
35
37
  # To load this service and instantiate a REST client:
36
38
  #
37
39
  # require "google/cloud/compute/v1/region_instances/rest"
@@ -31,6 +31,8 @@ module Google
31
31
  ##
32
32
  # The RegionInstances API.
33
33
  #
34
+ # This client uses RegionInstances version 2026-09-01.
35
+ #
34
36
  # @example Load this service and instantiate a REST client
35
37
  #
36
38
  # require "google/cloud/compute/v1/region_instances/rest"
@@ -32,9 +32,11 @@ module Google
32
32
  #
33
33
  # The RegionInstantSnapshotGroups API.
34
34
  #
35
+ # This client uses RegionInstantSnapshotGroups version 2026-09-01.
36
+ #
35
37
  class Client
36
38
  # @private
37
- API_VERSION = ""
39
+ API_VERSION = "2026-09-01"
38
40
 
39
41
  # @private
40
42
  DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
@@ -608,7 +610,7 @@ module Google
608
610
  # @param options [::Gapic::CallOptions, ::Hash]
609
611
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
610
612
  #
611
- # @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, region: nil, return_partial_success: nil)
613
+ # @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, region: nil)
612
614
  # Pass arguments to `list` via keyword arguments. Note that at
613
615
  # least one keyword argument is required. To specify no parameters, or to keep all
614
616
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -698,13 +700,6 @@ module Google
698
700
  # Project ID for this request.
699
701
  # @param region [::String]
700
702
  # The name of the region for this request.
701
- # @param return_partial_success [::Boolean]
702
- # Opt-in for partial success behavior which provides partial results in case
703
- # of failure. The default value is false.
704
- #
705
- # For example, when partial success behavior is enabled, aggregatedList for a
706
- # single zone scope either returns all resources in the zone or no resources,
707
- # with an error code.
708
703
  # @yield [result, operation] Access the result along with the TransportOperation object
709
704
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::InstantSnapshotGroup>]
710
705
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -32,6 +32,8 @@ module Google
32
32
  ##
33
33
  # The RegionInstantSnapshotGroups API.
34
34
  #
35
+ # This client uses RegionInstantSnapshotGroups version 2026-09-01.
36
+ #
35
37
  # To load this service and instantiate a REST client:
36
38
  #
37
39
  # require "google/cloud/compute/v1/region_instant_snapshot_groups/rest"
@@ -31,6 +31,8 @@ module Google
31
31
  ##
32
32
  # The RegionInstantSnapshotGroups API.
33
33
  #
34
+ # This client uses RegionInstantSnapshotGroups version 2026-09-01.
35
+ #
34
36
  # @example Load this service and instantiate a REST client
35
37
  #
36
38
  # require "google/cloud/compute/v1/region_instant_snapshot_groups/rest"
@@ -32,9 +32,11 @@ module Google
32
32
  #
33
33
  # The RegionInstantSnapshots API.
34
34
  #
35
+ # This client uses RegionInstantSnapshots version 2026-09-01.
36
+ #
35
37
  class Client
36
38
  # @private
37
- API_VERSION = ""
39
+ API_VERSION = "2026-09-01"
38
40
 
39
41
  # @private
40
42
  DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
@@ -614,7 +616,7 @@ module Google
614
616
  # @param options [::Gapic::CallOptions, ::Hash]
615
617
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
616
618
  #
617
- # @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, region: nil, return_partial_success: nil)
619
+ # @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, region: nil)
618
620
  # Pass arguments to `list` via keyword arguments. Note that at
619
621
  # least one keyword argument is required. To specify no parameters, or to keep all
620
622
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -704,13 +706,6 @@ module Google
704
706
  # Project ID for this request.
705
707
  # @param region [::String]
706
708
  # The name of the region for this request.
707
- # @param return_partial_success [::Boolean]
708
- # Opt-in for partial success behavior which provides partial results in case
709
- # of failure. The default value is false.
710
- #
711
- # For example, when partial success behavior is enabled, aggregatedList for a
712
- # single zone scope either returns all resources in the zone or no resources,
713
- # with an error code.
714
709
  # @yield [result, operation] Access the result along with the TransportOperation object
715
710
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::InstantSnapshot>]
716
711
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -32,6 +32,8 @@ module Google
32
32
  ##
33
33
  # The RegionInstantSnapshots API.
34
34
  #
35
+ # This client uses RegionInstantSnapshots version 2026-09-01.
36
+ #
35
37
  # To load this service and instantiate a REST client:
36
38
  #
37
39
  # require "google/cloud/compute/v1/region_instant_snapshots/rest"
@@ -31,6 +31,8 @@ module Google
31
31
  ##
32
32
  # The RegionInstantSnapshots API.
33
33
  #
34
+ # This client uses RegionInstantSnapshots version 2026-09-01.
35
+ #
34
36
  # @example Load this service and instantiate a REST client
35
37
  #
36
38
  # require "google/cloud/compute/v1/region_instant_snapshots/rest"
@@ -32,9 +32,11 @@ module Google
32
32
  #
33
33
  # The RegionNetworkEndpointGroups API.
34
34
  #
35
+ # This client uses RegionNetworkEndpointGroups version 2026-09-01.
36
+ #
35
37
  class Client
36
38
  # @private
37
- API_VERSION = ""
39
+ API_VERSION = "2026-09-01"
38
40
 
39
41
  # @private
40
42
  DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
@@ -761,7 +763,7 @@ module Google
761
763
  # @param options [::Gapic::CallOptions, ::Hash]
762
764
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
763
765
  #
764
- # @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, region: nil, return_partial_success: nil)
766
+ # @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, region: nil)
765
767
  # Pass arguments to `list` via keyword arguments. Note that at
766
768
  # least one keyword argument is required. To specify no parameters, or to keep all
767
769
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -852,13 +854,6 @@ module Google
852
854
  # @param region [::String]
853
855
  # The name of theregion
854
856
  # where the network endpoint group is located. It should comply with RFC1035.
855
- # @param return_partial_success [::Boolean]
856
- # Opt-in for partial success behavior which provides partial results in case
857
- # of failure. The default value is false.
858
- #
859
- # For example, when partial success behavior is enabled, aggregatedList for a
860
- # single zone scope either returns all resources in the zone or no resources,
861
- # with an error code.
862
857
  # @yield [result, operation] Access the result along with the TransportOperation object
863
858
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::NetworkEndpointGroup>]
864
859
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -932,7 +927,7 @@ module Google
932
927
  # @param options [::Gapic::CallOptions, ::Hash]
933
928
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
934
929
  #
935
- # @overload list_network_endpoints(filter: nil, max_results: nil, network_endpoint_group: nil, order_by: nil, page_token: nil, project: nil, region: nil, return_partial_success: nil)
930
+ # @overload list_network_endpoints(filter: nil, max_results: nil, network_endpoint_group: nil, order_by: nil, page_token: nil, project: nil, region: nil)
936
931
  # Pass arguments to `list_network_endpoints` via keyword arguments. Note that at
937
932
  # least one keyword argument is required. To specify no parameters, or to keep all
938
933
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1026,13 +1021,6 @@ module Google
1026
1021
  # @param region [::String]
1027
1022
  # The name of theregion
1028
1023
  # where the network endpoint group is located. It should comply with RFC1035.
1029
- # @param return_partial_success [::Boolean]
1030
- # Opt-in for partial success behavior which provides partial results in case
1031
- # of failure. The default value is false.
1032
- #
1033
- # For example, when partial success behavior is enabled, aggregatedList for a
1034
- # single zone scope either returns all resources in the zone or no resources,
1035
- # with an error code.
1036
1024
  # @yield [result, operation] Access the result along with the TransportOperation object
1037
1025
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::NetworkEndpointWithHealthStatus>]
1038
1026
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -32,6 +32,8 @@ module Google
32
32
  ##
33
33
  # The RegionNetworkEndpointGroups API.
34
34
  #
35
+ # This client uses RegionNetworkEndpointGroups version 2026-09-01.
36
+ #
35
37
  # To load this service and instantiate a REST client:
36
38
  #
37
39
  # require "google/cloud/compute/v1/region_network_endpoint_groups/rest"
@@ -31,6 +31,8 @@ module Google
31
31
  ##
32
32
  # The RegionNetworkEndpointGroups API.
33
33
  #
34
+ # This client uses RegionNetworkEndpointGroups version 2026-09-01.
35
+ #
34
36
  # @example Load this service and instantiate a REST client
35
37
  #
36
38
  # require "google/cloud/compute/v1/region_network_endpoint_groups/rest"
@@ -32,9 +32,11 @@ module Google
32
32
  #
33
33
  # The RegionNetworkFirewallPolicies API.
34
34
  #
35
+ # This client uses RegionNetworkFirewallPolicies version 2026-09-01.
36
+ #
35
37
  class Client
36
38
  # @private
37
- API_VERSION = ""
39
+ API_VERSION = "2026-09-01"
38
40
 
39
41
  # @private
40
42
  DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
@@ -113,6 +115,8 @@ module Google
113
115
 
114
116
  default_config.rpcs.patch.timeout = 600.0
115
117
 
118
+ default_config.rpcs.patch_association.timeout = 600.0
119
+
116
120
  default_config.rpcs.patch_rule.timeout = 600.0
117
121
 
118
122
  default_config.rpcs.remove_association.timeout = 600.0
@@ -254,11 +258,15 @@ module Google
254
258
  # @param options [::Gapic::CallOptions, ::Hash]
255
259
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
256
260
  #
257
- # @overload add_association(firewall_policy: nil, firewall_policy_association_resource: nil, project: nil, region: nil, replace_existing_association: nil, request_id: nil)
261
+ # @overload add_association(associated_policy_to_be_replaced: nil, firewall_policy: nil, firewall_policy_association_resource: nil, project: nil, region: nil, replace_existing_association: nil, request_id: nil)
258
262
  # Pass arguments to `add_association` via keyword arguments. Note that at
259
263
  # least one keyword argument is required. To specify no parameters, or to keep all
260
264
  # the default parameter values, pass an empty Hash as a request object (see above).
261
265
  #
266
+ # @param associated_policy_to_be_replaced [::String]
267
+ # Name of the firewall policy associated with the target network to swap
268
+ # association with. This field is mutually exclusive with
269
+ # 'replace_existing_association'.
262
270
  # @param firewall_policy [::String]
263
271
  # Name of the firewall policy to update.
264
272
  # @param firewall_policy_association_resource [::Google::Cloud::Compute::V1::FirewallPolicyAssociation, ::Hash]
@@ -1218,7 +1226,7 @@ module Google
1218
1226
  # @param options [::Gapic::CallOptions, ::Hash]
1219
1227
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1220
1228
  #
1221
- # @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, region: nil, return_partial_success: nil)
1229
+ # @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, region: nil)
1222
1230
  # Pass arguments to `list` via keyword arguments. Note that at
1223
1231
  # least one keyword argument is required. To specify no parameters, or to keep all
1224
1232
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1308,13 +1316,6 @@ module Google
1308
1316
  # Project ID for this request.
1309
1317
  # @param region [::String]
1310
1318
  # Name of the region scoping this request.
1311
- # @param return_partial_success [::Boolean]
1312
- # Opt-in for partial success behavior which provides partial results in case
1313
- # of failure. The default value is false.
1314
- #
1315
- # For example, when partial success behavior is enabled, aggregatedList for a
1316
- # single zone scope either returns all resources in the zone or no resources,
1317
- # with an error code.
1318
1319
  # @yield [result, operation] Access the result along with the TransportOperation object
1319
1320
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::FirewallPolicy>]
1320
1321
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1483,6 +1484,114 @@ module Google
1483
1484
  raise ::Google::Cloud::Error.from_error(e)
1484
1485
  end
1485
1486
 
1487
+ ##
1488
+ # Updates an association for the specified network firewall policy.
1489
+ #
1490
+ # @overload patch_association(request, options = nil)
1491
+ # Pass arguments to `patch_association` via a request object, either of type
1492
+ # {::Google::Cloud::Compute::V1::PatchAssociationRegionNetworkFirewallPolicyRequest} or an equivalent Hash.
1493
+ #
1494
+ # @param request [::Google::Cloud::Compute::V1::PatchAssociationRegionNetworkFirewallPolicyRequest, ::Hash]
1495
+ # A request object representing the call parameters. Required. To specify no
1496
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1497
+ # @param options [::Gapic::CallOptions, ::Hash]
1498
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1499
+ #
1500
+ # @overload patch_association(firewall_policy: nil, firewall_policy_association_resource: nil, project: nil, region: nil, request_id: nil)
1501
+ # Pass arguments to `patch_association` via keyword arguments. Note that at
1502
+ # least one keyword argument is required. To specify no parameters, or to keep all
1503
+ # the default parameter values, pass an empty Hash as a request object (see above).
1504
+ #
1505
+ # @param firewall_policy [::String]
1506
+ # Name of the firewall policy to update.
1507
+ # @param firewall_policy_association_resource [::Google::Cloud::Compute::V1::FirewallPolicyAssociation, ::Hash]
1508
+ # The body resource for this request
1509
+ # @param project [::String]
1510
+ # Project ID for this request.
1511
+ # @param region [::String]
1512
+ # Name of the region scoping this request.
1513
+ # @param request_id [::String]
1514
+ # An optional request ID to identify requests. Specify a unique request ID so
1515
+ # that if you must retry your request, the server will know to ignore the
1516
+ # request if it has already been completed.
1517
+ #
1518
+ # For example, consider a situation where you make an initial request and
1519
+ # the request times out. If you make the request again with the same
1520
+ # request ID, the server can check if original operation with the same
1521
+ # request ID was received, and if so, will ignore the second request. This
1522
+ # prevents clients from accidentally creating duplicate commitments.
1523
+ #
1524
+ # The request ID must be
1525
+ # a valid UUID with the exception that zero UUID is not supported
1526
+ # (00000000-0000-0000-0000-000000000000).
1527
+ # @yield [result, operation] Access the result along with the TransportOperation object
1528
+ # @yieldparam result [::Gapic::GenericLRO::Operation]
1529
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1530
+ #
1531
+ # @return [::Gapic::GenericLRO::Operation]
1532
+ #
1533
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
1534
+ #
1535
+ # @example Basic example
1536
+ # require "google/cloud/compute/v1"
1537
+ #
1538
+ # # Create a client object. The client can be reused for multiple calls.
1539
+ # client = Google::Cloud::Compute::V1::RegionNetworkFirewallPolicies::Rest::Client.new
1540
+ #
1541
+ # # Create a request. To set request fields, pass in keyword arguments.
1542
+ # request = Google::Cloud::Compute::V1::PatchAssociationRegionNetworkFirewallPolicyRequest.new
1543
+ #
1544
+ # # Call the patch_association method.
1545
+ # result = client.patch_association request
1546
+ #
1547
+ # # The returned object is of type Google::Cloud::Compute::V1::Operation.
1548
+ # p result
1549
+ #
1550
+ def patch_association request, options = nil
1551
+ raise ::ArgumentError, "request must be provided" if request.nil?
1552
+
1553
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Compute::V1::PatchAssociationRegionNetworkFirewallPolicyRequest
1554
+
1555
+ # Converts hash and nil to an options object
1556
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1557
+
1558
+ # Customize the options with defaults
1559
+ call_metadata = @config.rpcs.patch_association.metadata.to_h
1560
+
1561
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1562
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1563
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1564
+ gapic_version: ::Google::Cloud::Compute::V1::VERSION,
1565
+ transports_version_send: [:rest]
1566
+
1567
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1568
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1569
+
1570
+ options.apply_defaults timeout: @config.rpcs.patch_association.timeout,
1571
+ metadata: call_metadata,
1572
+ retry_policy: @config.rpcs.patch_association.retry_policy
1573
+
1574
+ options.apply_defaults timeout: @config.timeout,
1575
+ metadata: @config.metadata,
1576
+ retry_policy: @config.retry_policy
1577
+
1578
+ @region_network_firewall_policies_stub.patch_association request, options do |result, response|
1579
+ result = ::Google::Cloud::Compute::V1::RegionOperations::Rest::NonstandardLro.create_operation(
1580
+ operation: result,
1581
+ client: region_operations,
1582
+ request_values: {
1583
+ "project" => request.project,
1584
+ "region" => request.region
1585
+ },
1586
+ options: options
1587
+ )
1588
+ yield result, response if block_given?
1589
+ throw :response, result
1590
+ end
1591
+ rescue ::Gapic::Rest::Error => e
1592
+ raise ::Google::Cloud::Error.from_error(e)
1593
+ end
1594
+
1486
1595
  ##
1487
1596
  # Patches a rule of the specified priority.
1488
1597
  #
@@ -2187,6 +2296,11 @@ module Google
2187
2296
  #
2188
2297
  attr_reader :patch
2189
2298
  ##
2299
+ # RPC-specific configuration for `patch_association`
2300
+ # @return [::Gapic::Config::Method]
2301
+ #
2302
+ attr_reader :patch_association
2303
+ ##
2190
2304
  # RPC-specific configuration for `patch_rule`
2191
2305
  # @return [::Gapic::Config::Method]
2192
2306
  #
@@ -2238,6 +2352,8 @@ module Google
2238
2352
  @list = ::Gapic::Config::Method.new list_config
2239
2353
  patch_config = parent_rpcs.patch if parent_rpcs.respond_to? :patch
2240
2354
  @patch = ::Gapic::Config::Method.new patch_config
2355
+ patch_association_config = parent_rpcs.patch_association if parent_rpcs.respond_to? :patch_association
2356
+ @patch_association = ::Gapic::Config::Method.new patch_association_config
2241
2357
  patch_rule_config = parent_rpcs.patch_rule if parent_rpcs.respond_to? :patch_rule
2242
2358
  @patch_rule = ::Gapic::Config::Method.new patch_rule_config
2243
2359
  remove_association_config = parent_rpcs.remove_association if parent_rpcs.respond_to? :remove_association
@@ -553,6 +553,46 @@ module Google
553
553
  end
554
554
  end
555
555
 
556
+ ##
557
+ # Baseline implementation for the patch_association REST call
558
+ #
559
+ # @param request_pb [::Google::Cloud::Compute::V1::PatchAssociationRegionNetworkFirewallPolicyRequest]
560
+ # A request object representing the call parameters. Required.
561
+ # @param options [::Gapic::CallOptions]
562
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
563
+ #
564
+ # @yield [result, operation] Access the result along with the TransportOperation object
565
+ # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
566
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
567
+ #
568
+ # @return [::Google::Cloud::Compute::V1::Operation]
569
+ # A result object deserialized from the server's reply
570
+ def patch_association request_pb, options = nil
571
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
572
+
573
+ verb, uri, query_string_params, body = ServiceStub.transcode_patch_association_request request_pb
574
+ query_string_params = if query_string_params.any?
575
+ query_string_params.to_h { |p| p.split "=", 2 }
576
+ else
577
+ {}
578
+ end
579
+
580
+ response = @client_stub.make_http_request(
581
+ verb,
582
+ uri: uri,
583
+ body: body || "",
584
+ params: query_string_params,
585
+ method_name: "patch_association",
586
+ options: options
587
+ )
588
+ operation = ::Gapic::Rest::TransportOperation.new response
589
+ result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
590
+ catch :response do
591
+ yield result, operation if block_given?
592
+ result
593
+ end
594
+ end
595
+
556
596
  ##
557
597
  # Baseline implementation for the patch_rule REST call
558
598
  #
@@ -1030,6 +1070,30 @@ module Google
1030
1070
  transcoder.transcode request_pb
1031
1071
  end
1032
1072
 
1073
+ ##
1074
+ # @private
1075
+ #
1076
+ # GRPC transcoding helper method for the patch_association REST call
1077
+ #
1078
+ # @param request_pb [::Google::Cloud::Compute::V1::PatchAssociationRegionNetworkFirewallPolicyRequest]
1079
+ # A request object representing the call parameters. Required.
1080
+ # @return [Array(String, [String, nil], Hash{String => String})]
1081
+ # Uri, Body, Query string parameters
1082
+ def self.transcode_patch_association_request request_pb
1083
+ transcoder = Gapic::Rest::GrpcTranscoder.new
1084
+ .with_bindings(
1085
+ uri_method: :post,
1086
+ uri_template: "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{firewall_policy}/patchAssociation",
1087
+ body: "firewall_policy_association_resource",
1088
+ matches: [
1089
+ ["project", %r{^[^/]+/?$}, false],
1090
+ ["region", %r{^[^/]+/?$}, false],
1091
+ ["firewall_policy", %r{^[^/]+/?$}, false]
1092
+ ]
1093
+ )
1094
+ transcoder.transcode request_pb
1095
+ end
1096
+
1033
1097
  ##
1034
1098
  # @private
1035
1099
  #
@@ -32,6 +32,8 @@ module Google
32
32
  ##
33
33
  # The RegionNetworkFirewallPolicies API.
34
34
  #
35
+ # This client uses RegionNetworkFirewallPolicies version 2026-09-01.
36
+ #
35
37
  # To load this service and instantiate a REST client:
36
38
  #
37
39
  # require "google/cloud/compute/v1/region_network_firewall_policies/rest"
@@ -31,6 +31,8 @@ module Google
31
31
  ##
32
32
  # The RegionNetworkFirewallPolicies API.
33
33
  #
34
+ # This client uses RegionNetworkFirewallPolicies version 2026-09-01.
35
+ #
34
36
  # @example Load this service and instantiate a REST client
35
37
  #
36
38
  # require "google/cloud/compute/v1/region_network_firewall_policies/rest"
@@ -32,9 +32,11 @@ module Google
32
32
  #
33
33
  # The RegionNotificationEndpoints API.
34
34
  #
35
+ # This client uses RegionNotificationEndpoints version 2026-09-01.
36
+ #
35
37
  class Client
36
38
  # @private
37
- API_VERSION = ""
39
+ API_VERSION = "2026-09-01"
38
40
 
39
41
  # @private
40
42
  DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
@@ -224,7 +226,7 @@ module Google
224
226
  # @param options [::Gapic::CallOptions, ::Hash]
225
227
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
226
228
  #
227
- # @overload aggregated_list(filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, return_partial_success: nil, service_project_number: nil)
229
+ # @overload aggregated_list(filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, service_project_number: nil)
228
230
  # Pass arguments to `aggregated_list` via keyword arguments. Note that at
229
231
  # least one keyword argument is required. To specify no parameters, or to keep all
230
232
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -320,13 +322,6 @@ module Google
320
322
  # the next page of results.
321
323
  # @param project [::String]
322
324
  # Name of the project scoping this request.
323
- # @param return_partial_success [::Boolean]
324
- # Opt-in for partial success behavior which provides partial results in case
325
- # of failure. The default value is false.
326
- #
327
- # For example, when partial success behavior is enabled, aggregatedList for a
328
- # single zone scope either returns all resources in the zone or no resources,
329
- # with an error code.
330
325
  # @param service_project_number [::Integer]
331
326
  # The Shared VPC service project id or service project number for which
332
327
  # aggregated list request is invoked for subnetworks list-usable api.
@@ -698,7 +693,7 @@ module Google
698
693
  # @param options [::Gapic::CallOptions, ::Hash]
699
694
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
700
695
  #
701
- # @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, region: nil, return_partial_success: nil)
696
+ # @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, region: nil)
702
697
  # Pass arguments to `list` via keyword arguments. Note that at
703
698
  # least one keyword argument is required. To specify no parameters, or to keep all
704
699
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -788,13 +783,6 @@ module Google
788
783
  # Project ID for this request.
789
784
  # @param region [::String]
790
785
  # Name of the region scoping this request.
791
- # @param return_partial_success [::Boolean]
792
- # Opt-in for partial success behavior which provides partial results in case
793
- # of failure. The default value is false.
794
- #
795
- # For example, when partial success behavior is enabled, aggregatedList for a
796
- # single zone scope either returns all resources in the zone or no resources,
797
- # with an error code.
798
786
  # @yield [result, operation] Access the result along with the TransportOperation object
799
787
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::NotificationEndpoint>]
800
788
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -32,6 +32,8 @@ module Google
32
32
  ##
33
33
  # The RegionNotificationEndpoints API.
34
34
  #
35
+ # This client uses RegionNotificationEndpoints version 2026-09-01.
36
+ #
35
37
  # To load this service and instantiate a REST client:
36
38
  #
37
39
  # require "google/cloud/compute/v1/region_notification_endpoints/rest"