Class: Google::Apis::ComputeAlpha::InstancesSetMinCpuPlatformRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InstancesSetMinCpuPlatformRequest
- 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_cpu_platform ⇒ String
Minimum cpu/platform this instance should be started at.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstancesSetMinCpuPlatformRequest
constructor
A new instance of InstancesSetMinCpuPlatformRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstancesSetMinCpuPlatformRequest
Returns a new instance of InstancesSetMinCpuPlatformRequest.
20875 20876 20877 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 20875 def initialize(**args) update!(**args) end |
Instance Attribute Details
#min_cpu_platform ⇒ String
Minimum cpu/platform this instance should be started at.
Corresponds to the JSON property minCpuPlatform
20873 20874 20875 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 20873 def min_cpu_platform @min_cpu_platform end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20880 20881 20882 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 20880 def update!(**args) @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform) end |