- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Lists pull request comments.
HTTP request
The URLs use gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. The pull request in which to list pull request comments. Format:  | 
Query parameters
| Parameters | |
|---|---|
| pageSize | 
 Optional. Requested page size. If unspecified, at most 100 pull request comments will be returned. The maximum value is 100; values above 100 will be coerced to 100. | 
| pageToken | 
 Optional. A token identifying a page of results the server should return. | 
Request body
The request body must be empty.
Response body
The response to list pull request comments.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "pullRequestComments": [
    {
      object ( | 
| Fields | |
|---|---|
| pullRequestComments[] | 
 The list of pull request comments. | 
| nextPageToken | 
 A token to set as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages. | 
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 parent resource:
- securesourcemanager.prcomments.list
For more information, see the IAM documentation.