Class: Google::Apis::GkeonpremV1::BareMetalAdminNodeAccessConfig

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

Specifies the node access related settings for the bare metal admin cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BareMetalAdminNodeAccessConfig

Returns a new instance of BareMetalAdminNodeAccessConfig.



776
777
778
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 776

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

Instance Attribute Details

#login_userString

Required. LoginUser is the user name used to access node machines. It defaults to "root" if not set. Corresponds to the JSON property loginUser

Returns:

  • (String)


774
775
776
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 774

def 
  @login_user
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



781
782
783
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 781

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