Class ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchFileBlameRequest
Fetches blame information for a file or line range in a file.
Inheritance
ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchFileBlameRequest
Inherited Members
Namespace: Google.Apis.DeveloperConnect.v1
Assembly: Google.Apis.DeveloperConnect.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchFileBlameRequest : DeveloperConnectBaseServiceRequest<FetchGitRepositoryLinkFileBlameResponse>, IClientServiceRequest<FetchGitRepositoryLinkFileBlameResponse>, IClientServiceRequest
Constructors
FetchFileBlameRequest(IClientService, string)
Constructs a new FetchFileBlame request.
Declaration
public FetchFileBlameRequest(IClientService service, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | name |
Properties
FirstLine
Optional. The 1-indexed starting line number of the range to blame (inclusive). If not specified, blame begins at line 1.
Declaration
[RequestParameter("firstLine", RequestParameterType.Query)]
public virtual int? FirstLine { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
LastLine
Optional. The 1-indexed ending line number of the range to blame (inclusive). If not specified, blame extends to the end of the file.
Declaration
[RequestParameter("lastLine", RequestParameterType.Query)]
public virtual int? LastLine { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Required. The resource name of the GitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Path
Required. The file path within the repository.
Declaration
[RequestParameter("path", RequestParameterType.Query)]
public virtual string Path { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Ref
Required. The SCM commit SHA, or symbolic revision (for example, branch name, tag) from which to fetch the blame.
Declaration
[RequestParameter("ref", RequestParameterType.Query)]
public virtual string Ref { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes FetchFileBlame parameter list.
Declaration
protected override void InitParameters()