PullRequestComment(mapping=None, *, ignore_unknown_fields=False, **kwargs)PullRequestComment represents a comment on a pull request.
This message has oneof_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
|---|---|
| Name | Description |
name |
str
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}
|
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. Creation timestamp. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. Last updated timestamp. |
review |
google.cloud.securesourcemanager_v1.types.PullRequestComment.Review
Optional. The review summary comment. This field is a member of oneof_ comment_detail.
|
comment |
google.cloud.securesourcemanager_v1.types.PullRequestComment.Comment
Optional. The general pull request comment. This field is a member of oneof_ comment_detail.
|
code |
google.cloud.securesourcemanager_v1.types.PullRequestComment.Code
Optional. The comment on a code line. This field is a member of oneof_ comment_detail.
|
Classes
Code
Code(mapping=None, *, ignore_unknown_fields=False, **kwargs)The comment on a code line.
Comment
Comment(mapping=None, *, ignore_unknown_fields=False, **kwargs)The general pull request comment.
Position
Position(mapping=None, *, ignore_unknown_fields=False, **kwargs)The position of the code comment.
Review
Review(mapping=None, *, ignore_unknown_fields=False, **kwargs)The review summary comment.