- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Updates a pull request comment.
HTTP request
The URLs use gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
pullRequestComment.name |
Identifier. Unique identifier for the pull request comment. The comment id is generated by the server. Format: projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pullRequest}/pullRequestComments/{comment_id} |
Query parameters
Parameters | |
---|---|
updateMask |
Optional. Field mask is used to specify the fields to be overwritten in the pull request comment resource by the update. Updatable fields are This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of PullRequestComment
.
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name
resource:
securesourcemanager.prcomments.update
For more information, see the IAM documentation.