Class: Fog::Compute::Google
- Inherits:
-
Service
- Object
- Service
- Fog::Compute::Google
- Defined in:
- lib/fog/google/compute.rb,
lib/fog/google/models/compute/disk.rb,
lib/fog/google/models/compute/zone.rb,
lib/fog/google/models/compute/disks.rb,
lib/fog/google/models/compute/image.rb,
lib/fog/google/models/compute/route.rb,
lib/fog/google/models/compute/zones.rb,
lib/fog/google/models/compute/flavor.rb,
lib/fog/google/models/compute/images.rb,
lib/fog/google/models/compute/region.rb,
lib/fog/google/models/compute/routes.rb,
lib/fog/google/models/compute/server.rb,
lib/fog/google/models/compute/address.rb,
lib/fog/google/models/compute/flavors.rb,
lib/fog/google/models/compute/network.rb,
lib/fog/google/models/compute/project.rb,
lib/fog/google/models/compute/regions.rb,
lib/fog/google/models/compute/servers.rb,
lib/fog/google/models/compute/url_map.rb,
lib/fog/google/models/compute/firewall.rb,
lib/fog/google/models/compute/networks.rb,
lib/fog/google/models/compute/projects.rb,
lib/fog/google/models/compute/snapshot.rb,
lib/fog/google/models/compute/url_maps.rb,
lib/fog/google/models/compute/addresses.rb,
lib/fog/google/models/compute/disk_type.rb,
lib/fog/google/models/compute/firewalls.rb,
lib/fog/google/models/compute/operation.rb,
lib/fog/google/models/compute/snapshots.rb,
lib/fog/google/models/compute/disk_types.rb,
lib/fog/google/models/compute/operations.rb,
lib/fog/google/requests/compute/get_disk.rb,
lib/fog/google/requests/compute/get_zone.rb,
lib/fog/google/requests/compute/set_tags.rb,
lib/fog/google/models/compute/target_pool.rb,
lib/fog/google/requests/compute/get_image.rb,
lib/fog/google/requests/compute/get_route.rb,
lib/fog/google/models/compute/target_pools.rb,
lib/fog/google/requests/compute/get_region.rb,
lib/fog/google/requests/compute/get_server.rb,
lib/fog/google/requests/compute/list_disks.rb,
lib/fog/google/requests/compute/list_zones.rb,
lib/fog/google/models/compute/resource_view.rb,
lib/fog/google/requests/compute/attach_disk.rb,
lib/fog/google/requests/compute/delete_disk.rb,
lib/fog/google/requests/compute/detach_disk.rb,
lib/fog/google/requests/compute/get_address.rb,
lib/fog/google/requests/compute/get_network.rb,
lib/fog/google/requests/compute/get_project.rb,
lib/fog/google/requests/compute/get_url_map.rb,
lib/fog/google/requests/compute/insert_disk.rb,
lib/fog/google/requests/compute/list_images.rb,
lib/fog/google/requests/compute/list_routes.rb,
lib/fog/google/models/compute/resource_views.rb,
lib/fog/google/requests/compute/delete_image.rb,
lib/fog/google/requests/compute/delete_route.rb,
lib/fog/google/requests/compute/get_firewall.rb,
lib/fog/google/requests/compute/get_snapshot.rb,
lib/fog/google/requests/compute/insert_image.rb,
lib/fog/google/requests/compute/insert_route.rb,
lib/fog/google/requests/compute/list_regions.rb,
lib/fog/google/requests/compute/list_servers.rb,
lib/fog/google/requests/compute/reset_server.rb,
lib/fog/google/requests/compute/set_metadata.rb,
lib/fog/google/models/compute/backend_service.rb,
lib/fog/google/models/compute/forwarding_rule.rb,
lib/fog/google/models/compute/target_instance.rb,
lib/fog/google/requests/compute/delete_server.rb,
lib/fog/google/requests/compute/get_disk_type.rb,
lib/fog/google/requests/compute/get_zone_view.rb,
lib/fog/google/requests/compute/insert_server.rb,
lib/fog/google/requests/compute/list_networks.rb,
lib/fog/google/requests/compute/list_url_maps.rb,
lib/fog/google/models/compute/backend_services.rb,
lib/fog/google/models/compute/forwarding_rules.rb,
lib/fog/google/models/compute/target_instances.rb,
lib/fog/google/requests/compute/delete_address.rb,
lib/fog/google/requests/compute/delete_network.rb,
lib/fog/google/requests/compute/delete_url_map.rb,
lib/fog/google/requests/compute/insert_address.rb,
lib/fog/google/requests/compute/insert_network.rb,
lib/fog/google/requests/compute/insert_url_map.rb,
lib/fog/google/requests/compute/list_addresses.rb,
lib/fog/google/requests/compute/list_firewalls.rb,
lib/fog/google/requests/compute/list_snapshots.rb,
lib/fog/google/requests/compute/update_url_map.rb,
lib/fog/google/models/compute/http_health_check.rb,
lib/fog/google/models/compute/target_http_proxy.rb,
lib/fog/google/requests/compute/delete_firewall.rb,
lib/fog/google/requests/compute/delete_snapshot.rb,
lib/fog/google/requests/compute/get_region_view.rb,
lib/fog/google/requests/compute/get_target_pool.rb,
lib/fog/google/requests/compute/insert_firewall.rb,
lib/fog/google/requests/compute/insert_snapshot.rb,
lib/fog/google/requests/compute/list_disk_types.rb,
lib/fog/google/requests/compute/list_zone_views.rb,
lib/fog/google/models/compute/http_health_checks.rb,
lib/fog/google/requests/compute/delete_zone_view.rb,
lib/fog/google/requests/compute/get_machine_type.rb,
lib/fog/google/requests/compute/insert_zone_view.rb,
lib/fog/google/requests/compute/validate_url_map.rb,
lib/fog/google/models/compute/target_http_proxies.rb,
lib/fog/google/requests/compute/list_region_views.rb,
lib/fog/google/requests/compute/list_target_pools.rb,
lib/fog/google/requests/compute/delete_region_view.rb,
lib/fog/google/requests/compute/delete_target_pool.rb,
lib/fog/google/requests/compute/get_zone_operation.rb,
lib/fog/google/requests/compute/insert_region_view.rb,
lib/fog/google/requests/compute/insert_target_pool.rb,
lib/fog/google/requests/compute/list_machine_types.rb,
lib/fog/google/requests/compute/get_backend_service.rb,
lib/fog/google/requests/compute/get_forwarding_rule.rb,
lib/fog/google/requests/compute/get_target_instance.rb,
lib/fog/google/models/compute/global_forwarding_rule.rb,
lib/fog/google/requests/compute/get_backend_services.rb,
lib/fog/google/requests/compute/get_global_operation.rb,
lib/fog/google/requests/compute/get_region_operation.rb,
lib/fog/google/requests/compute/list_zone_operations.rb,
lib/fog/google/models/compute/global_forwarding_rules.rb,
lib/fog/google/requests/compute/delete_zone_operation.rb,
lib/fog/google/requests/compute/get_http_health_check.rb,
lib/fog/google/requests/compute/get_target_http_proxy.rb,
lib/fog/google/requests/compute/list_aggregated_disks.rb,
lib/fog/google/requests/compute/list_backend_services.rb,
lib/fog/google/requests/compute/list_forwarding_rules.rb,
lib/fog/google/requests/compute/list_target_instances.rb,
lib/fog/google/requests/compute/set_server_scheduling.rb,
lib/fog/google/requests/compute/add_url_map_host_rules.rb,
lib/fog/google/requests/compute/delete_backend_service.rb,
lib/fog/google/requests/compute/delete_forwarding_rule.rb,
lib/fog/google/requests/compute/delete_target_instance.rb,
lib/fog/google/requests/compute/get_target_pool_health.rb,
lib/fog/google/requests/compute/insert_backend_service.rb,
lib/fog/google/requests/compute/insert_forwarding_rule.rb,
lib/fog/google/requests/compute/insert_target_instance.rb,
lib/fog/google/requests/compute/list_global_operations.rb,
lib/fog/google/requests/compute/list_region_operations.rb,
lib/fog/google/requests/compute/add_zone_view_resources.rb,
lib/fog/google/requests/compute/delete_global_operation.rb,
lib/fog/google/requests/compute/delete_region_operation.rb,
lib/fog/google/requests/compute/list_aggregated_servers.rb,
lib/fog/google/requests/compute/list_http_health_checks.rb,
lib/fog/google/requests/compute/add_server_access_config.rb,
lib/fog/google/requests/compute/delete_http_health_check.rb,
lib/fog/google/requests/compute/delete_target_http_proxy.rb,
lib/fog/google/requests/compute/insert_http_health_check.rb,
lib/fog/google/requests/compute/insert_target_http_proxy.rb,
lib/fog/google/requests/compute/list_target_http_proxies.rb,
lib/fog/google/requests/compute/list_zone_view_resources.rb,
lib/fog/google/requests/compute/add_region_view_resources.rb,
lib/fog/google/requests/compute/add_target_pool_instances.rb,
lib/fog/google/requests/compute/add_url_map_path_matchers.rb,
lib/fog/google/requests/compute/list_aggregated_addresses.rb,
lib/fog/google/requests/compute/get_backend_service_health.rb,
lib/fog/google/requests/compute/get_global_forwarding_rule.rb,
lib/fog/google/requests/compute/list_aggregated_disk_types.rb,
lib/fog/google/requests/compute/list_region_view_resources.rb,
lib/fog/google/requests/compute/set_forwarding_rule_target.rb,
lib/fog/google/requests/compute/delete_server_access_config.rb,
lib/fog/google/requests/compute/remove_target_pool_instance.rb,
lib/fog/google/requests/compute/set_server_disk_auto_delete.rb,
lib/fog/google/requests/compute/add_backend_service_backends.rb,
lib/fog/google/requests/compute/list_global_forwarding_rules.rb,
lib/fog/google/requests/compute/remove_target_pool_instances.rb,
lib/fog/google/requests/compute/set_common_instance_metadata.rb,
lib/fog/google/requests/compute/add_target_pool_health_checks.rb,
lib/fog/google/requests/compute/delete_global_forwarding_rule.rb,
lib/fog/google/requests/compute/get_server_serial_port_output.rb,
lib/fog/google/requests/compute/insert_global_forwarding_rule.rb,
lib/fog/google/requests/compute/list_aggregated_machine_types.rb,
lib/fog/google/requests/compute/set_target_http_proxy_url_map.rb,
lib/fog/google/requests/compute/remove_target_pool_health_checks.rb,
lib/fog/google/requests/compute/set_global_forwarding_rule_target.rb
Defined Under Namespace
Modules: Shared Classes: Address, Addresses, BackendService, BackendServices, Disk, DiskType, DiskTypes, Disks, Firewall, Firewalls, Flavor, Flavors, ForwardingRule, ForwardingRules, GlobalForwardingRule, GlobalForwardingRules, HttpHealthCheck, HttpHealthChecks, Image, Images, Mock, Network, Networks, Operation, Operations, Project, Projects, Real, Region, Regions, ResourceView, ResourceViews, Route, Routes, Server, Servers, Snapshot, Snapshots, TargetHttpProxies, TargetHttpProxy, TargetInstance, TargetInstances, TargetPool, TargetPools, UrlMap, UrlMaps, Zone, Zones
Constant Summary collapse
- GOOGLE_COMPUTE_API_VERSION =
'v1'
- GOOGLE_COMPUTE_BASE_URL =
'https://www.googleapis.com/compute/'
- GOOGLE_COMPUTE_API_SCOPE_URLS =
%w(https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/devstorage.read_write https://www.googleapis.com/auth/ndev.cloudman https://www.googleapis.com/auth/cloud-platform)
- GOOGLE_COMPUTE_DEFAULT_NETWORK =
'default'
- RUNNING =
'RUNNING'