Class: Google::Apis::GkeonpremV1::BareMetalNodeAccessConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::BareMetalNodeAccessConfig
- 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 user cluster.
Instance Attribute Summary collapse
-
#login_user ⇒ String
LoginUser is the user name used to access node machines.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BareMetalNodeAccessConfig
constructor
A new instance of BareMetalNodeAccessConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BareMetalNodeAccessConfig
Returns a new instance of BareMetalNodeAccessConfig.
1835 1836 1837 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1835 def initialize(**args) update!(**args) end |
Instance Attribute Details
#login_user ⇒ String
LoginUser is the user name used to access node machines. It defaults to "root"
if not set.
Corresponds to the JSON property loginUser
1833 1834 1835 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1833 def login_user @login_user end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1840 1841 1842 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1840 def update!(**args) @login_user = args[:login_user] if args.key?(:login_user) end |