Class: Google::Apis::GkeonpremV1::BareMetalAdminMaintenanceStatus
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::BareMetalAdminMaintenanceStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkeonprem_v1/classes.rb,
lib/google/apis/gkeonprem_v1/representations.rb,
lib/google/apis/gkeonprem_v1/representations.rb
Overview
BareMetalAdminMaintenanceStatus represents the maintenance status for bare metal Admin cluster CR's nodes.
Instance Attribute Summary collapse
-
#machine_drain_status ⇒ Google::Apis::GkeonpremV1::BareMetalAdminMachineDrainStatus
BareMetalAdminMachineDrainStatus represents the status of bare metal node machines that are undergoing drain operations.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BareMetalAdminMaintenanceStatus
constructor
A new instance of BareMetalAdminMaintenanceStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BareMetalAdminMaintenanceStatus
Returns a new instance of BareMetalAdminMaintenanceStatus.
530 531 532 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 530 def initialize(**args) update!(**args) end |
Instance Attribute Details
#machine_drain_status ⇒ Google::Apis::GkeonpremV1::BareMetalAdminMachineDrainStatus
BareMetalAdminMachineDrainStatus represents the status of bare metal node
machines that are undergoing drain operations.
Corresponds to the JSON property machineDrainStatus
528 529 530 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 528 def machine_drain_status @machine_drain_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
535 536 537 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 535 def update!(**args) @machine_drain_status = args[:machine_drain_status] if args.key?(:machine_drain_status) end |