# Google Cloud Support V2 API - Class Google::Cloud::Support::V2::CreateCommentRequest (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::CreateCommentRequest.

The request message for the CreateComment endpoint.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #comment

    def comment() -> ::Google::Cloud::Support::V2::Comment

**Returns**

- ([::Google::Cloud::Support::V2::Comment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-support-v2/latest/Google-Cloud-Support-V2-Comment)) --- Required. The comment to be added.

### #comment=

    def comment=(value) -> ::Google::Cloud::Support::V2::Comment

**Parameter**

- **value** ([::Google::Cloud::Support::V2::Comment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-support-v2/latest/Google-Cloud-Support-V2-Comment)) --- Required. The comment to be added.
**Returns**

- ([::Google::Cloud::Support::V2::Comment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-support-v2/latest/Google-Cloud-Support-V2-Comment)) --- Required. The comment to be added.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The name of the case to which the comment should be added.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The name of the case to which the comment should be added.
**Returns**

- (::String) --- Required. The name of the case to which the comment should be added.