Class: Puppet::GoogleAPI::Compute
- Inherits:
-
Object
- Object
- Puppet::GoogleAPI::Compute
show all
- Defined in:
- lib/puppet/google_api/compute.rb
Defined Under Namespace
Classes: Images, Instances, MachineTypes, Networks, ZoneOperations
Instance Method Summary
collapse
Constructor Details
#initialize(api) ⇒ Compute
Returns a new instance of Compute.
4
5
6
7
|
# File 'lib/puppet/google_api/compute.rb', line 4
def initialize(api)
@api = api
@compute = api.discover('compute', 'v1beta15')
end
|
Instance Method Details
#images ⇒ Object
251
252
253
|
# File 'lib/puppet/google_api/compute.rb', line 251
def images
@images ||= Images.new(@api, @compute)
end
|
#instances ⇒ Object
9
10
11
|
# File 'lib/puppet/google_api/compute.rb', line 9
def instances
@instances ||= Instances.new(@api, @compute)
end
|
#machine_types ⇒ Object
234
235
236
|
# File 'lib/puppet/google_api/compute.rb', line 234
def machine_types
@machine_types ||= MachineTypes.new(@api, @compute)
end
|
#networks ⇒ Object
269
270
271
|
# File 'lib/puppet/google_api/compute.rb', line 269
def networks
@networks ||= Networks.new(@api, @compute)
end
|
#zone_operations ⇒ Object
287
288
289
|
# File 'lib/puppet/google_api/compute.rb', line 287
def zone_operations
@zone_operations ||= ZoneOperations.new(@api, @compute)
end
|