v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-133566112.5 KB
projects

Updates a pull request comment.

patch/v1/{+name}

Path parameters

namestring required

Identifier. Unique identifier for the pull request comment. The comment id is generated by the server. Format: projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment_id}

Query parameters

updateMaskstring

Optional. Field mask is used to specify the fields to be overwritten in the pull request comment resource by the update. Updatable fields are body.

validateOnlyboolean

Optional. If set, validate the request and preview the review, but do not actually post it. (https://google.aip.dev/163, for declarative friendly)

Request body

updateTimestring google-datetime

Output only. Last updated timestamp.

createTimestring google-datetime

Output only. Creation timestamp.

namestring

Identifier. Unique identifier for the pull request comment. The comment id is generated by the server. Format: projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment_id}

Response

Successful response