startVersionScope();
// Write as MIME multipart containing the entry and media. Use the
// content type from the multipart since this contains auto-generated
// boundary attributes.
MediaMultipart mediaMultipart = new MediaMultipart(entry, media);
request = createRequest(GDataRequest.RequestType.UPDATE, mediaUrl,
new ContentType(mediaMultipart.getContentType()));
writeRequestData(request,
new ClientOutputProperties(request, entry), mediaMultipart);
request.execute();
return parseResponseData(request, classOf(entry));