Class: Google::Apis::VmwareengineV1::VmwareUpgradeComponent
- Inherits:
-
Object
- Object
- Google::Apis::VmwareengineV1::VmwareUpgradeComponent
- 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
-
#component_type ⇒ String
Output only.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareUpgradeComponent
constructor
A new instance of VmwareUpgradeComponent.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_type ⇒ String
Output only. Type of component
Corresponds to the JSON property componentType
4227 4228 4229 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 4227 def component_type @component_type end |
#state ⇒ String
Output only. Component's upgrade state.
Corresponds to the JSON property state
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 |