fog-google 1.24.1 → 1.26.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.
- checksums.yaml +4 -4
- data/.github/workflows/integration-compute-core.yml +2 -2
- data/.github/workflows/integration-compute-instance_groups.yml +2 -2
- data/.github/workflows/integration-compute-loadbalancing.yml +2 -2
- data/.github/workflows/integration-compute-networking.yml +2 -2
- data/.github/workflows/integration-monitoring.yml +2 -2
- data/.github/workflows/integration-pubsub.yml +2 -2
- data/.github/workflows/integration-sql.yml +2 -2
- data/.github/workflows/integration-storage.yml +2 -2
- data/.github/workflows/unit.yml +2 -2
- data/CHANGELOG.md +58 -27
- data/CONTRIBUTING.md +11 -11
- data/README.md +7 -7
- data/SECURITY.md +3 -14
- data/examples/create_instance_and_attach_disk_later.rb +6 -7
- data/examples/dns/project.rb +1 -1
- data/examples/dns/zones.rb +1 -1
- data/examples/storage.rb +1 -1
- data/examples/storage_json.rb +1 -1
- data/fog-google.gemspec +3 -4
- data/lib/fog/bin/google.rb +23 -25
- data/lib/fog/{compute/google → google/compute}/mock.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/models/address.rb +8 -8
- data/lib/fog/{compute/google → google/compute}/models/addresses.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/backend_service.rb +4 -4
- data/lib/fog/{compute/google → google/compute}/models/backend_services.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/disk.rb +5 -5
- data/lib/fog/{compute/google → google/compute}/models/disk_type.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/models/disk_types.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/disks.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/firewall.rb +6 -6
- data/lib/fog/{compute/google → google/compute}/models/firewalls.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/forwarding_rule.rb +4 -4
- data/lib/fog/{compute/google → google/compute}/models/forwarding_rules.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/global_address.rb +4 -4
- data/lib/fog/{compute/google → google/compute}/models/global_addresses.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/global_forwarding_rule.rb +4 -4
- data/lib/fog/{compute/google → google/compute}/models/global_forwarding_rules.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/http_health_check.rb +5 -5
- data/lib/fog/{compute/google → google/compute}/models/http_health_checks.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/image.rb +4 -4
- data/lib/fog/{compute/google → google/compute}/models/images.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/instance_group.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/models/instance_group_manager.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/instance_group_managers.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/instance_groups.rb +5 -5
- data/lib/fog/{compute/google → google/compute}/models/instance_template.rb +4 -4
- data/lib/fog/{compute/google → google/compute}/models/instance_templates.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/machine_type.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/models/machine_types.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/network.rb +4 -4
- data/lib/fog/{compute/google → google/compute}/models/networks.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/operation.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/models/operations.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/project.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/projects.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/region.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/models/regions.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/route.rb +4 -4
- data/lib/fog/{compute/google → google/compute}/models/routes.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/server.rb +19 -19
- data/lib/fog/{compute/google → google/compute}/models/servers.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/snapshot.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/snapshots.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/ssl_certificate.rb +4 -4
- data/lib/fog/{compute/google → google/compute}/models/ssl_certificates.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/subnetwork.rb +6 -6
- data/lib/fog/{compute/google → google/compute}/models/subnetworks.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/target_http_proxies.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/target_http_proxy.rb +5 -5
- data/lib/fog/{compute/google → google/compute}/models/target_https_proxies.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/target_https_proxy.rb +7 -7
- data/lib/fog/{compute/google → google/compute}/models/target_instance.rb +4 -4
- data/lib/fog/{compute/google → google/compute}/models/target_instances.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/target_pool.rb +8 -8
- data/lib/fog/{compute/google → google/compute}/models/target_pools.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/url_map.rb +7 -7
- data/lib/fog/{compute/google → google/compute}/models/url_maps.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/models/zone.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/models/zones.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/real.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/abandon_instances.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/add_backend_service_backends.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/add_instance_group_instances.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/add_server_access_config.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/add_target_pool_health_checks.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/add_target_pool_instances.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/attach_disk.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/create_disk_snapshot.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_address.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_backend_service.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_disk.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_firewall.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_forwarding_rule.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_global_address.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_global_forwarding_rule.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_global_operation.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_http_health_check.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_image.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_instance_group.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_instance_group_manager.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_instance_template.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_network.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_region_operation.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_route.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_server.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_server_access_config.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_snapshot.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_ssl_certificate.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_subnetwork.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_target_http_proxy.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_target_https_proxy.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_target_instance.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_target_pool.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_url_map.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/delete_zone_operation.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/deprecate_image.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/detach_disk.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/expand_subnetwork_ip_cidr_range.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_address.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_backend_service.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_backend_service_health.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_disk.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_disk_type.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_firewall.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_forwarding_rule.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_global_address.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_global_forwarding_rule.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_global_operation.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_http_health_check.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_image.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_image_from_family.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_instance_group.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_instance_group_manager.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_instance_template.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_machine_type.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_network.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_project.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_region.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_region_operation.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_route.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_server.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_server_serial_port_output.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_snapshot.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_ssl_certificate.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_subnetwork.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_target_http_proxy.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_target_https_proxy.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_target_instance.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_target_pool.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_target_pool_health.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_url_map.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_zone.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/get_zone_operation.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/insert_address.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/insert_backend_service.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/insert_disk.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/insert_firewall.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/insert_forwarding_rule.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/insert_global_address.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/insert_global_forwarding_rule.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/insert_http_health_check.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/insert_image.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/insert_instance_group.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/insert_instance_group_manager.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/insert_instance_template.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/insert_network.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/insert_route.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/insert_server.rb +3 -3
- data/lib/fog/{compute/google → google/compute}/requests/insert_ssl_certificate.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/insert_subnetwork.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/insert_target_http_proxy.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/insert_target_https_proxy.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/insert_target_instance.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/insert_target_pool.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/insert_url_map.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/invalidate_url_map_cache.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_addresses.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_aggregated_addresses.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_aggregated_disk_types.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_aggregated_disks.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_aggregated_forwarding_rules.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_aggregated_instance_group_managers.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_aggregated_instance_groups.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_aggregated_machine_types.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_aggregated_servers.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_aggregated_subnetworks.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_aggregated_target_instances.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_aggregated_target_pools.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_backend_services.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_disk_types.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_disks.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_firewalls.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_forwarding_rules.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_global_addresses.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_global_forwarding_rules.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_global_operations.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_http_health_checks.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_images.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_instance_group_instances.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_instance_group_managers.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_instance_groups.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_instance_templates.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_machine_types.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_networks.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_region_operations.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_regions.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_routes.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_servers.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_snapshots.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_ssl_certificates.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_subnetworks.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_target_http_proxies.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_target_https_proxies.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_target_instances.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_target_pools.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_url_maps.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_zone_operations.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/list_zones.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/patch_firewall.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/patch_url_map.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/recreate_instances.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/remove_instance_group_instances.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/remove_target_pool_health_checks.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/remove_target_pool_instance.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/remove_target_pool_instances.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/reset_server.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/reset_windows_password.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/set_common_instance_metadata.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/set_forwarding_rule_target.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/set_global_forwarding_rule_target.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/set_instance_template.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/set_server_disk_auto_delete.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/set_server_machine_type.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/set_server_metadata.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/set_server_scheduling.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/set_server_tags.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/set_snapshot_labels.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/set_subnetwork_private_ip_google_access.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/set_target_http_proxy_url_map.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/set_target_https_proxy_ssl_certificates.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/set_target_https_proxy_url_map.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/set_target_pool_backup.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/start_server.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/stop_server.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/update_firewall.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/update_http_health_check.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/update_url_map.rb +2 -2
- data/lib/fog/{compute/google → google/compute}/requests/validate_url_map.rb +2 -2
- data/lib/fog/{compute/google.rb → google/compute.rb} +6 -6
- data/lib/fog/{dns/google → google/dns}/mock.rb +2 -2
- data/lib/fog/{dns/google → google/dns}/models/change.rb +2 -2
- data/lib/fog/{dns/google → google/dns}/models/changes.rb +8 -6
- data/lib/fog/{dns/google → google/dns}/models/project.rb +2 -2
- data/lib/fog/{dns/google → google/dns}/models/projects.rb +4 -4
- data/lib/fog/{dns/google → google/dns}/models/record.rb +11 -11
- data/lib/fog/{dns/google → google/dns}/models/records.rb +8 -6
- data/lib/fog/{dns/google → google/dns}/models/zone.rb +7 -7
- data/lib/fog/{dns/google → google/dns}/models/zones.rb +6 -5
- data/lib/fog/{dns/google → google/dns}/real.rb +2 -2
- data/lib/fog/{dns/google → google/dns}/requests/create_change.rb +2 -2
- data/lib/fog/{dns/google → google/dns}/requests/create_managed_zone.rb +2 -2
- data/lib/fog/{dns/google → google/dns}/requests/delete_managed_zone.rb +2 -2
- data/lib/fog/{dns/google → google/dns}/requests/get_change.rb +2 -2
- data/lib/fog/{dns/google → google/dns}/requests/get_managed_zone.rb +2 -2
- data/lib/fog/{dns/google → google/dns}/requests/get_project.rb +2 -2
- data/lib/fog/{dns/google → google/dns}/requests/list_changes.rb +2 -2
- data/lib/fog/{dns/google → google/dns}/requests/list_managed_zones.rb +2 -2
- data/lib/fog/{dns/google → google/dns}/requests/list_resource_record_sets.rb +2 -2
- data/lib/fog/{dns/google.rb → google/dns.rb} +6 -6
- data/lib/fog/{parsers/storage/google → google/parsers/storage}/access_control_list.rb +3 -3
- data/lib/fog/{parsers/storage/google → google/parsers/storage}/copy_object.rb +3 -3
- data/lib/fog/{parsers/storage/google → google/parsers/storage}/get_bucket.rb +3 -3
- data/lib/fog/{parsers/storage/google → google/parsers/storage}/get_bucket_logging.rb +3 -3
- data/lib/fog/{parsers/storage/google → google/parsers/storage}/get_bucket_object_versions.rb +3 -3
- data/lib/fog/{parsers/storage/google → google/parsers/storage}/get_bucket_versioning.rb +3 -3
- data/lib/fog/{parsers/storage/google → google/parsers/storage}/get_request_payment.rb +3 -3
- data/lib/fog/{parsers/storage/google → google/parsers/storage}/get_service.rb +3 -3
- data/lib/fog/google/parsers/storage.rb +15 -0
- data/lib/fog/google/shared.rb +8 -7
- data/lib/fog/{storage/google_json → google/storage/storage_json}/mock.rb +2 -2
- data/lib/fog/{storage/google_json → google/storage/storage_json}/models/directories.rb +4 -3
- data/lib/fog/{storage/google_json → google/storage/storage_json}/models/directory.rb +3 -3
- data/lib/fog/{storage/google_json → google/storage/storage_json}/models/file.rb +2 -2
- data/lib/fog/{storage/google_json → google/storage/storage_json}/models/files.rb +8 -7
- data/lib/fog/{storage/google_json → google/storage/storage_json}/real.rb +6 -4
- data/lib/fog/{storage/google_json → google/storage/storage_json}/requests/copy_object.rb +2 -2
- data/lib/fog/{storage/google_json → google/storage/storage_json}/requests/delete_bucket.rb +2 -2
- data/lib/fog/{storage/google_json → google/storage/storage_json}/requests/delete_object.rb +2 -2
- data/lib/fog/{storage/google_json → google/storage/storage_json}/requests/delete_object_url.rb +2 -2
- data/lib/fog/{storage/google_json → google/storage/storage_json}/requests/get_bucket.rb +2 -2
- data/lib/fog/{storage/google_json → google/storage/storage_json}/requests/get_bucket_acl.rb +2 -2
- data/lib/fog/{storage/google_json → google/storage/storage_json}/requests/get_object.rb +2 -2
- data/lib/fog/{storage/google_json → google/storage/storage_json}/requests/get_object_acl.rb +2 -2
- data/lib/fog/{storage/google_json → google/storage/storage_json}/requests/get_object_http_url.rb +2 -2
- data/lib/fog/{storage/google_json → google/storage/storage_json}/requests/get_object_https_url.rb +2 -2
- data/lib/fog/{storage/google_json → google/storage/storage_json}/requests/get_object_metadata.rb +2 -2
- data/lib/fog/{storage/google_json → google/storage/storage_json}/requests/get_object_url.rb +4 -4
- data/lib/fog/{storage/google_json → google/storage/storage_json}/requests/list_bucket_acl.rb +2 -2
- data/lib/fog/{storage/google_json → google/storage/storage_json}/requests/list_buckets.rb +2 -2
- data/lib/fog/{storage/google_json → google/storage/storage_json}/requests/list_object_acl.rb +2 -2
- data/lib/fog/{storage/google_json → google/storage/storage_json}/requests/list_objects.rb +2 -2
- data/lib/fog/{storage/google_json → google/storage/storage_json}/requests/put_bucket.rb +2 -2
- data/lib/fog/{storage/google_json → google/storage/storage_json}/requests/put_bucket_acl.rb +2 -2
- data/lib/fog/{storage/google_json → google/storage/storage_json}/requests/put_object.rb +2 -2
- data/lib/fog/{storage/google_json → google/storage/storage_json}/requests/put_object_acl.rb +2 -2
- data/lib/fog/{storage/google_json → google/storage/storage_json}/requests/put_object_url.rb +2 -2
- data/lib/fog/{storage/google_json → google/storage/storage_json}/utils.rb +8 -6
- data/lib/fog/{storage/google_json.rb → google/storage/storage_json.rb} +8 -8
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/mock.rb +2 -2
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/models/directories.rb +7 -7
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/models/directory.rb +3 -3
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/models/file.rb +2 -2
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/models/files.rb +11 -11
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/real.rb +6 -4
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/requests/copy_object.rb +3 -3
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/requests/delete_bucket.rb +2 -2
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/requests/delete_object.rb +2 -2
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/requests/delete_object_url.rb +2 -2
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/requests/get_bucket.rb +4 -4
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/requests/get_bucket_acl.rb +3 -3
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/requests/get_object.rb +2 -2
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/requests/get_object_acl.rb +3 -3
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/requests/get_object_http_url.rb +2 -2
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/requests/get_object_https_url.rb +2 -2
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/requests/get_object_url.rb +4 -4
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/requests/get_service.rb +3 -3
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/requests/head_object.rb +2 -2
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/requests/put_bucket.rb +2 -2
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/requests/put_bucket_acl.rb +2 -2
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/requests/put_object.rb +2 -2
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/requests/put_object_acl.rb +2 -2
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/requests/put_object_url.rb +2 -2
- data/lib/fog/{storage/google_xml → google/storage/storage_xml}/utils.rb +22 -19
- data/lib/fog/{storage/google_xml.rb → google/storage/storage_xml.rb} +7 -7
- data/lib/fog/{storage/google.rb → google/storage.rb} +5 -5
- data/lib/fog/google/version.rb +1 -1
- data/lib/fog/google.rb +30 -16
- metadata +322 -518
- data/.github/workflows/stale.yml +0 -23
- data/lib/fog/parsers/storage/google.rb +0 -15
- data/test/helpers/client_helper.rb +0 -63
- data/test/helpers/integration_test_helper.rb +0 -108
- data/test/helpers/test_collection.rb +0 -60
- data/test/helpers/test_helper.rb +0 -28
- data/test/integration/compute/core_compute/test_client_options.rb +0 -12
- data/test/integration/compute/core_compute/test_coverage.rb +0 -6
- data/test/integration/compute/core_compute/test_disk_types.rb +0 -43
- data/test/integration/compute/core_compute/test_disks.rb +0 -53
- data/test/integration/compute/core_compute/test_images.rb +0 -32
- data/test/integration/compute/core_compute/test_machine_types.rb +0 -55
- data/test/integration/compute/core_compute/test_operations.rb +0 -45
- data/test/integration/compute/core_compute/test_projects.rb +0 -19
- data/test/integration/compute/core_compute/test_regions.rb +0 -33
- data/test/integration/compute/core_compute/test_servers.rb +0 -235
- data/test/integration/compute/core_compute/test_snapshots.rb +0 -21
- data/test/integration/compute/core_compute/test_zones.rb +0 -35
- data/test/integration/compute/core_networking/test_addresses.rb +0 -107
- data/test/integration/compute/core_networking/test_coverage.rb +0 -6
- data/test/integration/compute/core_networking/test_firewalls.rb +0 -11
- data/test/integration/compute/core_networking/test_networks.rb +0 -30
- data/test/integration/compute/core_networking/test_routes.rb +0 -26
- data/test/integration/compute/core_networking/test_subnetworks.rb +0 -11
- data/test/integration/compute/instance_groups/test_coverage.rb +0 -6
- data/test/integration/compute/instance_groups/test_instance_group_managers.rb +0 -11
- data/test/integration/compute/instance_groups/test_instance_groups.rb +0 -11
- data/test/integration/compute/instance_groups/test_instance_templates.rb +0 -11
- data/test/integration/compute/loadbalancing/test_backend_services.rb +0 -11
- data/test/integration/compute/loadbalancing/test_coverage.rb +0 -6
- data/test/integration/compute/loadbalancing/test_forwarding_rules.rb +0 -11
- data/test/integration/compute/loadbalancing/test_global_addresses.rb +0 -11
- data/test/integration/compute/loadbalancing/test_global_forwarding_rules.rb +0 -11
- data/test/integration/compute/loadbalancing/test_http_health_checks.rb +0 -11
- data/test/integration/compute/loadbalancing/test_ssl_certificates.rb +0 -11
- data/test/integration/compute/loadbalancing/test_target_http_proxies.rb +0 -11
- data/test/integration/compute/loadbalancing/test_target_https_proxies.rb +0 -11
- data/test/integration/compute/loadbalancing/test_target_instances.rb +0 -11
- data/test/integration/compute/loadbalancing/test_target_pools.rb +0 -55
- data/test/integration/compute/loadbalancing/test_url_maps.rb +0 -11
- data/test/integration/factories/addresses_factory.rb +0 -20
- data/test/integration/factories/backend_services_factory.rb +0 -19
- data/test/integration/factories/collection_factory.rb +0 -52
- data/test/integration/factories/disks_factory.rb +0 -22
- data/test/integration/factories/firewalls_factory.rb +0 -13
- data/test/integration/factories/forwarding_rules_factory.rb +0 -25
- data/test/integration/factories/global_addresses_factory.rb +0 -15
- data/test/integration/factories/global_forwarding_rules_factory.rb +0 -20
- data/test/integration/factories/http_health_checks_factory.rb +0 -11
- data/test/integration/factories/images_factory.rb +0 -16
- data/test/integration/factories/instance_group_manager_factory.rb +0 -30
- data/test/integration/factories/instance_groups_factory.rb +0 -20
- data/test/integration/factories/instance_template_factory.rb +0 -24
- data/test/integration/factories/networks_factory.rb +0 -14
- data/test/integration/factories/servers_factory.rb +0 -30
- data/test/integration/factories/sql_certs_factory.rb +0 -20
- data/test/integration/factories/sql_instances_factory.rb +0 -19
- data/test/integration/factories/sql_users_factory.rb +0 -23
- data/test/integration/factories/ssl_certificates_factory.rb +0 -13
- data/test/integration/factories/subnetworks_factory.rb +0 -26
- data/test/integration/factories/target_http_proxies_factory.rb +0 -19
- data/test/integration/factories/target_https_proxies_factory.rb +0 -26
- data/test/integration/factories/target_instances_factory.rb +0 -24
- data/test/integration/factories/target_pools_factory.rb +0 -28
- data/test/integration/factories/url_maps_factory.rb +0 -19
- data/test/integration/monitoring/test_coverage.rb +0 -6
- data/test/integration/monitoring/test_metric_descriptors.rb +0 -131
- data/test/integration/monitoring/test_monitored_resource_descriptors.rb +0 -37
- data/test/integration/monitoring/test_timeseries.rb +0 -253
- data/test/integration/pubsub/pubsub_shared.rb +0 -75
- data/test/integration/pubsub/test_coverage.rb +0 -6
- data/test/integration/pubsub/test_pubsub_models.rb +0 -135
- data/test/integration/pubsub/test_pubsub_requests.rb +0 -105
- data/test/integration/sql/test_certs.rb +0 -50
- data/test/integration/sql/test_common_flags.rb +0 -31
- data/test/integration/sql/test_common_tiers.rb +0 -26
- data/test/integration/sql/test_coverage.rb +0 -6
- data/test/integration/sql/test_instances.rb +0 -101
- data/test/integration/sql/test_users.rb +0 -37
- data/test/integration/storage/storage_shared.rb +0 -101
- data/test/integration/storage/test_buckets.rb +0 -112
- data/test/integration/storage/test_coverage.rb +0 -6
- data/test/integration/storage/test_directories.rb +0 -67
- data/test/integration/storage/test_files.rb +0 -168
- data/test/integration/storage/test_objects.rb +0 -226
- data/test/integration/test_authentication.rb +0 -38
- data/test/unit/compute/test_common_collections.rb +0 -42
- data/test/unit/compute/test_common_models.rb +0 -35
- data/test/unit/compute/test_disk.rb +0 -26
- data/test/unit/compute/test_server.rb +0 -29
- data/test/unit/dns/test_common_collections.rb +0 -43
- data/test/unit/monitoring/test_comon_collections.rb +0 -44
- data/test/unit/pubsub/test_common_collections.rb +0 -35
- data/test/unit/sql/test_common_collections.rb +0 -46
- data/test/unit/storage/test_common_json_collections.rb +0 -38
- data/test/unit/storage/test_common_xml_collections.rb +0 -50
- data/test/unit/storage/test_json_requests.rb +0 -60
- data/test/unit/storage/test_xml_requests.rb +0 -60
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5f068b5166ef1e1c12d9bef6ae6da15c489df03929d86047709ef19c3dd70e9
|
4
|
+
data.tar.gz: 4e94f5cfb3be3fec06535efd74368720b42c37537ea8ffcf2c42888b68bcf283
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fed398133b6232a92ada212c143d65228dbb3a0d6c49b1842256ef79b1fea2a2bf9add46947459d2afb4b3df4f69fb74b49bfe14f0a6459cceab7adb4518ae1
|
7
|
+
data.tar.gz: 53397624bfcdb357853bba55725c9c60336c734fe0ecb81f812cabed0945cb9009b93b2d3b6ff04e3673082ebee82d1fdda647f55631dced3f27673a8f6f1430
|
@@ -36,13 +36,13 @@ jobs:
|
|
36
36
|
runs-on: fog-arc-runner
|
37
37
|
strategy:
|
38
38
|
matrix:
|
39
|
-
ruby-version: [ '3.0', '3.1', '3.2' ]
|
39
|
+
ruby-version: [ '3.0', '3.1', '3.2', '3.3', '3.4' ]
|
40
40
|
# Integration tests from the same task cannot run in parallel yet due to cleanup
|
41
41
|
# TODO(fog-google#626): remove this once cleanup is fixed
|
42
42
|
max-parallel: 1
|
43
43
|
|
44
44
|
steps:
|
45
|
-
- uses: actions/checkout@
|
45
|
+
- uses: actions/checkout@v5
|
46
46
|
- name: Set up Ruby
|
47
47
|
uses: ruby/setup-ruby@v1
|
48
48
|
with:
|
@@ -37,12 +37,12 @@ jobs:
|
|
37
37
|
runs-on: fog-arc-runner
|
38
38
|
strategy:
|
39
39
|
matrix:
|
40
|
-
ruby-version: [ '3.0', '3.1', '3.2' ]
|
40
|
+
ruby-version: [ '3.0', '3.1', '3.2', '3.3', '3.4' ]
|
41
41
|
# Integration tests from the same task cannot run in parallel yet due to cleanup
|
42
42
|
max-parallel: 1
|
43
43
|
|
44
44
|
steps:
|
45
|
-
- uses: actions/checkout@
|
45
|
+
- uses: actions/checkout@v5
|
46
46
|
- name: Set up Ruby
|
47
47
|
uses: ruby/setup-ruby@v1
|
48
48
|
with:
|
@@ -37,12 +37,12 @@ jobs:
|
|
37
37
|
runs-on: fog-arc-runner
|
38
38
|
strategy:
|
39
39
|
matrix:
|
40
|
-
ruby-version: [ '3.0', '3.1', '3.2' ]
|
40
|
+
ruby-version: [ '3.0', '3.1', '3.2', '3.3', '3.4' ]
|
41
41
|
# Integration tests from the same task cannot run in parallel yet due to cleanup
|
42
42
|
max-parallel: 1
|
43
43
|
|
44
44
|
steps:
|
45
|
-
- uses: actions/checkout@
|
45
|
+
- uses: actions/checkout@v5
|
46
46
|
- name: Set up Ruby
|
47
47
|
uses: ruby/setup-ruby@v1
|
48
48
|
with:
|
@@ -36,12 +36,12 @@ jobs:
|
|
36
36
|
runs-on: fog-arc-runner
|
37
37
|
strategy:
|
38
38
|
matrix:
|
39
|
-
ruby-version: [ '3.0', '3.1', '3.2' ]
|
39
|
+
ruby-version: [ '3.0', '3.1', '3.2', '3.3', '3.4' ]
|
40
40
|
# Integration tests from the same task cannot run in parallel yet due to cleanup
|
41
41
|
max-parallel: 1
|
42
42
|
|
43
43
|
steps:
|
44
|
-
- uses: actions/checkout@
|
44
|
+
- uses: actions/checkout@v5
|
45
45
|
- name: Set up Ruby
|
46
46
|
uses: ruby/setup-ruby@v1
|
47
47
|
with:
|
@@ -37,12 +37,12 @@ jobs:
|
|
37
37
|
runs-on: fog-arc-runner
|
38
38
|
strategy:
|
39
39
|
matrix:
|
40
|
-
ruby-version: [ '3.0', '3.1', '3.2' ]
|
40
|
+
ruby-version: [ '3.0', '3.1', '3.2', '3.3', '3.4' ]
|
41
41
|
# Integration tests from the same task cannot run in parallel yet due to cleanup
|
42
42
|
max-parallel: 1
|
43
43
|
|
44
44
|
steps:
|
45
|
-
- uses: actions/checkout@
|
45
|
+
- uses: actions/checkout@v5
|
46
46
|
- name: Set up Ruby
|
47
47
|
uses: ruby/setup-ruby@v1
|
48
48
|
with:
|
@@ -37,12 +37,12 @@ jobs:
|
|
37
37
|
runs-on: fog-arc-runner
|
38
38
|
strategy:
|
39
39
|
matrix:
|
40
|
-
ruby-version: [ '3.0', '3.1', '3.2' ]
|
40
|
+
ruby-version: [ '3.0', '3.1', '3.2', '3.3', '3.4' ]
|
41
41
|
# Integration tests from the same task cannot run in parallel yet due to cleanup
|
42
42
|
max-parallel: 1
|
43
43
|
|
44
44
|
steps:
|
45
|
-
- uses: actions/checkout@
|
45
|
+
- uses: actions/checkout@v5
|
46
46
|
- name: Set up Ruby
|
47
47
|
uses: ruby/setup-ruby@v1
|
48
48
|
with:
|
@@ -37,12 +37,12 @@ jobs:
|
|
37
37
|
runs-on: fog-arc-runner
|
38
38
|
strategy:
|
39
39
|
matrix:
|
40
|
-
ruby-version: [ '3.0', '3.1', '3.2' ]
|
40
|
+
ruby-version: [ '3.0', '3.1', '3.2', '3.3', '3.4' ]
|
41
41
|
# Integration tests from the same task cannot run in parallel yet due to cleanup
|
42
42
|
max-parallel: 1
|
43
43
|
|
44
44
|
steps:
|
45
|
-
- uses: actions/checkout@
|
45
|
+
- uses: actions/checkout@v5
|
46
46
|
- name: Set up Ruby
|
47
47
|
uses: ruby/setup-ruby@v1
|
48
48
|
with:
|
@@ -38,12 +38,12 @@ jobs:
|
|
38
38
|
runs-on: fog-arc-runner
|
39
39
|
strategy:
|
40
40
|
matrix:
|
41
|
-
ruby-version: [ '3.0', '3.1', '3.2' ]
|
41
|
+
ruby-version: [ '3.0', '3.1', '3.2', '3.3', '3.4' ]
|
42
42
|
# Integration tests from the same task cannot run in parallel yet due to cleanup
|
43
43
|
max-parallel: 1
|
44
44
|
|
45
45
|
steps:
|
46
|
-
- uses: actions/checkout@
|
46
|
+
- uses: actions/checkout@v5
|
47
47
|
- name: Set up Ruby
|
48
48
|
uses: ruby/setup-ruby@v1
|
49
49
|
with:
|
data/.github/workflows/unit.yml
CHANGED
@@ -16,10 +16,10 @@ jobs:
|
|
16
16
|
runs-on: ubuntu-latest
|
17
17
|
strategy:
|
18
18
|
matrix:
|
19
|
-
ruby-version: [ '3.0', '3.1', '3.2', 'head', 'truffleruby-head']
|
19
|
+
ruby-version: [ '3.0', '3.1', '3.2', '3.3', '3.4', 'head', 'truffleruby-head']
|
20
20
|
|
21
21
|
steps:
|
22
|
-
- uses: actions/checkout@
|
22
|
+
- uses: actions/checkout@v5
|
23
23
|
- name: Set up Ruby
|
24
24
|
uses: ruby/setup-ruby@v1
|
25
25
|
with:
|
data/CHANGELOG.md
CHANGED
@@ -4,8 +4,39 @@ The format is loosely based on [Keep a Changelog](http://keepachangelog.com/en/1
|
|
4
4
|
|
5
5
|
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
-
##
|
7
|
+
## 1.26.0
|
8
8
|
|
9
|
+
### User-facing
|
10
|
+
|
11
|
+
#### Fixed
|
12
|
+
|
13
|
+
- #632 remove unused files from package [temikus]
|
14
|
+
- #643 update disk attachment method to use new attached_disk_obj method [geemus]
|
15
|
+
- #644 improve mock bucket name regex validation [geemus]
|
16
|
+
- #646 fix frozen string literal warnings in storage [krororo]
|
17
|
+
|
18
|
+
### Development changes
|
19
|
+
|
20
|
+
#### Added
|
21
|
+
|
22
|
+
- #645 add ruby 3.3 and 3.4 to CI test matrix [krororo]
|
23
|
+
|
24
|
+
#### Fixed
|
25
|
+
|
26
|
+
- #641 Updated actions/checkout from 4 to 5 [dependabot]
|
27
|
+
- #642 Updated actions/stale from 9 to 10 [dependabot]
|
28
|
+
- remove stale workflow [geemus]
|
29
|
+
|
30
|
+
## 1.25.0
|
31
|
+
|
32
|
+
### User-facing
|
33
|
+
|
34
|
+
fog-core v2.2 and up now requires `Fog::Google:<service>` instead of `Fog::<service>::Google`.
|
35
|
+
There are shims in place that will provide backwards compatibility for the latter with
|
36
|
+
a deprecation warning, but you should update your code accordingly. The next major release
|
37
|
+
will drop support of the old format.
|
38
|
+
|
39
|
+
- #636 Support fog-core 2.5 and up [stanhu]
|
9
40
|
|
10
41
|
## 1.24.1
|
11
42
|
|
@@ -323,7 +354,7 @@ Drop travis usage
|
|
323
354
|
|
324
355
|
#### Fixed
|
325
356
|
|
326
|
-
- \#448 Add `:google_application_default` as recognized argument in
|
357
|
+
- \#448 Add `:google_application_default` as recognized argument in
|
327
358
|
Fog::Compute::Google client [mavin]
|
328
359
|
|
329
360
|
### Development changes
|
@@ -339,14 +370,14 @@ Drop travis usage
|
|
339
370
|
#### Added
|
340
371
|
|
341
372
|
- \#442 Add support for Application Default credentials [mavin]
|
342
|
-
- This change allows the use of Application Default Credentials so that end
|
373
|
+
- This change allows the use of Application Default Credentials so that end
|
343
374
|
users can authenticate without a service account for development, testing,
|
344
|
-
and one-off interactions by using `:google_application_default`client
|
375
|
+
and one-off interactions by using `:google_application_default`client
|
345
376
|
option. See README for more details.
|
346
377
|
|
347
378
|
### Fixed
|
348
379
|
|
349
|
-
- \#444 Remove deprecated `google_client_email` option from client parameters
|
380
|
+
- \#444 Remove deprecated `google_client_email` option from client parameters
|
350
381
|
[temikus]
|
351
382
|
- \#446 Updating service parameters to avoid "unrecognised parameter" warnings
|
352
383
|
when initializing Fog client with application default auth [temikus]
|
@@ -371,7 +402,7 @@ Drop travis usage
|
|
371
402
|
|
372
403
|
#### Fixed
|
373
404
|
|
374
|
-
- \#433 Allow the api to close Tempfiles inline, improving disk utilization.
|
405
|
+
- \#433 Allow the api to close Tempfiles inline, improving disk utilization.
|
375
406
|
[itopalov]
|
376
407
|
|
377
408
|
### Development changes
|
@@ -413,12 +444,12 @@ Drop travis usage
|
|
413
444
|
- \#419 Locked down fog upstream dependencies to alleviate deprecation warnings
|
414
445
|
until they can be properly dealt with. [temikus]
|
415
446
|
- \#400 Small `%Collection%.get` and `%Collection%.all` behaviour fixes [temikus]
|
416
|
-
- `Fog::Google::SQL::Instances.get(nil)` no longer returns an invalid
|
447
|
+
- `Fog::Google::SQL::Instances.get(nil)` no longer returns an invalid
|
417
448
|
`sql#instancesList` object.
|
418
|
-
- `Fog::Compute::Google::InstanceGroups.get` and `.all` methods now support
|
449
|
+
- `Fog::Compute::Google::InstanceGroups.get` and `.all` methods now support
|
419
450
|
more than just `:filter` option, fixed `.all` output without `zone` option.
|
420
451
|
- Fix a typo causing `Operations.get(region:REGION)` to fail.
|
421
|
-
- `Fog::Compute::Google::Images.get(IMAGE, PROJECT)`, now returns `nil` if
|
452
|
+
- `Fog::Compute::Google::Images.get(IMAGE, PROJECT)`, now returns `nil` if
|
422
453
|
image is not found rather than throwing `Google::Apis::ClientError`.
|
423
454
|
|
424
455
|
### Development changes
|
@@ -426,13 +457,13 @@ Drop travis usage
|
|
426
457
|
#### Added
|
427
458
|
|
428
459
|
- \#400 Additional test coverage [temikus]
|
429
|
-
- Expanded tests for `%Collection%.get` behavior - scoped requests
|
430
|
-
(e.g. `get(zone:ZONE)`) and their corresponding code paths are now also
|
460
|
+
- Expanded tests for `%Collection%.get` behavior - scoped requests
|
461
|
+
(e.g. `get(zone:ZONE)`) and their corresponding code paths are now also
|
431
462
|
properly tested.
|
432
463
|
- Increase `Fog::Compute::Google::Images` integration test coverage.
|
433
464
|
- Unit tests now work without a `~/.fog` config file set up.
|
434
465
|
- Expanded unit test coverage.
|
435
|
-
- \#424 Add simple integration tests to check client proxy options being
|
466
|
+
- \#424 Add simple integration tests to check client proxy options being
|
436
467
|
applied.
|
437
468
|
|
438
469
|
#### Changed
|
@@ -449,7 +480,7 @@ Drop travis usage
|
|
449
480
|
|
450
481
|
#### Fixed
|
451
482
|
|
452
|
-
- \#412 Fixed `Fog::Storage::GoogleXML::GetObjectHttpUrl#get_object_http_url`
|
483
|
+
- \#412 Fixed `Fog::Storage::GoogleXML::GetObjectHttpUrl#get_object_http_url`
|
453
484
|
request
|
454
485
|
|
455
486
|
## 1.7.0
|
@@ -466,8 +497,8 @@ Drop travis usage
|
|
466
497
|
|
467
498
|
#### Changed
|
468
499
|
|
469
|
-
- \#394 `save/update/destroy` and other operations now wait until they are in a
|
470
|
-
DONE state, instead of !PENDING. This should be a no-op for users but should
|
500
|
+
- \#394 `save/update/destroy` and other operations now wait until they are in a
|
501
|
+
DONE state, instead of !PENDING. This should be a no-op for users but should
|
471
502
|
safeguard from issues in the future. [temikus]
|
472
503
|
- \#383 `Fog::Compute::Google::Address` resources are now created synchronously
|
473
504
|
by default. [temikus]
|
@@ -485,7 +516,7 @@ Drop travis usage
|
|
485
516
|
- \#376 Add doc coverage tracking. [temikus]
|
486
517
|
- \#383 Increase integration test coverage further. [temikus]
|
487
518
|
- Add collection tests and factories (when mutable) for following resources:
|
488
|
-
- Addresses
|
519
|
+
- Addresses
|
489
520
|
- Disks
|
490
521
|
- Projects
|
491
522
|
- Routes
|
@@ -509,7 +540,7 @@ Drop travis usage
|
|
509
540
|
|
510
541
|
#### Changed
|
511
542
|
|
512
|
-
- \#338 `Fog::Google::SQL` resources are now created and destroyed synchronously by default.
|
543
|
+
- \#338 `Fog::Google::SQL` resources are now created and destroyed synchronously by default.
|
513
544
|
You can override it in a standard manner by passing a parameter to async method, e.g.:
|
514
545
|
`Fog::Google::SQL::Instance.create(true)` [temikus]
|
515
546
|
- \#367 `Fog::Compute::Google::Server.bootstrap` changes [temikus]
|
@@ -578,30 +609,30 @@ You can override it in a standard manner by passing a parameter to async method,
|
|
578
609
|
#### Added
|
579
610
|
|
580
611
|
- \#336 `Fog::Compute::Google::Server.set_metadata` is now working properly and adopted a simpler format, e.g. `{'foo' => 'bar', 'baz'=>'foo'}`
|
581
|
-
- \#334 Added a new helper method: `Fog::Compute::Google::Server.public_ip_address` [temikus]
|
582
|
-
- \#314 Added `Fog::Compute::Google::InstanceGroup.add_instance` method back [temikus]
|
612
|
+
- \#334 Added a new helper method: `Fog::Compute::Google::Server.public_ip_address` [temikus]
|
613
|
+
- \#314 Added `Fog::Compute::Google::InstanceGroup.add_instance` method back [temikus]
|
583
614
|
- \#326 Added support for using predefined ACLs, refactor valid ACLs [vimutter]
|
584
615
|
- \#318 Added fog_public support in Storage JSON API [jayhsu21]
|
585
616
|
|
586
617
|
#### Fixed
|
587
618
|
|
588
|
-
- \#354 Bump Google API client to 0.23 [temikus]
|
589
|
-
- \#346 Fixed get_health when called with an instance name [bpaquet]
|
590
|
-
- \#317 Fixed source_image selection to get the image from name if the format is not compatible with new Google API Client [temikus]
|
591
|
-
- \#321 Fix string key instead of symbol for subnetworks listing [tumido]
|
592
|
-
- \#351 Fixed trailing spaces and added data presence check to `Fog::Storage::GoogleJSON.put_object` [vimutter]
|
619
|
+
- \#354 Bump Google API client to 0.23 [temikus]
|
620
|
+
- \#346 Fixed get_health when called with an instance name [bpaquet]
|
621
|
+
- \#317 Fixed source_image selection to get the image from name if the format is not compatible with new Google API Client [temikus]
|
622
|
+
- \#321 Fix string key instead of symbol for subnetworks listing [tumido]
|
623
|
+
- \#351 Fixed trailing spaces and added data presence check to `Fog::Storage::GoogleJSON.put_object` [vimutter]
|
593
624
|
|
594
625
|
### Development changes
|
595
626
|
|
596
627
|
#### Added
|
597
628
|
|
598
|
-
- \#353 Added collection/model unit tests to be run by Travis CI [temikus]
|
599
|
-
- \#347 Added target pool tests [temikus]
|
629
|
+
- \#353 Added collection/model unit tests to be run by Travis CI [temikus]
|
630
|
+
- \#347 Added target pool tests [temikus]
|
600
631
|
|
601
632
|
#### Fixed
|
602
633
|
|
603
634
|
- \#322 Fixed all broken integration tests, all tests now pass in CI [temikus]
|
604
|
-
- \#344 Updated CI pipeline to run in parallel, broke out test tasks [temikus]
|
635
|
+
- \#344 Updated CI pipeline to run in parallel, broke out test tasks [temikus]
|
605
636
|
|
606
637
|
## 1.0.1
|
607
638
|
|
data/CONTRIBUTING.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# Getting Involved
|
2
2
|
|
3
|
-
New contributors are always welcome, and when in doubt please ask questions!
|
3
|
+
New contributors are always welcome, and when in doubt please ask questions!
|
4
4
|
We strive to be an open and welcoming community. Please be nice to one another.
|
5
5
|
|
6
|
-
We recommend heading over to fog's [CONTRIBUTING](https://github.com/fog/fog/blob/master/CONTRIBUTING.md)
|
6
|
+
We recommend heading over to fog's [CONTRIBUTING](https://github.com/fog/fog/blob/master/CONTRIBUTING.md)
|
7
7
|
and having a look around as well. It has information and context about the state of the `fog` project as a whole.
|
8
8
|
|
9
9
|
### Coding
|
@@ -62,7 +62,7 @@ $ rake console
|
|
62
62
|
### Documentation
|
63
63
|
|
64
64
|
Code should be documented using [YARDoc](https://yardoc.org/) syntax.
|
65
|
-
We use [inch](https://github.com/rrrene/inch) to keep track of overall doc
|
65
|
+
We use [inch](https://github.com/rrrene/inch) to keep track of overall doc
|
66
66
|
coverage and [inch-ci](https://inch-ci.org/) to keep track of changes over time.
|
67
67
|
|
68
68
|
You can view a doc coverage report by running:
|
@@ -72,19 +72,19 @@ $ inch
|
|
72
72
|
|
73
73
|
Or view suggestions on a specific method:
|
74
74
|
```
|
75
|
-
$ inch show Fog::Compute::
|
75
|
+
$ inch show Fog::Google::Compute::Server#set_metadata
|
76
76
|
```
|
77
77
|
|
78
78
|
### Testing
|
79
79
|
|
80
|
-
This module is tested with [Minitest](https://github.com/seattlerb/minitest).
|
80
|
+
This module is tested with [Minitest](https://github.com/seattlerb/minitest).
|
81
81
|
|
82
82
|
#### Integration tests
|
83
83
|
|
84
|
-
Live integration tests can be found in `test/integration/`.
|
84
|
+
Live integration tests can be found in `test/integration/`.
|
85
85
|
|
86
86
|
Most of the library functionality is currently covered with them. To simplify things for contributors we have a
|
87
|
-
CI system that runs all integration tests in parallel against all pull requests marked with `integrate` label
|
87
|
+
CI system that runs all integration tests in parallel against all pull requests marked with `integrate` label
|
88
88
|
that anyone in `fog-google` team can set. Read [CI section](https://github.com/fog/fog-google/blob/master/CONTRIBUTING.md#continuous-integration)
|
89
89
|
for more info.
|
90
90
|
|
@@ -137,7 +137,7 @@ We're in progress of extending the library with more unit tests and contribution
|
|
137
137
|
|
138
138
|
#### The transition from `shindo` to Minitest
|
139
139
|
|
140
|
-
Previously, [shindo](https://github.com/geemus/shindo) was the primary testing framework.
|
140
|
+
Previously, [shindo](https://github.com/geemus/shindo) was the primary testing framework.
|
141
141
|
We've moved away from it, and to Minitest, but some artifacts may remain.
|
142
142
|
|
143
143
|
For more information on transition, read [#50](https://github.com/fog/fog-google/issues/50).
|
@@ -158,10 +158,10 @@ and contains the standard tests to run for all resources, (e.g. `test_lifecycle`
|
|
158
158
|
It also calls `cleanup` on the resource's factory during teardown, to make sure
|
159
159
|
that resources are getting destroyed before the next test run.
|
160
160
|
- The **factory**, (e.g. `ServersFactory`, in `test/integration/factories/servers_factory.rb`,)
|
161
|
-
automates the creation of resources and/or supplies parameters for explicit
|
161
|
+
automates the creation of resources and/or supplies parameters for explicit
|
162
162
|
creation of resources. For example, `ServersFactory` initializes a `DisksFactory`
|
163
163
|
to supply disks in order to create servers, and implements the `params` method
|
164
|
-
so that tests can create servers with unique names, correct zones and machine
|
164
|
+
so that tests can create servers with unique names, correct zones and machine
|
165
165
|
types, and automatically-created disks. `ServersFactory` inherits the `create`
|
166
166
|
method from `CollectionFactory`, which allows tests to create servers on-demand.
|
167
167
|
- The **main test**, (e.g. `TestServers`, in `test/integration/compute/test_servers.rb`,)
|
@@ -170,6 +170,6 @@ method from `CollectionFactory`, which allows tests to create servers on-demand.
|
|
170
170
|
it initializes a `ServersFactory`, and it includes any other tests specific to
|
171
171
|
this collection, (e.g. `test_bootstrap_ssh_destroy`).
|
172
172
|
|
173
|
-
If you want to create another resource, you should add live integration tests;
|
173
|
+
If you want to create another resource, you should add live integration tests;
|
174
174
|
all you need to do is create a factory in `test/integration/factories/my_resource_factory.rb`
|
175
175
|
and a main test in `test/integration/compute/test_my_resource.rb` that mixes in `TestCollection`.
|
data/README.md
CHANGED
@@ -24,7 +24,7 @@ We're proud to be sponsored by MeisterLabs who are generously funding our CI sta
|
|
24
24
|
|
25
25
|
## Storage
|
26
26
|
|
27
|
-
There are two ways to access [Google Cloud Storage](https://cloud.google.com/storage/). The old S3 API and the new JSON API. `Fog::Storage
|
27
|
+
There are two ways to access [Google Cloud Storage](https://cloud.google.com/storage/). The old S3 API and the new JSON API. `Fog::Google::Storage` will automatically direct you to the appropriate API based on the credentials you provide it.
|
28
28
|
|
29
29
|
* The [XML API](https://cloud.google.com/storage/docs/xml-api-overview/) is almost identical to S3. Use [Google's interoperability keys](https://cloud.google.com/storage/docs/migrating#keys) to access it.
|
30
30
|
* The new [JSON API](https://cloud.google.com/storage/docs/json_api/) is faster and uses auth similarly to the rest of the Google Cloud APIs using a [service account private key](https://developers.google.com/identity/protocols/OAuth2ServiceAccount).
|
@@ -33,7 +33,7 @@ There are two ways to access [Google Cloud Storage](https://cloud.google.com/sto
|
|
33
33
|
|
34
34
|
Google Compute Engine is a Virtual Machine hosting service. Currently it is built on version [v1](https://cloud.google.com/compute/docs/reference/v1/) of the GCE API.
|
35
35
|
|
36
|
-
As of 2017-12-15, we are still working on making Fog for Google Compute engine (`Fog::Compute
|
36
|
+
As of 2017-12-15, we are still working on making Fog for Google Compute engine (`Fog::Google::Compute`) feature complete. If you are using Fog to interact with GCE, please keep Fog up to date and [file issues](https://github.com/fog/fog-google/issues) for any anomalies you see or features you would like.
|
37
37
|
|
38
38
|
## SQL
|
39
39
|
|
@@ -112,10 +112,10 @@ Example workflow for a GCE instance with [service account scopes](https://cloud.
|
|
112
112
|
defined:
|
113
113
|
|
114
114
|
```
|
115
|
-
> connection = Fog::Compute
|
116
|
-
=> #<Fog::Compute::
|
115
|
+
> connection = Fog::Google::Compute.new(:google_project => "my-project", :google_application_default => true)
|
116
|
+
=> #<Fog::Google::Compute::Real:32157700...
|
117
117
|
> connection.servers
|
118
|
-
=> [ <Fog::Compute::
|
118
|
+
=> [ <Fog::Google::Compute::Server ... ]
|
119
119
|
```
|
120
120
|
|
121
121
|
#### CarrierWave integration
|
@@ -166,9 +166,9 @@ Once you've specified your credentials, you should be good to go!
|
|
166
166
|
$ bundle exec pry
|
167
167
|
[1] pry(main)> require 'fog/google'
|
168
168
|
=> true
|
169
|
-
[2] pry(main)> connection = Fog::Compute
|
169
|
+
[2] pry(main)> connection = Fog::Google::Compute.new
|
170
170
|
[3] pry(main)> connection.servers
|
171
|
-
=> [ <Fog::Compute::
|
171
|
+
=> [ <Fog::Google::Compute::Server
|
172
172
|
name="xxxxxxx",
|
173
173
|
kind="compute#instance",
|
174
174
|
```
|
data/SECURITY.md
CHANGED
@@ -1,16 +1,5 @@
|
|
1
|
-
# Security
|
1
|
+
# Security contact information
|
2
2
|
|
3
|
-
|
3
|
+
To report a security vulnerability, please contact [Tidelift security](https://tidelift.com/security).
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
Versions with :white_check_mark: are supported. All other versions need to be upgraded.
|
8
|
-
|
9
|
-
| Version | Supported |
|
10
|
-
| ------- | ------------------ |
|
11
|
-
| 1.9.x | :white_check_mark: |
|
12
|
-
| 0.1.x | :white_check_mark: until July 1st, 2019 |
|
13
|
-
|
14
|
-
## Reporting a Vulnerability
|
15
|
-
|
16
|
-
Please file an issue here to report a vulnerability. For immediate escalations, please email nat@natwelch.com and temikus@google.com with the subject `[Fog-Google Security Issue] Description`.
|
5
|
+
Tidelift will coordinate the fix and disclosure.
|
@@ -49,8 +49,8 @@ def example
|
|
49
49
|
|
50
50
|
p "Attach second disk to the running server"
|
51
51
|
device_name = "fog-smoke-test-device-#{Time.now.to_i}"
|
52
|
-
# See https://github.com/fog/fog-google/blob/master/lib/fog/compute/
|
53
|
-
# See https://github.com/fog/fog-google/blob/master/lib/fog/compute/
|
52
|
+
# See https://github.com/fog/fog-google/blob/master/lib/fog/google/compute/models/disk.rb#L75-L107
|
53
|
+
# See https://github.com/fog/fog-google/blob/master/lib/fog/google/compute/models/server.rb#L35-L50
|
54
54
|
config_hash = {
|
55
55
|
:device_name => device_name,
|
56
56
|
:source => "https://www.googleapis.com/compute/v1/projects/#{PROJECT}/zones/#{ZONE}/disks/#{attached_disk.name}"
|
@@ -58,13 +58,13 @@ def example
|
|
58
58
|
raise "Could not attach second disk" unless connection.attach_disk(server.name, ZONE, config_hash)
|
59
59
|
|
60
60
|
p "Waiting for disk to be attached"
|
61
|
-
attached_disk.wait_for { !
|
61
|
+
attached_disk.wait_for { !users.nil? && users != [] }
|
62
62
|
|
63
63
|
p "Detach second disk"
|
64
64
|
raise "Could not detach second disk" unless connection.detach_disk(server.name, ZONE, device_name)
|
65
65
|
|
66
66
|
p "Waiting for second disk to be detached"
|
67
|
-
attached_disk.wait_for { users.nil? || users == []}
|
67
|
+
attached_disk.wait_for { users.nil? || users == [] }
|
68
68
|
|
69
69
|
p "Deleting server"
|
70
70
|
raise "Could not delete server." unless server.destroy
|
@@ -74,9 +74,8 @@ def example
|
|
74
74
|
|
75
75
|
p "Waiting for second disk to be destroyed"
|
76
76
|
begin
|
77
|
-
rc = attached_disk.wait_for { status.nil? || status ==
|
78
|
-
|
79
|
-
rescue => e
|
77
|
+
rc = attached_disk.wait_for { status.nil? || status == "DELETING" }
|
78
|
+
rescue StandardError => e
|
80
79
|
if e.message !~ /not found/ && e.message !~ /notFound/
|
81
80
|
raise e
|
82
81
|
end
|
data/examples/dns/project.rb
CHANGED
data/examples/dns/zones.rb
CHANGED
data/examples/storage.rb
CHANGED
@@ -11,7 +11,7 @@ Bundler.require(:default, :development)
|
|
11
11
|
# Storage -> Storage -> Settings -> "Interoperability" tab -> "Create a new key"
|
12
12
|
|
13
13
|
def test
|
14
|
-
connection = Fog::Storage
|
14
|
+
connection = Fog::Google::Storage.new
|
15
15
|
|
16
16
|
puts "Put a bucket..."
|
17
17
|
puts "----------------"
|
data/examples/storage_json.rb
CHANGED
@@ -11,7 +11,7 @@ Bundler.require(:default, :development)
|
|
11
11
|
# Storage -> Storage -> Settings -> "Interoperability" tab -> "Create a new key"
|
12
12
|
|
13
13
|
def test
|
14
|
-
connection = Fog::Storage
|
14
|
+
connection = Fog::Google::Storage.new
|
15
15
|
|
16
16
|
puts "Put a bucket..."
|
17
17
|
puts "----------------"
|
data/fog-google.gemspec
CHANGED
@@ -12,15 +12,14 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.homepage = "https://github.com/fog/fog-google"
|
13
13
|
spec.license = "MIT"
|
14
14
|
|
15
|
-
spec.files = `git ls-files -z`.split("\x0")
|
15
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.start_with?("test/") }
|
16
16
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
17
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
17
|
spec.require_paths = ["lib"]
|
19
18
|
|
20
19
|
# As of 0.1.1
|
21
20
|
spec.required_ruby_version = ">= 2.0"
|
22
21
|
|
23
|
-
spec.add_dependency "fog-core", "
|
22
|
+
spec.add_dependency "fog-core", "~> 2.5"
|
24
23
|
spec.add_dependency "fog-json", "~> 1.2"
|
25
24
|
spec.add_dependency "fog-xml", "~> 0.1.0"
|
26
25
|
|
@@ -39,7 +38,7 @@ Gem::Specification.new do |spec|
|
|
39
38
|
# Debugger
|
40
39
|
# Locked because pry-byebug is broken with 13+
|
41
40
|
# see: https://github.com/deivid-rodriguez/pry-byebug/issues/343
|
42
|
-
spec.add_development_dependency "pry", "= 0.
|
41
|
+
spec.add_development_dependency "pry", "= 0.15.2"
|
43
42
|
|
44
43
|
# Testing gems
|
45
44
|
spec.add_development_dependency "retriable"
|