Google Cloud Secure Source Manager V1 Client - Class Position (1.5.0)

Reference documentation and code samples for the Google Cloud Secure Source Manager V1 Client class Position.

The position of the code comment.

Generated from protobuf message google.cloud.securesourcemanager.v1.PullRequestComment.Position

Namespace

Google \ Cloud \ SecureSourceManager \ V1 \ PullRequestComment

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ path string

Required. The path of the file.

↳ line int|string

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.

getPath

Required. The path of the file.

Returns
Type Description
string

setPath

Required. The path of the file.

Parameter
Name Description
var string
Returns
Type Description
$this

getLine

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
Type Description
int|string

setLine

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.

Parameter
Name Description
var int|string
Returns
Type Description
$this