gitlab-fog-google 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (556) hide show
  1. checksums.yaml +7 -0
  2. data/.codecov.yml +2 -0
  3. data/.editorconfig +11 -0
  4. data/.fog.example +25 -0
  5. data/.gitignore +20 -0
  6. data/.gitlab-ci.yml +13 -0
  7. data/.hound.yml +2 -0
  8. data/.rubocop.yml +255 -0
  9. data/.ruby-gemset +1 -0
  10. data/.travis.yml +33 -0
  11. data/CHANGELOG.md +464 -0
  12. data/CONTRIBUTING.md +175 -0
  13. data/CONTRIBUTORS.md +95 -0
  14. data/Gemfile +13 -0
  15. data/LICENSE.md +20 -0
  16. data/MIGRATING.md +1 -0
  17. data/README.md +177 -0
  18. data/Rakefile +19 -0
  19. data/SECURITY.md +16 -0
  20. data/ci/.gitignore +1 -0
  21. data/ci/README.md +65 -0
  22. data/ci/build-head-pipeline.yml +173 -0
  23. data/ci/credentials.yml.template +28 -0
  24. data/ci/docker-image/Dockerfile +18 -0
  25. data/ci/integration-pipeline.yml +226 -0
  26. data/ci/pipeline-dev.yml +58 -0
  27. data/ci/tasks/run-int.sh +53 -0
  28. data/ci/tasks/run-int.yml +18 -0
  29. data/ci/tasks/utils.sh +10 -0
  30. data/examples/backend_services.rb +23 -0
  31. data/examples/bootstrap.rb +27 -0
  32. data/examples/create_instance.rb +73 -0
  33. data/examples/create_instance_with_attached_disk.rb +53 -0
  34. data/examples/dns/project.rb +7 -0
  35. data/examples/dns/zones.rb +43 -0
  36. data/examples/get_list_images.rb +42 -0
  37. data/examples/get_list_snapshots.rb +28 -0
  38. data/examples/image_create.rb +17 -0
  39. data/examples/l7_load_balance.rb +79 -0
  40. data/examples/load-balance.rb +116 -0
  41. data/examples/metadata.rb +40 -0
  42. data/examples/monitoring/metric_descriptors.rb +24 -0
  43. data/examples/monitoring/monitored_resource_descriptors.rb +24 -0
  44. data/examples/monitoring/timeseries_collection.rb +32 -0
  45. data/examples/network.rb +55 -0
  46. data/examples/precreated_client.rb +24 -0
  47. data/examples/pubsub/subscriptions.rb +54 -0
  48. data/examples/pubsub/topics.rb +33 -0
  49. data/examples/sql/flags.rb +11 -0
  50. data/examples/sql/instances.rb +38 -0
  51. data/examples/sql/operations.rb +24 -0
  52. data/examples/sql/ssl_certs.rb +32 -0
  53. data/examples/sql/tiers.rb +11 -0
  54. data/examples/storage.rb +49 -0
  55. data/examples/storage_json.rb +37 -0
  56. data/gitlab-fog-google.gemspec +44 -0
  57. data/lib/fog/bin/google.rb +97 -0
  58. data/lib/fog/compute/google.rb +304 -0
  59. data/lib/fog/compute/google/mock.rb +845 -0
  60. data/lib/fog/compute/google/models/address.rb +133 -0
  61. data/lib/fog/compute/google/models/addresses.rb +63 -0
  62. data/lib/fog/compute/google/models/backend_service.rb +86 -0
  63. data/lib/fog/compute/google/models/backend_services.rb +24 -0
  64. data/lib/fog/compute/google/models/disk.rb +155 -0
  65. data/lib/fog/compute/google/models/disk_type.rb +27 -0
  66. data/lib/fog/compute/google/models/disk_types.rb +42 -0
  67. data/lib/fog/compute/google/models/disks.rb +88 -0
  68. data/lib/fog/compute/google/models/firewall.rb +94 -0
  69. data/lib/fog/compute/google/models/firewalls.rb +24 -0
  70. data/lib/fog/compute/google/models/forwarding_rule.rb +79 -0
  71. data/lib/fog/compute/google/models/forwarding_rules.rb +44 -0
  72. data/lib/fog/compute/google/models/global_address.rb +58 -0
  73. data/lib/fog/compute/google/models/global_addresses.rb +46 -0
  74. data/lib/fog/compute/google/models/global_forwarding_rule.rb +78 -0
  75. data/lib/fog/compute/google/models/global_forwarding_rules.rb +24 -0
  76. data/lib/fog/compute/google/models/http_health_check.rb +104 -0
  77. data/lib/fog/compute/google/models/http_health_checks.rb +24 -0
  78. data/lib/fog/compute/google/models/image.rb +81 -0
  79. data/lib/fog/compute/google/models/images.rb +109 -0
  80. data/lib/fog/compute/google/models/instance_group.rb +90 -0
  81. data/lib/fog/compute/google/models/instance_group_manager.rb +51 -0
  82. data/lib/fog/compute/google/models/instance_group_managers.rb +45 -0
  83. data/lib/fog/compute/google/models/instance_groups.rb +63 -0
  84. data/lib/fog/compute/google/models/instance_template.rb +47 -0
  85. data/lib/fog/compute/google/models/instance_templates.rb +24 -0
  86. data/lib/fog/compute/google/models/machine_type.rb +23 -0
  87. data/lib/fog/compute/google/models/machine_types.rb +46 -0
  88. data/lib/fog/compute/google/models/network.rb +60 -0
  89. data/lib/fog/compute/google/models/networks.rb +24 -0
  90. data/lib/fog/compute/google/models/operation.rb +73 -0
  91. data/lib/fog/compute/google/models/operations.rb +45 -0
  92. data/lib/fog/compute/google/models/project.rb +28 -0
  93. data/lib/fog/compute/google/models/projects.rb +19 -0
  94. data/lib/fog/compute/google/models/region.rb +30 -0
  95. data/lib/fog/compute/google/models/regions.rb +24 -0
  96. data/lib/fog/compute/google/models/route.rb +49 -0
  97. data/lib/fog/compute/google/models/routes.rb +24 -0
  98. data/lib/fog/compute/google/models/server.rb +604 -0
  99. data/lib/fog/compute/google/models/servers.rb +120 -0
  100. data/lib/fog/compute/google/models/snapshot.rb +62 -0
  101. data/lib/fog/compute/google/models/snapshots.rb +32 -0
  102. data/lib/fog/compute/google/models/ssl_certificate.rb +42 -0
  103. data/lib/fog/compute/google/models/ssl_certificates.rb +24 -0
  104. data/lib/fog/compute/google/models/subnetwork.rb +83 -0
  105. data/lib/fog/compute/google/models/subnetworks.rb +43 -0
  106. data/lib/fog/compute/google/models/target_http_proxies.rb +24 -0
  107. data/lib/fog/compute/google/models/target_http_proxy.rb +73 -0
  108. data/lib/fog/compute/google/models/target_https_proxies.rb +24 -0
  109. data/lib/fog/compute/google/models/target_https_proxy.rb +105 -0
  110. data/lib/fog/compute/google/models/target_instance.rb +67 -0
  111. data/lib/fog/compute/google/models/target_instances.rb +46 -0
  112. data/lib/fog/compute/google/models/target_pool.rb +171 -0
  113. data/lib/fog/compute/google/models/target_pools.rb +43 -0
  114. data/lib/fog/compute/google/models/url_map.rb +121 -0
  115. data/lib/fog/compute/google/models/url_maps.rb +24 -0
  116. data/lib/fog/compute/google/models/zone.rb +25 -0
  117. data/lib/fog/compute/google/models/zones.rb +24 -0
  118. data/lib/fog/compute/google/real.rb +24 -0
  119. data/lib/fog/compute/google/requests/abandon_instances.rb +28 -0
  120. data/lib/fog/compute/google/requests/add_backend_service_backends.rb +19 -0
  121. data/lib/fog/compute/google/requests/add_instance_group_instances.rb +37 -0
  122. data/lib/fog/compute/google/requests/add_server_access_config.rb +32 -0
  123. data/lib/fog/compute/google/requests/add_target_pool_health_checks.rb +32 -0
  124. data/lib/fog/compute/google/requests/add_target_pool_instances.rb +30 -0
  125. data/lib/fog/compute/google/requests/attach_disk.rb +22 -0
  126. data/lib/fog/compute/google/requests/create_disk_snapshot.rb +24 -0
  127. data/lib/fog/compute/google/requests/delete_address.rb +24 -0
  128. data/lib/fog/compute/google/requests/delete_backend_service.rb +19 -0
  129. data/lib/fog/compute/google/requests/delete_disk.rb +25 -0
  130. data/lib/fog/compute/google/requests/delete_firewall.rb +19 -0
  131. data/lib/fog/compute/google/requests/delete_forwarding_rule.rb +20 -0
  132. data/lib/fog/compute/google/requests/delete_global_address.rb +19 -0
  133. data/lib/fog/compute/google/requests/delete_global_forwarding_rule.rb +19 -0
  134. data/lib/fog/compute/google/requests/delete_global_operation.rb +20 -0
  135. data/lib/fog/compute/google/requests/delete_http_health_check.rb +19 -0
  136. data/lib/fog/compute/google/requests/delete_image.rb +19 -0
  137. data/lib/fog/compute/google/requests/delete_instance_group.rb +19 -0
  138. data/lib/fog/compute/google/requests/delete_instance_group_manager.rb +19 -0
  139. data/lib/fog/compute/google/requests/delete_instance_template.rb +19 -0
  140. data/lib/fog/compute/google/requests/delete_network.rb +19 -0
  141. data/lib/fog/compute/google/requests/delete_region_operation.rb +22 -0
  142. data/lib/fog/compute/google/requests/delete_route.rb +23 -0
  143. data/lib/fog/compute/google/requests/delete_server.rb +19 -0
  144. data/lib/fog/compute/google/requests/delete_server_access_config.rb +22 -0
  145. data/lib/fog/compute/google/requests/delete_snapshot.rb +19 -0
  146. data/lib/fog/compute/google/requests/delete_ssl_certificate.rb +19 -0
  147. data/lib/fog/compute/google/requests/delete_subnetwork.rb +31 -0
  148. data/lib/fog/compute/google/requests/delete_target_http_proxy.rb +19 -0
  149. data/lib/fog/compute/google/requests/delete_target_https_proxy.rb +19 -0
  150. data/lib/fog/compute/google/requests/delete_target_instance.rb +20 -0
  151. data/lib/fog/compute/google/requests/delete_target_pool.rb +20 -0
  152. data/lib/fog/compute/google/requests/delete_url_map.rb +19 -0
  153. data/lib/fog/compute/google/requests/delete_zone_operation.rb +22 -0
  154. data/lib/fog/compute/google/requests/deprecate_image.rb +22 -0
  155. data/lib/fog/compute/google/requests/detach_disk.rb +20 -0
  156. data/lib/fog/compute/google/requests/expand_subnetwork_ip_cidr_range.rb +38 -0
  157. data/lib/fog/compute/google/requests/get_address.rb +24 -0
  158. data/lib/fog/compute/google/requests/get_backend_service.rb +19 -0
  159. data/lib/fog/compute/google/requests/get_backend_service_health.rb +24 -0
  160. data/lib/fog/compute/google/requests/get_disk.rb +24 -0
  161. data/lib/fog/compute/google/requests/get_disk_type.rb +19 -0
  162. data/lib/fog/compute/google/requests/get_firewall.rb +19 -0
  163. data/lib/fog/compute/google/requests/get_forwarding_rule.rb +22 -0
  164. data/lib/fog/compute/google/requests/get_global_address.rb +19 -0
  165. data/lib/fog/compute/google/requests/get_global_forwarding_rule.rb +19 -0
  166. data/lib/fog/compute/google/requests/get_global_operation.rb +23 -0
  167. data/lib/fog/compute/google/requests/get_http_health_check.rb +19 -0
  168. data/lib/fog/compute/google/requests/get_image.rb +20 -0
  169. data/lib/fog/compute/google/requests/get_image_from_family.rb +26 -0
  170. data/lib/fog/compute/google/requests/get_instance_group.rb +19 -0
  171. data/lib/fog/compute/google/requests/get_instance_group_manager.rb +19 -0
  172. data/lib/fog/compute/google/requests/get_instance_template.rb +19 -0
  173. data/lib/fog/compute/google/requests/get_machine_type.rb +20 -0
  174. data/lib/fog/compute/google/requests/get_network.rb +19 -0
  175. data/lib/fog/compute/google/requests/get_project.rb +19 -0
  176. data/lib/fog/compute/google/requests/get_region.rb +19 -0
  177. data/lib/fog/compute/google/requests/get_region_operation.rb +20 -0
  178. data/lib/fog/compute/google/requests/get_route.rb +22 -0
  179. data/lib/fog/compute/google/requests/get_server.rb +19 -0
  180. data/lib/fog/compute/google/requests/get_server_serial_port_output.rb +38 -0
  181. data/lib/fog/compute/google/requests/get_snapshot.rb +20 -0
  182. data/lib/fog/compute/google/requests/get_ssl_certificate.rb +19 -0
  183. data/lib/fog/compute/google/requests/get_subnetwork.rb +29 -0
  184. data/lib/fog/compute/google/requests/get_target_http_proxy.rb +19 -0
  185. data/lib/fog/compute/google/requests/get_target_https_proxy.rb +19 -0
  186. data/lib/fog/compute/google/requests/get_target_instance.rb +20 -0
  187. data/lib/fog/compute/google/requests/get_target_pool.rb +20 -0
  188. data/lib/fog/compute/google/requests/get_target_pool_health.rb +24 -0
  189. data/lib/fog/compute/google/requests/get_url_map.rb +19 -0
  190. data/lib/fog/compute/google/requests/get_zone.rb +19 -0
  191. data/lib/fog/compute/google/requests/get_zone_operation.rb +25 -0
  192. data/lib/fog/compute/google/requests/insert_address.rb +30 -0
  193. data/lib/fog/compute/google/requests/insert_backend_service.rb +23 -0
  194. data/lib/fog/compute/google/requests/insert_disk.rb +48 -0
  195. data/lib/fog/compute/google/requests/insert_firewall.rb +65 -0
  196. data/lib/fog/compute/google/requests/insert_forwarding_rule.rb +29 -0
  197. data/lib/fog/compute/google/requests/insert_global_address.rb +25 -0
  198. data/lib/fog/compute/google/requests/insert_global_forwarding_rule.rb +26 -0
  199. data/lib/fog/compute/google/requests/insert_http_health_check.rb +24 -0
  200. data/lib/fog/compute/google/requests/insert_image.rb +23 -0
  201. data/lib/fog/compute/google/requests/insert_instance_group.rb +37 -0
  202. data/lib/fog/compute/google/requests/insert_instance_group_manager.rb +31 -0
  203. data/lib/fog/compute/google/requests/insert_instance_template.rb +38 -0
  204. data/lib/fog/compute/google/requests/insert_network.rb +34 -0
  205. data/lib/fog/compute/google/requests/insert_route.rb +35 -0
  206. data/lib/fog/compute/google/requests/insert_server.rb +122 -0
  207. data/lib/fog/compute/google/requests/insert_ssl_certificate.rb +27 -0
  208. data/lib/fog/compute/google/requests/insert_subnetwork.rb +61 -0
  209. data/lib/fog/compute/google/requests/insert_target_http_proxy.rb +26 -0
  210. data/lib/fog/compute/google/requests/insert_target_https_proxy.rb +29 -0
  211. data/lib/fog/compute/google/requests/insert_target_instance.rb +25 -0
  212. data/lib/fog/compute/google/requests/insert_target_pool.rb +22 -0
  213. data/lib/fog/compute/google/requests/insert_url_map.rb +37 -0
  214. data/lib/fog/compute/google/requests/invalidate_url_map_cache.rb +24 -0
  215. data/lib/fog/compute/google/requests/list_addresses.rb +28 -0
  216. data/lib/fog/compute/google/requests/list_aggregated_addresses.rb +23 -0
  217. data/lib/fog/compute/google/requests/list_aggregated_disk_types.rb +24 -0
  218. data/lib/fog/compute/google/requests/list_aggregated_disks.rb +32 -0
  219. data/lib/fog/compute/google/requests/list_aggregated_forwarding_rules.rb +24 -0
  220. data/lib/fog/compute/google/requests/list_aggregated_instance_group_managers.rb +26 -0
  221. data/lib/fog/compute/google/requests/list_aggregated_instance_groups.rb +19 -0
  222. data/lib/fog/compute/google/requests/list_aggregated_machine_types.rb +24 -0
  223. data/lib/fog/compute/google/requests/list_aggregated_servers.rb +24 -0
  224. data/lib/fog/compute/google/requests/list_aggregated_subnetworks.rb +36 -0
  225. data/lib/fog/compute/google/requests/list_aggregated_target_instances.rb +26 -0
  226. data/lib/fog/compute/google/requests/list_aggregated_target_pools.rb +26 -0
  227. data/lib/fog/compute/google/requests/list_backend_services.rb +22 -0
  228. data/lib/fog/compute/google/requests/list_disk_types.rb +24 -0
  229. data/lib/fog/compute/google/requests/list_disks.rb +28 -0
  230. data/lib/fog/compute/google/requests/list_firewalls.rb +24 -0
  231. data/lib/fog/compute/google/requests/list_forwarding_rules.rb +25 -0
  232. data/lib/fog/compute/google/requests/list_global_addresses.rb +26 -0
  233. data/lib/fog/compute/google/requests/list_global_forwarding_rules.rb +24 -0
  234. data/lib/fog/compute/google/requests/list_global_operations.rb +27 -0
  235. data/lib/fog/compute/google/requests/list_http_health_checks.rb +24 -0
  236. data/lib/fog/compute/google/requests/list_images.rb +25 -0
  237. data/lib/fog/compute/google/requests/list_instance_group_instances.rb +21 -0
  238. data/lib/fog/compute/google/requests/list_instance_group_managers.rb +22 -0
  239. data/lib/fog/compute/google/requests/list_instance_groups.rb +19 -0
  240. data/lib/fog/compute/google/requests/list_instance_templates.rb +26 -0
  241. data/lib/fog/compute/google/requests/list_machine_types.rb +25 -0
  242. data/lib/fog/compute/google/requests/list_networks.rb +24 -0
  243. data/lib/fog/compute/google/requests/list_region_operations.rb +29 -0
  244. data/lib/fog/compute/google/requests/list_regions.rb +23 -0
  245. data/lib/fog/compute/google/requests/list_routes.rb +28 -0
  246. data/lib/fog/compute/google/requests/list_servers.rb +24 -0
  247. data/lib/fog/compute/google/requests/list_snapshots.rb +22 -0
  248. data/lib/fog/compute/google/requests/list_ssl_certificates.rb +26 -0
  249. data/lib/fog/compute/google/requests/list_subnetworks.rb +39 -0
  250. data/lib/fog/compute/google/requests/list_target_http_proxies.rb +25 -0
  251. data/lib/fog/compute/google/requests/list_target_https_proxies.rb +24 -0
  252. data/lib/fog/compute/google/requests/list_target_instances.rb +27 -0
  253. data/lib/fog/compute/google/requests/list_target_pools.rb +26 -0
  254. data/lib/fog/compute/google/requests/list_url_maps.rb +25 -0
  255. data/lib/fog/compute/google/requests/list_zone_operations.rb +28 -0
  256. data/lib/fog/compute/google/requests/list_zones.rb +26 -0
  257. data/lib/fog/compute/google/requests/patch_firewall.rb +27 -0
  258. data/lib/fog/compute/google/requests/patch_url_map.rb +21 -0
  259. data/lib/fog/compute/google/requests/recreate_instances.rb +28 -0
  260. data/lib/fog/compute/google/requests/remove_instance_group_instances.rb +37 -0
  261. data/lib/fog/compute/google/requests/remove_target_pool_health_checks.rb +30 -0
  262. data/lib/fog/compute/google/requests/remove_target_pool_instance.rb +30 -0
  263. data/lib/fog/compute/google/requests/remove_target_pool_instances.rb +30 -0
  264. data/lib/fog/compute/google/requests/reset_server.rb +19 -0
  265. data/lib/fog/compute/google/requests/reset_windows_password.rb +154 -0
  266. data/lib/fog/compute/google/requests/set_common_instance_metadata.rb +23 -0
  267. data/lib/fog/compute/google/requests/set_forwarding_rule_target.rb +23 -0
  268. data/lib/fog/compute/google/requests/set_global_forwarding_rule_target.rb +22 -0
  269. data/lib/fog/compute/google/requests/set_instance_template.rb +28 -0
  270. data/lib/fog/compute/google/requests/set_server_disk_auto_delete.rb +26 -0
  271. data/lib/fog/compute/google/requests/set_server_machine_type.rb +23 -0
  272. data/lib/fog/compute/google/requests/set_server_metadata.rb +39 -0
  273. data/lib/fog/compute/google/requests/set_server_scheduling.rb +24 -0
  274. data/lib/fog/compute/google/requests/set_server_tags.rb +25 -0
  275. data/lib/fog/compute/google/requests/set_snapshot_labels.rb +25 -0
  276. data/lib/fog/compute/google/requests/set_subnetwork_private_ip_google_access.rb +42 -0
  277. data/lib/fog/compute/google/requests/set_target_http_proxy_url_map.rb +24 -0
  278. data/lib/fog/compute/google/requests/set_target_https_proxy_ssl_certificates.rb +24 -0
  279. data/lib/fog/compute/google/requests/set_target_https_proxy_url_map.rb +24 -0
  280. data/lib/fog/compute/google/requests/set_target_pool_backup.rb +31 -0
  281. data/lib/fog/compute/google/requests/start_server.rb +19 -0
  282. data/lib/fog/compute/google/requests/stop_server.rb +19 -0
  283. data/lib/fog/compute/google/requests/update_firewall.rb +49 -0
  284. data/lib/fog/compute/google/requests/update_http_health_check.rb +25 -0
  285. data/lib/fog/compute/google/requests/update_url_map.rb +28 -0
  286. data/lib/fog/compute/google/requests/validate_url_map.rb +24 -0
  287. data/lib/fog/dns/google.rb +67 -0
  288. data/lib/fog/dns/google/mock.rb +33 -0
  289. data/lib/fog/dns/google/models/change.rb +38 -0
  290. data/lib/fog/dns/google/models/changes.rb +50 -0
  291. data/lib/fog/dns/google/models/project.rb +73 -0
  292. data/lib/fog/dns/google/models/projects.rb +23 -0
  293. data/lib/fog/dns/google/models/record.rb +108 -0
  294. data/lib/fog/dns/google/models/records.rb +53 -0
  295. data/lib/fog/dns/google/models/zone.rb +72 -0
  296. data/lib/fog/dns/google/models/zones.rb +32 -0
  297. data/lib/fog/dns/google/real.rb +19 -0
  298. data/lib/fog/dns/google/requests/create_change.rb +29 -0
  299. data/lib/fog/dns/google/requests/create_managed_zone.rb +29 -0
  300. data/lib/fog/dns/google/requests/delete_managed_zone.rb +23 -0
  301. data/lib/fog/dns/google/requests/get_change.rb +23 -0
  302. data/lib/fog/dns/google/requests/get_managed_zone.rb +23 -0
  303. data/lib/fog/dns/google/requests/get_project.rb +24 -0
  304. data/lib/fog/dns/google/requests/list_changes.rb +30 -0
  305. data/lib/fog/dns/google/requests/list_managed_zones.rb +26 -0
  306. data/lib/fog/dns/google/requests/list_resource_record_sets.rb +30 -0
  307. data/lib/fog/google.rb +53 -0
  308. data/lib/fog/google/mock.rb +14 -0
  309. data/lib/fog/google/models/monitoring/metric_descriptor.rb +23 -0
  310. data/lib/fog/google/models/monitoring/metric_descriptors.rb +43 -0
  311. data/lib/fog/google/models/monitoring/monitored_resource_descriptor.rb +20 -0
  312. data/lib/fog/google/models/monitoring/monitored_resource_descriptors.rb +37 -0
  313. data/lib/fog/google/models/monitoring/timeseries.rb +19 -0
  314. data/lib/fog/google/models/monitoring/timeseries_collection.rb +48 -0
  315. data/lib/fog/google/models/pubsub/received_message.rb +40 -0
  316. data/lib/fog/google/models/pubsub/subscription.rb +86 -0
  317. data/lib/fog/google/models/pubsub/subscriptions.rb +33 -0
  318. data/lib/fog/google/models/pubsub/topic.rb +71 -0
  319. data/lib/fog/google/models/pubsub/topics.rb +32 -0
  320. data/lib/fog/google/models/sql/backup_run.rb +37 -0
  321. data/lib/fog/google/models/sql/backup_runs.rb +38 -0
  322. data/lib/fog/google/models/sql/flag.rb +23 -0
  323. data/lib/fog/google/models/sql/flags.rb +21 -0
  324. data/lib/fog/google/models/sql/instance.rb +339 -0
  325. data/lib/fog/google/models/sql/instances.rb +39 -0
  326. data/lib/fog/google/models/sql/operation.rb +67 -0
  327. data/lib/fog/google/models/sql/operations.rb +47 -0
  328. data/lib/fog/google/models/sql/ssl_cert.rb +77 -0
  329. data/lib/fog/google/models/sql/ssl_certs.rb +49 -0
  330. data/lib/fog/google/models/sql/tier.rb +20 -0
  331. data/lib/fog/google/models/sql/tiers.rb +21 -0
  332. data/lib/fog/google/models/sql/user.rb +52 -0
  333. data/lib/fog/google/models/sql/users.rb +21 -0
  334. data/lib/fog/google/monitoring.rb +60 -0
  335. data/lib/fog/google/monitoring/mock.rb +35 -0
  336. data/lib/fog/google/monitoring/real.rb +20 -0
  337. data/lib/fog/google/pubsub.rb +69 -0
  338. data/lib/fog/google/pubsub/mock.rb +34 -0
  339. data/lib/fog/google/pubsub/real.rb +21 -0
  340. data/lib/fog/google/requests/monitoring/create_metric_descriptor.rb +51 -0
  341. data/lib/fog/google/requests/monitoring/create_timeseries.rb +29 -0
  342. data/lib/fog/google/requests/monitoring/delete_metric_descriptor.rb +19 -0
  343. data/lib/fog/google/requests/monitoring/get_metric_descriptor.rb +19 -0
  344. data/lib/fog/google/requests/monitoring/get_monitored_resource_descriptor.rb +19 -0
  345. data/lib/fog/google/requests/monitoring/list_metric_descriptors.rb +26 -0
  346. data/lib/fog/google/requests/monitoring/list_monitored_resource_descriptors.rb +29 -0
  347. data/lib/fog/google/requests/monitoring/list_timeseries.rb +55 -0
  348. data/lib/fog/google/requests/pubsub/acknowledge_subscription.rb +29 -0
  349. data/lib/fog/google/requests/pubsub/create_subscription.rb +37 -0
  350. data/lib/fog/google/requests/pubsub/create_topic.rb +23 -0
  351. data/lib/fog/google/requests/pubsub/delete_subscription.rb +21 -0
  352. data/lib/fog/google/requests/pubsub/delete_topic.rb +21 -0
  353. data/lib/fog/google/requests/pubsub/get_subscription.rb +21 -0
  354. data/lib/fog/google/requests/pubsub/get_topic.rb +21 -0
  355. data/lib/fog/google/requests/pubsub/list_subscriptions.rb +29 -0
  356. data/lib/fog/google/requests/pubsub/list_topics.rb +29 -0
  357. data/lib/fog/google/requests/pubsub/publish_topic.rb +28 -0
  358. data/lib/fog/google/requests/pubsub/pull_subscription.rb +40 -0
  359. data/lib/fog/google/requests/sql/clone_instance.rb +42 -0
  360. data/lib/fog/google/requests/sql/delete_backup_run.rb +23 -0
  361. data/lib/fog/google/requests/sql/delete_instance.rb +24 -0
  362. data/lib/fog/google/requests/sql/delete_ssl_cert.rb +24 -0
  363. data/lib/fog/google/requests/sql/delete_user.rb +24 -0
  364. data/lib/fog/google/requests/sql/export_instance.rb +55 -0
  365. data/lib/fog/google/requests/sql/get_backup_run.rb +23 -0
  366. data/lib/fog/google/requests/sql/get_instance.rb +24 -0
  367. data/lib/fog/google/requests/sql/get_operation.rb +24 -0
  368. data/lib/fog/google/requests/sql/get_ssl_cert.rb +24 -0
  369. data/lib/fog/google/requests/sql/import_instance.rb +44 -0
  370. data/lib/fog/google/requests/sql/insert_backup_run.rb +28 -0
  371. data/lib/fog/google/requests/sql/insert_instance.rb +28 -0
  372. data/lib/fog/google/requests/sql/insert_ssl_cert.rb +30 -0
  373. data/lib/fog/google/requests/sql/insert_user.rb +25 -0
  374. data/lib/fog/google/requests/sql/list_backup_runs.rb +27 -0
  375. data/lib/fog/google/requests/sql/list_flags.rb +24 -0
  376. data/lib/fog/google/requests/sql/list_instances.rb +27 -0
  377. data/lib/fog/google/requests/sql/list_operations.rb +28 -0
  378. data/lib/fog/google/requests/sql/list_ssl_certs.rb +24 -0
  379. data/lib/fog/google/requests/sql/list_tiers.rb +24 -0
  380. data/lib/fog/google/requests/sql/list_users.rb +24 -0
  381. data/lib/fog/google/requests/sql/reset_instance_ssl_config.rb +26 -0
  382. data/lib/fog/google/requests/sql/restart_instance.rb +24 -0
  383. data/lib/fog/google/requests/sql/restore_instance_backup.rb +31 -0
  384. data/lib/fog/google/requests/sql/update_instance.rb +31 -0
  385. data/lib/fog/google/requests/sql/update_user.rb +27 -0
  386. data/lib/fog/google/shared.rb +253 -0
  387. data/lib/fog/google/sql.rb +104 -0
  388. data/lib/fog/google/sql/mock.rb +40 -0
  389. data/lib/fog/google/sql/real.rb +21 -0
  390. data/lib/fog/google/version.rb +5 -0
  391. data/lib/fog/parsers/storage/google.rb +15 -0
  392. data/lib/fog/parsers/storage/google/access_control_list.rb +44 -0
  393. data/lib/fog/parsers/storage/google/copy_object.rb +18 -0
  394. data/lib/fog/parsers/storage/google/get_bucket.rb +58 -0
  395. data/lib/fog/parsers/storage/google/get_bucket_logging.rb +36 -0
  396. data/lib/fog/parsers/storage/google/get_bucket_object_versions.rb +88 -0
  397. data/lib/fog/parsers/storage/google/get_bucket_versioning.rb +20 -0
  398. data/lib/fog/parsers/storage/google/get_request_payment.rb +16 -0
  399. data/lib/fog/parsers/storage/google/get_service.rb +28 -0
  400. data/lib/fog/storage/google.rb +20 -0
  401. data/lib/fog/storage/google_json.rb +74 -0
  402. data/lib/fog/storage/google_json/mock.rb +27 -0
  403. data/lib/fog/storage/google_json/models/directories.rb +41 -0
  404. data/lib/fog/storage/google_json/models/directory.rb +61 -0
  405. data/lib/fog/storage/google_json/models/file.rb +126 -0
  406. data/lib/fog/storage/google_json/models/files.rb +64 -0
  407. data/lib/fog/storage/google_json/real.rb +171 -0
  408. data/lib/fog/storage/google_json/requests/copy_object.rb +34 -0
  409. data/lib/fog/storage/google_json/requests/delete_bucket.rb +23 -0
  410. data/lib/fog/storage/google_json/requests/delete_object.rb +24 -0
  411. data/lib/fog/storage/google_json/requests/delete_object_url.rb +39 -0
  412. data/lib/fog/storage/google_json/requests/get_bucket.rb +43 -0
  413. data/lib/fog/storage/google_json/requests/get_bucket_acl.rb +32 -0
  414. data/lib/fog/storage/google_json/requests/get_object.rb +85 -0
  415. data/lib/fog/storage/google_json/requests/get_object_acl.rb +35 -0
  416. data/lib/fog/storage/google_json/requests/get_object_http_url.rb +32 -0
  417. data/lib/fog/storage/google_json/requests/get_object_https_url.rb +33 -0
  418. data/lib/fog/storage/google_json/requests/get_object_metadata.rb +32 -0
  419. data/lib/fog/storage/google_json/requests/get_object_url.rb +21 -0
  420. data/lib/fog/storage/google_json/requests/list_bucket_acl.rb +26 -0
  421. data/lib/fog/storage/google_json/requests/list_buckets.rb +30 -0
  422. data/lib/fog/storage/google_json/requests/list_object_acl.rb +29 -0
  423. data/lib/fog/storage/google_json/requests/list_objects.rb +48 -0
  424. data/lib/fog/storage/google_json/requests/put_bucket.rb +42 -0
  425. data/lib/fog/storage/google_json/requests/put_bucket_acl.rb +29 -0
  426. data/lib/fog/storage/google_json/requests/put_object.rb +102 -0
  427. data/lib/fog/storage/google_json/requests/put_object_acl.rb +35 -0
  428. data/lib/fog/storage/google_json/requests/put_object_url.rb +42 -0
  429. data/lib/fog/storage/google_json/utils.rb +40 -0
  430. data/lib/fog/storage/google_xml.rb +38 -0
  431. data/lib/fog/storage/google_xml/mock.rb +102 -0
  432. data/lib/fog/storage/google_xml/models/directories.rb +34 -0
  433. data/lib/fog/storage/google_xml/models/directory.rb +65 -0
  434. data/lib/fog/storage/google_xml/models/file.rb +130 -0
  435. data/lib/fog/storage/google_xml/models/files.rb +95 -0
  436. data/lib/fog/storage/google_xml/real.rb +108 -0
  437. data/lib/fog/storage/google_xml/requests/copy_object.rb +62 -0
  438. data/lib/fog/storage/google_xml/requests/delete_bucket.rb +39 -0
  439. data/lib/fog/storage/google_xml/requests/delete_object.rb +44 -0
  440. data/lib/fog/storage/google_xml/requests/delete_object_url.rb +42 -0
  441. data/lib/fog/storage/google_xml/requests/get_bucket.rb +95 -0
  442. data/lib/fog/storage/google_xml/requests/get_bucket_acl.rb +53 -0
  443. data/lib/fog/storage/google_xml/requests/get_object.rb +96 -0
  444. data/lib/fog/storage/google_xml/requests/get_object_acl.rb +62 -0
  445. data/lib/fog/storage/google_xml/requests/get_object_http_url.rb +37 -0
  446. data/lib/fog/storage/google_xml/requests/get_object_https_url.rb +37 -0
  447. data/lib/fog/storage/google_xml/requests/get_object_url.rb +31 -0
  448. data/lib/fog/storage/google_xml/requests/get_service.rb +44 -0
  449. data/lib/fog/storage/google_xml/requests/head_object.rb +55 -0
  450. data/lib/fog/storage/google_xml/requests/put_bucket.rb +71 -0
  451. data/lib/fog/storage/google_xml/requests/put_bucket_acl.rb +58 -0
  452. data/lib/fog/storage/google_xml/requests/put_object.rb +85 -0
  453. data/lib/fog/storage/google_xml/requests/put_object_acl.rb +58 -0
  454. data/lib/fog/storage/google_xml/requests/put_object_url.rb +42 -0
  455. data/lib/fog/storage/google_xml/utils.rb +83 -0
  456. data/tasks/bundler.rake +3 -0
  457. data/tasks/changelog.rake +39 -0
  458. data/tasks/console.rake +17 -0
  459. data/tasks/lint.rake +9 -0
  460. data/tasks/test.rake +115 -0
  461. data/test/helpers/client_helper.rb +63 -0
  462. data/test/helpers/integration_test_helper.rb +108 -0
  463. data/test/helpers/test_collection.rb +60 -0
  464. data/test/helpers/test_helper.rb +24 -0
  465. data/test/integration/compute/core_compute/test_client_options.rb +12 -0
  466. data/test/integration/compute/core_compute/test_coverage.rb +6 -0
  467. data/test/integration/compute/core_compute/test_disk_types.rb +43 -0
  468. data/test/integration/compute/core_compute/test_disks.rb +53 -0
  469. data/test/integration/compute/core_compute/test_images.rb +32 -0
  470. data/test/integration/compute/core_compute/test_machine_types.rb +55 -0
  471. data/test/integration/compute/core_compute/test_operations.rb +45 -0
  472. data/test/integration/compute/core_compute/test_projects.rb +19 -0
  473. data/test/integration/compute/core_compute/test_regions.rb +33 -0
  474. data/test/integration/compute/core_compute/test_servers.rb +149 -0
  475. data/test/integration/compute/core_compute/test_snapshots.rb +21 -0
  476. data/test/integration/compute/core_compute/test_zones.rb +35 -0
  477. data/test/integration/compute/core_networking/test_addresses.rb +107 -0
  478. data/test/integration/compute/core_networking/test_coverage.rb +6 -0
  479. data/test/integration/compute/core_networking/test_firewalls.rb +11 -0
  480. data/test/integration/compute/core_networking/test_networks.rb +41 -0
  481. data/test/integration/compute/core_networking/test_routes.rb +26 -0
  482. data/test/integration/compute/core_networking/test_subnetworks.rb +11 -0
  483. data/test/integration/compute/instance_groups/test_coverage.rb +6 -0
  484. data/test/integration/compute/instance_groups/test_instance_group_managers.rb +11 -0
  485. data/test/integration/compute/instance_groups/test_instance_groups.rb +11 -0
  486. data/test/integration/compute/instance_groups/test_instance_templates.rb +11 -0
  487. data/test/integration/compute/loadbalancing/test_backend_services.rb +11 -0
  488. data/test/integration/compute/loadbalancing/test_coverage.rb +6 -0
  489. data/test/integration/compute/loadbalancing/test_forwarding_rules.rb +11 -0
  490. data/test/integration/compute/loadbalancing/test_global_addresses.rb +11 -0
  491. data/test/integration/compute/loadbalancing/test_global_forwarding_rules.rb +11 -0
  492. data/test/integration/compute/loadbalancing/test_http_health_checks.rb +11 -0
  493. data/test/integration/compute/loadbalancing/test_ssl_certificates.rb +11 -0
  494. data/test/integration/compute/loadbalancing/test_target_http_proxies.rb +11 -0
  495. data/test/integration/compute/loadbalancing/test_target_https_proxies.rb +11 -0
  496. data/test/integration/compute/loadbalancing/test_target_instances.rb +11 -0
  497. data/test/integration/compute/loadbalancing/test_target_pools.rb +55 -0
  498. data/test/integration/compute/loadbalancing/test_url_maps.rb +11 -0
  499. data/test/integration/factories/addresses_factory.rb +20 -0
  500. data/test/integration/factories/backend_services_factory.rb +19 -0
  501. data/test/integration/factories/collection_factory.rb +52 -0
  502. data/test/integration/factories/disks_factory.rb +22 -0
  503. data/test/integration/factories/firewalls_factory.rb +13 -0
  504. data/test/integration/factories/forwarding_rules_factory.rb +25 -0
  505. data/test/integration/factories/global_addresses_factory.rb +15 -0
  506. data/test/integration/factories/global_forwarding_rules_factory.rb +20 -0
  507. data/test/integration/factories/http_health_checks_factory.rb +11 -0
  508. data/test/integration/factories/images_factory.rb +16 -0
  509. data/test/integration/factories/instance_group_manager_factory.rb +30 -0
  510. data/test/integration/factories/instance_groups_factory.rb +20 -0
  511. data/test/integration/factories/instance_template_factory.rb +24 -0
  512. data/test/integration/factories/networks_factory.rb +16 -0
  513. data/test/integration/factories/servers_factory.rb +30 -0
  514. data/test/integration/factories/sql_certs_factory.rb +20 -0
  515. data/test/integration/factories/sql_instances_factory.rb +19 -0
  516. data/test/integration/factories/sql_users_factory.rb +23 -0
  517. data/test/integration/factories/ssl_certificates_factory.rb +13 -0
  518. data/test/integration/factories/subnetworks_factory.rb +26 -0
  519. data/test/integration/factories/target_http_proxies_factory.rb +19 -0
  520. data/test/integration/factories/target_https_proxies_factory.rb +26 -0
  521. data/test/integration/factories/target_instances_factory.rb +24 -0
  522. data/test/integration/factories/target_pools_factory.rb +28 -0
  523. data/test/integration/factories/url_maps_factory.rb +19 -0
  524. data/test/integration/monitoring/test_coverage.rb +6 -0
  525. data/test/integration/monitoring/test_metric_descriptors.rb +131 -0
  526. data/test/integration/monitoring/test_monitored_resource_descriptors.rb +37 -0
  527. data/test/integration/monitoring/test_timeseries.rb +238 -0
  528. data/test/integration/pubsub/pubsub_shared.rb +75 -0
  529. data/test/integration/pubsub/test_coverage.rb +6 -0
  530. data/test/integration/pubsub/test_pubsub_models.rb +135 -0
  531. data/test/integration/pubsub/test_pubsub_requests.rb +105 -0
  532. data/test/integration/sql/test_certs.rb +50 -0
  533. data/test/integration/sql/test_common_flags.rb +31 -0
  534. data/test/integration/sql/test_common_tiers.rb +26 -0
  535. data/test/integration/sql/test_coverage.rb +6 -0
  536. data/test/integration/sql/test_instances.rb +101 -0
  537. data/test/integration/sql/test_users.rb +37 -0
  538. data/test/integration/storage/storage_shared.rb +96 -0
  539. data/test/integration/storage/test_buckets.rb +112 -0
  540. data/test/integration/storage/test_coverage.rb +6 -0
  541. data/test/integration/storage/test_directories.rb +67 -0
  542. data/test/integration/storage/test_files.rb +168 -0
  543. data/test/integration/storage/test_objects.rb +203 -0
  544. data/test/integration/test_authentication.rb +38 -0
  545. data/test/unit/compute/test_common_collections.rb +42 -0
  546. data/test/unit/compute/test_common_models.rb +35 -0
  547. data/test/unit/compute/test_server.rb +29 -0
  548. data/test/unit/dns/test_common_collections.rb +43 -0
  549. data/test/unit/monitoring/test_comon_collections.rb +44 -0
  550. data/test/unit/pubsub/test_common_collections.rb +35 -0
  551. data/test/unit/sql/test_common_collections.rb +46 -0
  552. data/test/unit/storage/test_common_json_collections.rb +38 -0
  553. data/test/unit/storage/test_common_xml_collections.rb +50 -0
  554. data/test/unit/storage/test_json_requests.rb +44 -0
  555. data/test/unit/storage/test_xml_requests.rb +60 -0
  556. metadata +897 -0
