Secure Source Manager V1 API - Class Google::Cloud::SecureSourceManager::V1::PullRequestComment::Position (v2.2.0)

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

def line() -> ::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=

def line=(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

def path() -> ::String
Returns
  • (::String) — Required. The path of the file.

#path=

def path=(value) -> ::String
Parameter
  • value (::String) — Required. The path of the file.
Returns
  • (::String) — Required. The path of the file.