class Google::Apis::ComputeV1::MoveDiskRequest

Attributes

destination_zone[RW]

The URL of the destination zone to move the disk. This can be a full or partial URL. For example, the following are all valid URLs to a zone: - https:/ /www.googleapis.com/compute/v1/projects/project/zones/zone - projects/project/ zones/zone - zones/zone Corresponds to the JSON property `destinationZone` @return [String]

target_disk[RW]

The URL of the target disk to move. This can be a full or partial URL. For example, the following are all valid URLs to a disk: - www.googleapis. com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/ zones/zone/disks/disk - zones/zone/disks/disk Corresponds to the JSON property `targetDisk` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 6315
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 6320
def update!(**args)
  @destination_zone = args[:destination_zone] if args.key?(:destination_zone)
  @target_disk = args[:target_disk] if args.key?(:target_disk)
end