Class ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchPullRequestListRequest
Fetches a list of Pull Requests from the remote repository.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.DeveloperConnect.v1
Assembly: Google.Apis.DeveloperConnect.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchPullRequestListRequest : DeveloperConnectBaseServiceRequest<FetchGitRepositoryLinkPullRequestListResponse>, IClientServiceRequest<FetchGitRepositoryLinkPullRequestListResponse>, IClientServiceRequest
Constructors
FetchPullRequestListRequest(IClientService, string)
Constructs a new FetchPullRequestList request.
Declaration
public FetchPullRequestListRequest(IClientService service, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | name |
Properties
Filter
Optional. A filter expression that filters the pull requests returned in the response. Only
a single equality comparison on state is supported, for example state = "OPEN".
Supported values are OPEN, CLOSED, and MERGED. DECLINED is only supported for SCM
providers that support declining pull requests, and returns INVALID_ARGUMENT for GitHub,
GitHub Enterprise, GitLab, and GitLab Enterprise. Other values or expressions return
INVALID_ARGUMENT. Defaults to state = "OPEN" if unspecified.
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
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
Name
Required. The GitRepositoryLink resource name 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 20. Max is 100. A page may
contain fewer than page_size results even when more results are available; use
next_page_token to check for more pages.
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 FetchGitRepositoryLinkPullRequestList
call. Provide this to retrieve the subsequent page.
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 FetchPullRequestList parameter list.
Declaration
protected override void InitParameters()