Class: Google::Compute::Data::InstanceSchedulingCatalog
- Inherits:
-
InstanceScheduling
- Object
- InstanceScheduling
- Google::Compute::Data::InstanceSchedulingCatalog
- Defined in:
- lib/google/compute/property/instance_scheduling.rb
Overview
Manages a InstanceScheduling nested object Data is coming from the Puppet manifest
Instance Attribute Summary
Attributes inherited from InstanceScheduling
#automatic_restart, #on_host_maintenance, #preemptible
Instance Method Summary collapse
-
#initialize(args) ⇒ InstanceSchedulingCatalog
constructor
A new instance of InstanceSchedulingCatalog.
Methods inherited from InstanceScheduling
Constructor Details
#initialize(args) ⇒ InstanceSchedulingCatalog
Returns a new instance of InstanceSchedulingCatalog.
105 106 107 108 109 110 111 112 113 114 |
# File 'lib/google/compute/property/instance_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 |