Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.RepositoriesResource.IssuesResource.IssueCommentsResource

The "issueComments" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.RepositoriesResource.IssuesResource.IssueCommentsResource
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.IssuesResource.IssueCommentsResource

Constructors

IssueCommentsResource(IClientService)

Constructs a new resource.

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

Methods

Create(IssueComment, string)

Creates an issue comment.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.IssuesResource.IssueCommentsResource.CreateRequest Create(IssueComment body, string parent)
Parameters
Type Name Description
IssueComment body

The body of the request.

string parent

Required. The issue in which to create the issue comment. Format: projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.IssuesResource.IssueCommentsResource.CreateRequest

Delete(string)

Deletes an issue comment.

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

Required. Name of the issue comment to delete. The format is projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}/issueComments/{comment_id}.

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.IssuesResource.IssueCommentsResource.DeleteRequest

Get(string)

Gets an issue comment.

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

Required. Name of the issue comment to retrieve. The format is projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}/issueComments/{comment_id}.

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.IssuesResource.IssueCommentsResource.GetRequest

List(string)

Lists comments in an issue.

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

Required. The issue in which to list the comments. Format: projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.IssuesResource.IssueCommentsResource.ListRequest

Patch(IssueComment, string)

Updates an issue comment.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.IssuesResource.IssueCommentsResource.PatchRequest Patch(IssueComment body, string name)
Parameters
Type Name Description
IssueComment body

The body of the request.

string name

Identifier. Unique identifier for an issue comment. The comment id is generated by the server. Format: projects/{project}/locations/{location}/repositories/{repository}/issues/{issue}/issueComments/{comment_id}

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.IssuesResource.IssueCommentsResource.PatchRequest
In this article
Back to top Generated by DocFX