Table of Contents

Class Revision

Namespace
Google.Apis.Drive.v3.Data
Assembly
Google.Apis.Drive.v3.dll

The metadata for a revision to a file.

public class Revision : IDirectResponseSchema
Inheritance
Revision
Implements
IDirectResponseSchema
Inherited Members

Constructors

Revision()

public Revision()

Properties

ETag

The ETag of the item.

public virtual string ETag { get; set; }

Property Value

string

Links for exporting Google Docs to specific formats.

public virtual IDictionary<string, string> ExportLinks { get; set; }

Property Value

IDictionary<string, string>

Id

The ID of the revision.

public virtual string Id { get; set; }

Property Value

string

KeepForever

Whether to keep this revision forever, even if it is no longer the head revision. If not set, the revision will be automatically purged 30 days after newer content is uploaded. This can be set on a maximum of 200 revisions for a file. This field is only applicable to files with binary content in Drive.

public virtual bool? KeepForever { get; set; }

Property Value

bool?

Kind

Identifies what kind of resource this is. Value: the fixed string "drive#revision".

public virtual string Kind { get; set; }

Property Value

string

LastModifyingUser

The last user to modify this revision.

public virtual User LastModifyingUser { get; set; }

Property Value

User

Md5Checksum

The MD5 checksum of the revision's content. This is only applicable to files with binary content in Drive.

public virtual string Md5Checksum { get; set; }

Property Value

string

MimeType

The MIME type of the revision.

public virtual string MimeType { get; set; }

Property Value

string

ModifiedTime

DateTime representation of ModifiedTimeRaw.

public virtual DateTime? ModifiedTime { get; set; }

Property Value

DateTime?

ModifiedTimeRaw

The last time the revision was modified (RFC 3339 date-time).

public virtual string ModifiedTimeRaw { get; set; }

Property Value

string

OriginalFilename

The original filename used to create this revision. This is only applicable to files with binary content in Drive.

public virtual string OriginalFilename { get; set; }

Property Value

string

PublishAuto

Whether subsequent revisions will be automatically republished. This is only applicable to Google Docs.

public virtual bool? PublishAuto { get; set; }

Property Value

bool?

Published

Whether this revision is published. This is only applicable to Google Docs.

public virtual bool? Published { get; set; }

Property Value

bool?

A link to the published revision.

public virtual string PublishedLink { get; set; }

Property Value

string

PublishedOutsideDomain

Whether this revision is published outside the domain. This is only applicable to Google Docs.

public virtual bool? PublishedOutsideDomain { get; set; }

Property Value

bool?

Size

The size of the revision's content in bytes. This is only applicable to files with binary content in Drive.

public virtual long? Size { get; set; }

Property Value

long?