Class: Google::Compute::Data::InstancTemplatSchedulCatalog
- Inherits:
-
InstancTemplatSchedul
- Object
- InstancTemplatSchedul
- Google::Compute::Data::InstancTemplatSchedulCatalog
- Defined in:
- lib/google/compute/property/instancetemplate_scheduling.rb
Overview
Manages a InstancTemplatSchedul nested object Data is coming from the Puppet manifest
Instance Attribute Summary
Attributes inherited from InstancTemplatSchedul
#automatic_restart, #on_host_maintenance, #preemptible
Instance Method Summary collapse
-
#initialize(args) ⇒ InstancTemplatSchedulCatalog
constructor
A new instance of InstancTemplatSchedulCatalog.
Methods inherited from InstancTemplatSchedul
Constructor Details
#initialize(args) ⇒ InstancTemplatSchedulCatalog
Returns a new instance of InstancTemplatSchedulCatalog.
105 106 107 108 109 110 111 112 113 114 |
# File 'lib/google/compute/property/instancetemplate_scheduling.rb', line 105 def initialize(args) @automatic_restart = Google::Compute::Property::Boolean.unsafe_munge( args['automatic_restart'] ) @on_host_maintenance = Google::Compute::Property::String.unsafe_munge( args['on_host_maintenance'] ) @preemptible = Google::Compute::Property::Boolean.unsafe_munge(args['preemptible']) end |