# Google Cloud Secure Source Manager V1 Client - Class BatchCreatePullRequestCommentsResponse (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 BatchCreatePullRequestCommentsResponse.

The response to batch create pull request comments.

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

## 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 created. |

### getPullRequestComments

The list of pull request comments created.

| **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 created.

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

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