PullRequestReviewComment(mapping=None, *, ignore_unknown_fields=False, **kwargs)Message representing a SCM Pull Request Review Comment (inline on diff).
Attributes |
|
|---|---|
| Name | Description |
id |
str
Output only. The ID of the comment. |
body |
str
Required. The body of the comment. |
path |
str
Required. The file path to comment on. |
first_line |
int
Optional. The first line of the comment range (inclusive). If not specified, the comment applies only to the last_line.
|
last_line |
int
Required. The last line of the comment range (inclusive). If first_line is not specified, the comment applies only to
this line.
|
side |
google.cloud.developerconnect_v1.types.PullRequestReviewComment.DiffSide
Optional. The side of the diff to comment on. Defaults to HEAD. |
author |
str
Output only. The username of the author. |
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. When the comment was created. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. When the comment was updated. |
commit_id |
str
Output only. The commit SHA the comment was actually applied to. |
Classes
DiffSide
DiffSide(value)DiffSide represents which side of the diff the comment is on.