Class ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchCommitListRequest
Fetch a list of Commits from a Git repository link.
Inheritance
Inherited Members
Namespace: Google.Apis.DeveloperConnect.v1
Assembly: Google.Apis.DeveloperConnect.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchCommitListRequest : DeveloperConnectBaseServiceRequest<FetchGitRepositoryLinkCommitListResponse>, IClientServiceRequest<FetchGitRepositoryLinkCommitListResponse>, IClientServiceRequest
Constructors
FetchCommitListRequest(IClientService, string)
Constructs a new FetchCommitList request.
Declaration
public FetchCommitListRequest(IClientService service, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
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 |
PageSize
Optional. Number of results to return in the list. Default is 50. Max is 100.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
Optional. A page token, received from a previous FetchGitRepositoryLinkCommitList call.
Provide this to retrieve the subsequent page. When paginating, all other parameters provided
to FetchGitRepositoryLinkCommitList must match the call that provided the page token.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Ref
Optional. The commit SHA, or symbolic revision (for example, branch name, tag, or Git reference) from which to start listing commits.
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
View
Optional. The level of commit details to return in the response. Only BASIC is supported;
FULL returns INVALID_ARGUMENT. Defaults to BASIC if unspecified. Use
FetchGitRepositoryLinkCommit to get file diffs for a single commit.
Declaration
[RequestParameter("view", RequestParameterType.Query)]
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchCommitListRequest.ViewEnum? View { get; set; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchCommitListRequest.ViewEnum? |
Methods
InitParameters()
Initializes FetchCommitList parameter list.
Declaration
protected override void InitParameters()