Class: Chef::Provisioning::GoogleDriver::Client::GlobalOperations

Inherits:
OperationsBase show all
Defined in:
lib/chef/provisioning/google_driver/client/global_operations.rb

Overview

Wraps a GlobalOperations service of the GCE API.

Constant Summary

Constants inherited from GoogleBase

Chef::Provisioning::GoogleDriver::Client::GoogleBase::NOT_FOUND, Chef::Provisioning::GoogleDriver::Client::GoogleBase::OK, Chef::Provisioning::GoogleDriver::Client::GoogleBase::SLEEP_SECONDS, Chef::Provisioning::GoogleDriver::Client::GoogleBase::TRIES

Instance Attribute Summary

Attributes inherited from GoogleBase

#google, #project, #zone

Instance Method Summary collapse

Methods inherited from OperationsBase

#get, #wait_for_done

Methods inherited from GoogleBase

#compute, #default_parameters, #initialize, #is_not_found?, #make_request, #operation_response, #raise_if_error

Constructor Details

This class inherits a constructor from Chef::Provisioning::GoogleDriver::Client::GoogleBase

Instance Method Details

#operations_serviceObject



10
11
12
# File 'lib/chef/provisioning/google_driver/client/global_operations.rb', line 10

def operations_service
  compute.global_operations
end