class Google::Apis::ManagerV1beta2::NewDiskInitializeParams

Initialization parameters for creating a new disk.

Attributes

disk_size_gb[RW]

The size of the created disk in gigabytes. Corresponds to the JSON property `diskSizeGb` @return [String]

disk_type[RW]

Name of the disk type resource describing which disk type to use to create the disk. For example 'pd-ssd' or 'pd-standard'. Default is 'pd-standard' Corresponds to the JSON property `diskType` @return [String]

source_image[RW]

The fully-qualified URL of a source image to use to create this disk. Corresponds to the JSON property `sourceImage` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/manager_v1beta2/classes.rb, line 938
def update!(**args)
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
  @disk_type = args[:disk_type] if args.key?(:disk_type)
  @source_image = args[:source_image] if args.key?(:source_image)
end