Class ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchGitRefsRequest
Fetch the list of branches or tags for a given repository.
Inheritance
ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchGitRefsRequest
Inherited Members
Namespace: Google.Apis.DeveloperConnect.v1
Assembly: Google.Apis.DeveloperConnect.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchGitRefsRequest : DeveloperConnectBaseServiceRequest<FetchGitRefsResponse>, IClientServiceRequest<FetchGitRefsResponse>, IClientServiceRequest
Constructors
FetchGitRefsRequest(IClientService, string)
Constructs a new FetchGitRefs request.
Declaration
public FetchGitRefsRequest(IClientService service, string gitRepositoryLink)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | gitRepositoryLink |
Properties
GitRepositoryLink
Required. The resource name of GitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
.
Declaration
[RequestParameter("gitRepositoryLink", RequestParameterType.Path)]
public virtual string GitRepositoryLink { get; }
Property Value
Type | Description |
---|---|
string |
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. Number of results to return in the list. Default to 20.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. Page start.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
RefType
Required. Type of refs to fetch.
Declaration
[RequestParameter("refType", RequestParameterType.Query)]
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchGitRefsRequest.RefTypeEnum? RefType { get; set; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchGitRefsRequest.RefTypeEnum? |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes FetchGitRefs parameter list.
Declaration
protected override void InitParameters()