1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #2733 from brettporter/gce-service-accounts

[google|compute] ability to supply serviceAccounts on image create
This commit is contained in:
Nat Welch 2014-03-06 22:21:32 +00:00
commit 5ad688a312

View file

@ -17,6 +17,7 @@ module Fog
attribute :machine_type, :aliases => 'machineType'
attribute :disks, :aliases => 'disks'
attribute :metadata
attribute :service_accounts, :aliases => 'serviceAccounts'
attribute :tags, :squash => 'items'
attribute :self_link, :aliases => 'selfLink'
@ -151,6 +152,7 @@ module Fog
'externalIp' => external_ip,
'disks' => disks,
'metadata' => metadata,
'serviceAccounts' => service_accounts,
'tags' => tags
}.delete_if {|key, value| value.nil?}