Re: How to update metadata's filename (rename) ?

162 views
Skip to first unread message
Message has been deleted

Radiance Gooplay

unread,
Mar 19, 2020, 10:03:20 AM 3/19/20
to google-api-obj...@googlegroups.com
I‘m sorry I don't know

Ju Lien < jade...@gmail.com > 于2020年3月18日周三 下午10:37写道:
Hi there!

I struggle for 5 days , and I found no documentation about it ( PATCH ) I wonder how to rename a filename into a Google Drive in Objective C

It should be easy... Does anybody know ?

This code gets an error :

GTLRDriveService * service = self . driveService ;

NSString * fileID = fileMetadata. identifier ;

if (fileID)

{

       GTLRDriveQuery_FilesUpdate * query = [ GTLRDriveQuery_FilesUpdate queryWithObject :fileMetadata fileId :fileID uploadParameters : nil ];

_fileListTicket = [service executeQuery :query

completionHandler :^( GTLRServiceTicket *callbackTicket,  id  nilObject,

NSError *callbackError) {

}];

}

}


Thanks in advance guys !
Julien



--
You received this message because you are subscribed to the Google Groups "Google APIs Client Library for Objective-C" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-api-objective...@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/google-api-objectivec-client/1976fd2e-8f74-4322-b7f6-f4e2c13be761%40googlegroups.com .
Reply all
Reply to author
Forward
0 new messages