Class: Google::Apis::ComputeAlpha::LicenseResourceRequirements
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::LicenseResourceRequirements
- 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
-
#min_guest_cpu_count ⇒ Fixnum
[Input Only] Deprecated.
-
#min_memory_mb ⇒ Fixnum
[Input Only] Deprecated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LicenseResourceRequirements
constructor
A new instance of LicenseResourceRequirements.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_count ⇒ Fixnum
[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
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_mb ⇒ Fixnum
[Input Only] Deprecated. This field no longer reflects the minimum memory
required to use the Instance.
Corresponds to the JSON property minMemoryMb
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 |