Reference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::CreatePullRequestCommentRequest.
The request to create a pull request comment.
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 comment.
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 comment.
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 comment.
Format:
projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}
#pull_request_comment
def pull_request_comment() -> ::Google::Cloud::SecureSourceManager::V1::PullRequestComment
Returns
- (::Google::Cloud::SecureSourceManager::V1::PullRequestComment) — Required. The pull request comment to create.
#pull_request_comment=
def pull_request_comment=(value) -> ::Google::Cloud::SecureSourceManager::V1::PullRequestComment
Parameter
- value (::Google::Cloud::SecureSourceManager::V1::PullRequestComment) — Required. The pull request comment to create.
Returns
- (::Google::Cloud::SecureSourceManager::V1::PullRequestComment) — Required. The pull request comment to create.