Class ProjectsResource.LocationsResource.RepositoriesResource.FetchTreeRequest
Fetches a tree from a repository.
Inheritance
Inherited Members
Namespace: Google.Apis.SecureSourceManager.v1
Assembly: Google.Apis.SecureSourceManager.v1.dll
Syntax
public class ProjectsResource.LocationsResource.RepositoriesResource.FetchTreeRequest : SecureSourceManagerBaseServiceRequest<FetchTreeResponse>, IClientServiceRequest<FetchTreeResponse>, IClientServiceRequest
Constructors
FetchTreeRequest(IClientService, string)
Constructs a new FetchTree request.
Declaration
public FetchTreeRequest(IClientService service, string repository)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | repository |
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
PageSize
Optional. Requested page size. Server may return fewer items than requested. If unspecified, at most 10,000 items will be returned.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
Optional. A token identifying a page of results the server should return.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Recursive
Optional. If true, include all subfolders and their files in the response. If false, only the immediate children are returned.
Declaration
[RequestParameter("recursive", RequestParameterType.Query)]
public virtual bool? Recursive { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Ref
Optional. ref can be a SHA-1 hash, a branch name, or a tag. Specifies which tree to fetch. If
not specified, the default branch will be used.
Declaration
[RequestParameter("ref", RequestParameterType.Query)]
public virtual string Ref { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Repository
Required. The format is
projects/{project_number}/locations/{location_id}/repositories/{repository_id}. Specifies the
repository to fetch the tree from.
Declaration
[RequestParameter("repository", RequestParameterType.Path)]
public virtual string Repository { get; }
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 FetchTree parameter list.
Declaration
protected override void InitParameters()