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

The response message for the ListComments endpoint.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #comments

    def comments() -> ::Array<::Google::Cloud::Support::V2::Comment>

**Returns**

- (::Array\<[::Google::Cloud::Support::V2::Comment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-support-v2/latest/Google-Cloud-Support-V2-Comment)\>) --- List of the comments associated with the case.

### #comments=

    def comments=(value) -> ::Array<::Google::Cloud::Support::V2::Comment>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Support::V2::Comment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-support-v2/latest/Google-Cloud-Support-V2-Comment)\>) --- List of the comments associated with the case.
**Returns**

- (::Array\<[::Google::Cloud::Support::V2::Comment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-support-v2/latest/Google-Cloud-Support-V2-Comment)\>) --- List of the comments associated with the case.

### #next_page_token

    def next_page_token() -> ::String

**Returns**

- (::String) --- A token to retrieve the next page of results. Set this in the `page_token` field of subsequent `cases.comments.list` requests. If unspecified, there are no more results to retrieve.

### #next_page_token=

    def next_page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- A token to retrieve the next page of results. Set this in the `page_token` field of subsequent `cases.comments.list` requests. If unspecified, there are no more results to retrieve.
**Returns**

- (::String) --- A token to retrieve the next page of results. Set this in the `page_token` field of subsequent `cases.comments.list` requests. If unspecified, there are no more results to retrieve.