Class: Google::Apis::ComputeAlpha::LicenseResourceRequirements

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LicenseResourceRequirements

Returns a new instance of LicenseResourceRequirements.



28384
28385
28386
# File 'lib/google/apis/compute_alpha/classes.rb', line 28384

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#min_guest_cpu_countFixnum

[Input Only] Deprecated. This field no longer reflects the minimum number of guest cpus required to use the Instance. Corresponds to the JSON property minGuestCpuCount

Returns:

  • (Fixnum)


28376
28377
28378
# File 'lib/google/apis/compute_alpha/classes.rb', line 28376

def min_guest_cpu_count
  @min_guest_cpu_count
end

#min_memory_mbFixnum

[Input Only] Deprecated. This field no longer reflects the minimum memory required to use the Instance. Corresponds to the JSON property minMemoryMb

Returns:

  • (Fixnum)


28382
28383
28384
# File 'lib/google/apis/compute_alpha/classes.rb', line 28382

def min_memory_mb
  @min_memory_mb
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28389
28390
28391
28392
# File 'lib/google/apis/compute_alpha/classes.rb', line 28389

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