1.0.0-beta05 (latest) 1.0.0-beta04

    public sealed class Comment : IMessage<Comment>, IEquatable<Comment>, IDeepCloneable<Comment>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Support v2beta API class Comment.

A comment associated with a support case.

Case comments are the primary way for Google Support to communicate with a
user who has opened a case. When a user responds to Google Support, the
user's responses also appear as comments.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Comment

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Comment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.Comment), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Comment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.Comment), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Comment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.Comment), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Support.V2Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta)

## Assembly

Google.Cloud.Support.V2Beta.dll

## Constructors

### Comment()

    public Comment()

### Comment(Comment)

    public Comment(Comment other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.Comment` |

## Properties

### Body

    public string Body { get; set; }

The full comment body.

Maximum of 12800 characters.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### CommentName

    public CommentName CommentName { get; set; }

[CommentName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.CommentName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.Comment#Google_Cloud_Support_V2Beta_Comment_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.CommentName` |   |

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. The time when the comment was created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### Creator

    public Actor Creator { get; set; }

Output only. The user or Google Support agent who created the comment.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.Actor` |   |

### Name

    public string Name { get; set; }

Output only. Identifier. The resource name of the comment.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### PlainTextBody

    [Obsolete]
    public string PlainTextBody { get; set; }

Output only. DEPRECATED. DO NOT USE.

A duplicate of the `body` field.

This field is only present for legacy reasons.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |