Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.RepositoriesResource.PullRequestsResource.PullRequestCommentsResource

The "pullRequestComments" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.RepositoriesResource.PullRequestsResource.PullRequestCommentsResource
Inherited Members
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.PullRequestsResource.PullRequestCommentsResource

Constructors

PullRequestCommentsResource(IClientService)

Constructs a new resource.

Declaration
public PullRequestCommentsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

BatchCreate(BatchCreatePullRequestCommentsRequest, string)

Batch creates pull request comments.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PullRequestsResource.PullRequestCommentsResource.BatchCreateRequest BatchCreate(BatchCreatePullRequestCommentsRequest body, string parent)
Parameters
Type Name Description
BatchCreatePullRequestCommentsRequest body

The body of the request.

string parent

Required. The pull request in which to create the pull request comments. Format: projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.PullRequestsResource.PullRequestCommentsResource.BatchCreateRequest

Create(PullRequestComment, string)

Creates a pull request comment.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PullRequestsResource.PullRequestCommentsResource.CreateRequest Create(PullRequestComment body, string parent)
Parameters
Type Name Description
PullRequestComment body

The body of the request.

string parent

Required. The pull request in which to create the pull request comment. Format: projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.PullRequestsResource.PullRequestCommentsResource.CreateRequest

Delete(string)

Deletes a pull request comment.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PullRequestsResource.PullRequestCommentsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Name of the pull request comment to delete. The format is projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}.

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.PullRequestsResource.PullRequestCommentsResource.DeleteRequest

Get(string)

Gets a pull request comment.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PullRequestsResource.PullRequestCommentsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Name of the pull request comment to retrieve. The format is projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}.

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.PullRequestsResource.PullRequestCommentsResource.GetRequest

List(string)

Lists pull request comments.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PullRequestsResource.PullRequestCommentsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The pull request in which to list pull request comments. Format: projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.PullRequestsResource.PullRequestCommentsResource.ListRequest

Patch(PullRequestComment, string)

Updates a pull request comment.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PullRequestsResource.PullRequestCommentsResource.PatchRequest Patch(PullRequestComment body, string name)
Parameters
Type Name Description
PullRequestComment body

The body of the request.

string name

Identifier. Unique identifier for the pull request comment. The comment id is generated by the server. Format: projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment_id}

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.PullRequestsResource.PullRequestCommentsResource.PatchRequest

Resolve(ResolvePullRequestCommentsRequest, string)

Resolves pull request comments.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PullRequestsResource.PullRequestCommentsResource.ResolveRequest Resolve(ResolvePullRequestCommentsRequest body, string parent)
Parameters
Type Name Description
ResolvePullRequestCommentsRequest body

The body of the request.

string parent

Required. The pull request in which to resolve the pull request comments. Format: projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.PullRequestsResource.PullRequestCommentsResource.ResolveRequest

Unresolve(UnresolvePullRequestCommentsRequest, string)

Unresolves pull request comment.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PullRequestsResource.PullRequestCommentsResource.UnresolveRequest Unresolve(UnresolvePullRequestCommentsRequest body, string parent)
Parameters
Type Name Description
UnresolvePullRequestCommentsRequest body

The body of the request.

string parent

Required. The pull request in which to resolve the pull request comments. Format: projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.PullRequestsResource.PullRequestCommentsResource.UnresolveRequest
In this article
Back to top Generated by DocFX