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

The request to update a pull request comment.

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

## Namespace

Google \\ Cloud \\ SecureSourceManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ pull_request_comment` | `https://docs.cloud.google.com/php/docs/reference/cloud-securesourcemanager/latest/V1.PullRequestComment` Required. The pull request comment to update. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. Field mask is used to specify the fields to be overwritten in the pull request comment resource by the update. Updatable fields are `body`. |

### getPullRequestComment

Required. The pull request comment to update.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-securesourcemanager/latest/V1.PullRequestComment|null` |   |

### hasPullRequestComment

### clearPullRequestComment

### setPullRequestComment

Required. The pull request comment to update.

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

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

### getUpdateMask

Optional. Field mask is used to specify the fields to be overwritten in the
pull request comment resource by the update. Updatable fields are
`body`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask|null` |   |

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Optional. Field mask is used to specify the fields to be overwritten in the
pull request comment resource by the update. Updatable fields are
`body`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` |

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `pullRequestComment` | `https://docs.cloud.google.com/php/docs/reference/cloud-securesourcemanager/latest/V1.PullRequestComment` Required. The pull request comment to update. |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. Field mask is used to specify the fields to be overwritten in the pull request comment resource by the update. Updatable fields are `body`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-securesourcemanager/latest/V1.UpdatePullRequestCommentRequest` |   |