# Google Cloud Secure Source Manager V1 Client - Class ListPullRequestCommentsResponse (1.8.0)

1.8.0 (latest) 1.7.0 1.6.3 1.5.0 1.4.1 1.3.3 1.2.0 1.1.0 1.0.0 0.2.5 0.1.0 Reference documentation and code samples for the Google Cloud Secure Source Manager V1 Client class ListPullRequestCommentsResponse.

The response to list pull request comments.

Generated from protobuf message `google.cloud.securesourcemanager.v1.ListPullRequestCommentsResponse`

## Namespace

Google \\ Cloud \\ SecureSourceManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ pull_request_comments` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-securesourcemanager/latest/V1.PullRequestComment>` The list of pull request comments. |
| `↳ next_page_token` | `string` A token to set as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. |

### getPullRequestComments

The list of pull request comments.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-securesourcemanager/latest/V1.PullRequestComment>` |   |

### setPullRequestComments

The list of pull request comments.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-securesourcemanager/latest/V1.PullRequestComment>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getNextPageToken

A token to set as page_token to retrieve the next page. If this field is
omitted, there are no subsequent pages.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setNextPageToken

A token to set as page_token to retrieve the next page. If this field is
omitted, there are no subsequent pages.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |