class Fog::Compute::Google::HttpHealthChecks
Public Instance Methods
all(_filters = {})
click to toggle source
# File lib/fog/compute/google/models/http_health_checks.rb, line 7 def all(_filters = {}) data = service.list_http_health_checks.to_h[:items] || [] load(data) end
get(identity)
click to toggle source
# File lib/fog/compute/google/models/http_health_checks.rb, line 12 def get(identity) if identity http_health_check = service.get_http_health_check(identity).to_h return new(http_health_check) end rescue ::Google::Apis::ClientError => e raise e unless e.status_code == 404 nil end