Reference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::PullRequestComment::Position.
The position of the code comment.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#line
defline()->::Integer
Returns
(::Integer) — Required. The line number of the comment. Positive value means it's on
the new side of the diff, negative value means it's on the old side.
#line=
defline=(value)->::Integer
Parameter
value (::Integer) — Required. The line number of the comment. Positive value means it's on
the new side of the diff, negative value means it's on the old side.
Returns
(::Integer) — Required. The line number of the comment. Positive value means it's on
the new side of the diff, negative value means it's on the old side.
#path
defpath()->::String
Returns
(::String) — Required. The path of the file.
#path=
defpath=(value)->::String
Parameter
value (::String) — Required. The path of the file.
[[["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::PullRequestComment::Position (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-PullRequestComment-Position)\n- [2.2.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/2.2.0/Google-Cloud-SecureSourceManager-V1-PullRequestComment-Position)\n- [2.1.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/2.1.0/Google-Cloud-SecureSourceManager-V1-PullRequestComment-Position)\n- [2.0.1](/ruby/docs/reference/google-cloud-secure_source_manager-v1/2.0.1/Google-Cloud-SecureSourceManager-V1-PullRequestComment-Position)\n- [1.3.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.3.0/Google-Cloud-SecureSourceManager-V1-PullRequestComment-Position)\n- [1.2.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.2.0/Google-Cloud-SecureSourceManager-V1-PullRequestComment-Position)\n- [1.1.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.1.0/Google-Cloud-SecureSourceManager-V1-PullRequestComment-Position)\n- [1.0.1](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.0.1/Google-Cloud-SecureSourceManager-V1-PullRequestComment-Position)\n- [0.4.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.4.0/Google-Cloud-SecureSourceManager-V1-PullRequestComment-Position)\n- [0.3.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.3.0/Google-Cloud-SecureSourceManager-V1-PullRequestComment-Position)\n- [0.2.2](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.2.2/Google-Cloud-SecureSourceManager-V1-PullRequestComment-Position)\n- [0.1.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.1.0/Google-Cloud-SecureSourceManager-V1-PullRequestComment-Position) \nReference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::PullRequestComment::Position.\n\nThe position of the code 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### #line\n\n def line() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Required. The line number of the comment. Positive value means it's on the new side of the diff, negative value means it's on the old side.\n\n### #line=\n\n def line=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Required. The line number of the comment. Positive value means it's on the new side of the diff, negative value means it's on the old side. \n**Returns**\n\n- (::Integer) --- Required. The line number of the comment. Positive value means it's on the new side of the diff, negative value means it's on the old side.\n\n### #path\n\n def path() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The path of the file.\n\n### #path=\n\n def path=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The path of the file. \n**Returns**\n\n- (::String) --- Required. The path of the file."]]