class Google::Apis::ComputeV1::LocalDisk

Attributes

disk_count[RW]

Specifies the number of such disks. Corresponds to the JSON property `diskCount` @return [Fixnum]

disk_size_gb[RW]

Specifies the size of the disk in base-2 GB. Corresponds to the JSON property `diskSizeGb` @return [Fixnum]

disk_type[RW]

Specifies the desired disk type on the node. This disk type must be a local storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be the name of the disk type and not its URL. Corresponds to the JSON property `diskType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 18250
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 18255
def update!(**args)
  @disk_count = args[:disk_count] if args.key?(:disk_count)
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
  @disk_type = args[:disk_type] if args.key?(:disk_type)
end