API Reference
GoogleDriveFile
Metadata and capabilities returned for a Google Drive file.
Inheritance
- Object
- GoogleDriveFile
Usage
Explore 11 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 11
- Property GoogleDriveChange.File
- Method GoogleDriveClient.CopyFileAsync
- Method GoogleDriveClient.CreateFolderAsync
- Method GoogleDriveClient.GetFileAsync
- Method GoogleDriveClient.MoveFileAsync
- Method GoogleDriveClient.ResolveFolderAsync
- Method GoogleDriveClient.UploadMultipartAsync
- Method GoogleDriveClient.UploadResumableAsync
- Property GoogleDriveFileList.Files
- Property GoogleDriveResumableUploadResult.File
- Property GoogleDriveTemporaryContentLease.File
Constructors
public GoogleDriveFile() #Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public String? MimeType { get; set; } #JsonPropertyName("mimeType")Gets or sets the Drive MIME type.
public String? DriveId { get; set; } #JsonPropertyName("driveId")Gets or sets the containing shared-drive identifier.
public List<String> Parents { get; set; } #JsonPropertyName("parents")Gets or sets parent-folder identifiers.
public String? WebViewLink { get; set; } #JsonPropertyName("webViewLink")Gets or sets the browser URL for viewing the file.
public String? WebContentLink { get; set; } #JsonPropertyName("webContentLink")Gets or sets the browser URL for downloading binary content.
public DateTimeOffset? ModifiedTime { get; set; } #JsonPropertyName("modifiedTime")Gets or sets the most recent modification time.
public DateTimeOffset? CreatedTime { get; set; } #JsonPropertyName("createdTime")Gets or sets the creation time.
public Int64? Version { get; set; } #JsonPropertyName("version") JsonNumberHandling(1)Gets or sets the monotonically increasing Drive file version.
public Int64? Size { get; set; } #JsonPropertyName("size") JsonNumberHandling(1)Gets or sets the binary content size in bytes, when applicable.
public Boolean Trashed { get; set; } #JsonPropertyName("trashed")Gets or sets whether the file is in the trash.
public GoogleDriveFileCapabilities? Capabilities { get; set; } #JsonPropertyName("capabilities")Gets or sets actions permitted for the authenticated caller.