Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

GoogleDriveFile

OfficeIMO.GoogleWorkspace.Drive

Namespace
OfficeIMO.GoogleWorkspace.Drive
Assembly
OfficeIMO.GoogleWorkspace.Drive
Source revision
be6c300e4ab1 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 long? Version { get; set; } #
JsonPropertyName("version") JsonNumberHandling(1)

Gets or sets the monotonically increasing Drive file version.

public long? Size { get; set; } #
JsonPropertyName("size") JsonNumberHandling(1)

Gets or sets the binary content size in bytes, when applicable.

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