google-cloud-compute-v1 3.9.1 → 3.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (556) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -1
  3. data/README.md +66 -3
  4. data/lib/google/cloud/compute/v1/accelerator_types/credentials.rb +1 -1
  5. data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +1 -1
  6. data/lib/google/cloud/compute/v1/accelerator_types/rest/service_stub.rb +1 -1
  7. data/lib/google/cloud/compute/v1/accelerator_types/rest.rb +1 -1
  8. data/lib/google/cloud/compute/v1/accelerator_types.rb +1 -1
  9. data/lib/google/cloud/compute/v1/addresses/credentials.rb +1 -1
  10. data/lib/google/cloud/compute/v1/addresses/rest/client.rb +1 -1
  11. data/lib/google/cloud/compute/v1/addresses/rest/service_stub.rb +1 -1
  12. data/lib/google/cloud/compute/v1/addresses/rest.rb +1 -1
  13. data/lib/google/cloud/compute/v1/addresses.rb +1 -1
  14. data/lib/google/cloud/compute/v1/advice/rest/client.rb +184 -0
  15. data/lib/google/cloud/compute/v1/advice/rest/service_stub.rb +126 -0
  16. data/lib/google/cloud/compute/v1/autoscalers/credentials.rb +1 -1
  17. data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +1 -1
  18. data/lib/google/cloud/compute/v1/autoscalers/rest/service_stub.rb +1 -1
  19. data/lib/google/cloud/compute/v1/autoscalers/rest.rb +1 -1
  20. data/lib/google/cloud/compute/v1/autoscalers.rb +1 -1
  21. data/lib/google/cloud/compute/v1/backend_buckets/credentials.rb +1 -1
  22. data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +1 -1
  23. data/lib/google/cloud/compute/v1/backend_buckets/rest/service_stub.rb +1 -1
  24. data/lib/google/cloud/compute/v1/backend_buckets/rest.rb +1 -1
  25. data/lib/google/cloud/compute/v1/backend_buckets.rb +1 -1
  26. data/lib/google/cloud/compute/v1/backend_services/credentials.rb +1 -1
  27. data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +1 -1
  28. data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +1 -1
  29. data/lib/google/cloud/compute/v1/backend_services/rest.rb +1 -1
  30. data/lib/google/cloud/compute/v1/backend_services.rb +1 -1
  31. data/lib/google/cloud/compute/v1/compute_pb.rb +69 -1
  32. data/lib/google/cloud/compute/v1/disk_types/credentials.rb +1 -1
  33. data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +1 -1
  34. data/lib/google/cloud/compute/v1/disk_types/rest/service_stub.rb +1 -1
  35. data/lib/google/cloud/compute/v1/disk_types/rest.rb +1 -1
  36. data/lib/google/cloud/compute/v1/disk_types.rb +1 -1
  37. data/lib/google/cloud/compute/v1/disks/credentials.rb +1 -1
  38. data/lib/google/cloud/compute/v1/disks/rest/client.rb +1 -1
  39. data/lib/google/cloud/compute/v1/disks/rest/service_stub.rb +1 -1
  40. data/lib/google/cloud/compute/v1/disks/rest.rb +1 -1
  41. data/lib/google/cloud/compute/v1/disks.rb +1 -1
  42. data/lib/google/cloud/compute/v1/external_vpn_gateways/credentials.rb +1 -1
  43. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +1 -1
  44. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/service_stub.rb +1 -1
  45. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest.rb +1 -1
  46. data/lib/google/cloud/compute/v1/external_vpn_gateways.rb +1 -1
  47. data/lib/google/cloud/compute/v1/firewall_policies/credentials.rb +1 -1
  48. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +1 -1
  49. data/lib/google/cloud/compute/v1/firewall_policies/rest/service_stub.rb +1 -1
  50. data/lib/google/cloud/compute/v1/firewall_policies/rest.rb +1 -1
  51. data/lib/google/cloud/compute/v1/firewall_policies.rb +1 -1
  52. data/lib/google/cloud/compute/v1/firewalls/credentials.rb +1 -1
  53. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +1 -1
  54. data/lib/google/cloud/compute/v1/firewalls/rest/service_stub.rb +1 -1
  55. data/lib/google/cloud/compute/v1/firewalls/rest.rb +1 -1
  56. data/lib/google/cloud/compute/v1/firewalls.rb +1 -1
  57. data/lib/google/cloud/compute/v1/forwarding_rules/credentials.rb +1 -1
  58. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +1 -1
  59. data/lib/google/cloud/compute/v1/forwarding_rules/rest/service_stub.rb +1 -1
  60. data/lib/google/cloud/compute/v1/forwarding_rules/rest.rb +1 -1
  61. data/lib/google/cloud/compute/v1/forwarding_rules.rb +1 -1
  62. data/lib/google/cloud/compute/v1/global_addresses/credentials.rb +1 -1
  63. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +1 -1
  64. data/lib/google/cloud/compute/v1/global_addresses/rest/service_stub.rb +1 -1
  65. data/lib/google/cloud/compute/v1/global_addresses/rest.rb +1 -1
  66. data/lib/google/cloud/compute/v1/global_addresses.rb +1 -1
  67. data/lib/google/cloud/compute/v1/global_forwarding_rules/credentials.rb +1 -1
  68. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +1 -1
  69. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/service_stub.rb +1 -1
  70. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest.rb +1 -1
  71. data/lib/google/cloud/compute/v1/global_forwarding_rules.rb +1 -1
  72. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/credentials.rb +1 -1
  73. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +1 -1
  74. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/service_stub.rb +1 -1
  75. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest.rb +1 -1
  76. data/lib/google/cloud/compute/v1/global_network_endpoint_groups.rb +1 -1
  77. data/lib/google/cloud/compute/v1/global_operations/credentials.rb +1 -1
  78. data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +1 -1
  79. data/lib/google/cloud/compute/v1/global_operations/rest/nonstandard_lro.rb +1 -1
  80. data/lib/google/cloud/compute/v1/global_operations/rest/service_stub.rb +1 -1
  81. data/lib/google/cloud/compute/v1/global_operations/rest.rb +1 -1
  82. data/lib/google/cloud/compute/v1/global_operations.rb +1 -1
  83. data/lib/google/cloud/compute/v1/global_organization_operations/credentials.rb +1 -1
  84. data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +1 -1
  85. data/lib/google/cloud/compute/v1/global_organization_operations/rest/nonstandard_lro.rb +1 -1
  86. data/lib/google/cloud/compute/v1/global_organization_operations/rest/service_stub.rb +1 -1
  87. data/lib/google/cloud/compute/v1/global_organization_operations/rest.rb +1 -1
  88. data/lib/google/cloud/compute/v1/global_organization_operations.rb +1 -1
  89. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/credentials.rb +1 -1
  90. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +1 -1
  91. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/service_stub.rb +1 -1
  92. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest.rb +1 -1
  93. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes.rb +1 -1
  94. data/lib/google/cloud/compute/v1/health_checks/credentials.rb +1 -1
  95. data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +1 -1
  96. data/lib/google/cloud/compute/v1/health_checks/rest/service_stub.rb +1 -1
  97. data/lib/google/cloud/compute/v1/health_checks/rest.rb +1 -1
  98. data/lib/google/cloud/compute/v1/health_checks.rb +1 -1
  99. data/lib/google/cloud/compute/v1/hosts/credentials.rb +52 -0
  100. data/lib/google/cloud/compute/v1/hosts/rest/client.rb +755 -0
  101. data/lib/google/cloud/compute/v1/hosts/rest/service_stub.rb +273 -0
  102. data/lib/google/cloud/compute/v1/hosts/rest.rb +51 -0
  103. data/lib/google/cloud/compute/v1/hosts.rb +47 -0
  104. data/lib/google/cloud/compute/v1/image_family_views/credentials.rb +1 -1
  105. data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +1 -1
  106. data/lib/google/cloud/compute/v1/image_family_views/rest/service_stub.rb +1 -1
  107. data/lib/google/cloud/compute/v1/image_family_views/rest.rb +1 -1
  108. data/lib/google/cloud/compute/v1/image_family_views.rb +1 -1
  109. data/lib/google/cloud/compute/v1/images/credentials.rb +1 -1
  110. data/lib/google/cloud/compute/v1/images/rest/client.rb +1 -1
  111. data/lib/google/cloud/compute/v1/images/rest/service_stub.rb +1 -1
  112. data/lib/google/cloud/compute/v1/images/rest.rb +1 -1
  113. data/lib/google/cloud/compute/v1/images.rb +1 -1
  114. data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/credentials.rb +1 -1
  115. data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/client.rb +1 -1
  116. data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/service_stub.rb +1 -1
  117. data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest.rb +1 -1
  118. data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests.rb +1 -1
  119. data/lib/google/cloud/compute/v1/instance_group_managers/credentials.rb +1 -1
  120. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +1 -1
  121. data/lib/google/cloud/compute/v1/instance_group_managers/rest/service_stub.rb +1 -1
  122. data/lib/google/cloud/compute/v1/instance_group_managers/rest.rb +1 -1
  123. data/lib/google/cloud/compute/v1/instance_group_managers.rb +1 -1
  124. data/lib/google/cloud/compute/v1/instance_groups/credentials.rb +1 -1
  125. data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +1 -1
  126. data/lib/google/cloud/compute/v1/instance_groups/rest/service_stub.rb +1 -1
  127. data/lib/google/cloud/compute/v1/instance_groups/rest.rb +1 -1
  128. data/lib/google/cloud/compute/v1/instance_groups.rb +1 -1
  129. data/lib/google/cloud/compute/v1/instance_settings_service/credentials.rb +1 -1
  130. data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +1 -1
  131. data/lib/google/cloud/compute/v1/instance_settings_service/rest/service_stub.rb +1 -1
  132. data/lib/google/cloud/compute/v1/instance_settings_service/rest.rb +1 -1
  133. data/lib/google/cloud/compute/v1/instance_settings_service.rb +1 -1
  134. data/lib/google/cloud/compute/v1/instance_templates/credentials.rb +1 -1
  135. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +1 -1
  136. data/lib/google/cloud/compute/v1/instance_templates/rest/service_stub.rb +1 -1
  137. data/lib/google/cloud/compute/v1/instance_templates/rest.rb +1 -1
  138. data/lib/google/cloud/compute/v1/instance_templates.rb +1 -1
  139. data/lib/google/cloud/compute/v1/instances/credentials.rb +1 -1
  140. data/lib/google/cloud/compute/v1/instances/rest/client.rb +7 -3
  141. data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +1 -1
  142. data/lib/google/cloud/compute/v1/instances/rest.rb +1 -1
  143. data/lib/google/cloud/compute/v1/instances.rb +1 -1
  144. data/lib/google/cloud/compute/v1/instant_snapshots/credentials.rb +1 -1
  145. data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +1 -1
  146. data/lib/google/cloud/compute/v1/instant_snapshots/rest/service_stub.rb +1 -1
  147. data/lib/google/cloud/compute/v1/instant_snapshots/rest.rb +1 -1
  148. data/lib/google/cloud/compute/v1/instant_snapshots.rb +1 -1
  149. data/lib/google/cloud/compute/v1/interconnect_attachment_groups/credentials.rb +1 -1
  150. data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest/client.rb +1 -1
  151. data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest/service_stub.rb +1 -1
  152. data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest.rb +1 -1
  153. data/lib/google/cloud/compute/v1/interconnect_attachment_groups.rb +1 -1
  154. data/lib/google/cloud/compute/v1/interconnect_attachments/credentials.rb +1 -1
  155. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +1 -1
  156. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/service_stub.rb +1 -1
  157. data/lib/google/cloud/compute/v1/interconnect_attachments/rest.rb +1 -1
  158. data/lib/google/cloud/compute/v1/interconnect_attachments.rb +1 -1
  159. data/lib/google/cloud/compute/v1/interconnect_groups/credentials.rb +1 -1
  160. data/lib/google/cloud/compute/v1/interconnect_groups/rest/client.rb +1 -1
  161. data/lib/google/cloud/compute/v1/interconnect_groups/rest/service_stub.rb +1 -1
  162. data/lib/google/cloud/compute/v1/interconnect_groups/rest.rb +1 -1
  163. data/lib/google/cloud/compute/v1/interconnect_groups.rb +1 -1
  164. data/lib/google/cloud/compute/v1/interconnect_locations/credentials.rb +1 -1
  165. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +1 -1
  166. data/lib/google/cloud/compute/v1/interconnect_locations/rest/service_stub.rb +1 -1
  167. data/lib/google/cloud/compute/v1/interconnect_locations/rest.rb +1 -1
  168. data/lib/google/cloud/compute/v1/interconnect_locations.rb +1 -1
  169. data/lib/google/cloud/compute/v1/interconnect_remote_locations/credentials.rb +1 -1
  170. data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +1 -1
  171. data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/service_stub.rb +1 -1
  172. data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest.rb +1 -1
  173. data/lib/google/cloud/compute/v1/interconnect_remote_locations.rb +1 -1
  174. data/lib/google/cloud/compute/v1/interconnects/credentials.rb +1 -1
  175. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +1 -1
  176. data/lib/google/cloud/compute/v1/interconnects/rest/service_stub.rb +1 -1
  177. data/lib/google/cloud/compute/v1/interconnects/rest.rb +1 -1
  178. data/lib/google/cloud/compute/v1/interconnects.rb +1 -1
  179. data/lib/google/cloud/compute/v1/license_codes/credentials.rb +1 -1
  180. data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +1 -1
  181. data/lib/google/cloud/compute/v1/license_codes/rest/service_stub.rb +1 -1
  182. data/lib/google/cloud/compute/v1/license_codes/rest.rb +1 -1
  183. data/lib/google/cloud/compute/v1/license_codes.rb +1 -1
  184. data/lib/google/cloud/compute/v1/licenses/credentials.rb +1 -1
  185. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +1 -1
  186. data/lib/google/cloud/compute/v1/licenses/rest/service_stub.rb +1 -1
  187. data/lib/google/cloud/compute/v1/licenses/rest.rb +1 -1
  188. data/lib/google/cloud/compute/v1/licenses.rb +1 -1
  189. data/lib/google/cloud/compute/v1/machine_images/credentials.rb +1 -1
  190. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +1 -1
  191. data/lib/google/cloud/compute/v1/machine_images/rest/service_stub.rb +1 -1
  192. data/lib/google/cloud/compute/v1/machine_images/rest.rb +1 -1
  193. data/lib/google/cloud/compute/v1/machine_images.rb +1 -1
  194. data/lib/google/cloud/compute/v1/machine_types/credentials.rb +1 -1
  195. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +1 -1
  196. data/lib/google/cloud/compute/v1/machine_types/rest/service_stub.rb +1 -1
  197. data/lib/google/cloud/compute/v1/machine_types/rest.rb +1 -1
  198. data/lib/google/cloud/compute/v1/machine_types.rb +1 -1
  199. data/lib/google/cloud/compute/v1/network_attachments/credentials.rb +1 -1
  200. data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +1 -1
  201. data/lib/google/cloud/compute/v1/network_attachments/rest/service_stub.rb +1 -1
  202. data/lib/google/cloud/compute/v1/network_attachments/rest.rb +1 -1
  203. data/lib/google/cloud/compute/v1/network_attachments.rb +1 -1
  204. data/lib/google/cloud/compute/v1/network_edge_security_services/credentials.rb +1 -1
  205. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +1 -1
  206. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/service_stub.rb +1 -1
  207. data/lib/google/cloud/compute/v1/network_edge_security_services/rest.rb +1 -1
  208. data/lib/google/cloud/compute/v1/network_edge_security_services.rb +1 -1
  209. data/lib/google/cloud/compute/v1/network_endpoint_groups/credentials.rb +1 -1
  210. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +1 -1
  211. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/service_stub.rb +1 -1
  212. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest.rb +1 -1
  213. data/lib/google/cloud/compute/v1/network_endpoint_groups.rb +1 -1
  214. data/lib/google/cloud/compute/v1/network_firewall_policies/credentials.rb +1 -1
  215. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +1 -1
  216. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/service_stub.rb +1 -1
  217. data/lib/google/cloud/compute/v1/network_firewall_policies/rest.rb +1 -1
  218. data/lib/google/cloud/compute/v1/network_firewall_policies.rb +1 -1
  219. data/lib/google/cloud/compute/v1/network_profiles/credentials.rb +1 -1
  220. data/lib/google/cloud/compute/v1/network_profiles/rest/client.rb +1 -1
  221. data/lib/google/cloud/compute/v1/network_profiles/rest/service_stub.rb +1 -1
  222. data/lib/google/cloud/compute/v1/network_profiles/rest.rb +1 -1
  223. data/lib/google/cloud/compute/v1/network_profiles.rb +1 -1
  224. data/lib/google/cloud/compute/v1/networks/credentials.rb +1 -1
  225. data/lib/google/cloud/compute/v1/networks/rest/client.rb +1 -1
  226. data/lib/google/cloud/compute/v1/networks/rest/service_stub.rb +1 -1
  227. data/lib/google/cloud/compute/v1/networks/rest.rb +1 -1
  228. data/lib/google/cloud/compute/v1/networks.rb +1 -1
  229. data/lib/google/cloud/compute/v1/node_groups/credentials.rb +1 -1
  230. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +1 -1
  231. data/lib/google/cloud/compute/v1/node_groups/rest/service_stub.rb +1 -1
  232. data/lib/google/cloud/compute/v1/node_groups/rest.rb +1 -1
  233. data/lib/google/cloud/compute/v1/node_groups.rb +1 -1
  234. data/lib/google/cloud/compute/v1/node_templates/credentials.rb +1 -1
  235. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +1 -1
  236. data/lib/google/cloud/compute/v1/node_templates/rest/service_stub.rb +1 -1
  237. data/lib/google/cloud/compute/v1/node_templates/rest.rb +1 -1
  238. data/lib/google/cloud/compute/v1/node_templates.rb +1 -1
  239. data/lib/google/cloud/compute/v1/node_types/credentials.rb +1 -1
  240. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +1 -1
  241. data/lib/google/cloud/compute/v1/node_types/rest/service_stub.rb +1 -1
  242. data/lib/google/cloud/compute/v1/node_types/rest.rb +1 -1
  243. data/lib/google/cloud/compute/v1/node_types.rb +1 -1
  244. data/lib/google/cloud/compute/v1/packet_mirrorings/credentials.rb +1 -1
  245. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +1 -1
  246. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/service_stub.rb +1 -1
  247. data/lib/google/cloud/compute/v1/packet_mirrorings/rest.rb +1 -1
  248. data/lib/google/cloud/compute/v1/packet_mirrorings.rb +1 -1
  249. data/lib/google/cloud/compute/v1/project_views/credentials.rb +53 -0
  250. data/lib/google/cloud/compute/v1/project_views/rest/client.rb +438 -0
  251. data/lib/google/cloud/compute/v1/project_views/rest/service_stub.rb +143 -0
  252. data/lib/google/cloud/compute/v1/project_views/rest.rb +51 -0
  253. data/lib/google/cloud/compute/v1/project_views.rb +47 -0
  254. data/lib/google/cloud/compute/v1/projects/credentials.rb +1 -1
  255. data/lib/google/cloud/compute/v1/projects/rest/client.rb +1 -1
  256. data/lib/google/cloud/compute/v1/projects/rest/service_stub.rb +1 -1
  257. data/lib/google/cloud/compute/v1/projects/rest.rb +1 -1
  258. data/lib/google/cloud/compute/v1/projects.rb +1 -1
  259. data/lib/google/cloud/compute/v1/public_advertised_prefixes/credentials.rb +1 -1
  260. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +1 -1
  261. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/service_stub.rb +1 -1
  262. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest.rb +1 -1
  263. data/lib/google/cloud/compute/v1/public_advertised_prefixes.rb +1 -1
  264. data/lib/google/cloud/compute/v1/public_delegated_prefixes/credentials.rb +1 -1
  265. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +1 -1
  266. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/service_stub.rb +1 -1
  267. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest.rb +1 -1
  268. data/lib/google/cloud/compute/v1/public_delegated_prefixes.rb +1 -1
  269. data/lib/google/cloud/compute/v1/region_autoscalers/credentials.rb +1 -1
  270. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +1 -1
  271. data/lib/google/cloud/compute/v1/region_autoscalers/rest/service_stub.rb +1 -1
  272. data/lib/google/cloud/compute/v1/region_autoscalers/rest.rb +1 -1
  273. data/lib/google/cloud/compute/v1/region_autoscalers.rb +1 -1
  274. data/lib/google/cloud/compute/v1/region_backend_services/credentials.rb +1 -1
  275. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +1 -1
  276. data/lib/google/cloud/compute/v1/region_backend_services/rest/service_stub.rb +1 -1
  277. data/lib/google/cloud/compute/v1/region_backend_services/rest.rb +1 -1
  278. data/lib/google/cloud/compute/v1/region_backend_services.rb +1 -1
  279. data/lib/google/cloud/compute/v1/region_commitments/credentials.rb +1 -1
  280. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +1 -1
  281. data/lib/google/cloud/compute/v1/region_commitments/rest/service_stub.rb +1 -1
  282. data/lib/google/cloud/compute/v1/region_commitments/rest.rb +1 -1
  283. data/lib/google/cloud/compute/v1/region_commitments.rb +1 -1
  284. data/lib/google/cloud/compute/v1/region_disk_types/credentials.rb +1 -1
  285. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +1 -1
  286. data/lib/google/cloud/compute/v1/region_disk_types/rest/service_stub.rb +1 -1
  287. data/lib/google/cloud/compute/v1/region_disk_types/rest.rb +1 -1
  288. data/lib/google/cloud/compute/v1/region_disk_types.rb +1 -1
  289. data/lib/google/cloud/compute/v1/region_disks/credentials.rb +1 -1
  290. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +1 -1
  291. data/lib/google/cloud/compute/v1/region_disks/rest/service_stub.rb +1 -1
  292. data/lib/google/cloud/compute/v1/region_disks/rest.rb +1 -1
  293. data/lib/google/cloud/compute/v1/region_disks.rb +1 -1
  294. data/lib/google/cloud/compute/v1/region_health_check_services/credentials.rb +1 -1
  295. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +1 -1
  296. data/lib/google/cloud/compute/v1/region_health_check_services/rest/service_stub.rb +1 -1
  297. data/lib/google/cloud/compute/v1/region_health_check_services/rest.rb +1 -1
  298. data/lib/google/cloud/compute/v1/region_health_check_services.rb +1 -1
  299. data/lib/google/cloud/compute/v1/region_health_checks/credentials.rb +1 -1
  300. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +1 -1
  301. data/lib/google/cloud/compute/v1/region_health_checks/rest/service_stub.rb +1 -1
  302. data/lib/google/cloud/compute/v1/region_health_checks/rest.rb +1 -1
  303. data/lib/google/cloud/compute/v1/region_health_checks.rb +1 -1
  304. data/lib/google/cloud/compute/v1/region_instance_group_managers/credentials.rb +1 -1
  305. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +1 -1
  306. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/service_stub.rb +1 -1
  307. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest.rb +1 -1
  308. data/lib/google/cloud/compute/v1/region_instance_group_managers.rb +1 -1
  309. data/lib/google/cloud/compute/v1/region_instance_groups/credentials.rb +1 -1
  310. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +1 -1
  311. data/lib/google/cloud/compute/v1/region_instance_groups/rest/service_stub.rb +1 -1
  312. data/lib/google/cloud/compute/v1/region_instance_groups/rest.rb +1 -1
  313. data/lib/google/cloud/compute/v1/region_instance_groups.rb +1 -1
  314. data/lib/google/cloud/compute/v1/region_instance_templates/credentials.rb +1 -1
  315. data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +1 -1
  316. data/lib/google/cloud/compute/v1/region_instance_templates/rest/service_stub.rb +1 -1
  317. data/lib/google/cloud/compute/v1/region_instance_templates/rest.rb +1 -1
  318. data/lib/google/cloud/compute/v1/region_instance_templates.rb +1 -1
  319. data/lib/google/cloud/compute/v1/region_instances/credentials.rb +1 -1
  320. data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +1 -1
  321. data/lib/google/cloud/compute/v1/region_instances/rest/service_stub.rb +1 -1
  322. data/lib/google/cloud/compute/v1/region_instances/rest.rb +1 -1
  323. data/lib/google/cloud/compute/v1/region_instances.rb +1 -1
  324. data/lib/google/cloud/compute/v1/region_instant_snapshots/credentials.rb +1 -1
  325. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +1 -1
  326. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/service_stub.rb +1 -1
  327. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest.rb +1 -1
  328. data/lib/google/cloud/compute/v1/region_instant_snapshots.rb +1 -1
  329. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/credentials.rb +1 -1
  330. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +1 -1
  331. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/service_stub.rb +1 -1
  332. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest.rb +1 -1
  333. data/lib/google/cloud/compute/v1/region_network_endpoint_groups.rb +1 -1
  334. data/lib/google/cloud/compute/v1/region_network_firewall_policies/credentials.rb +1 -1
  335. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +1 -1
  336. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/service_stub.rb +1 -1
  337. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest.rb +1 -1
  338. data/lib/google/cloud/compute/v1/region_network_firewall_policies.rb +1 -1
  339. data/lib/google/cloud/compute/v1/region_notification_endpoints/credentials.rb +1 -1
  340. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +1 -1
  341. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/service_stub.rb +1 -1
  342. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest.rb +1 -1
  343. data/lib/google/cloud/compute/v1/region_notification_endpoints.rb +1 -1
  344. data/lib/google/cloud/compute/v1/region_operations/credentials.rb +1 -1
  345. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +1 -1
  346. data/lib/google/cloud/compute/v1/region_operations/rest/nonstandard_lro.rb +1 -1
  347. data/lib/google/cloud/compute/v1/region_operations/rest/service_stub.rb +1 -1
  348. data/lib/google/cloud/compute/v1/region_operations/rest.rb +1 -1
  349. data/lib/google/cloud/compute/v1/region_operations.rb +1 -1
  350. data/lib/google/cloud/compute/v1/region_security_policies/credentials.rb +1 -1
  351. data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +1 -1
  352. data/lib/google/cloud/compute/v1/region_security_policies/rest/service_stub.rb +1 -1
  353. data/lib/google/cloud/compute/v1/region_security_policies/rest.rb +1 -1
  354. data/lib/google/cloud/compute/v1/region_security_policies.rb +1 -1
  355. data/lib/google/cloud/compute/v1/region_ssl_certificates/credentials.rb +1 -1
  356. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +1 -1
  357. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/service_stub.rb +1 -1
  358. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest.rb +1 -1
  359. data/lib/google/cloud/compute/v1/region_ssl_certificates.rb +1 -1
  360. data/lib/google/cloud/compute/v1/region_ssl_policies/credentials.rb +1 -1
  361. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +1 -1
  362. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/service_stub.rb +1 -1
  363. data/lib/google/cloud/compute/v1/region_ssl_policies/rest.rb +1 -1
  364. data/lib/google/cloud/compute/v1/region_ssl_policies.rb +1 -1
  365. data/lib/google/cloud/compute/v1/region_target_http_proxies/credentials.rb +1 -1
  366. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +1 -1
  367. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/service_stub.rb +1 -1
  368. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest.rb +1 -1
  369. data/lib/google/cloud/compute/v1/region_target_http_proxies.rb +1 -1
  370. data/lib/google/cloud/compute/v1/region_target_https_proxies/credentials.rb +1 -1
  371. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +1 -1
  372. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/service_stub.rb +1 -1
  373. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest.rb +1 -1
  374. data/lib/google/cloud/compute/v1/region_target_https_proxies.rb +1 -1
  375. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/credentials.rb +1 -1
  376. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +1 -1
  377. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/service_stub.rb +1 -1
  378. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest.rb +1 -1
  379. data/lib/google/cloud/compute/v1/region_target_tcp_proxies.rb +1 -1
  380. data/lib/google/cloud/compute/v1/region_url_maps/credentials.rb +1 -1
  381. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +1 -1
  382. data/lib/google/cloud/compute/v1/region_url_maps/rest/service_stub.rb +1 -1
  383. data/lib/google/cloud/compute/v1/region_url_maps/rest.rb +1 -1
  384. data/lib/google/cloud/compute/v1/region_url_maps.rb +1 -1
  385. data/lib/google/cloud/compute/v1/region_zones/credentials.rb +1 -1
  386. data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +1 -1
  387. data/lib/google/cloud/compute/v1/region_zones/rest/service_stub.rb +1 -1
  388. data/lib/google/cloud/compute/v1/region_zones/rest.rb +1 -1
  389. data/lib/google/cloud/compute/v1/region_zones.rb +1 -1
  390. data/lib/google/cloud/compute/v1/regions/credentials.rb +1 -1
  391. data/lib/google/cloud/compute/v1/regions/rest/client.rb +1 -1
  392. data/lib/google/cloud/compute/v1/regions/rest/service_stub.rb +1 -1
  393. data/lib/google/cloud/compute/v1/regions/rest.rb +1 -1
  394. data/lib/google/cloud/compute/v1/regions.rb +1 -1
  395. data/lib/google/cloud/compute/v1/reliability_risks/credentials.rb +53 -0
  396. data/lib/google/cloud/compute/v1/reliability_risks/rest/client.rb +611 -0
  397. data/lib/google/cloud/compute/v1/reliability_risks/rest/service_stub.rb +204 -0
  398. data/lib/google/cloud/compute/v1/reliability_risks/rest.rb +51 -0
  399. data/lib/google/cloud/compute/v1/reliability_risks.rb +47 -0
  400. data/lib/google/cloud/compute/v1/reservation_blocks/credentials.rb +1 -1
  401. data/lib/google/cloud/compute/v1/reservation_blocks/rest/client.rb +1 -1
  402. data/lib/google/cloud/compute/v1/reservation_blocks/rest/service_stub.rb +1 -1
  403. data/lib/google/cloud/compute/v1/reservation_blocks/rest.rb +1 -1
  404. data/lib/google/cloud/compute/v1/reservation_blocks.rb +1 -1
  405. data/lib/google/cloud/compute/v1/reservation_slots/rest/client.rb +108 -0
  406. data/lib/google/cloud/compute/v1/reservation_slots/rest/service_stub.rb +64 -0
  407. data/lib/google/cloud/compute/v1/reservation_sub_blocks/credentials.rb +1 -1
  408. data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/client.rb +1 -1
  409. data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/service_stub.rb +1 -1
  410. data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest.rb +1 -1
  411. data/lib/google/cloud/compute/v1/reservation_sub_blocks.rb +1 -1
  412. data/lib/google/cloud/compute/v1/reservations/credentials.rb +1 -1
  413. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +1 -1
  414. data/lib/google/cloud/compute/v1/reservations/rest/service_stub.rb +1 -1
  415. data/lib/google/cloud/compute/v1/reservations/rest.rb +1 -1
  416. data/lib/google/cloud/compute/v1/reservations.rb +1 -1
  417. data/lib/google/cloud/compute/v1/resource_policies/credentials.rb +1 -1
  418. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +1 -1
  419. data/lib/google/cloud/compute/v1/resource_policies/rest/service_stub.rb +1 -1
  420. data/lib/google/cloud/compute/v1/resource_policies/rest.rb +1 -1
  421. data/lib/google/cloud/compute/v1/resource_policies.rb +1 -1
  422. data/lib/google/cloud/compute/v1/rest.rb +4 -1
  423. data/lib/google/cloud/compute/v1/routers/credentials.rb +1 -1
  424. data/lib/google/cloud/compute/v1/routers/rest/client.rb +1 -1
  425. data/lib/google/cloud/compute/v1/routers/rest/service_stub.rb +1 -1
  426. data/lib/google/cloud/compute/v1/routers/rest.rb +1 -1
  427. data/lib/google/cloud/compute/v1/routers.rb +1 -1
  428. data/lib/google/cloud/compute/v1/routes/credentials.rb +1 -1
  429. data/lib/google/cloud/compute/v1/routes/rest/client.rb +1 -1
  430. data/lib/google/cloud/compute/v1/routes/rest/service_stub.rb +1 -1
  431. data/lib/google/cloud/compute/v1/routes/rest.rb +1 -1
  432. data/lib/google/cloud/compute/v1/routes.rb +1 -1
  433. data/lib/google/cloud/compute/v1/security_policies/credentials.rb +1 -1
  434. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +1 -1
  435. data/lib/google/cloud/compute/v1/security_policies/rest/service_stub.rb +1 -1
  436. data/lib/google/cloud/compute/v1/security_policies/rest.rb +1 -1
  437. data/lib/google/cloud/compute/v1/security_policies.rb +1 -1
  438. data/lib/google/cloud/compute/v1/service_attachments/credentials.rb +1 -1
  439. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +1 -1
  440. data/lib/google/cloud/compute/v1/service_attachments/rest/service_stub.rb +1 -1
  441. data/lib/google/cloud/compute/v1/service_attachments/rest.rb +1 -1
  442. data/lib/google/cloud/compute/v1/service_attachments.rb +1 -1
  443. data/lib/google/cloud/compute/v1/snapshot_settings_service/credentials.rb +1 -1
  444. data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/client.rb +1 -1
  445. data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/service_stub.rb +1 -1
  446. data/lib/google/cloud/compute/v1/snapshot_settings_service/rest.rb +1 -1
  447. data/lib/google/cloud/compute/v1/snapshot_settings_service.rb +1 -1
  448. data/lib/google/cloud/compute/v1/snapshots/credentials.rb +1 -1
  449. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +1 -1
  450. data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +1 -1
  451. data/lib/google/cloud/compute/v1/snapshots/rest.rb +1 -1
  452. data/lib/google/cloud/compute/v1/snapshots.rb +1 -1
  453. data/lib/google/cloud/compute/v1/ssl_certificates/credentials.rb +1 -1
  454. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +1 -1
  455. data/lib/google/cloud/compute/v1/ssl_certificates/rest/service_stub.rb +1 -1
  456. data/lib/google/cloud/compute/v1/ssl_certificates/rest.rb +1 -1
  457. data/lib/google/cloud/compute/v1/ssl_certificates.rb +1 -1
  458. data/lib/google/cloud/compute/v1/ssl_policies/credentials.rb +1 -1
  459. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +1 -1
  460. data/lib/google/cloud/compute/v1/ssl_policies/rest/service_stub.rb +1 -1
  461. data/lib/google/cloud/compute/v1/ssl_policies/rest.rb +1 -1
  462. data/lib/google/cloud/compute/v1/ssl_policies.rb +1 -1
  463. data/lib/google/cloud/compute/v1/storage_pool_types/credentials.rb +1 -1
  464. data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +1 -1
  465. data/lib/google/cloud/compute/v1/storage_pool_types/rest/service_stub.rb +1 -1
  466. data/lib/google/cloud/compute/v1/storage_pool_types/rest.rb +1 -1
  467. data/lib/google/cloud/compute/v1/storage_pool_types.rb +1 -1
  468. data/lib/google/cloud/compute/v1/storage_pools/credentials.rb +1 -1
  469. data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +1 -1
  470. data/lib/google/cloud/compute/v1/storage_pools/rest/service_stub.rb +1 -1
  471. data/lib/google/cloud/compute/v1/storage_pools/rest.rb +1 -1
  472. data/lib/google/cloud/compute/v1/storage_pools.rb +1 -1
  473. data/lib/google/cloud/compute/v1/subnetworks/credentials.rb +1 -1
  474. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +1 -1
  475. data/lib/google/cloud/compute/v1/subnetworks/rest/service_stub.rb +1 -1
  476. data/lib/google/cloud/compute/v1/subnetworks/rest.rb +1 -1
  477. data/lib/google/cloud/compute/v1/subnetworks.rb +1 -1
  478. data/lib/google/cloud/compute/v1/target_grpc_proxies/credentials.rb +1 -1
  479. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +1 -1
  480. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/service_stub.rb +1 -1
  481. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest.rb +1 -1
  482. data/lib/google/cloud/compute/v1/target_grpc_proxies.rb +1 -1
  483. data/lib/google/cloud/compute/v1/target_http_proxies/credentials.rb +1 -1
  484. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +1 -1
  485. data/lib/google/cloud/compute/v1/target_http_proxies/rest/service_stub.rb +1 -1
  486. data/lib/google/cloud/compute/v1/target_http_proxies/rest.rb +1 -1
  487. data/lib/google/cloud/compute/v1/target_http_proxies.rb +1 -1
  488. data/lib/google/cloud/compute/v1/target_https_proxies/credentials.rb +1 -1
  489. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +1 -1
  490. data/lib/google/cloud/compute/v1/target_https_proxies/rest/service_stub.rb +1 -1
  491. data/lib/google/cloud/compute/v1/target_https_proxies/rest.rb +1 -1
  492. data/lib/google/cloud/compute/v1/target_https_proxies.rb +1 -1
  493. data/lib/google/cloud/compute/v1/target_instances/credentials.rb +1 -1
  494. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +1 -1
  495. data/lib/google/cloud/compute/v1/target_instances/rest/service_stub.rb +1 -1
  496. data/lib/google/cloud/compute/v1/target_instances/rest.rb +1 -1
  497. data/lib/google/cloud/compute/v1/target_instances.rb +1 -1
  498. data/lib/google/cloud/compute/v1/target_pools/credentials.rb +1 -1
  499. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +1 -1
  500. data/lib/google/cloud/compute/v1/target_pools/rest/service_stub.rb +1 -1
  501. data/lib/google/cloud/compute/v1/target_pools/rest.rb +1 -1
  502. data/lib/google/cloud/compute/v1/target_pools.rb +1 -1
  503. data/lib/google/cloud/compute/v1/target_ssl_proxies/credentials.rb +1 -1
  504. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +1 -1
  505. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +1 -1
  506. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest.rb +1 -1
  507. data/lib/google/cloud/compute/v1/target_ssl_proxies.rb +1 -1
  508. data/lib/google/cloud/compute/v1/target_tcp_proxies/credentials.rb +1 -1
  509. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +1 -1
  510. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/service_stub.rb +1 -1
  511. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest.rb +1 -1
  512. data/lib/google/cloud/compute/v1/target_tcp_proxies.rb +1 -1
  513. data/lib/google/cloud/compute/v1/target_vpn_gateways/credentials.rb +1 -1
  514. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +1 -1
  515. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/service_stub.rb +1 -1
  516. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest.rb +1 -1
  517. data/lib/google/cloud/compute/v1/target_vpn_gateways.rb +1 -1
  518. data/lib/google/cloud/compute/v1/url_maps/credentials.rb +1 -1
  519. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +1 -1
  520. data/lib/google/cloud/compute/v1/url_maps/rest/service_stub.rb +1 -1
  521. data/lib/google/cloud/compute/v1/url_maps/rest.rb +1 -1
  522. data/lib/google/cloud/compute/v1/url_maps.rb +1 -1
  523. data/lib/google/cloud/compute/v1/version.rb +1 -1
  524. data/lib/google/cloud/compute/v1/vpn_gateways/credentials.rb +1 -1
  525. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +1 -1
  526. data/lib/google/cloud/compute/v1/vpn_gateways/rest/service_stub.rb +1 -1
  527. data/lib/google/cloud/compute/v1/vpn_gateways/rest.rb +1 -1
  528. data/lib/google/cloud/compute/v1/vpn_gateways.rb +1 -1
  529. data/lib/google/cloud/compute/v1/vpn_tunnels/credentials.rb +1 -1
  530. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +1 -1
  531. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/service_stub.rb +1 -1
  532. data/lib/google/cloud/compute/v1/vpn_tunnels/rest.rb +1 -1
  533. data/lib/google/cloud/compute/v1/vpn_tunnels.rb +1 -1
  534. data/lib/google/cloud/compute/v1/zone_operations/credentials.rb +1 -1
  535. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +1 -1
  536. data/lib/google/cloud/compute/v1/zone_operations/rest/nonstandard_lro.rb +1 -1
  537. data/lib/google/cloud/compute/v1/zone_operations/rest/service_stub.rb +1 -1
  538. data/lib/google/cloud/compute/v1/zone_operations/rest.rb +1 -1
  539. data/lib/google/cloud/compute/v1/zone_operations.rb +1 -1
  540. data/lib/google/cloud/compute/v1/zones/credentials.rb +1 -1
  541. data/lib/google/cloud/compute/v1/zones/rest/client.rb +1 -1
  542. data/lib/google/cloud/compute/v1/zones/rest/service_stub.rb +1 -1
  543. data/lib/google/cloud/compute/v1/zones/rest.rb +1 -1
  544. data/lib/google/cloud/compute/v1/zones.rb +1 -1
  545. data/lib/google/cloud/compute/v1.rb +4 -1
  546. data/lib/google-cloud-compute-v1.rb +1 -1
  547. data/proto_docs/README.md +1 -1
  548. data/proto_docs/google/api/client.rb +1 -1
  549. data/proto_docs/google/api/field_behavior.rb +1 -1
  550. data/proto_docs/google/api/launch_stage.rb +1 -1
  551. data/proto_docs/google/api/resource.rb +1 -1
  552. data/proto_docs/google/cloud/compute/v1/compute.rb +2269 -480
  553. data/proto_docs/google/cloud/extended_operations.rb +1 -1
  554. data/proto_docs/google/protobuf/any.rb +1 -1
  555. data/proto_docs/google/protobuf/duration.rb +1 -1
  556. metadata +23 -4
