Class: Google::Apis::ComputeV1::InstancesSetMinCpuPlatformRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::InstancesSetMinCpuPlatformRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/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.
18455 18456 18457 |
# File 'lib/google/apis/compute_v1/classes.rb', line 18455 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
18453 18454 18455 |
# File 'lib/google/apis/compute_v1/classes.rb', line 18453 def min_cpu_platform @min_cpu_platform end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18460 18461 18462 |
# File 'lib/google/apis/compute_v1/classes.rb', line 18460 def update!(**args) @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform) end |