# Google Cloud Support V2 API - Class Google::Cloud::Support::V2::Comment (v1.9.0)

1.9.0 (latest) 1.8.0 1.7.1 1.6.0 1.5.1 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.4.0 0.3.2 0.2.0 0.1.0 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.


<br />

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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #body

    def body() -> ::String

**Returns**

- (::String) --- The full comment body.

  Maximum of 12800 characters.

### #body=

    def body=(value) -> ::String

**Parameter**

- **value** (::String) --- The full comment body.


  Maximum of 12800 characters.
**Returns**

- (::String) --- The full comment body.

  Maximum of 12800 characters.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-support-v2/latest/Google-Protobuf-Timestamp)) --- Output only. The time when the comment was created.

### #creator

    def creator() -> ::Google::Cloud::Support::V2::Actor

**Returns**

- ([::Google::Cloud::Support::V2::Actor](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-support-v2/latest/Google-Cloud-Support-V2-Actor)) --- Output only. The user or Google Support agent who created the comment.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. Identifier. The resource name of the comment.

### #plain_text_body

    def plain_text_body() -> ::String

**Returns**

- (::String) --- Output only. DEPRECATED. DO NOT USE.

  A duplicate of the `body` field.

  This field is only present for legacy reasons.