class Google::Apis::ManagerV1beta2::DiskAttachment

How to attach a disk to a Replica.

Attributes

device_name[RW]

The device name of this disk. Corresponds to the JSON property `deviceName` @return [String]

index[RW]

A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, this is assigned by the server. Corresponds to the JSON property `index` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/manager_v1beta2/classes.rb, line 313
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 318
def update!(**args)
  @device_name = args[:device_name] if args.key?(:device_name)
  @index = args[:index] if args.key?(:index)
end