# GoogleDriveComment

A comment attached to a Drive file.

Class 

`OfficeIMO.GoogleWorkspace.Drive`

**Namespace**

`OfficeIMO.GoogleWorkspace.Drive`

**Assembly**

`OfficeIMO.GoogleWorkspace`

**Source revision**

`105ae88c45f6` with working tree changes

**Source**

[GoogleDriveModels.cs:248](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveModels.cs#L248)

**Modifiers**

sealed

A comment attached to a Drive file.

## Inheritance

- object
- GoogleDriveComment

## Usage

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

### Returned or exposed by 2

- Method [GoogleDriveClient.CreateCommentAsync](/api/google-workspace/officeimo-googleworkspace-drive-googledriveclient/#method-createcommentasync-string-string-string-officeimo-googleworkspace-translationreport-threading-cancellationtoken)
- Property [GoogleDriveCommentList.Comments](/api/google-workspace/officeimo-googleworkspace-drive-googledrivecommentlist/#property-comments)

Filter members 

Show inherited

## Constructors

`public GoogleDriveComment()` [#](#constructor-ctor)

[GoogleDriveModels.cs:248](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveModels.cs#L248)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string? Id { get; set; }` [#](#property-id)

[GoogleDriveModels.cs:220](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveModels.cs#L220)

`JsonPropertyName("id")`

Gets or sets the comment identifier.

`public string? Content { get; set; }` [#](#property-content)

[GoogleDriveModels.cs:224](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveModels.cs#L224)

`JsonPropertyName("content")`

Gets or sets the comment's plain-text content.

`public string? Anchor { get; set; }` [#](#property-anchor)

[GoogleDriveModels.cs:228](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveModels.cs#L228)

`JsonPropertyName("anchor")`

Gets or sets the JSON anchor locating the commented region.

`public bool Resolved { get; set; }` [#](#property-resolved)

[GoogleDriveModels.cs:232](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveModels.cs#L232)

`JsonPropertyName("resolved")`

Gets or sets whether the comment thread is resolved.

`public bool Deleted { get; set; }` [#](#property-deleted)

[GoogleDriveModels.cs:236](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveModels.cs#L236)

`JsonPropertyName("deleted")`

Gets or sets whether the comment has been deleted.

`public DateTimeOffset? CreatedTime { get; set; }` [#](#property-createdtime)

[GoogleDriveModels.cs:240](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveModels.cs#L240)

`JsonPropertyName("createdTime")`

Gets or sets when the comment was created.

`public DateTimeOffset? ModifiedTime { get; set; }` [#](#property-modifiedtime)

[GoogleDriveModels.cs:244](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveModels.cs#L244)

`JsonPropertyName("modifiedTime")`

Gets or sets when the comment was most recently modified.

`public List<GoogleDriveReply> Replies { get; set; }` [#](#property-replies)

[GoogleDriveModels.cs:248](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveModels.cs#L248)

`JsonPropertyName("replies")`

Gets or sets replies in the comment thread.

<!-- PowerForge markdown artifact sha256:8F2049B13F1C521DE788FC37FA9EFBAB0A63B973D437CAB2396575504876B2E5 -->
