Class: Google::Apis::ComputeAlpha::InstancesSetMinCpuPlatformRequest

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) ⇒ InstancesSetMinCpuPlatformRequest

Returns a new instance of InstancesSetMinCpuPlatformRequest.



19769
19770
19771
# File 'lib/google/apis/compute_alpha/classes.rb', line 19769

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)


19767
19768
19769
# File 'lib/google/apis/compute_alpha/classes.rb', line 19767

def min_cpu_platform
  @min_cpu_platform
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19774
19775
19776
# File 'lib/google/apis/compute_alpha/classes.rb', line 19774

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