Class: Google::Compute::Property::InstGrouManaCurrActi
- Inherits:
-
Puppet::Property
- Object
- Puppet::Property
- Google::Compute::Property::InstGrouManaCurrActi
- Defined in:
- lib/google/compute/property/instancegroupmanager_current_actions.rb
Overview
A class to manage input to current_actions for instance_group_manager.
Class Method Summary collapse
-
.api_munge(value) ⇒ Object
Used for parsing GCP API responses.
-
.unsafe_munge(value) ⇒ Object
Used for parsing Puppet catalog.
Instance Method Summary collapse
-
#unsafe_munge(value) ⇒ Object
Used for parsing Puppet catalog.
Class Method Details
.api_munge(value) ⇒ Object
Used for parsing GCP API responses
178 179 180 181 |
# File 'lib/google/compute/property/instancegroupmanager_current_actions.rb', line 178 def self.api_munge(value) return if value.nil? Data::InstGrouManaCurrActiApi.new(value) end |
.unsafe_munge(value) ⇒ Object
Used for parsing Puppet catalog
172 173 174 175 |
# File 'lib/google/compute/property/instancegroupmanager_current_actions.rb', line 172 def self.unsafe_munge(value) return if value.nil? Data::InstGrouManaCurrActiCatalog.new(value) end |
Instance Method Details
#unsafe_munge(value) ⇒ Object
Used for parsing Puppet catalog
167 168 169 |
# File 'lib/google/compute/property/instancegroupmanager_current_actions.rb', line 167 def unsafe_munge(value) self.class.unsafe_munge(value) end |