class Google::Apis::BaremetalsolutionV1alpha1::InstanceQuota
A resource budget.
Attributes
available_machine_count[RW]
Number of machines than can be created for the given location and instance_type. Corresponds to the JSON property `availableMachineCount` @return [Fixnum]
instance_type[RW]
Instance
type. Corresponds to the JSON property `instanceType` @return [String]
location[RW]
Location where the quota applies. Corresponds to the JSON property `location` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 229 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 234 def update!(**args) @available_machine_count = args[:available_machine_count] if args.key?(:available_machine_count) @instance_type = args[:instance_type] if args.key?(:instance_type) @location = args[:location] if args.key?(:location) end