Class: Google::Apis::ContainerV1beta1::DedicatedLocalSsdProfile

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

Overview

Provisions a new, separate local NVMe SSD exclusively for swap.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DedicatedLocalSsdProfile

Returns a new instance of DedicatedLocalSsdProfile.



3322
3323
3324
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3322

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#disk_countFixnum

The number of physical local NVMe SSD disks to attach. Corresponds to the JSON property diskCount

Returns:

  • (Fixnum)


3320
3321
3322
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3320

def disk_count
  @disk_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3327
3328
3329
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3327

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