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.



591
592
593
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 591

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)


589
590
591
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 589

def 
  @login_user
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



596
597
598
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 596

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