Google Cloud Developer Connect V1 Client - Class FetchGitRepositoryLinkFileBlameRequest (0.9.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class FetchGitRepositoryLinkFileBlameRequest.
Request message for FetchGitRepositoryLinkFileBlame.
Generated from protobuf message google.cloud.developerconnect.v1.FetchGitRepositoryLinkFileBlameRequest
Namespace
Google \ Cloud \ DeveloperConnect \ V1
Methods
__construct
Constructor.
Parameter
Name
Description
data
mixed
getName
Required. The resource name of the GitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
Returns
Type
Description
string
setName
Required. The resource name of the GitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getRef
Required. The SCM commit SHA, or symbolic revision (e.g., branch name, tag)
from which to fetch the blame.
Returns
Type
Description
string
setRef
Required. The SCM commit SHA, or symbolic revision (e.g., branch name, tag)
from which to fetch the blame.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPath
Required. The file path within the repository.
Returns
Type
Description
string
setPath
Required. The file path within the repository.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getFirstLine
Optional. The 1-indexed starting line number of the range to blame
(inclusive). If not specified, blame begins at line 1.
Returns
Type
Description
int
setFirstLine
Optional. The 1-indexed starting line number of the range to blame
(inclusive). If not specified, blame begins at line 1.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getLastLine
Optional. The 1-indexed ending line number of the range to blame
(inclusive). If not specified, blame extends to the end of the file.
Returns
Type
Description
int
setLastLine
Optional. The 1-indexed ending line number of the range to blame
(inclusive). If not specified, blame extends to the end of the file.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
static::build
Parameters
Name
Description
name
string
Required. The resource name of the GitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*. Please see
DeveloperConnectClient::gitRepositoryLinkName() for help formatting this field.
ref
string
Required. The SCM commit SHA, or symbolic revision (e.g., branch name, tag)
from which to fetch the blame.
[[["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 2026-11-17 UTC."],[],[]]