mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
4c2736d0c2
Simplify attachment of boot disk, get_as_boot_disk no longer needed Add missing Disk.get_object method Allow setting deviceName when attaching a disk Add disks mocks
25 lines
608 B
Ruby
25 lines
608 B
Ruby
require 'fog/core/model'
|
|
|
|
module Fog
|
|
module Compute
|
|
class Google
|
|
|
|
class Flavor < Fog::Model
|
|
|
|
identity :name
|
|
|
|
attribute :description
|
|
attribute :guest_cpus, :aliases => 'guestCpus'
|
|
attribute :memory_mb, :aliases => 'memoryMb'
|
|
attribute :image_space_gb, :aliases => 'imageSpaceGb'
|
|
attribute :maximum_persistent_disks,
|
|
:aliases => 'maximumPersistentDisks'
|
|
attribute :maximum_persistent_disks_size,
|
|
:aliases => 'maximumPersistentDisksSizeGb'
|
|
attribute :self_link, :aliases => 'selfLink'
|
|
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|