@@ -0,0 +1,611 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/errors"
20
+ require "google/cloud/compute/v1/compute_pb"
21
+ require "google/cloud/compute/v1/reliability_risks/rest/service_stub"
22
+
23
+ module Google
24
+ module Cloud
25
+ module Compute
26
+ module V1
27
+ module ReliabilityRisks
28
+ module Rest
29
+ ##
30
+ # REST client for the ReliabilityRisks service.
31
+ #
32
+ # The ReliabilityRisks API.
33
+ #
34
+ class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
38
+ # @private
39
+ DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
40
+
41
+ # @private
42
+ attr_reader :reliability_risks_stub
43
+
44
+ ##
45
+ # Configure the ReliabilityRisks Client class.
46
+ #
47
+ # See {::Google::Cloud::Compute::V1::ReliabilityRisks::Rest::Client::Configuration}
48
+ # for a description of the configuration fields.
49
+ #
50
+ # @example
51
+ #
52
+ # # Modify the configuration for all ReliabilityRisks clients
53
+ # ::Google::Cloud::Compute::V1::ReliabilityRisks::Rest::Client.configure do |config|
54
+ # config.timeout = 10.0
55
+ # end
56
+ #
57
+ # @yield [config] Configure the Client client.
58
+ # @yieldparam config [Client::Configuration]
59
+ #
60
+ # @return [Client::Configuration]
61
+ #
62
+ def self.configure
63
+ @configure ||= begin
64
+ namespace = ["Google", "Cloud", "Compute", "V1"]
65
+ parent_config = while namespace.any?
66
+ parent_name = namespace.join "::"
67
+ parent_const = const_get parent_name
68
+ break parent_const.configure if parent_const.respond_to? :configure
69
+ namespace.pop
70
+ end
71
+ default_config = Client::Configuration.new parent_config
72
+
73
+ default_config.rpcs.get.timeout = 600.0
74
+ default_config.rpcs.get.retry_policy = {
75
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
76
+ }
77
+
78
+ default_config.rpcs.list.timeout = 600.0
79
+ default_config.rpcs.list.retry_policy = {
80
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
81
+ }
82
+
83
+ default_config
84
+ end
85
+ yield @configure if block_given?
86
+ @configure
87
+ end
88
+
89
+ ##
90
+ # Configure the ReliabilityRisks Client instance.
91
+ #
92
+ # The configuration is set to the derived mode, meaning that values can be changed,
93
+ # but structural changes (adding new fields, etc.) are not allowed. Structural changes
94
+ # should be made on {Client.configure}.
95
+ #
96
+ # See {::Google::Cloud::Compute::V1::ReliabilityRisks::Rest::Client::Configuration}
97
+ # for a description of the configuration fields.
98
+ #
99
+ # @yield [config] Configure the Client client.
100
+ # @yieldparam config [Client::Configuration]
101
+ #
102
+ # @return [Client::Configuration]
103
+ #
104
+ def configure
105
+ yield @config if block_given?
106
+ @config
107
+ end
108
+
109
+ ##
110
+ # The effective universe domain
111
+ #
112
+ # @return [String]
113
+ #
114
+ def universe_domain
115
+ @reliability_risks_stub.universe_domain
116
+ end
117
+
118
+ ##
119
+ # Create a new ReliabilityRisks REST client object.
120
+ #
121
+ # @example
122
+ #
123
+ # # Create a client using the default configuration
124
+ # client = ::Google::Cloud::Compute::V1::ReliabilityRisks::Rest::Client.new
125
+ #
126
+ # # Create a client using a custom configuration
127
+ # client = ::Google::Cloud::Compute::V1::ReliabilityRisks::Rest::Client.new do |config|
128
+ # config.timeout = 10.0
129
+ # end
130
+ #
131
+ # @yield [config] Configure the ReliabilityRisks client.
132
+ # @yieldparam config [Client::Configuration]
133
+ #
134
+ def initialize
135
+ # Create the configuration object
136
+ @config = Configuration.new Client.configure
137
+
138
+ # Yield the configuration if needed
139
+ yield @config if block_given?
140
+
141
+ # Create credentials
142
+ credentials = @config.credentials
143
+ # Use self-signed JWT if the endpoint is unchanged from default,
144
+ # but only if the default endpoint does not have a region prefix.
145
+ enable_self_signed_jwt = @config.endpoint.nil? ||
146
+ (@config.endpoint == Configuration::DEFAULT_ENDPOINT &&
147
+ !@config.endpoint.split(".").first.include?("-"))
148
+ credentials ||= Credentials.default scope: @config.scope,
149
+ enable_self_signed_jwt: enable_self_signed_jwt
150
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
151
+ credentials = Credentials.new credentials, scope: @config.scope
152
+ end
153
+
154
+ @quota_project_id = @config.quota_project
155
+ @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
156
+
157
+ @reliability_risks_stub = ::Google::Cloud::Compute::V1::ReliabilityRisks::Rest::ServiceStub.new(
158
+ endpoint: @config.endpoint,
159
+ endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
160
+ universe_domain: @config.universe_domain,
161
+ credentials: credentials,
162
+ logger: @config.logger
163
+ )
164
+
165
+ @reliability_risks_stub.logger(stub: true)&.info do |entry|
166
+ entry.set_system_name
167
+ entry.set_service
168
+ entry.message = "Created client for #{entry.service}"
169
+ entry.set_credentials_fields credentials
170
+ entry.set "customEndpoint", @config.endpoint if @config.endpoint
171
+ entry.set "defaultTimeout", @config.timeout if @config.timeout
172
+ entry.set "quotaProject", @quota_project_id if @quota_project_id
173
+ end
174
+ end
175
+
176
+ ##
177
+ # The logger used for request/response debug logging.
178
+ #
179
+ # @return [Logger]
180
+ #
181
+ def logger
182
+ @reliability_risks_stub.logger
183
+ end
184
+
185
+ # Service calls
186
+
187
+ ##
188
+ # Returns the specified ReliabilityRisk resource.
189
+ #
190
+ # @overload get(request, options = nil)
191
+ # Pass arguments to `get` via a request object, either of type
192
+ # {::Google::Cloud::Compute::V1::GetReliabilityRiskRequest} or an equivalent Hash.
193
+ #
194
+ # @param request [::Google::Cloud::Compute::V1::GetReliabilityRiskRequest, ::Hash]
195
+ # A request object representing the call parameters. Required. To specify no
196
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
197
+ # @param options [::Gapic::CallOptions, ::Hash]
198
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
199
+ #
200
+ # @overload get(project: nil, reliability_risk: nil)
201
+ # Pass arguments to `get` via keyword arguments. Note that at
202
+ # least one keyword argument is required. To specify no parameters, or to keep all
203
+ # the default parameter values, pass an empty Hash as a request object (see above).
204
+ #
205
+ # @param project [::String]
206
+ # Project ID for this request.
207
+ # @param reliability_risk [::String]
208
+ # Name of the ReliabilityRisk resource to return.
209
+ # @yield [result, operation] Access the result along with the TransportOperation object
210
+ # @yieldparam result [::Google::Cloud::Compute::V1::ReliabilityRisk]
211
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
212
+ #
213
+ # @return [::Google::Cloud::Compute::V1::ReliabilityRisk]
214
+ #
215
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
216
+ #
217
+ # @example Basic example
218
+ # require "google/cloud/compute/v1"
219
+ #
220
+ # # Create a client object. The client can be reused for multiple calls.
221
+ # client = Google::Cloud::Compute::V1::ReliabilityRisks::Rest::Client.new
222
+ #
223
+ # # Create a request. To set request fields, pass in keyword arguments.
224
+ # request = Google::Cloud::Compute::V1::GetReliabilityRiskRequest.new
225
+ #
226
+ # # Call the get method.
227
+ # result = client.get request
228
+ #
229
+ # # The returned object is of type Google::Cloud::Compute::V1::ReliabilityRisk.
230
+ # p result
231
+ #
232
+ def get request, options = nil
233
+ raise ::ArgumentError, "request must be provided" if request.nil?
234
+
235
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Compute::V1::GetReliabilityRiskRequest
236
+
237
+ # Converts hash and nil to an options object
238
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
239
+
240
+ # Customize the options with defaults
241
+ call_metadata = @config.rpcs.get.metadata.to_h
242
+
243
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
244
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
245
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
246
+ gapic_version: ::Google::Cloud::Compute::V1::VERSION,
247
+ transports_version_send: [:rest]
248
+
249
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
250
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
251
+
252
+ options.apply_defaults timeout: @config.rpcs.get.timeout,
253
+ metadata: call_metadata,
254
+ retry_policy: @config.rpcs.get.retry_policy
255
+
256
+ options.apply_defaults timeout: @config.timeout,
257
+ metadata: @config.metadata,
258
+ retry_policy: @config.retry_policy
259
+
260
+ @reliability_risks_stub.get request, options do |result, operation|
261
+ yield result, operation if block_given?
262
+ end
263
+ rescue ::Gapic::Rest::Error => e
264
+ raise ::Google::Cloud::Error.from_error(e)
265
+ end
266
+
267
+ ##
268
+ # Retrieves the list of reliabilityRisks available in the specified project.
269
+ #
270
+ # @overload list(request, options = nil)
271
+ # Pass arguments to `list` via a request object, either of type
272
+ # {::Google::Cloud::Compute::V1::ListReliabilityRisksRequest} or an equivalent Hash.
273
+ #
274
+ # @param request [::Google::Cloud::Compute::V1::ListReliabilityRisksRequest, ::Hash]
275
+ # A request object representing the call parameters. Required. To specify no
276
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
277
+ # @param options [::Gapic::CallOptions, ::Hash]
278
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
279
+ #
280
+ # @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, return_partial_success: nil)
281
+ # Pass arguments to `list` via keyword arguments. Note that at
282
+ # least one keyword argument is required. To specify no parameters, or to keep all
283
+ # the default parameter values, pass an empty Hash as a request object (see above).
284
+ #
285
+ # @param filter [::String]
286
+ # A filter expression that filters resources listed in the response. Most
287
+ # Compute resources support two types of filter expressions:
288
+ # expressions that support regular expressions and expressions that follow
289
+ # API improvement proposal AIP-160.
290
+ # These two types of filter expressions cannot be mixed in one request.
291
+ #
292
+ # If you want to use AIP-160, your expression must specify the field name, an
293
+ # operator, and the value that you want to use for filtering. The value
294
+ # must be a string, a number, or a boolean. The operator
295
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
296
+ #
297
+ # For example, if you are filtering Compute Engine instances, you can
298
+ # exclude instances named `example-instance` by specifying
299
+ # `name != example-instance`.
300
+ #
301
+ # The `:*` comparison can be used to test whether a key has been defined.
302
+ # For example, to find all objects with `owner` label use:
303
+ # ```
304
+ # labels.owner:*
305
+ # ```
306
+ #
307
+ # You can also filter nested fields. For example, you could specify
308
+ # `scheduling.automaticRestart = false` to include instances only
309
+ # if they are not scheduled for automatic restarts. You can use filtering
310
+ # on nested fields to filter based onresource labels.
311
+ #
312
+ # To filter on multiple expressions, provide each separate expression within
313
+ # parentheses. For example:
314
+ # ```
315
+ # (scheduling.automaticRestart = true)
316
+ # (cpuPlatform = "Intel Skylake")
317
+ # ```
318
+ # By default, each expression is an `AND` expression. However, you
319
+ # can include `AND` and `OR` expressions explicitly.
320
+ # For example:
321
+ # ```
322
+ # (cpuPlatform = "Intel Skylake") OR
323
+ # (cpuPlatform = "Intel Broadwell") AND
324
+ # (scheduling.automaticRestart = true)
325
+ # ```
326
+ #
327
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
328
+ # (not equal) operator against a single un-parenthesized expression with or
329
+ # without quotes or against multiple parenthesized expressions. Examples:
330
+ #
331
+ # `fieldname eq unquoted literal`
332
+ # `fieldname eq 'single quoted literal'`
333
+ # `fieldname eq "double quoted literal"`
334
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
335
+ #
336
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
337
+ # The literal value must match the entire field.
338
+ #
339
+ # For example, to filter for instances that do not end with name "instance",
340
+ # you would use `name ne .*instance`.
341
+ #
342
+ # You cannot combine constraints on multiple fields using regular
343
+ # expressions.
344
+ # @param max_results [::Integer]
345
+ # The maximum number of results per page that should be returned.
346
+ # If the number of available results is larger than `maxResults`,
347
+ # Compute Engine returns a `nextPageToken` that can be used to get
348
+ # the next page of results in subsequent list requests. Acceptable values are
349
+ # `0` to `500`, inclusive. (Default: `500`)
350
+ # @param order_by [::String]
351
+ # Sorts list results by a certain order. By default, results
352
+ # are returned in alphanumerical order based on the resource name.
353
+ #
354
+ # You can also sort results in descending order based on the creation
355
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
356
+ # results based on the `creationTimestamp` field in
357
+ # reverse chronological order (newest result first). Use this to sort
358
+ # resources like operations so that the newest operation is returned first.
359
+ #
360
+ # Currently, only sorting by `name` or
361
+ # `creationTimestamp desc` is supported.
362
+ # @param page_token [::String]
363
+ # Specifies a page token to use. Set `pageToken` to the
364
+ # `nextPageToken` returned by a previous list request to get
365
+ # the next page of results.
366
+ # @param project [::String]
367
+ # Project ID for this request.
368
+ # @param return_partial_success [::Boolean]
369
+ # Opt-in for partial success behavior which provides partial results in case
370
+ # of failure. The default value is false.
371
+ #
372
+ # For example, when partial success behavior is enabled, aggregatedList for a
373
+ # single zone scope either returns all resources in the zone or no resources,
374
+ # with an error code.
375
+ # @yield [result, operation] Access the result along with the TransportOperation object
376
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::ReliabilityRisk>]
377
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
378
+ #
379
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::ReliabilityRisk>]
380
+ #
381
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
382
+ #
383
+ # @example Basic example
384
+ # require "google/cloud/compute/v1"
385
+ #
386
+ # # Create a client object. The client can be reused for multiple calls.
387
+ # client = Google::Cloud::Compute::V1::ReliabilityRisks::Rest::Client.new
388
+ #
389
+ # # Create a request. To set request fields, pass in keyword arguments.
390
+ # request = Google::Cloud::Compute::V1::ListReliabilityRisksRequest.new
391
+ #
392
+ # # Call the list method.
393
+ # result = client.list request
394
+ #
395
+ # # The returned object is of type Google::Cloud::Compute::V1::ReliabilityRisksListResponse.
396
+ # p result
397
+ #
398
+ def list request, options = nil
399
+ raise ::ArgumentError, "request must be provided" if request.nil?
400
+
401
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Compute::V1::ListReliabilityRisksRequest
402
+
403
+ # Converts hash and nil to an options object
404
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
405
+
406
+ # Customize the options with defaults
407
+ call_metadata = @config.rpcs.list.metadata.to_h
408
+
409
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
410
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
411
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
412
+ gapic_version: ::Google::Cloud::Compute::V1::VERSION,
413
+ transports_version_send: [:rest]
414
+
415
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
416
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
417
+
418
+ options.apply_defaults timeout: @config.rpcs.list.timeout,
419
+ metadata: call_metadata,
420
+ retry_policy: @config.rpcs.list.retry_policy
421
+
422
+ options.apply_defaults timeout: @config.timeout,
423
+ metadata: @config.metadata,
424
+ retry_policy: @config.retry_policy
425
+
426
+ @reliability_risks_stub.list request, options do |result, operation|
427
+ result = ::Gapic::Rest::PagedEnumerable.new @reliability_risks_stub, :list, "items", request, result, options
428
+ yield result, operation if block_given?
429
+ throw :response, result
430
+ end
431
+ rescue ::Gapic::Rest::Error => e
432
+ raise ::Google::Cloud::Error.from_error(e)
433
+ end
434
+
435
+ ##
436
+ # Configuration class for the ReliabilityRisks REST API.
437
+ #
438
+ # This class represents the configuration for ReliabilityRisks REST,
439
+ # providing control over timeouts, retry behavior, logging, transport
440
+ # parameters, and other low-level controls. Certain parameters can also be
441
+ # applied individually to specific RPCs. See
442
+ # {::Google::Cloud::Compute::V1::ReliabilityRisks::Rest::Client::Configuration::Rpcs}
443
+ # for a list of RPCs that can be configured independently.
444
+ #
445
+ # Configuration can be applied globally to all clients, or to a single client
446
+ # on construction.
447
+ #
448
+ # @example
449
+ #
450
+ # # Modify the global config, setting the timeout for
451
+ # # get to 20 seconds,
452
+ # # and all remaining timeouts to 10 seconds.
453
+ # ::Google::Cloud::Compute::V1::ReliabilityRisks::Rest::Client.configure do |config|
454
+ # config.timeout = 10.0
455
+ # config.rpcs.get.timeout = 20.0
456
+ # end
457
+ #
458
+ # # Apply the above configuration only to a new client.
459
+ # client = ::Google::Cloud::Compute::V1::ReliabilityRisks::Rest::Client.new do |config|
460
+ # config.timeout = 10.0
461
+ # config.rpcs.get.timeout = 20.0
462
+ # end
463
+ #
464
+ # @!attribute [rw] endpoint
465
+ # A custom service endpoint, as a hostname or hostname:port. The default is
466
+ # nil, indicating to use the default endpoint in the current universe domain.
467
+ # @return [::String,nil]
468
+ # @!attribute [rw] credentials
469
+ # Credentials to send with calls. You may provide any of the following types:
470
+ # * (`String`) The path to a service account key file in JSON format
471
+ # * (`Hash`) A service account key as a Hash
472
+ # * (`Google::Auth::Credentials`) A googleauth credentials object
473
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
474
+ # * (`Signet::OAuth2::Client`) A signet oauth2 client object
475
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
476
+ # * (`nil`) indicating no credentials
477
+ #
478
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
479
+ # external source for authentication to Google Cloud, you must validate it before
480
+ # providing it to a Google API client library. Providing an unvalidated credential
481
+ # configuration to Google APIs can compromise the security of your systems and data.
482
+ # For more information, refer to [Validate credential configurations from external
483
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
484
+ # @return [::Object]
485
+ # @!attribute [rw] scope
486
+ # The OAuth scopes
487
+ # @return [::Array<::String>]
488
+ # @!attribute [rw] lib_name
489
+ # The library name as recorded in instrumentation and logging
490
+ # @return [::String]
491
+ # @!attribute [rw] lib_version
492
+ # The library version as recorded in instrumentation and logging
493
+ # @return [::String]
494
+ # @!attribute [rw] timeout
495
+ # The call timeout in seconds.
496
+ # @return [::Numeric]
497
+ # @!attribute [rw] metadata
498
+ # Additional headers to be sent with the call.
499
+ # @return [::Hash{::Symbol=>::String}]
500
+ # @!attribute [rw] retry_policy
501
+ # The retry policy. The value is a hash with the following keys:
502
+ # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
503
+ # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
504
+ # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
505
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
506
+ # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
507
+ # trigger a retry.
508
+ # @return [::Hash]
509
+ # @!attribute [rw] quota_project
510
+ # A separate project against which to charge quota.
511
+ # @return [::String]
512
+ # @!attribute [rw] universe_domain
513
+ # The universe domain within which to make requests. This determines the
514
+ # default endpoint URL. The default value of nil uses the environment
515
+ # universe (usually the default "googleapis.com" universe).
516
+ # @return [::String,nil]
517
+ # @!attribute [rw] logger
518
+ # A custom logger to use for request/response debug logging, or the value
519
+ # `:default` (the default) to construct a default logger, or `nil` to
520
+ # explicitly disable logging.
521
+ # @return [::Logger,:default,nil]
522
+ #
523
+ class Configuration
524
+ extend ::Gapic::Config
525
+
526
+ # @private
527
+ # The endpoint specific to the default "googleapis.com" universe. Deprecated.
528
+ DEFAULT_ENDPOINT = "compute.googleapis.com"
529
+
530
+ config_attr :endpoint, nil, ::String, nil
531
+ config_attr :credentials, nil do |value|
532
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
533
+ allowed.any? { |klass| klass === value }
534
+ end
535
+ config_attr :scope, nil, ::String, ::Array, nil
536
+ config_attr :lib_name, nil, ::String, nil
537
+ config_attr :lib_version, nil, ::String, nil
538
+ config_attr :timeout, nil, ::Numeric, nil
539
+ config_attr :metadata, nil, ::Hash, nil
540
+ config_attr :retry_policy, nil, ::Hash, ::Proc, nil
541
+ config_attr :quota_project, nil, ::String, nil
542
+ config_attr :universe_domain, nil, ::String, nil
543
+ config_attr :logger, :default, ::Logger, nil, :default
544
+
545
+ # @private
546
+ def initialize parent_config = nil
547
+ @parent_config = parent_config unless parent_config.nil?
548
+
549
+ yield self if block_given?
550
+ end
551
+
552
+ ##
553
+ # Configurations for individual RPCs
554
+ # @return [Rpcs]
555
+ #
556
+ def rpcs
557
+ @rpcs ||= begin
558
+ parent_rpcs = nil
559
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
560
+ Rpcs.new parent_rpcs
561
+ end
562
+ end
563
+
564
+ ##
565
+ # Configuration RPC class for the ReliabilityRisks API.
566
+ #
567
+ # Includes fields providing the configuration for each RPC in this service.
568
+ # Each configuration object is of type `Gapic::Config::Method` and includes
569
+ # the following configuration fields:
570
+ #
571
+ # * `timeout` (*type:* `Numeric`) - The call timeout in seconds
572
+ # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers
573
+ # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
574
+ # include the following keys:
575
+ # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
576
+ # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
577
+ # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
578
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
579
+ # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
580
+ # trigger a retry.
581
+ #
582
+ class Rpcs
583
+ ##
584
+ # RPC-specific configuration for `get`
585
+ # @return [::Gapic::Config::Method]
586
+ #
587
+ attr_reader :get
588
+ ##
589
+ # RPC-specific configuration for `list`
590
+ # @return [::Gapic::Config::Method]
591
+ #
592
+ attr_reader :list
593
+
594
+ # @private
595
+ def initialize parent_rpcs = nil
596
+ get_config = parent_rpcs.get if parent_rpcs.respond_to? :get
597
+ @get = ::Gapic::Config::Method.new get_config
598
+ list_config = parent_rpcs.list if parent_rpcs.respond_to? :list
599
+ @list = ::Gapic::Config::Method.new list_config
600
+
601
+ yield self if block_given?
602
+ end
603
+ end
604
+ end
605
+ end
606
+ end
607
+ end
608
+ end
609
+ end
610
+ end
611
+ end