File
com.github.cloudfiles.gdrive.GoogleDriveJsonProtocol.File
case class File(id: String, name: String, mimeType: String, parents: List[String], createdTime: Instant, modifiedTime: Instant, description: Option[String], size: Option[String], properties: Option[Map[String, String]], appProperties: Option[Map[String, String]], trashed: Boolean, trashedTime: Option[Instant])
A data class corresponding to the GoogleDrive ''File'' resource.
This resource is used to represent files and folders stored on a GoogleDrive. The ''FileSystem'' implementation for GoogleDrive mainly interacts with this resource.
Refer to https://developers.google.com/drive/api/v3/reference/files.
Value parameters
- appProperties
-
optional application-specific properties
- createdTime
-
the creation time
- description
-
the optional description for this file
- id
-
the ID of the file
- mimeType
-
the mime type
- modifiedTime
-
the time of the last modification
- name
-
the name of the file (or folder)
- parents
-
a list with the parents of this file
- properties
-
optional properties assigned to this file
- size
-
the size of the file
- trashed
-
flag whether the file is in trash
- trashedTime
-
optional time when the file was moved to trash
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article