mimeType property

String? mimeType
getter/setter pair

The MIME type of the file.

Google Drive attempts to automatically detect an appropriate value from uploaded content, if no value is provided. The value cannot be changed unless a new revision is uploaded. If a file is created with a Google Doc MIME type, the uploaded content is imported, if possible. The supported import formats are published in the About resource.

Implementation

core.String? mimeType;