Class: Google::Compute::Data::ZoneDeprecatedCatalog

Inherits:
ZoneDeprecated show all
Defined in:
lib/google/compute/property/zone_deprecated.rb

Overview

Manages a ZoneDeprecated nested object Data is coming from the Puppet manifest

Instance Attribute Summary

Attributes inherited from ZoneDeprecated

#deleted, #deprecated, #obsolete, #replacement, #state

Instance Method Summary collapse

Methods inherited from ZoneDeprecated

#<=>, #==, #to_json, #to_s

Constructor Details

#initialize(args) ⇒ ZoneDeprecatedCatalog

Returns a new instance of ZoneDeprecatedCatalog.



113
114
115
116
117
118
119
120
121
122
123
# File 'lib/google/compute/property/zone_deprecated.rb', line 113

def initialize(args)
  @deleted =
    Google::Compute::Property::Time.unsafe_munge(args['deleted'])
  @deprecated =
    Google::Compute::Property::Time.unsafe_munge(args['deprecated'])
  @obsolete =
    Google::Compute::Property::Time.unsafe_munge(args['obsolete'])
  @replacement =
    Google::Compute::Property::String.unsafe_munge(args['replacement'])
  @state = Google::Compute::Property::Enum.unsafe_munge(args['state'])
end