class Google::Apis::BaremetalsolutionV1alpha1::Instance
An Instance
.
Attributes
Is hyperthreading enabled for this instance? Corresponds to the JSON property `hyperthreadingEnabled` @return [Boolean]
Is hyperthreading enabled for this instance? Corresponds to the JSON property `hyperthreadingEnabled` @return [Boolean]
The Luns attached to this instance Corresponds to the JSON property `luns` @return [Array<Google::Apis::BaremetalsolutionV1alpha1::Lun>]
Output only. The name of this Instance
. Corresponds to the JSON property `name` @return [String]
The scheduled power reset time. Corresponds to the JSON property `scheduledPowerResetTime` @return [String]
Is SSH enabled for this instance? Corresponds to the JSON property `sshEnabled` @return [Boolean]
Is SSH enabled for this instance? Corresponds to the JSON property `sshEnabled` @return [Boolean]
The state of this Instance
. Corresponds to the JSON property `state` @return [String]
Public Class Methods
# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 130 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 135 def update!(**args) @hyperthreading_enabled = args[:hyperthreading_enabled] if args.key?(:hyperthreading_enabled) @luns = args[:luns] if args.key?(:luns) @name = args[:name] if args.key?(:name) @scheduled_power_reset_time = args[:scheduled_power_reset_time] if args.key?(:scheduled_power_reset_time) @ssh_enabled = args[:ssh_enabled] if args.key?(:ssh_enabled) @state = args[:state] if args.key?(:state) end