Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.RepositoriesResource.FetchTreeRequest

Fetches a tree from a repository.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<FetchTreeResponse>
SecureSourceManagerBaseServiceRequest<FetchTreeResponse>
ProjectsResource.LocationsResource.RepositoriesResource.FetchTreeRequest
Implements
IClientServiceRequest<FetchTreeResponse>
IClientServiceRequest
Inherited Members
SecureSourceManagerBaseServiceRequest<FetchTreeResponse>.Xgafv
SecureSourceManagerBaseServiceRequest<FetchTreeResponse>.AccessToken
SecureSourceManagerBaseServiceRequest<FetchTreeResponse>.Alt
SecureSourceManagerBaseServiceRequest<FetchTreeResponse>.Callback
SecureSourceManagerBaseServiceRequest<FetchTreeResponse>.Fields
SecureSourceManagerBaseServiceRequest<FetchTreeResponse>.Key
SecureSourceManagerBaseServiceRequest<FetchTreeResponse>.OauthToken
SecureSourceManagerBaseServiceRequest<FetchTreeResponse>.PrettyPrint
SecureSourceManagerBaseServiceRequest<FetchTreeResponse>.QuotaUser
SecureSourceManagerBaseServiceRequest<FetchTreeResponse>.UploadType
SecureSourceManagerBaseServiceRequest<FetchTreeResponse>.UploadProtocol
ClientServiceRequest<FetchTreeResponse>.Execute()
ClientServiceRequest<FetchTreeResponse>.ExecuteAsStream()
ClientServiceRequest<FetchTreeResponse>.ExecuteAsync()
ClientServiceRequest<FetchTreeResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<FetchTreeResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<FetchTreeResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<FetchTreeResponse>.CreateRequest(bool?)
ClientServiceRequest<FetchTreeResponse>.GenerateRequestUri()
ClientServiceRequest<FetchTreeResponse>.GetBody()
ClientServiceRequest<FetchTreeResponse>.GetDefaultETagAction(string)
ClientServiceRequest<FetchTreeResponse>.ETagAction
ClientServiceRequest<FetchTreeResponse>.ModifyRequest
ClientServiceRequest<FetchTreeResponse>.ValidateParameters
ClientServiceRequest<FetchTreeResponse>.ApiVersion
ClientServiceRequest<FetchTreeResponse>.RequestParameters
ClientServiceRequest<FetchTreeResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
ClientServiceRequest<FetchTreeResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<FetchTreeResponse>.MethodName

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
ClientServiceRequest<FetchTreeResponse>.RestPath

Methods

InitParameters()

Initializes FetchTree parameter list.

Declaration
protected override void InitParameters()
Overrides
SecureSourceManagerBaseServiceRequest<FetchTreeResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX