class Google::Apis::BaremetalsolutionV1alpha1::Instance

An Instance.

Attributes

hyperthreading_enabled[RW]

Is hyperthreading enabled for this instance? Corresponds to the JSON property `hyperthreadingEnabled` @return [Boolean]

hyperthreading_enabled?[RW]

Is hyperthreading enabled for this instance? Corresponds to the JSON property `hyperthreadingEnabled` @return [Boolean]

luns[RW]

The Luns attached to this instance Corresponds to the JSON property `luns` @return [Array<Google::Apis::BaremetalsolutionV1alpha1::Lun>]

name[RW]

Output only. The name of this Instance. Corresponds to the JSON property `name` @return [String]

scheduled_power_reset_time[RW]

The scheduled power reset time. Corresponds to the JSON property `scheduledPowerResetTime` @return [String]

ssh_enabled[RW]

Is SSH enabled for this instance? Corresponds to the JSON property `sshEnabled` @return [Boolean]

ssh_enabled?[RW]

Is SSH enabled for this instance? Corresponds to the JSON property `sshEnabled` @return [Boolean]

state[RW]

The state of this Instance. Corresponds to the JSON property `state` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 130
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 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