google apps script - Drive.Properties.get() - specify visibility -


using advanced drive service in google appscript app: https://developers.google.com/apps-script/advanced/drive have custom property public called 'listingid' , trying value. unfortunately

drive.properties.get(fileid, 'listingid'); 

defaults trying private property of name, returning error: property not found: key = listingid , visibility = private

i can't find documentation method, ,

drive.properties.get(fileid, 'listingid', 'public'); 

doesn't work. can please help? thank you!

you can test on @ following site: https://developers.google.com/drive/v2/reference/properties/get (go end of site test). test , verify whether property exists.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

dataset - MPAndroidchart returning no chart Data available -

post - imageshack API cURL -