Class: Google::Apis::GkeonpremV1::BareMetalAdminDrainedMachine
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::BareMetalAdminDrainedMachine
- 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 more...
Overview
BareMetalAdminDrainedMachine represents the machines that are drained.
Instance Attribute Summary collapse
-
#node_ip ⇒ String
Drained machine IP address.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BareMetalAdminDrainedMachine
constructor
A new instance of BareMetalAdminDrainedMachine.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BareMetalAdminDrainedMachine
Returns a new instance of BareMetalAdminDrainedMachine.
374 375 376 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 374 def initialize(**args) update!(**args) end |
Instance Attribute Details
#node_ip ⇒ String
Drained machine IP address.
Corresponds to the JSON property nodeIp
372 373 374 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 372 def node_ip @node_ip end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
379 380 381 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 379 def update!(**args) @node_ip = args[:node_ip] if args.key?(:node_ip) end |