Class: Google::Apis::VmwareengineV1::VmwareUpgradeComponent

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/vmwareengine_v1/classes.rb,
lib/google/apis/vmwareengine_v1/representations.rb,
lib/google/apis/vmwareengine_v1/representations.rb

Overview

Per component upgrade resource

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareUpgradeComponent

Returns a new instance of VmwareUpgradeComponent.



4282
4283
4284
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 4282

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#component_typeString

Output only. Type of component Corresponds to the JSON property componentType

Returns:

  • (String)


4275
4276
4277
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 4275

def component_type
  @component_type
end

#stateString

Output only. Component's upgrade state. Corresponds to the JSON property state

Returns:

  • (String)


4280
4281
4282
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 4280

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4287
4288
4289
4290
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 4287

def update!(**args)
  @component_type = args[:component_type] if args.key?(:component_type)
  @state = args[:state] if args.key?(:state)
end