Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::DeveloperConnect::V1::FetchGitRepositoryLinkFileBlameRequest.
Request message for FetchGitRepositoryLinkFileBlame.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#first_line
def first_line() -> ::Integer
Returns
- (::Integer) — Optional. The 1-indexed starting line number of the range to blame (inclusive). If not specified, blame begins at line 1.
#first_line=
def first_line=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. The 1-indexed starting line number of the range to blame (inclusive). If not specified, blame begins at line 1.
Returns
- (::Integer) — Optional. The 1-indexed starting line number of the range to blame (inclusive). If not specified, blame begins at line 1.
#last_line
def last_line() -> ::Integer
Returns
- (::Integer) — Optional. The 1-indexed ending line number of the range to blame (inclusive). If not specified, blame extends to the end of the file.
#last_line=
def last_line=(value) -> ::Integer
Parameter
- value (::Integer) — 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
- (::Integer) — Optional. The 1-indexed ending line number of the range to blame (inclusive). If not specified, blame extends to the end of the file.
#name
def name() -> ::String
Returns
-
(::String) — Required. The resource name of the GitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. The resource name of the GitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
Returns
-
(::String) — Required. The resource name of the GitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
#path
def path() -> ::String
Returns
- (::String) — Required. The file path within the repository.
#path=
def path=(value) -> ::String
Parameter
- value (::String) — Required. The file path within the repository.
Returns
- (::String) — Required. The file path within the repository.
#ref
def ref() -> ::String
Returns
- (::String) — Required. The SCM commit SHA, or symbolic revision (e.g., branch name, tag) from which to fetch the blame.
#ref=
def ref=(value) -> ::String
Parameter
- value (::String) — Required. The SCM commit SHA, or symbolic revision (e.g., branch name, tag) from which to fetch the blame.
Returns
- (::String) — Required. The SCM commit SHA, or symbolic revision (e.g., branch name, tag) from which to fetch the blame.