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:
-
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 generated/google/apis/compute_v1/classes.rb, line 1532 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/compute_v1/classes.rb, line 1537 def update!(**args) @destination_zone = args[:destination_zone] if args.key?(:destination_zone) @target_disk = args[:target_disk] if args.key?(:target_disk) end