Class: Google::Apis::ComputeBeta::InstancesSetMinCpuPlatformRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstancesSetMinCpuPlatformRequest

Returns a new instance of InstancesSetMinCpuPlatformRequest.



15391
15392
15393
# File 'generated/google/apis/compute_beta/classes.rb', line 15391

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)


15389
15390
15391
# File 'generated/google/apis/compute_beta/classes.rb', line 15389

def min_cpu_platform
  @min_cpu_platform
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15396
15397
15398
# File 'generated/google/apis/compute_beta/classes.rb', line 15396

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