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
defparent()->::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=
defparent=(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}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Secure Source Manager V1 API - Class Google::Cloud::SecureSourceManager::V1::CreatePullRequestCommentRequest (v2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Cloud-SecureSourceManager-V1-CreatePullRequestCommentRequest)\n- [2.2.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/2.2.0/Google-Cloud-SecureSourceManager-V1-CreatePullRequestCommentRequest)\n- [2.1.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/2.1.0/Google-Cloud-SecureSourceManager-V1-CreatePullRequestCommentRequest)\n- [2.0.1](/ruby/docs/reference/google-cloud-secure_source_manager-v1/2.0.1/Google-Cloud-SecureSourceManager-V1-CreatePullRequestCommentRequest)\n- [1.3.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.3.0/Google-Cloud-SecureSourceManager-V1-CreatePullRequestCommentRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.2.0/Google-Cloud-SecureSourceManager-V1-CreatePullRequestCommentRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.1.0/Google-Cloud-SecureSourceManager-V1-CreatePullRequestCommentRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.0.1/Google-Cloud-SecureSourceManager-V1-CreatePullRequestCommentRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.4.0/Google-Cloud-SecureSourceManager-V1-CreatePullRequestCommentRequest)\n- [0.3.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.3.0/Google-Cloud-SecureSourceManager-V1-CreatePullRequestCommentRequest)\n- [0.2.2](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.2.2/Google-Cloud-SecureSourceManager-V1-CreatePullRequestCommentRequest)\n- [0.1.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.1.0/Google-Cloud-SecureSourceManager-V1-CreatePullRequestCommentRequest) \nReference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::CreatePullRequestCommentRequest.\n\nThe request to create a pull request comment. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::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}`\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **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}` \n**Returns**\n\n- (::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}`\n\n### #pull_request_comment\n\n def pull_request_comment() -\u003e ::Google::Cloud::SecureSourceManager::V1::PullRequestComment\n\n**Returns**\n\n- ([::Google::Cloud::SecureSourceManager::V1::PullRequestComment](./Google-Cloud-SecureSourceManager-V1-PullRequestComment)) --- Required. The pull request comment to create.\n\n### #pull_request_comment=\n\n def pull_request_comment=(value) -\u003e ::Google::Cloud::SecureSourceManager::V1::PullRequestComment\n\n**Parameter**\n\n- **value** ([::Google::Cloud::SecureSourceManager::V1::PullRequestComment](./Google-Cloud-SecureSourceManager-V1-PullRequestComment)) --- Required. The pull request comment to create. \n**Returns**\n\n- ([::Google::Cloud::SecureSourceManager::V1::PullRequestComment](./Google-Cloud-SecureSourceManager-V1-PullRequestComment)) --- Required. The pull request comment to create."]]