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.
4282 4283 4284 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 4282 def initialize(**args) update!(**args) end |
Instance Attribute Details
#component_type ⇒ String
Output only. Type of component
Corresponds to the JSON property componentType
4275 4276 4277 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 4275 def component_type @component_type end |
#state ⇒ String
Output only. Component's upgrade state.
Corresponds to the JSON property state
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 |