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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ parent | stringRequired. The issue in which to create the issue comment. Format:  | 
| ↳ issue_comment | IssueCommentRequired. 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 | 
| IssueComment|null | |
hasIssueComment
clearIssueComment
setIssueComment
Required. The issue comment to create.
| Parameter | |
|---|---|
| Name | Description | 
| var | IssueComment | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
static::build
| Parameters | |
|---|---|
| Name | Description | 
| parent | stringRequired. The issue in which to create the issue comment. Format:
 | 
| issueComment | IssueCommentRequired. The issue comment to create. | 
| Returns | |
|---|---|
| Type | Description | 
| CreateIssueCommentRequest | |