Class: Google::Compute::Property::InstGrouManaCurrActi

Inherits:
Puppet::Property
  • Object
show all
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

Instance Method Summary collapse

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