Reference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::BatchCreatePullRequestCommentsRequest.
The request to batch create pull request comments.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The pull request in which to create the pull request comments.
Format:
projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The pull request in which to create the pull request comments.
Format:
projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}
Returns
-
(::String) — Required. The pull request in which to create the pull request comments.
Format:
projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}
#requests
def requests() -> ::Array<::Google::Cloud::SecureSourceManager::V1::CreatePullRequestCommentRequest>
Returns
- (::Array<::Google::Cloud::SecureSourceManager::V1::CreatePullRequestCommentRequest>) — Required. The request message specifying the resources to create. There should be exactly one CreatePullRequestCommentRequest with CommentDetail being REVIEW in the list, and no more than 100 CreatePullRequestCommentRequests with CommentDetail being CODE in the list
#requests=
def requests=(value) -> ::Array<::Google::Cloud::SecureSourceManager::V1::CreatePullRequestCommentRequest>
Parameter
- value (::Array<::Google::Cloud::SecureSourceManager::V1::CreatePullRequestCommentRequest>) — Required. The request message specifying the resources to create. There should be exactly one CreatePullRequestCommentRequest with CommentDetail being REVIEW in the list, and no more than 100 CreatePullRequestCommentRequests with CommentDetail being CODE in the list
Returns
- (::Array<::Google::Cloud::SecureSourceManager::V1::CreatePullRequestCommentRequest>) — Required. The request message specifying the resources to create. There should be exactly one CreatePullRequestCommentRequest with CommentDetail being REVIEW in the list, and no more than 100 CreatePullRequestCommentRequests with CommentDetail being CODE in the list