Class: Google::Apis::ContainerV1::DedicatedLocalSsdProfile

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/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.



3022
3023
3024
# File 'lib/google/apis/container_v1/classes.rb', line 3022

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)


3020
3021
3022
# File 'lib/google/apis/container_v1/classes.rb', line 3020

def disk_count
  @disk_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3027
3028
3029
# File 'lib/google/apis/container_v1/classes.rb', line 3027

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