Table of Contents

Class Comment

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

A comment on a file.

public class Comment : IDirectResponseSchema
Inheritance
Comment
Implements
IDirectResponseSchema
Inherited Members

Constructors

Comment()

public Comment()

Properties

Anchor

A region of the document represented as a JSON string. See anchor documentation for details on how to define and interpret anchor properties.

public virtual string Anchor { get; set; }

Property Value

string

Author

The author of the comment. The author's email address and permission ID will not be populated.

public virtual User Author { get; set; }

Property Value

User

Content

The plain text content of the comment. This field is used for setting the content, while htmlContent should be displayed.

public virtual string Content { get; set; }

Property Value

string

CreatedTime

DateTime representation of CreatedTimeRaw.

public virtual DateTime? CreatedTime { get; set; }

Property Value

DateTime?

CreatedTimeRaw

The time at which the comment was created (RFC 3339 date-time).

public virtual string CreatedTimeRaw { get; set; }

Property Value

string

Deleted

Whether the comment has been deleted. A deleted comment has no content.

public virtual bool? Deleted { get; set; }

Property Value

bool?

ETag

The ETag of the item.

public virtual string ETag { get; set; }

Property Value

string

HtmlContent

The content of the comment with HTML formatting.

public virtual string HtmlContent { get; set; }

Property Value

string

Id

The ID of the comment.

public virtual string Id { get; set; }

Property Value

string

Kind

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

public virtual string Kind { get; set; }

Property Value

string

ModifiedTime

DateTime representation of ModifiedTimeRaw.

public virtual DateTime? ModifiedTime { get; set; }

Property Value

DateTime?

ModifiedTimeRaw

The last time the comment or any of its replies was modified (RFC 3339 date-time).

public virtual string ModifiedTimeRaw { get; set; }

Property Value

string

QuotedFileContent

The file content to which the comment refers, typically within the anchor region. For a text file, for example, this would be the text at the location of the comment.

public virtual Comment.QuotedFileContentData QuotedFileContent { get; set; }

Property Value

Comment.QuotedFileContentData

Replies

The full list of replies to the comment in chronological order.

public virtual IList<Reply> Replies { get; set; }

Property Value

IList<Reply>

Resolved

Whether the comment has been resolved by one of its replies.

public virtual bool? Resolved { get; set; }

Property Value

bool?