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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ InstancesSetMinCpuPlatformRequest

Returns a new instance of InstancesSetMinCpuPlatformRequest



12199
12200
12201
# File 'generated/google/apis/compute_alpha/classes.rb', line 12199

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)


12197
12198
12199
# File 'generated/google/apis/compute_alpha/classes.rb', line 12197

def min_cpu_platform
  @min_cpu_platform
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12204
12205
12206
# File 'generated/google/apis/compute_alpha/classes.rb', line 12204

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