Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

GoogleDriveFile

Namespace OfficeIMO.GoogleWorkspace.Drive
Assembly OfficeIMO.GoogleWorkspace.Drive
Source revision 33d062b583cb with working tree changes
Modifiers sealed

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.

Constructors

public GoogleDriveFile() #

Properties

public String? Id { get; set; } #
JsonPropertyName("id")

Gets or sets the Drive file identifier.

public String? Name { get; set; } #
JsonPropertyName("name")

Gets or sets the display name.

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 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.