Class: Google::Compute::Data::ImageDeprecatedCatalog

Inherits:
ImageDeprecated show all
Defined in:
lib/google/compute/property/image_deprecated.rb

Overview

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

Instance Attribute Summary

Attributes inherited from ImageDeprecated

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

Instance Method Summary collapse

Methods inherited from ImageDeprecated

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

Constructor Details

#initialize(args) ⇒ ImageDeprecatedCatalog

Returns a new instance of ImageDeprecatedCatalog.



113
114
115
116
117
118
119
120
121
122
123
# File 'lib/google/compute/property/image_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