Class: Google::Compute::Data::InstGrouManaCurrActiCatalog

Inherits:
InstGrouManaCurrActi show all
Defined in:
lib/google/compute/property/instancegroupmanager_current_actions.rb

Overview

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

Instance Attribute Summary

Attributes inherited from InstGrouManaCurrActi

#abandoning, #creating, #creating_without_retries, #deleting, #none, #recreating, #refreshing, #restarting

Instance Method Summary collapse

Methods inherited from InstGrouManaCurrActi

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

Constructor Details

#initialize(args) ⇒ InstGrouManaCurrActiCatalog

rubocop:disable Metrics/MethodLength



140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
# File 'lib/google/compute/property/instancegroupmanager_current_actions.rb', line 140

def initialize(args)
  @abandoning =
    Google::Compute::Property::Integer.unsafe_munge(args['abandoning'])
  @creating =
    Google::Compute::Property::Integer.unsafe_munge(args['creating'])
  @creating_without_retries =
    Google::Compute::Property::Integer.unsafe_munge(
      args['creating_without_retries']
    )
  @deleting =
    Google::Compute::Property::Integer.unsafe_munge(args['deleting'])
  @none = Google::Compute::Property::Integer.unsafe_munge(args['none'])
  @recreating =
    Google::Compute::Property::Integer.unsafe_munge(args['recreating'])
  @refreshing =
    Google::Compute::Property::Integer.unsafe_munge(args['refreshing'])
  @restarting =
    Google::Compute::Property::Integer.unsafe_munge(args['restarting'])
end