Google Cloud Secure Source Manager V1 Client - Class CreatePullRequestCommentRequest (1.6.1)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Secure Source Manager V1 Client class CreatePullRequestCommentRequest.
The request to create a pull request comment.
Generated from protobuf message google.cloud.securesourcemanager.v1.CreatePullRequestCommentRequest
Namespace
Google \ Cloud \ SecureSourceManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The pull request in which to create the pull request comment. Format: |
↳ pull_request_comment |
PullRequestComment
Required. The pull request comment to create. |
getParent
Required. The pull request in which to create the pull request comment.
Format:
projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The pull request in which to create the pull request comment.
Format:
projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPullRequestComment
Required. The pull request comment to create.
| Returns | |
|---|---|
| Type | Description |
PullRequestComment|null |
|
hasPullRequestComment
clearPullRequestComment
setPullRequestComment
Required. The pull request comment to create.
| Parameter | |
|---|---|
| Name | Description |
var |
PullRequestComment
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The pull request in which to create the pull request comment.
Format:
|
pullRequestComment |
PullRequestComment
Required. The pull request comment to create. |
| Returns | |
|---|---|
| Type | Description |
CreatePullRequestCommentRequest |
|