@@ -512,7 +512,11 @@ service SecureSourceManager {
512512 option (google.api.method_signature ) = "parent" ;
513513 }
514514
515- // Creates a pull request comment.
515+ // Creates a pull request comment. This function is used to create a single
516+ // PullRequestComment of type Comment, or a single PullRequestComment of type
517+ // Code that's replying to another PullRequestComment of type Code. Use
518+ // BatchCreatePullRequestComments to create multiple PullRequestComments for
519+ // code reviews.
516520 rpc CreatePullRequestComment (CreatePullRequestCommentRequest )
517521 returns (google .longrunning .Operation ) {
518522 option (google.api.http ) = {
@@ -553,7 +557,11 @@ service SecureSourceManager {
553557 };
554558 }
555559
556- // Batch creates pull request comments.
560+ // Batch creates pull request comments. This function is used to create
561+ // multiple PullRequestComments for code review. There needs to be exactly one
562+ // PullRequestComment of type Review, and at most 100 PullRequestComments of
563+ // type Code per request. The Postition of the code comments must be unique
564+ // within the request.
557565 rpc BatchCreatePullRequestComments (BatchCreatePullRequestCommentsRequest )
558566 returns (google .longrunning .Operation ) {
559567 option (google.api.http ) = {
@@ -567,7 +575,10 @@ service SecureSourceManager {
567575 };
568576 }
569577
570- // Resolves pull request comments.
578+ // Resolves pull request comments. A list of PullRequestComment names must be
579+ // provided. The PullRequestComment names must be in the same conversation
580+ // thread. If auto_fill is set, all comments in the conversation thread will
581+ // be resolved.
571582 rpc ResolvePullRequestComments (ResolvePullRequestCommentsRequest )
572583 returns (google .longrunning .Operation ) {
573584 option (google.api.http ) = {
@@ -581,7 +592,10 @@ service SecureSourceManager {
581592 };
582593 }
583594
584- // Unresolves pull request comment.
595+ // Unresolves pull request comments. A list of PullRequestComment names must
596+ // be provided. The PullRequestComment names must be in the same conversation
597+ // thread. If auto_fill is set, all comments in the conversation thread will
598+ // be unresolved.
585599 rpc UnresolvePullRequestComments (UnresolvePullRequestCommentsRequest )
586600 returns (google .longrunning .Operation ) {
587601 option (google.api.http ) = {
0 commit comments