class Google::Apis::ComputeV1::LicenseResourceRequirements

Attributes

min_guest_cpu_count[RW]

Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start. Corresponds to the JSON property `minGuestCpuCount` @return [Fixnum]

min_memory_mb[RW]

Minimum memory required to use the Instance. Enforced at Instance creation and Instance start. Corresponds to the JSON property `minMemoryMb` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 16925
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 16930
def update!(**args)
  @min_guest_cpu_count = args[:min_guest_cpu_count] if args.key?(:min_guest_cpu_count)
  @min_memory_mb = args[:min_memory_mb] if args.key?(:min_memory_mb)
end