Class Revision
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
ExportLinks
Links for exporting Google Docs to specific formats.
public virtual IDictionary<string, string> ExportLinks { get; set; }
Property Value
Id
The ID of the revision.
public virtual string Id { get; set; }
Property Value
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
LastModifyingUser
The last user to modify this revision.
public virtual User LastModifyingUser { get; set; }
Property Value
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
MimeType
The MIME type of the revision.
public virtual string MimeType { get; set; }
Property Value
ModifiedTime
DateTime representation of ModifiedTimeRaw.
public virtual DateTime? ModifiedTime { get; set; }
Property Value
ModifiedTimeRaw
The last time the revision was modified (RFC 3339 date-time).
public virtual string ModifiedTimeRaw { get; set; }
Property Value
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
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?
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?