public sealed class Comment : IMessage<Comment>, IEquatable<Comment>, IDeepCloneable<Comment>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Support v2 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThis documentation details the \u003ccode\u003eComment\u003c/code\u003e class within the Google Cloud Support v2 API, which is used to manage comments associated with support cases.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eComment\u003c/code\u003e class, available in the \u003ccode\u003eGoogle.Cloud.Support.V2\u003c/code\u003e namespace, implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eComment\u003c/code\u003e class has properties such as \u003ccode\u003eBody\u003c/code\u003e (the main comment text), \u003ccode\u003eCreateTime\u003c/code\u003e (the comment's creation timestamp), \u003ccode\u003eCreator\u003c/code\u003e (details of the comment author), and \u003ccode\u003eName\u003c/code\u003e (the resource name).\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of this class, with the latest being 1.3.0 and other versions including 1.2.0, 1.1.0, and 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe full comment body can contain rich text syntax and is limited to 12800 characters, and there exists a \u003ccode\u003ePlainTextBody\u003c/code\u003e property that is the output of the text, stripping the rich text syntax.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Support v2 API - Class Comment (1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.Comment)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Support.V2/1.3.0/Google.Cloud.Support.V2.Comment)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Support.V2/1.2.0/Google.Cloud.Support.V2.Comment)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Support.V2/1.1.0/Google.Cloud.Support.V2.Comment)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Support.V2/1.0.0/Google.Cloud.Support.V2.Comment) \n\n public sealed class Comment : IMessage\u003cComment\u003e, IEquatable\u003cComment\u003e, IDeepCloneable\u003cComment\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Support v2 API class Comment.\n\nA comment associated with a support case.\n\nCase comments are the primary way for Google Support to communicate with a\nuser who has opened a case. When a user responds to Google Support, the\nuser's responses also appear as comments. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Comment \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Comment](/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.Comment), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Comment](/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.Comment), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Comment](/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Support.V2](/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Support.V2.dll\n\nConstructors\n------------\n\n### Comment()\n\n public Comment()\n\n### Comment(Comment)\n\n public Comment(Comment other)\n\nProperties\n----------\n\n### Body\n\n public string Body { get; set; }\n\nThe full comment body.\n\nMaximum of 12800 characters.\n\n### CommentName\n\n public CommentName CommentName { get; set; }\n\n[CommentName](/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.CommentName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.Comment#Google_Cloud_Support_V2_Comment_Name) resource name property.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. The time when the comment was created.\n\n### Creator\n\n public Actor Creator { get; set; }\n\nOutput only. The user or Google Support agent who created the comment.\n\n### Name\n\n public string Name { get; set; }\n\nOutput only. Identifier. The resource name of the comment.\n\n### PlainTextBody\n\n [Obsolete]\n public string PlainTextBody { get; set; }\n\nOutput only. DEPRECATED. DO NOT USE.\n\nA duplicate of the `body` field.\n\nThis field is only present for legacy reasons."]]