Reference documentation and code samples for the Google Cloud Support V2 API class Google::Cloud::Support::V2::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."],[],[],null,["# Google Cloud Support V2 API - Class Google::Cloud::Support::V2::Comment (v1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/ruby/docs/reference/google-cloud-support-v2/latest/Google-Cloud-Support-V2-Comment)\n- [1.4.0](/ruby/docs/reference/google-cloud-support-v2/1.4.0/Google-Cloud-Support-V2-Comment)\n- [1.3.0](/ruby/docs/reference/google-cloud-support-v2/1.3.0/Google-Cloud-Support-V2-Comment)\n- [1.2.1](/ruby/docs/reference/google-cloud-support-v2/1.2.1/Google-Cloud-Support-V2-Comment)\n- [1.1.0](/ruby/docs/reference/google-cloud-support-v2/1.1.0/Google-Cloud-Support-V2-Comment)\n- [1.0.1](/ruby/docs/reference/google-cloud-support-v2/1.0.1/Google-Cloud-Support-V2-Comment)\n- [0.4.0](/ruby/docs/reference/google-cloud-support-v2/0.4.0/Google-Cloud-Support-V2-Comment)\n- [0.3.2](/ruby/docs/reference/google-cloud-support-v2/0.3.2/Google-Cloud-Support-V2-Comment)\n- [0.2.0](/ruby/docs/reference/google-cloud-support-v2/0.2.0/Google-Cloud-Support-V2-Comment)\n- [0.1.0](/ruby/docs/reference/google-cloud-support-v2/0.1.0/Google-Cloud-Support-V2-Comment) \nReference documentation and code samples for the Google Cloud Support V2 API class Google::Cloud::Support::V2::Comment.\n\nA comment associated with a support case.\n\n\n\u003cbr /\u003e\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\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #body\n\n def body() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The full comment body.\n\n Maximum of 12800 characters.\n\n### #body=\n\n def body=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The full comment body.\n\n\nMaximum of 12800 characters. \n**Returns**\n\n- (::String) --- The full comment body.\n\n Maximum of 12800 characters.\n\n### #create_time\n\n def create_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. The time when the comment was created.\n\n### #creator\n\n def creator() -\u003e ::Google::Cloud::Support::V2::Actor\n\n**Returns**\n\n- ([::Google::Cloud::Support::V2::Actor](./Google-Cloud-Support-V2-Actor)) --- Output only. The user or Google Support agent who created the comment.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. Identifier. The resource name of the comment.\n\n### #plain_text_body\n\n def plain_text_body() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. DEPRECATED. DO NOT USE.\n\n A duplicate of the `body` field.\n\n This field is only present for legacy reasons."]]