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.



4318
4319
4320
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 4318

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

Instance Attribute Details

#component_typeString

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

Returns:

  • (String)


4311
4312
4313
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 4311

def component_type
  @component_type
end

#stateString

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

Returns:

  • (String)


4316
4317
4318
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 4316

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4323
4324
4325
4326
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 4323

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