@@ -0,0 +1,46 @@
1
+ require "helpers/test_helper"
2
+
3
+ class UnitTestSQLCollections < MiniTest::Test
4
+ def setup
5
+ Fog.mock!
6
+ @client = Fog::Google::SQL.new(google_project: "foo")
7
+
8
+ # Exceptions that do not pass test_common_methods:
9
+ #
10
+ # SQL Users API doesn't have a 'get' method
11
+ # SQL Flags API has only one method - 'list'
12
+ # SQL Tiers API has only one method - 'list'
13
+ @common_method_exceptions = [Fog::Google::SQL::Users,
14
+ Fog::Google::SQL::Tiers,
15
+ Fog::Google::SQL::Flags]
16
+ # Enumerate all descendants of Fog::Collection
17
+ descendants = ObjectSpace.each_object(Fog::Collection.singleton_class)
18
+
19
+ @collections = descendants.select { |d| d.name.match(/Fog::Google::SQL/) }
20
+ end
21
+
22
+ def teardown
23
+ Fog.unmock!
24
+ end
25
+
26
+ # This tests whether Fog::Compute::Google collections have common lifecycle methods
27
+ def test_common_methods
28
+ subjects = @collections - @common_method_exceptions
29
+ subjects.each do |klass|
30
+ obj = klass.new
31
+ assert obj.respond_to?(:all), "#{klass} should have an .all method"
32
+ assert obj.respond_to?(:get), "#{klass} should have a .get method"
33
+ assert obj.respond_to?(:each), "#{klass} should behave like Enumerable"
34
+ end
35
+ end
36
+
37
+ def test_collection_get_arguments
38
+ # TODO: Fixture for #352
39
+ skip
40
+ @collections.each do |klass|
41
+ obj = klass.new
42
+ assert_operator(obj.method(:get).arity, :<=, 1,
43
+ "#{klass} should have at most 1 required parameter in get()")
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,38 @@
1
+ require "helpers/test_helper"
2
+
3
+ class UnitTestStorageJSONCollections < MiniTest::Test
4
+ def setup
5
+ Fog.mock!
6
+ @client = Fog::Storage.new(provider: "google",
7
+ google_project: "foo")
8
+
9
+ # Enumerate all descendants of Fog::Collection
10
+ descendants = ObjectSpace.each_object(Fog::Collection.singleton_class)
11
+
12
+ @collections = descendants.select do |d|
13
+ d.name.match(/Fog::Storage::GoogleJSON/)
14
+ end
15
+ end
16
+
17
+ def teardown
18
+ Fog.unmock!
19
+ end
20
+
21
+ def test_common_methods
22
+ # This tests whether Fog::Compute::Google collections have common lifecycle methods
23
+ @collections.each do |klass|
24
+ obj = klass.new
25
+ assert obj.respond_to?(:all), "#{klass} should have an .all method"
26
+ assert obj.respond_to?(:get), "#{klass} should have a .get method"
27
+ assert obj.respond_to?(:each), "#{klass} should behave like Enumerable"
28
+ end
29
+ end
30
+
31
+ def test_collection_get_arguments
32
+ @collections.each do |klass|
33
+ obj = klass.new
34
+ assert_operator(obj.method(:get).arity, :<=, 1,
35
+ "#{klass} should have at most 1 required parameter in get()")
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,50 @@
1
+ require "helpers/test_helper"
2
+
3
+ class UnitTestStorageXMLCollections < MiniTest::Test
4
+ def setup
5
+ Fog.mock!
6
+ @client = Fog::Storage.new(provider: "google",
7
+ google_storage_access_key_id: "",
8
+ google_storage_secret_access_key: "")
9
+ @bucket = @client.directories.create(key: "testbucket-#{SecureRandom.hex}")
10
+
11
+ # Enumerate all descendants of Fog::Collection
12
+ descendants = ObjectSpace.each_object(Fog::Collection.singleton_class)
13
+
14
+ @collections = descendants.select do |d|
15
+ d.name.match(/Fog::Storage::GoogleXML/)
16
+ end
17
+ end
18
+
19
+ def teardown
20
+ Fog.unmock!
21
+ end
22
+
23
+ def test_common_methods
24
+ # This tests whether Fog::Compute::Google collections have common lifecycle methods
25
+ @collections.each do |klass|
26
+ obj = klass.new
27
+ assert obj.respond_to?(:all), "#{klass} should have an .all method"
28
+ assert obj.respond_to?(:get), "#{klass} should have a .get method"
29
+ assert obj.respond_to?(:each), "#{klass} should behave like Enumerable"
30
+ end
31
+ end
32
+
33
+ def test_collection_get_arguments
34
+ @collections.each do |klass|
35
+ obj = klass.new
36
+ assert_operator(obj.method(:get).arity, :<=, 1,
37
+ "#{klass} should have at most 1 required parameter in get()")
38
+ end
39
+ end
40
+
41
+ def test_metadata
42
+ attr = { key: 'test-file', body: "hello world\x00" }
43
+ f = @bucket.files.new(attr)
44
+ assert_equal({}, f.metadata)
45
+
46
+ metadata = { 'x-goog-meta-my-header' => 'hello world' }
47
+ f = @bucket.files.new(attr.merge(metadata))
48
+ assert_equal(metadata, f.metadata)
49
+ end
50
+ end
@@ -0,0 +1,44 @@
1
+ require "helpers/test_helper"
2
+
3
+ class UnitTestJsonRequests < MiniTest::Test
4
+ def setup
5
+ Fog.mock!
6
+ @client = Fog::Storage.new(provider: "google",
7
+ google_project: "",
8
+ google_json_key_location: "")
9
+ end
10
+
11
+ def teardown
12
+ Fog.unmock!
13
+ end
14
+
15
+ def test_get_url_path_has_query_params
16
+ url = @client.get_object_url("bucket",
17
+ "just some file.json",
18
+ Time.now + 2 * 60,
19
+ query: { "projection" => 'full, noAcl"' })
20
+
21
+ assert_match(/projection=full%2C%20noAcl/, url,
22
+ "query string should be escaped")
23
+ end
24
+
25
+ def test_get_url_filter_nil_query_params
26
+ url = @client.get_object_url("bucket",
27
+ "just some file.json",
28
+ Time.now + 2 * 60,
29
+ query: { "projection" => nil })
30
+
31
+ refute_match(/projection/, url,
32
+ "nil query params should be omitted")
33
+ end
34
+
35
+ def test_put_url_path_is_properly_escaped
36
+ url = @client.put_object_url("bucket",
37
+ "just some file.json",
38
+ Time.now + 2 * 60,
39
+ "Content-Type" => "application/json")
40
+
41
+ assert_match(/just%20some%20file\.json/, url,
42
+ "space should be escaped with '%20'")
43
+ end
44
+ end
@@ -0,0 +1,60 @@
1
+ require "helpers/test_helper"
2
+
3
+ class UnitTestXMLRequests < MiniTest::Test
4
+ def setup
5
+ Fog.mock!
6
+ @client = Fog::Storage.new(provider: "google",
7
+ google_storage_access_key_id: "",
8
+ google_storage_secret_access_key: "")
9
+ end
10
+
11
+ def teardown
12
+ Fog.unmock!
13
+ end
14
+
15
+ def test_get_http_url
16
+ url = @client.get_object_http_url("bucket",
17
+ "just some file.json",
18
+ Time.now + 2 * 60)
19
+ assert_match(/^http:\/\//, url,
20
+ "URL starts with HTTP")
21
+ end
22
+
23
+ def test_get_https_url
24
+ url = @client.get_object_https_url("bucket",
25
+ "just some file.json",
26
+ Time.now + 2 * 60)
27
+ assert_match(/^https:\/\//, url,
28
+ "URL starts with HTTPS")
29
+ end
30
+
31
+ def test_get_url_path_has_query_params
32
+ url = @client.get_object_url("bucket",
33
+ "just some file.json",
34
+ Time.now + 2 * 60,
35
+ query: { "Response-Content-Disposition" => 'inline; filename="test.json"' })
36
+
37
+ assert_match(/Response-Content-Disposition=inline%3B%20filename%3D%22test.json/, url,
38
+ "query string should be escaped")
39
+ end
40
+
41
+ def test_get_url_filter_nil_query_params
42
+ url = @client.get_object_url("bucket",
43
+ "just some file.json",
44
+ Time.now + 2 * 60,
45
+ query: { "Response-Content-Disposition" => nil })
46
+
47
+ refute_match(/Response-Content-Disposition/, url,
48
+ "nil query params should be omitted")
49
+ end
50
+
51
+ def test_put_url_path_is_properly_escaped
52
+ url = @client.put_object_url("bucket",
53
+ "just some file.json",
54
+ Time.now + 2 * 60,
55
+ "Content-Type" => "application/json")
56
+
57
+ assert_match(/just%20some%20file\.json/, url,
58
+ "space should be escaped with '%20'")
59
+ end
60
+ end
metadata ADDED
@@ -0,0 +1,897 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gitlab-fog-google
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.13.0
5
+ platform: ruby
6
+ authors:
7
+ - Nat Welch
8
+ - Artem Yakimenko
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2021-03-10 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: fog-core
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "<="
19
+ - !ruby/object:Gem::Version
20
+ version: 2.1.0
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "<="
26
+ - !ruby/object:Gem::Version
27
+ version: 2.1.0
28
+ - !ruby/object:Gem::Dependency
29
+ name: fog-json
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '1.2'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '1.2'
42
+ - !ruby/object:Gem::Dependency
43
+ name: fog-xml
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: 0.1.0
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: 0.1.0
56
+ - !ruby/object:Gem::Dependency
57
+ name: google-api-client
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: 0.44.2
63
+ - - "<"
64
+ - !ruby/object:Gem::Version
65
+ version: '0.51'
66
+ type: :runtime
67
+ prerelease: false
68
+ version_requirements: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 0.44.2
73
+ - - "<"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.51'
76
+ - !ruby/object:Gem::Dependency
77
+ name: google-cloud-env
78
+ requirement: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.2'
83
+ type: :runtime
84
+ prerelease: false
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1.2'
90
+ - !ruby/object:Gem::Dependency
91
+ name: addressable
92
+ requirement: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: 2.7.0
97
+ type: :runtime
98
+ prerelease: false
99
+ version_requirements: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: 2.7.0
104
+ - !ruby/object:Gem::Dependency
105
+ name: pry
106
+ requirement: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ type: :development
112
+ prerelease: false
113
+ version_requirements: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ - !ruby/object:Gem::Dependency
119
+ name: retriable
120
+ requirement: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ type: :development
126
+ prerelease: false
127
+ version_requirements: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ - !ruby/object:Gem::Dependency
133
+ name: rake
134
+ requirement: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ type: :development
140
+ prerelease: false
141
+ version_requirements: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ - !ruby/object:Gem::Dependency
147
+ name: minitest
148
+ requirement: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ type: :development
154
+ prerelease: false
155
+ version_requirements: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ - !ruby/object:Gem::Dependency
161
+ name: minitest-reporters
162
+ requirement: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ type: :development
168
+ prerelease: false
169
+ version_requirements: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ - !ruby/object:Gem::Dependency
175
+ name: shindo
176
+ requirement: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ type: :development
182
+ prerelease: false
183
+ version_requirements: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ - !ruby/object:Gem::Dependency
189
+ name: vcr
190
+ requirement: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ type: :development
196
+ prerelease: false
197
+ version_requirements: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ - !ruby/object:Gem::Dependency
203
+ name: webmock
204
+ requirement: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ type: :development
210
+ prerelease: false
211
+ version_requirements: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ description: This library can be used as a module for `fog` or as standalone provider
217
+ to use the Google Cloud in applications.
218
+ email:
219
+ - nat@natwelch.com
220
+ - temikus@google.com
221
+ executables: []
222
+ extensions: []
223
+ extra_rdoc_files: []
224
+ files:
225
+ - ".codecov.yml"
226
+ - ".editorconfig"
227
+ - ".fog.example"
228
+ - ".gitignore"
229
+ - ".gitlab-ci.yml"
230
+ - ".hound.yml"
231
+ - ".rubocop.yml"
232
+ - ".ruby-gemset"
233
+ - ".travis.yml"
234
+ - CHANGELOG.md
235
+ - CONTRIBUTING.md
236
+ - CONTRIBUTORS.md
237
+ - Gemfile
238
+ - LICENSE.md
239
+ - MIGRATING.md
240
+ - README.md
241
+ - Rakefile
242
+ - SECURITY.md
243
+ - ci/.gitignore
244
+ - ci/README.md
245
+ - ci/build-head-pipeline.yml
246
+ - ci/credentials.yml.template
247
+ - ci/docker-image/Dockerfile
248
+ - ci/integration-pipeline.yml
249
+ - ci/pipeline-dev.yml
250
+ - ci/tasks/run-int.sh
251
+ - ci/tasks/run-int.yml
252
+ - ci/tasks/utils.sh
253
+ - examples/backend_services.rb
254
+ - examples/bootstrap.rb
255
+ - examples/create_instance.rb
256
+ - examples/create_instance_with_attached_disk.rb
257
+ - examples/dns/project.rb
258
+ - examples/dns/zones.rb
259
+ - examples/get_list_images.rb
260
+ - examples/get_list_snapshots.rb
261
+ - examples/image_create.rb
262
+ - examples/l7_load_balance.rb
263
+ - examples/load-balance.rb
264
+ - examples/metadata.rb
265
+ - examples/monitoring/metric_descriptors.rb
266
+ - examples/monitoring/monitored_resource_descriptors.rb
267
+ - examples/monitoring/timeseries_collection.rb
268
+ - examples/network.rb
269
+ - examples/precreated_client.rb
270
+ - examples/pubsub/subscriptions.rb
271
+ - examples/pubsub/topics.rb
272
+ - examples/sql/flags.rb
273
+ - examples/sql/instances.rb
274
+ - examples/sql/operations.rb
275
+ - examples/sql/ssl_certs.rb
276
+ - examples/sql/tiers.rb
277
+ - examples/storage.rb
278
+ - examples/storage_json.rb
279
+ - gitlab-fog-google.gemspec
280
+ - lib/fog/bin/google.rb
281
+ - lib/fog/compute/google.rb
282
+ - lib/fog/compute/google/mock.rb
283
+ - lib/fog/compute/google/models/address.rb
284
+ - lib/fog/compute/google/models/addresses.rb
285
+ - lib/fog/compute/google/models/backend_service.rb
286
+ - lib/fog/compute/google/models/backend_services.rb
287
+ - lib/fog/compute/google/models/disk.rb
288
+ - lib/fog/compute/google/models/disk_type.rb
289
+ - lib/fog/compute/google/models/disk_types.rb
290
+ - lib/fog/compute/google/models/disks.rb
291
+ - lib/fog/compute/google/models/firewall.rb
292
+ - lib/fog/compute/google/models/firewalls.rb
293
+ - lib/fog/compute/google/models/forwarding_rule.rb
294
+ - lib/fog/compute/google/models/forwarding_rules.rb
295
+ - lib/fog/compute/google/models/global_address.rb
296
+ - lib/fog/compute/google/models/global_addresses.rb
297
+ - lib/fog/compute/google/models/global_forwarding_rule.rb
298
+ - lib/fog/compute/google/models/global_forwarding_rules.rb
299
+ - lib/fog/compute/google/models/http_health_check.rb
300
+ - lib/fog/compute/google/models/http_health_checks.rb
301
+ - lib/fog/compute/google/models/image.rb
302
+ - lib/fog/compute/google/models/images.rb
303
+ - lib/fog/compute/google/models/instance_group.rb
304
+ - lib/fog/compute/google/models/instance_group_manager.rb
305
+ - lib/fog/compute/google/models/instance_group_managers.rb
306
+ - lib/fog/compute/google/models/instance_groups.rb
307
+ - lib/fog/compute/google/models/instance_template.rb
308
+ - lib/fog/compute/google/models/instance_templates.rb
309
+ - lib/fog/compute/google/models/machine_type.rb
310
+ - lib/fog/compute/google/models/machine_types.rb
311
+ - lib/fog/compute/google/models/network.rb
312
+ - lib/fog/compute/google/models/networks.rb
313
+ - lib/fog/compute/google/models/operation.rb
314
+ - lib/fog/compute/google/models/operations.rb
315
+ - lib/fog/compute/google/models/project.rb
316
+ - lib/fog/compute/google/models/projects.rb
317
+ - lib/fog/compute/google/models/region.rb
318
+ - lib/fog/compute/google/models/regions.rb
319
+ - lib/fog/compute/google/models/route.rb
320
+ - lib/fog/compute/google/models/routes.rb
321
+ - lib/fog/compute/google/models/server.rb
322
+ - lib/fog/compute/google/models/servers.rb
323
+ - lib/fog/compute/google/models/snapshot.rb
324
+ - lib/fog/compute/google/models/snapshots.rb
325
+ - lib/fog/compute/google/models/ssl_certificate.rb
326
+ - lib/fog/compute/google/models/ssl_certificates.rb
327
+ - lib/fog/compute/google/models/subnetwork.rb
328
+ - lib/fog/compute/google/models/subnetworks.rb
329
+ - lib/fog/compute/google/models/target_http_proxies.rb
330
+ - lib/fog/compute/google/models/target_http_proxy.rb
331
+ - lib/fog/compute/google/models/target_https_proxies.rb
332
+ - lib/fog/compute/google/models/target_https_proxy.rb
333
+ - lib/fog/compute/google/models/target_instance.rb
334
+ - lib/fog/compute/google/models/target_instances.rb
335
+ - lib/fog/compute/google/models/target_pool.rb
336
+ - lib/fog/compute/google/models/target_pools.rb
337
+ - lib/fog/compute/google/models/url_map.rb
338
+ - lib/fog/compute/google/models/url_maps.rb
339
+ - lib/fog/compute/google/models/zone.rb
340
+ - lib/fog/compute/google/models/zones.rb
341
+ - lib/fog/compute/google/real.rb
342
+ - lib/fog/compute/google/requests/abandon_instances.rb
343
+ - lib/fog/compute/google/requests/add_backend_service_backends.rb
344
+ - lib/fog/compute/google/requests/add_instance_group_instances.rb
345
+ - lib/fog/compute/google/requests/add_server_access_config.rb
346
+ - lib/fog/compute/google/requests/add_target_pool_health_checks.rb
347
+ - lib/fog/compute/google/requests/add_target_pool_instances.rb
348
+ - lib/fog/compute/google/requests/attach_disk.rb
349
+ - lib/fog/compute/google/requests/create_disk_snapshot.rb
350
+ - lib/fog/compute/google/requests/delete_address.rb
351
+ - lib/fog/compute/google/requests/delete_backend_service.rb
352
+ - lib/fog/compute/google/requests/delete_disk.rb
353
+ - lib/fog/compute/google/requests/delete_firewall.rb
354
+ - lib/fog/compute/google/requests/delete_forwarding_rule.rb
355
+ - lib/fog/compute/google/requests/delete_global_address.rb
356
+ - lib/fog/compute/google/requests/delete_global_forwarding_rule.rb
357
+ - lib/fog/compute/google/requests/delete_global_operation.rb
358
+ - lib/fog/compute/google/requests/delete_http_health_check.rb
359
+ - lib/fog/compute/google/requests/delete_image.rb
360
+ - lib/fog/compute/google/requests/delete_instance_group.rb
361
+ - lib/fog/compute/google/requests/delete_instance_group_manager.rb
362
+ - lib/fog/compute/google/requests/delete_instance_template.rb
363
+ - lib/fog/compute/google/requests/delete_network.rb
364
+ - lib/fog/compute/google/requests/delete_region_operation.rb
365
+ - lib/fog/compute/google/requests/delete_route.rb
366
+ - lib/fog/compute/google/requests/delete_server.rb
367
+ - lib/fog/compute/google/requests/delete_server_access_config.rb
368
+ - lib/fog/compute/google/requests/delete_snapshot.rb
369
+ - lib/fog/compute/google/requests/delete_ssl_certificate.rb
370
+ - lib/fog/compute/google/requests/delete_subnetwork.rb
371
+ - lib/fog/compute/google/requests/delete_target_http_proxy.rb
372
+ - lib/fog/compute/google/requests/delete_target_https_proxy.rb
373
+ - lib/fog/compute/google/requests/delete_target_instance.rb
374
+ - lib/fog/compute/google/requests/delete_target_pool.rb
375
+ - lib/fog/compute/google/requests/delete_url_map.rb
376
+ - lib/fog/compute/google/requests/delete_zone_operation.rb
377
+ - lib/fog/compute/google/requests/deprecate_image.rb
378
+ - lib/fog/compute/google/requests/detach_disk.rb
379
+ - lib/fog/compute/google/requests/expand_subnetwork_ip_cidr_range.rb
380
+ - lib/fog/compute/google/requests/get_address.rb
381
+ - lib/fog/compute/google/requests/get_backend_service.rb
382
+ - lib/fog/compute/google/requests/get_backend_service_health.rb
383
+ - lib/fog/compute/google/requests/get_disk.rb
384
+ - lib/fog/compute/google/requests/get_disk_type.rb
385
+ - lib/fog/compute/google/requests/get_firewall.rb
386
+ - lib/fog/compute/google/requests/get_forwarding_rule.rb
387
+ - lib/fog/compute/google/requests/get_global_address.rb
388
+ - lib/fog/compute/google/requests/get_global_forwarding_rule.rb
389
+ - lib/fog/compute/google/requests/get_global_operation.rb
390
+ - lib/fog/compute/google/requests/get_http_health_check.rb
391
+ - lib/fog/compute/google/requests/get_image.rb
392
+ - lib/fog/compute/google/requests/get_image_from_family.rb
393
+ - lib/fog/compute/google/requests/get_instance_group.rb
394
+ - lib/fog/compute/google/requests/get_instance_group_manager.rb
395
+ - lib/fog/compute/google/requests/get_instance_template.rb
396
+ - lib/fog/compute/google/requests/get_machine_type.rb
397
+ - lib/fog/compute/google/requests/get_network.rb
398
+ - lib/fog/compute/google/requests/get_project.rb
399
+ - lib/fog/compute/google/requests/get_region.rb
400
+ - lib/fog/compute/google/requests/get_region_operation.rb
401
+ - lib/fog/compute/google/requests/get_route.rb
402
+ - lib/fog/compute/google/requests/get_server.rb
403
+ - lib/fog/compute/google/requests/get_server_serial_port_output.rb
404
+ - lib/fog/compute/google/requests/get_snapshot.rb
405
+ - lib/fog/compute/google/requests/get_ssl_certificate.rb
406
+ - lib/fog/compute/google/requests/get_subnetwork.rb
407
+ - lib/fog/compute/google/requests/get_target_http_proxy.rb
408
+ - lib/fog/compute/google/requests/get_target_https_proxy.rb
409
+ - lib/fog/compute/google/requests/get_target_instance.rb
410
+ - lib/fog/compute/google/requests/get_target_pool.rb
411
+ - lib/fog/compute/google/requests/get_target_pool_health.rb
412
+ - lib/fog/compute/google/requests/get_url_map.rb
413
+ - lib/fog/compute/google/requests/get_zone.rb
414
+ - lib/fog/compute/google/requests/get_zone_operation.rb
415
+ - lib/fog/compute/google/requests/insert_address.rb
416
+ - lib/fog/compute/google/requests/insert_backend_service.rb
417
+ - lib/fog/compute/google/requests/insert_disk.rb
418
+ - lib/fog/compute/google/requests/insert_firewall.rb
419
+ - lib/fog/compute/google/requests/insert_forwarding_rule.rb
420
+ - lib/fog/compute/google/requests/insert_global_address.rb
421
+ - lib/fog/compute/google/requests/insert_global_forwarding_rule.rb
422
+ - lib/fog/compute/google/requests/insert_http_health_check.rb
423
+ - lib/fog/compute/google/requests/insert_image.rb
424
+ - lib/fog/compute/google/requests/insert_instance_group.rb
425
+ - lib/fog/compute/google/requests/insert_instance_group_manager.rb
426
+ - lib/fog/compute/google/requests/insert_instance_template.rb
427
+ - lib/fog/compute/google/requests/insert_network.rb
428
+ - lib/fog/compute/google/requests/insert_route.rb
429
+ - lib/fog/compute/google/requests/insert_server.rb
430
+ - lib/fog/compute/google/requests/insert_ssl_certificate.rb
431
+ - lib/fog/compute/google/requests/insert_subnetwork.rb
432
+ - lib/fog/compute/google/requests/insert_target_http_proxy.rb
433
+ - lib/fog/compute/google/requests/insert_target_https_proxy.rb
434
+ - lib/fog/compute/google/requests/insert_target_instance.rb
435
+ - lib/fog/compute/google/requests/insert_target_pool.rb
436
+ - lib/fog/compute/google/requests/insert_url_map.rb
437
+ - lib/fog/compute/google/requests/invalidate_url_map_cache.rb
438
+ - lib/fog/compute/google/requests/list_addresses.rb
439
+ - lib/fog/compute/google/requests/list_aggregated_addresses.rb
440
+ - lib/fog/compute/google/requests/list_aggregated_disk_types.rb
441
+ - lib/fog/compute/google/requests/list_aggregated_disks.rb
442
+ - lib/fog/compute/google/requests/list_aggregated_forwarding_rules.rb
443
+ - lib/fog/compute/google/requests/list_aggregated_instance_group_managers.rb
444
+ - lib/fog/compute/google/requests/list_aggregated_instance_groups.rb
445
+ - lib/fog/compute/google/requests/list_aggregated_machine_types.rb
446
+ - lib/fog/compute/google/requests/list_aggregated_servers.rb
447
+ - lib/fog/compute/google/requests/list_aggregated_subnetworks.rb
448
+ - lib/fog/compute/google/requests/list_aggregated_target_instances.rb
449
+ - lib/fog/compute/google/requests/list_aggregated_target_pools.rb
450
+ - lib/fog/compute/google/requests/list_backend_services.rb
451
+ - lib/fog/compute/google/requests/list_disk_types.rb
452
+ - lib/fog/compute/google/requests/list_disks.rb
453
+ - lib/fog/compute/google/requests/list_firewalls.rb
454
+ - lib/fog/compute/google/requests/list_forwarding_rules.rb
455
+ - lib/fog/compute/google/requests/list_global_addresses.rb
456
+ - lib/fog/compute/google/requests/list_global_forwarding_rules.rb
457
+ - lib/fog/compute/google/requests/list_global_operations.rb
458
+ - lib/fog/compute/google/requests/list_http_health_checks.rb
459
+ - lib/fog/compute/google/requests/list_images.rb
460
+ - lib/fog/compute/google/requests/list_instance_group_instances.rb
461
+ - lib/fog/compute/google/requests/list_instance_group_managers.rb
462
+ - lib/fog/compute/google/requests/list_instance_groups.rb
463
+ - lib/fog/compute/google/requests/list_instance_templates.rb
464
+ - lib/fog/compute/google/requests/list_machine_types.rb
465
+ - lib/fog/compute/google/requests/list_networks.rb
466
+ - lib/fog/compute/google/requests/list_region_operations.rb
467
+ - lib/fog/compute/google/requests/list_regions.rb
468
+ - lib/fog/compute/google/requests/list_routes.rb
469
+ - lib/fog/compute/google/requests/list_servers.rb
470
+ - lib/fog/compute/google/requests/list_snapshots.rb
471
+ - lib/fog/compute/google/requests/list_ssl_certificates.rb
472
+ - lib/fog/compute/google/requests/list_subnetworks.rb
473
+ - lib/fog/compute/google/requests/list_target_http_proxies.rb
474
+ - lib/fog/compute/google/requests/list_target_https_proxies.rb
475
+ - lib/fog/compute/google/requests/list_target_instances.rb
476
+ - lib/fog/compute/google/requests/list_target_pools.rb
477
+ - lib/fog/compute/google/requests/list_url_maps.rb
478
+ - lib/fog/compute/google/requests/list_zone_operations.rb
479
+ - lib/fog/compute/google/requests/list_zones.rb
480
+ - lib/fog/compute/google/requests/patch_firewall.rb
481
+ - lib/fog/compute/google/requests/patch_url_map.rb
482
+ - lib/fog/compute/google/requests/recreate_instances.rb
483
+ - lib/fog/compute/google/requests/remove_instance_group_instances.rb
484
+ - lib/fog/compute/google/requests/remove_target_pool_health_checks.rb
485
+ - lib/fog/compute/google/requests/remove_target_pool_instance.rb
486
+ - lib/fog/compute/google/requests/remove_target_pool_instances.rb
487
+ - lib/fog/compute/google/requests/reset_server.rb
488
+ - lib/fog/compute/google/requests/reset_windows_password.rb
489
+ - lib/fog/compute/google/requests/set_common_instance_metadata.rb
490
+ - lib/fog/compute/google/requests/set_forwarding_rule_target.rb
491
+ - lib/fog/compute/google/requests/set_global_forwarding_rule_target.rb
492
+ - lib/fog/compute/google/requests/set_instance_template.rb
493
+ - lib/fog/compute/google/requests/set_server_disk_auto_delete.rb
494
+ - lib/fog/compute/google/requests/set_server_machine_type.rb
495
+ - lib/fog/compute/google/requests/set_server_metadata.rb
496
+ - lib/fog/compute/google/requests/set_server_scheduling.rb
497
+ - lib/fog/compute/google/requests/set_server_tags.rb
498
+ - lib/fog/compute/google/requests/set_snapshot_labels.rb
499
+ - lib/fog/compute/google/requests/set_subnetwork_private_ip_google_access.rb
500
+ - lib/fog/compute/google/requests/set_target_http_proxy_url_map.rb
501
+ - lib/fog/compute/google/requests/set_target_https_proxy_ssl_certificates.rb
502
+ - lib/fog/compute/google/requests/set_target_https_proxy_url_map.rb
503
+ - lib/fog/compute/google/requests/set_target_pool_backup.rb
504
+ - lib/fog/compute/google/requests/start_server.rb
505
+ - lib/fog/compute/google/requests/stop_server.rb
506
+ - lib/fog/compute/google/requests/update_firewall.rb
507
+ - lib/fog/compute/google/requests/update_http_health_check.rb
508
+ - lib/fog/compute/google/requests/update_url_map.rb
509
+ - lib/fog/compute/google/requests/validate_url_map.rb
510
+ - lib/fog/dns/google.rb
511
+ - lib/fog/dns/google/mock.rb
512
+ - lib/fog/dns/google/models/change.rb
513
+ - lib/fog/dns/google/models/changes.rb
514
+ - lib/fog/dns/google/models/project.rb
515
+ - lib/fog/dns/google/models/projects.rb
516
+ - lib/fog/dns/google/models/record.rb
517
+ - lib/fog/dns/google/models/records.rb
518
+ - lib/fog/dns/google/models/zone.rb
519
+ - lib/fog/dns/google/models/zones.rb
520
+ - lib/fog/dns/google/real.rb
521
+ - lib/fog/dns/google/requests/create_change.rb
522
+ - lib/fog/dns/google/requests/create_managed_zone.rb
523
+ - lib/fog/dns/google/requests/delete_managed_zone.rb
524
+ - lib/fog/dns/google/requests/get_change.rb
525
+ - lib/fog/dns/google/requests/get_managed_zone.rb
526
+ - lib/fog/dns/google/requests/get_project.rb
527
+ - lib/fog/dns/google/requests/list_changes.rb
528
+ - lib/fog/dns/google/requests/list_managed_zones.rb
529
+ - lib/fog/dns/google/requests/list_resource_record_sets.rb
530
+ - lib/fog/google.rb
531
+ - lib/fog/google/mock.rb
532
+ - lib/fog/google/models/monitoring/metric_descriptor.rb
533
+ - lib/fog/google/models/monitoring/metric_descriptors.rb
534
+ - lib/fog/google/models/monitoring/monitored_resource_descriptor.rb
535
+ - lib/fog/google/models/monitoring/monitored_resource_descriptors.rb
536
+ - lib/fog/google/models/monitoring/timeseries.rb
537
+ - lib/fog/google/models/monitoring/timeseries_collection.rb
538
+ - lib/fog/google/models/pubsub/received_message.rb
539
+ - lib/fog/google/models/pubsub/subscription.rb
540
+ - lib/fog/google/models/pubsub/subscriptions.rb
541
+ - lib/fog/google/models/pubsub/topic.rb
542
+ - lib/fog/google/models/pubsub/topics.rb
543
+ - lib/fog/google/models/sql/backup_run.rb
544
+ - lib/fog/google/models/sql/backup_runs.rb
545
+ - lib/fog/google/models/sql/flag.rb
546
+ - lib/fog/google/models/sql/flags.rb
547
+ - lib/fog/google/models/sql/instance.rb
548
+ - lib/fog/google/models/sql/instances.rb
549
+ - lib/fog/google/models/sql/operation.rb
550
+ - lib/fog/google/models/sql/operations.rb
551
+ - lib/fog/google/models/sql/ssl_cert.rb
552
+ - lib/fog/google/models/sql/ssl_certs.rb
553
+ - lib/fog/google/models/sql/tier.rb
554
+ - lib/fog/google/models/sql/tiers.rb
555
+ - lib/fog/google/models/sql/user.rb
556
+ - lib/fog/google/models/sql/users.rb
557
+ - lib/fog/google/monitoring.rb
558
+ - lib/fog/google/monitoring/mock.rb
559
+ - lib/fog/google/monitoring/real.rb
560
+ - lib/fog/google/pubsub.rb
561
+ - lib/fog/google/pubsub/mock.rb
562
+ - lib/fog/google/pubsub/real.rb
563
+ - lib/fog/google/requests/monitoring/create_metric_descriptor.rb
564
+ - lib/fog/google/requests/monitoring/create_timeseries.rb
565
+ - lib/fog/google/requests/monitoring/delete_metric_descriptor.rb
566
+ - lib/fog/google/requests/monitoring/get_metric_descriptor.rb
567
+ - lib/fog/google/requests/monitoring/get_monitored_resource_descriptor.rb
568
+ - lib/fog/google/requests/monitoring/list_metric_descriptors.rb
569
+ - lib/fog/google/requests/monitoring/list_monitored_resource_descriptors.rb
570
+ - lib/fog/google/requests/monitoring/list_timeseries.rb
571
+ - lib/fog/google/requests/pubsub/acknowledge_subscription.rb
572
+ - lib/fog/google/requests/pubsub/create_subscription.rb
573
+ - lib/fog/google/requests/pubsub/create_topic.rb
574
+ - lib/fog/google/requests/pubsub/delete_subscription.rb
575
+ - lib/fog/google/requests/pubsub/delete_topic.rb
576
+ - lib/fog/google/requests/pubsub/get_subscription.rb
577
+ - lib/fog/google/requests/pubsub/get_topic.rb
578
+ - lib/fog/google/requests/pubsub/list_subscriptions.rb
579
+ - lib/fog/google/requests/pubsub/list_topics.rb
580
+ - lib/fog/google/requests/pubsub/publish_topic.rb
581
+ - lib/fog/google/requests/pubsub/pull_subscription.rb
582
+ - lib/fog/google/requests/sql/clone_instance.rb
583
+ - lib/fog/google/requests/sql/delete_backup_run.rb
584
+ - lib/fog/google/requests/sql/delete_instance.rb
585
+ - lib/fog/google/requests/sql/delete_ssl_cert.rb
586
+ - lib/fog/google/requests/sql/delete_user.rb
587
+ - lib/fog/google/requests/sql/export_instance.rb
588
+ - lib/fog/google/requests/sql/get_backup_run.rb
589
+ - lib/fog/google/requests/sql/get_instance.rb
590
+ - lib/fog/google/requests/sql/get_operation.rb
591
+ - lib/fog/google/requests/sql/get_ssl_cert.rb
592
+ - lib/fog/google/requests/sql/import_instance.rb
593
+ - lib/fog/google/requests/sql/insert_backup_run.rb
594
+ - lib/fog/google/requests/sql/insert_instance.rb
595
+ - lib/fog/google/requests/sql/insert_ssl_cert.rb
596
+ - lib/fog/google/requests/sql/insert_user.rb
597
+ - lib/fog/google/requests/sql/list_backup_runs.rb
598
+ - lib/fog/google/requests/sql/list_flags.rb
599
+ - lib/fog/google/requests/sql/list_instances.rb
600
+ - lib/fog/google/requests/sql/list_operations.rb
601
+ - lib/fog/google/requests/sql/list_ssl_certs.rb
602
+ - lib/fog/google/requests/sql/list_tiers.rb
603
+ - lib/fog/google/requests/sql/list_users.rb
604
+ - lib/fog/google/requests/sql/reset_instance_ssl_config.rb
605
+ - lib/fog/google/requests/sql/restart_instance.rb
606
+ - lib/fog/google/requests/sql/restore_instance_backup.rb
607
+ - lib/fog/google/requests/sql/update_instance.rb
608
+ - lib/fog/google/requests/sql/update_user.rb
609
+ - lib/fog/google/shared.rb
610
+ - lib/fog/google/sql.rb
611
+ - lib/fog/google/sql/mock.rb
612
+ - lib/fog/google/sql/real.rb
613
+ - lib/fog/google/version.rb
614
+ - lib/fog/parsers/storage/google.rb
615
+ - lib/fog/parsers/storage/google/access_control_list.rb
616
+ - lib/fog/parsers/storage/google/copy_object.rb
617
+ - lib/fog/parsers/storage/google/get_bucket.rb
618
+ - lib/fog/parsers/storage/google/get_bucket_logging.rb
619
+ - lib/fog/parsers/storage/google/get_bucket_object_versions.rb
620
+ - lib/fog/parsers/storage/google/get_bucket_versioning.rb
621
+ - lib/fog/parsers/storage/google/get_request_payment.rb
622
+ - lib/fog/parsers/storage/google/get_service.rb
623
+ - lib/fog/storage/google.rb
624
+ - lib/fog/storage/google_json.rb
625
+ - lib/fog/storage/google_json/mock.rb
626
+ - lib/fog/storage/google_json/models/directories.rb
627
+ - lib/fog/storage/google_json/models/directory.rb
628
+ - lib/fog/storage/google_json/models/file.rb
629
+ - lib/fog/storage/google_json/models/files.rb
630
+ - lib/fog/storage/google_json/real.rb
631
+ - lib/fog/storage/google_json/requests/copy_object.rb
632
+ - lib/fog/storage/google_json/requests/delete_bucket.rb
633
+ - lib/fog/storage/google_json/requests/delete_object.rb
634
+ - lib/fog/storage/google_json/requests/delete_object_url.rb
635
+ - lib/fog/storage/google_json/requests/get_bucket.rb
636
+ - lib/fog/storage/google_json/requests/get_bucket_acl.rb
637
+ - lib/fog/storage/google_json/requests/get_object.rb
638
+ - lib/fog/storage/google_json/requests/get_object_acl.rb
639
+ - lib/fog/storage/google_json/requests/get_object_http_url.rb
640
+ - lib/fog/storage/google_json/requests/get_object_https_url.rb
641
+ - lib/fog/storage/google_json/requests/get_object_metadata.rb
642
+ - lib/fog/storage/google_json/requests/get_object_url.rb
643
+ - lib/fog/storage/google_json/requests/list_bucket_acl.rb
644
+ - lib/fog/storage/google_json/requests/list_buckets.rb
645
+ - lib/fog/storage/google_json/requests/list_object_acl.rb
646
+ - lib/fog/storage/google_json/requests/list_objects.rb
647
+ - lib/fog/storage/google_json/requests/put_bucket.rb
648
+ - lib/fog/storage/google_json/requests/put_bucket_acl.rb
649
+ - lib/fog/storage/google_json/requests/put_object.rb
650
+ - lib/fog/storage/google_json/requests/put_object_acl.rb
651
+ - lib/fog/storage/google_json/requests/put_object_url.rb
652
+ - lib/fog/storage/google_json/utils.rb
653
+ - lib/fog/storage/google_xml.rb
654
+ - lib/fog/storage/google_xml/mock.rb
655
+ - lib/fog/storage/google_xml/models/directories.rb
656
+ - lib/fog/storage/google_xml/models/directory.rb
657
+ - lib/fog/storage/google_xml/models/file.rb
658
+ - lib/fog/storage/google_xml/models/files.rb
659
+ - lib/fog/storage/google_xml/real.rb
660
+ - lib/fog/storage/google_xml/requests/copy_object.rb
661
+ - lib/fog/storage/google_xml/requests/delete_bucket.rb
662
+ - lib/fog/storage/google_xml/requests/delete_object.rb
663
+ - lib/fog/storage/google_xml/requests/delete_object_url.rb
664
+ - lib/fog/storage/google_xml/requests/get_bucket.rb
665
+ - lib/fog/storage/google_xml/requests/get_bucket_acl.rb
666
+ - lib/fog/storage/google_xml/requests/get_object.rb
667
+ - lib/fog/storage/google_xml/requests/get_object_acl.rb
668
+ - lib/fog/storage/google_xml/requests/get_object_http_url.rb
669
+ - lib/fog/storage/google_xml/requests/get_object_https_url.rb
670
+ - lib/fog/storage/google_xml/requests/get_object_url.rb
671
+ - lib/fog/storage/google_xml/requests/get_service.rb
672
+ - lib/fog/storage/google_xml/requests/head_object.rb
673
+ - lib/fog/storage/google_xml/requests/put_bucket.rb
674
+ - lib/fog/storage/google_xml/requests/put_bucket_acl.rb
675
+ - lib/fog/storage/google_xml/requests/put_object.rb
676
+ - lib/fog/storage/google_xml/requests/put_object_acl.rb
677
+ - lib/fog/storage/google_xml/requests/put_object_url.rb
678
+ - lib/fog/storage/google_xml/utils.rb
679
+ - tasks/bundler.rake
680
+ - tasks/changelog.rake
681
+ - tasks/console.rake
682
+ - tasks/lint.rake
683
+ - tasks/test.rake
684
+ - test/helpers/client_helper.rb
685
+ - test/helpers/integration_test_helper.rb
686
+ - test/helpers/test_collection.rb
687
+ - test/helpers/test_helper.rb
688
+ - test/integration/compute/core_compute/test_client_options.rb
689
+ - test/integration/compute/core_compute/test_coverage.rb
690
+ - test/integration/compute/core_compute/test_disk_types.rb
691
+ - test/integration/compute/core_compute/test_disks.rb
692
+ - test/integration/compute/core_compute/test_images.rb
693
+ - test/integration/compute/core_compute/test_machine_types.rb
694
+ - test/integration/compute/core_compute/test_operations.rb
695
+ - test/integration/compute/core_compute/test_projects.rb
696
+ - test/integration/compute/core_compute/test_regions.rb
697
+ - test/integration/compute/core_compute/test_servers.rb
698
+ - test/integration/compute/core_compute/test_snapshots.rb
699
+ - test/integration/compute/core_compute/test_zones.rb
700
+ - test/integration/compute/core_networking/test_addresses.rb
701
+ - test/integration/compute/core_networking/test_coverage.rb
702
+ - test/integration/compute/core_networking/test_firewalls.rb
703
+ - test/integration/compute/core_networking/test_networks.rb
704
+ - test/integration/compute/core_networking/test_routes.rb
705
+ - test/integration/compute/core_networking/test_subnetworks.rb
706
+ - test/integration/compute/instance_groups/test_coverage.rb
707
+ - test/integration/compute/instance_groups/test_instance_group_managers.rb
708
+ - test/integration/compute/instance_groups/test_instance_groups.rb
709
+ - test/integration/compute/instance_groups/test_instance_templates.rb
710
+ - test/integration/compute/loadbalancing/test_backend_services.rb
711
+ - test/integration/compute/loadbalancing/test_coverage.rb
712
+ - test/integration/compute/loadbalancing/test_forwarding_rules.rb
713
+ - test/integration/compute/loadbalancing/test_global_addresses.rb
714
+ - test/integration/compute/loadbalancing/test_global_forwarding_rules.rb
715
+ - test/integration/compute/loadbalancing/test_http_health_checks.rb
716
+ - test/integration/compute/loadbalancing/test_ssl_certificates.rb
717
+ - test/integration/compute/loadbalancing/test_target_http_proxies.rb
718
+ - test/integration/compute/loadbalancing/test_target_https_proxies.rb
719
+ - test/integration/compute/loadbalancing/test_target_instances.rb
720
+ - test/integration/compute/loadbalancing/test_target_pools.rb
721
+ - test/integration/compute/loadbalancing/test_url_maps.rb
722
+ - test/integration/factories/addresses_factory.rb
723
+ - test/integration/factories/backend_services_factory.rb
724
+ - test/integration/factories/collection_factory.rb
725
+ - test/integration/factories/disks_factory.rb
726
+ - test/integration/factories/firewalls_factory.rb
727
+ - test/integration/factories/forwarding_rules_factory.rb
728
+ - test/integration/factories/global_addresses_factory.rb
729
+ - test/integration/factories/global_forwarding_rules_factory.rb
730
+ - test/integration/factories/http_health_checks_factory.rb
731
+ - test/integration/factories/images_factory.rb
732
+ - test/integration/factories/instance_group_manager_factory.rb
733
+ - test/integration/factories/instance_groups_factory.rb
734
+ - test/integration/factories/instance_template_factory.rb
735
+ - test/integration/factories/networks_factory.rb
736
+ - test/integration/factories/servers_factory.rb
737
+ - test/integration/factories/sql_certs_factory.rb
738
+ - test/integration/factories/sql_instances_factory.rb
739
+ - test/integration/factories/sql_users_factory.rb
740
+ - test/integration/factories/ssl_certificates_factory.rb
741
+ - test/integration/factories/subnetworks_factory.rb
742
+ - test/integration/factories/target_http_proxies_factory.rb
743
+ - test/integration/factories/target_https_proxies_factory.rb
744
+ - test/integration/factories/target_instances_factory.rb
745
+ - test/integration/factories/target_pools_factory.rb
746
+ - test/integration/factories/url_maps_factory.rb
747
+ - test/integration/monitoring/test_coverage.rb
748
+ - test/integration/monitoring/test_metric_descriptors.rb
749
+ - test/integration/monitoring/test_monitored_resource_descriptors.rb
750
+ - test/integration/monitoring/test_timeseries.rb
751
+ - test/integration/pubsub/pubsub_shared.rb
752
+ - test/integration/pubsub/test_coverage.rb
753
+ - test/integration/pubsub/test_pubsub_models.rb
754
+ - test/integration/pubsub/test_pubsub_requests.rb
755
+ - test/integration/sql/test_certs.rb
756
+ - test/integration/sql/test_common_flags.rb
757
+ - test/integration/sql/test_common_tiers.rb
758
+ - test/integration/sql/test_coverage.rb
759
+ - test/integration/sql/test_instances.rb
760
+ - test/integration/sql/test_users.rb
761
+ - test/integration/storage/storage_shared.rb
762
+ - test/integration/storage/test_buckets.rb
763
+ - test/integration/storage/test_coverage.rb
764
+ - test/integration/storage/test_directories.rb
765
+ - test/integration/storage/test_files.rb
766
+ - test/integration/storage/test_objects.rb
767
+ - test/integration/test_authentication.rb
768
+ - test/unit/compute/test_common_collections.rb
769
+ - test/unit/compute/test_common_models.rb
770
+ - test/unit/compute/test_server.rb
771
+ - test/unit/dns/test_common_collections.rb
772
+ - test/unit/monitoring/test_comon_collections.rb
773
+ - test/unit/pubsub/test_common_collections.rb
774
+ - test/unit/sql/test_common_collections.rb
775
+ - test/unit/storage/test_common_json_collections.rb
776
+ - test/unit/storage/test_common_xml_collections.rb
777
+ - test/unit/storage/test_json_requests.rb
778
+ - test/unit/storage/test_xml_requests.rb
779
+ homepage: https://github.com/fog/fog-google
780
+ licenses:
781
+ - MIT
782
+ metadata: {}
783
+ post_install_message:
784
+ rdoc_options: []
785
+ require_paths:
786
+ - lib
787
+ required_ruby_version: !ruby/object:Gem::Requirement
788
+ requirements:
789
+ - - "~>"
790
+ - !ruby/object:Gem::Version
791
+ version: '2.0'
792
+ required_rubygems_version: !ruby/object:Gem::Requirement
793
+ requirements:
794
+ - - ">="
795
+ - !ruby/object:Gem::Version
796
+ version: '0'
797
+ requirements: []
798
+ rubygems_version: 3.1.4
799
+ signing_key:
800
+ specification_version: 4
801
+ summary: Module for the 'fog' gem to support Google.
802
+ test_files:
803
+ - test/helpers/client_helper.rb
804
+ - test/helpers/integration_test_helper.rb
805
+ - test/helpers/test_collection.rb
806
+ - test/helpers/test_helper.rb
807
+ - test/integration/compute/core_compute/test_client_options.rb
808
+ - test/integration/compute/core_compute/test_coverage.rb
809
+ - test/integration/compute/core_compute/test_disk_types.rb
810
+ - test/integration/compute/core_compute/test_disks.rb
811
+ - test/integration/compute/core_compute/test_images.rb
812
+ - test/integration/compute/core_compute/test_machine_types.rb
813
+ - test/integration/compute/core_compute/test_operations.rb
814
+ - test/integration/compute/core_compute/test_projects.rb
815
+ - test/integration/compute/core_compute/test_regions.rb
816
+ - test/integration/compute/core_compute/test_servers.rb
817
+ - test/integration/compute/core_compute/test_snapshots.rb
818
+ - test/integration/compute/core_compute/test_zones.rb
819
+ - test/integration/compute/core_networking/test_addresses.rb
820
+ - test/integration/compute/core_networking/test_coverage.rb
821
+ - test/integration/compute/core_networking/test_firewalls.rb
822
+ - test/integration/compute/core_networking/test_networks.rb
823
+ - test/integration/compute/core_networking/test_routes.rb
824
+ - test/integration/compute/core_networking/test_subnetworks.rb
825
+ - test/integration/compute/instance_groups/test_coverage.rb
826
+ - test/integration/compute/instance_groups/test_instance_group_managers.rb
827
+ - test/integration/compute/instance_groups/test_instance_groups.rb
828
+ - test/integration/compute/instance_groups/test_instance_templates.rb
829
+ - test/integration/compute/loadbalancing/test_backend_services.rb
830
+ - test/integration/compute/loadbalancing/test_coverage.rb
831
+ - test/integration/compute/loadbalancing/test_forwarding_rules.rb
832
+ - test/integration/compute/loadbalancing/test_global_addresses.rb
833
+ - test/integration/compute/loadbalancing/test_global_forwarding_rules.rb
834
+ - test/integration/compute/loadbalancing/test_http_health_checks.rb
835
+ - test/integration/compute/loadbalancing/test_ssl_certificates.rb
836
+ - test/integration/compute/loadbalancing/test_target_http_proxies.rb
837
+ - test/integration/compute/loadbalancing/test_target_https_proxies.rb
838
+ - test/integration/compute/loadbalancing/test_target_instances.rb
839
+ - test/integration/compute/loadbalancing/test_target_pools.rb
840
+ - test/integration/compute/loadbalancing/test_url_maps.rb
841
+ - test/integration/factories/addresses_factory.rb
842
+ - test/integration/factories/backend_services_factory.rb
843
+ - test/integration/factories/collection_factory.rb
844
+ - test/integration/factories/disks_factory.rb
845
+ - test/integration/factories/firewalls_factory.rb
846
+ - test/integration/factories/forwarding_rules_factory.rb
847
+ - test/integration/factories/global_addresses_factory.rb
848
+ - test/integration/factories/global_forwarding_rules_factory.rb
849
+ - test/integration/factories/http_health_checks_factory.rb
850
+ - test/integration/factories/images_factory.rb
851
+ - test/integration/factories/instance_group_manager_factory.rb
852
+ - test/integration/factories/instance_groups_factory.rb
853
+ - test/integration/factories/instance_template_factory.rb
854
+ - test/integration/factories/networks_factory.rb
855
+ - test/integration/factories/servers_factory.rb
856
+ - test/integration/factories/sql_certs_factory.rb
857
+ - test/integration/factories/sql_instances_factory.rb
858
+ - test/integration/factories/sql_users_factory.rb
859
+ - test/integration/factories/ssl_certificates_factory.rb
860
+ - test/integration/factories/subnetworks_factory.rb
861
+ - test/integration/factories/target_http_proxies_factory.rb
862
+ - test/integration/factories/target_https_proxies_factory.rb
863
+ - test/integration/factories/target_instances_factory.rb
864
+ - test/integration/factories/target_pools_factory.rb
865
+ - test/integration/factories/url_maps_factory.rb
866
+ - test/integration/monitoring/test_coverage.rb
867
+ - test/integration/monitoring/test_metric_descriptors.rb
868
+ - test/integration/monitoring/test_monitored_resource_descriptors.rb
869
+ - test/integration/monitoring/test_timeseries.rb
870
+ - test/integration/pubsub/pubsub_shared.rb
871
+ - test/integration/pubsub/test_coverage.rb
872
+ - test/integration/pubsub/test_pubsub_models.rb
873
+ - test/integration/pubsub/test_pubsub_requests.rb
874
+ - test/integration/sql/test_certs.rb
875
+ - test/integration/sql/test_common_flags.rb
876
+ - test/integration/sql/test_common_tiers.rb
877
+ - test/integration/sql/test_coverage.rb
878
+ - test/integration/sql/test_instances.rb
879
+ - test/integration/sql/test_users.rb
880
+ - test/integration/storage/storage_shared.rb
881
+ - test/integration/storage/test_buckets.rb
882
+ - test/integration/storage/test_coverage.rb
883
+ - test/integration/storage/test_directories.rb
884
+ - test/integration/storage/test_files.rb
885
+ - test/integration/storage/test_objects.rb
886
+ - test/integration/test_authentication.rb
887
+ - test/unit/compute/test_common_collections.rb
888
+ - test/unit/compute/test_common_models.rb
889
+ - test/unit/compute/test_server.rb
890
+ - test/unit/dns/test_common_collections.rb
891
+ - test/unit/monitoring/test_comon_collections.rb
892
+ - test/unit/pubsub/test_common_collections.rb
893
+ - test/unit/sql/test_common_collections.rb
894
+ - test/unit/storage/test_common_json_collections.rb
895
+ - test/unit/storage/test_common_xml_collections.rb
896
+ - test/unit/storage/test_json_requests.rb
897
+ - test/unit/storage/test_xml_requests.rb