child_mime_type Property
The MIME type of the resource.
Syntax
def get_child_mime_type(child_index: int) -> str: ...
Default Value
""
Remarks
The MIME type of the resource.
This property specifies the MIME type of the resource.
When calling upload_file, this property is ignored in favor of the MimeType parameter of upload_file.
When calling update_resource, this property is only submitted if new file data is being uploaded.
Some Google Drive MIME types:
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 |
The child_index parameter specifies the index of the item in the array. The size of the array is controlled by the child_count property.
This property is read-only.