class Google::Apis::BaremetalsolutionV1alpha1::SshKey
A public SSH key registered in the project. Used primarily for the interactive serial console feature.
Attributes
name[RW]
Output only. The name of this SSH key. Corresponds to the JSON property `name` @return [String]
public_key[RW]
The public SSH key. Corresponds to the JSON property `publicKey` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 774 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 779 def update!(**args) @name = args[:name] if args.key?(:name) @public_key = args[:public_key] if args.key?(:public_key) end