code: func (gce *Cloud) convertDiskToAttachedDisk(disk *gceDisk, readWrite string) *compute.AttachedDisk {
  	return &compute.AttachedDisk{
  		DeviceName: disk.Name,
  		Kind:       disk.Kind,
  		Mode:       readWrite,
  		Source:     "https://" + path.Join("www.googleapis.com/compute/v1/projects/", gce.projectID, "zones", disk.Zone, "disks", disk.Name),
  		Type:       "PERSISTENT",
  	}
  }
docs: // Converts a Disk resource to an AttachedDisk resource.