Class ProjectsResource.LocationsResource.RepositoriesResource.FetchHistoryRequest
Fetches a Repository's history of commits. The Repository must not have a value for
git_remote_settings.url
.
Inheritance
ProjectsResource.LocationsResource.RepositoriesResource.FetchHistoryRequest
Inherited Members
Namespace: Google.Apis.Dataform.v1beta1
Assembly: Google.Apis.Dataform.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.RepositoriesResource.FetchHistoryRequest : DataformBaseServiceRequest<FetchRepositoryHistoryResponse>, IClientServiceRequest<FetchRepositoryHistoryResponse>, IClientServiceRequest
Constructors
FetchHistoryRequest(IClientService, string)
Constructs a new FetchHistory request.
Declaration
public FetchHistoryRequest(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 repository's name.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
PageSize
Optional. Maximum number of commits to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. Page token received from a previous FetchRepositoryHistory
call. Provide this to
retrieve the subsequent page. When paginating, all other parameters provided to
FetchRepositoryHistory
, with the exception of page_size
, 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 |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes FetchHistory parameter list.
Declaration
protected override void InitParameters()