Class: Packerman::Dsl::Builders::Googlecompute
- Inherits:
-
Packerman::Dsl::Builders
- Object
- Packerman::Dsl
- Packerman::Dsl::Builders
- Packerman::Dsl::Builders::Googlecompute
- Defined in:
- lib/packerman/dsl/builders/googlecompute.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Packerman::Dsl::Builders
Methods included from Node
#initialize, #method_missing, #to_hash
Methods inherited from Packerman::Dsl
register, register_to_repo, to_subclass
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Packerman::Dsl::Node
Class Method Details
.optional_keys ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/packerman/dsl/builders/googlecompute.rb', line 15 def optional_keys [ :account_file, :disk_size, :image_name, :image_description, :instance_name, :machine_type, :metadata, :network, :state_timeout, :tags, :use_internal_ip ] end |
.require_keys ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/packerman/dsl/builders/googlecompute.rb', line 7 def require_keys [ :project_id, :source_image, :zone ] end |
Instance Method Details
#type ⇒ Object
2 3 4 |
# File 'lib/packerman/dsl/builders/googlecompute.rb', line 2 def type "googlecompute" end |