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.



4234
4235
4236
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 4234

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

Instance Attribute Details

#component_typeString

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

Returns:

  • (String)


4227
4228
4229
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 4227

def component_type
  @component_type
end

#stateString

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

Returns:

  • (String)


4232
4233
4234
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 4232

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4239
4240
4241
4242
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 4239

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