ResourceMIMEType Property
The MIME type of the file.
Object Oriented Interface
public function getResourceMIMEType(); public function setResourceMIMEType($value);
Procedural Interface
incloudstorage_googledrive_get($res, 65 ); incloudstorage_googledrive_set($res, 65, $value );
Default Value
''
Remarks
This property specifies the MIME type of the file. When calling UploadFile, this property is ignored in favor of the MimeType parameter of UploadFile.
Valid MIME types are:
application/vnd.google-apps.audio | |
application/vnd.google-apps.document | Google Docs |
application/vnd.google-apps.drawing | Google Drawing |
application/vnd.google-apps.file | Google Drive file |
application/vnd.google-apps.folder | Google Drive folder |
application/vnd.google-apps.form | Google Forms |
application/vnd.google-apps.fusiontable | Google Fusion Tables |
application/vnd.google-apps.kix | Google Docs |
application/vnd.google-apps.photo | |
application/vnd.google-apps.presentation | Google Slides |
application/vnd.google-apps.script | Google Apps Scripts |
application/vnd.google-apps.sites | Google Sites |
application/vnd.google-apps.spreadsheet | Google Sheets |
application/vnd.google-apps.unknown | |
application/vnd.google-apps.video |
This property is not available at design time.
Data Type
String