Class ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchPullRequestRequest
Fetch Pull Request details from a Git repository link.
Inheritance
ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchPullRequestRequest
Inherited Members
Namespace: Google.Apis.DeveloperConnect.v1
Assembly: Google.Apis.DeveloperConnect.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchPullRequestRequest : DeveloperConnectBaseServiceRequest<PullRequest>, IClientServiceRequest<PullRequest>, IClientServiceRequest
Constructors
FetchPullRequestRequest(IClientService, string)
Constructs a new FetchPullRequest request.
Declaration
public FetchPullRequestRequest(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 resource name of the GitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
PullRequestId
Required. The ID of the Pull Request.
Declaration
[RequestParameter("pullRequestId", RequestParameterType.Query)]
public virtual string PullRequestId { 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 FetchPullRequest parameter list.
Declaration
protected override void InitParameters()