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

The request to create an issue comment.

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

## Namespace

Google \\ Cloud \\ SecureSourceManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The issue in which to create the issue comment. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}` |
| `↳ issue_comment` | `https://docs.cloud.google.com/php/docs/reference/cloud-securesourcemanager/latest/V1.IssueComment` Required. The issue comment to create. |

### getParent

Required. The issue in which to create the issue comment. Format:
`projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`

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

### setParent

Required. The issue in which to create the issue comment. Format:
`projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`

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

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

### getIssueComment

Required. The issue comment to create.

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

### hasIssueComment

### clearIssueComment

### setIssueComment

Required. The issue comment to create.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The issue in which to create the issue comment. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}` Please see SecureSourceManagerClient::issueName() for help formatting this field. |
| `issueComment` | `https://docs.cloud.google.com/php/docs/reference/cloud-securesourcemanager/latest/V1.IssueComment` Required. The issue comment to create. |

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