class Google::Apis::BaremetalsolutionV2::Instance
An instance resource.
Attributes
Output only. Create time stamp. Corresponds to the JSON property `createTime` @return [String]
True if hyperthreading enabled for the instance, false otherwise. The default value is false. Corresponds to the JSON property `hyperthreadingEnabled` @return [Boolean]
True if hyperthreading enabled for the instance, false otherwise. The default value is false. Corresponds to the JSON property `hyperthreadingEnabled` @return [Boolean]
Labels as key value pairs. Corresponds to the JSON property `labels` @return [Hash<String,String>]
List of luns associated with this instance. Corresponds to the JSON property `luns` @return [Array<Google::Apis::BaremetalsolutionV2::Lun>]
The type of this Instance
. [Available Instance
types](cloud.google.com/ bare-metal/docs/bms-planning#server_configurations) Corresponds to the JSON property `machineType` @return [String]
Output only. The resource name of this `Instance`. Resource names are schemeless URIs that follow the conventions in cloud.google.com/apis/ design/resource_names. Format: `projects/`project`/locations/`location`/ instances/`instanceā Corresponds to the JSON property `name` @return [String]
List of networks associated with this instance. Corresponds to the JSON property `networks` @return [Array<Google::Apis::BaremetalsolutionV2::Network>]
The state of this Instance
. Corresponds to the JSON property `state` @return [String]
Output only. Update time stamp. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/baremetalsolution_v2/classes.rb, line 235 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/baremetalsolution_v2/classes.rb, line 240 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @hyperthreading_enabled = args[:hyperthreading_enabled] if args.key?(:hyperthreading_enabled) @labels = args[:labels] if args.key?(:labels) @luns = args[:luns] if args.key?(:luns) @machine_type = args[:machine_type] if args.key?(:machine_type) @name = args[:name] if args.key?(:name) @networks = args[:networks] if args.key?(:networks) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end