Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class AddGitRepositoryLinkPullRequestCommentRequest.
Request message for AddGitRepositoryLinkPullRequestComment.
Generated from protobuf message google.cloud.developerconnect.v1.AddGitRepositoryLinkPullRequestCommentRequest
Namespace
Google \ Cloud \ DeveloperConnect \ V1Methods
__construct
Constructor.
| Parameter | |
|---|---|
| Name | Description |
data |
mixed
|
getName
Required. The resource name of the GitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The resource name of the GitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPullRequestId
Required. The ID of the Pull Request.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPullRequestId
Required. The ID of the Pull Request.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getComment
Required. The comment to add.
| Returns | |
|---|---|
| Type | Description |
PullRequestComment|null |
|
hasComment
clearComment
setComment
Required. The comment to add.
| Parameter | |
|---|---|
| Name | Description |
var |
PullRequestComment
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
name |
string
Required. The resource name of the GitRepositoryLink in the format
|
pullRequestId |
string
Required. The ID of the Pull Request. |
comment |
PullRequestComment
Required. The comment to add. |
| Returns | |
|---|---|
| Type | Description |
AddGitRepositoryLinkPullRequestCommentRequest |
|