Google Cloud Support v2 API - Class CommentService.CommentServiceBase (1.1.0)

[BindServiceMethod(typeof(CommentService), "BindService")]
public abstract class CommentService.CommentServiceBase

Reference documentation and code samples for the Google Cloud Support v2 API class CommentService.CommentServiceBase.

Base class for server-side implementations of CommentService

Inheritance

object > CommentService.CommentServiceBase

Namespace

Google.Cloud.Support.V2

Assembly

Google.Cloud.Support.V2.dll

Methods

CreateComment(CreateCommentRequest, ServerCallContext)

public virtual Task<Comment> CreateComment(CreateCommentRequest request, ServerCallContext context)

Add a new comment to the specified Case. The comment object must have the following fields set: body.

Parameters
NameDescription
requestCreateCommentRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskComment

The response to send back to the client (wrapped by a task).

ListComments(ListCommentsRequest, ServerCallContext)

public virtual Task<ListCommentsResponse> ListComments(ListCommentsRequest request, ServerCallContext context)

Retrieve all Comments associated with the Case object.

Parameters
NameDescription
requestListCommentsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListCommentsResponse

The response to send back to the client (wrapped by a task).