Class: Google::Apis::ComputeV1::InstancesSetMinCpuPlatformRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstancesSetMinCpuPlatformRequest

Returns a new instance of InstancesSetMinCpuPlatformRequest.



14021
14022
14023
# File 'generated/google/apis/compute_v1/classes.rb', line 14021

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

Instance Attribute Details

#min_cpu_platformString

Minimum cpu/platform this instance should be started at. Corresponds to the JSON property minCpuPlatform

Returns:

  • (String)


14019
14020
14021
# File 'generated/google/apis/compute_v1/classes.rb', line 14019

def min_cpu_platform
  @min_cpu_platform
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14026
14027
14028
# File 'generated/google/apis/compute_v1/classes.rb', line 14026

def update!(**args)
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
end