Class: Google::Apis::GkeonpremV1::BareMetalAdminDrainedMachine

Inherits:
Object
  • Object
show all
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

BareMetalAdminDrainedMachine represents the machines that are drained.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BareMetalAdminDrainedMachine

Returns a new instance of BareMetalAdminDrainedMachine.



455
456
457
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 455

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

Instance Attribute Details

#node_ipString

Drained machine IP address. Corresponds to the JSON property nodeIp

Returns:

  • (String)


453
454
455
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 453

def node_ip
  @node_ip
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



460
461
462
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 460

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