Class ContentService.ContentServiceBase (2.0.0)

[BindServiceMethod(typeof(ContentService), "BindService")]
public abstract class ContentServiceBase

Base class for server-side implementations of ContentService

Inheritance

Object > ContentService.ContentServiceBase

Namespace

Google.Cloud.Dataplex.V1

Assembly

Google.Cloud.Dataplex.V1.dll

Methods

CreateContent(CreateContentRequest, ServerCallContext)

public virtual Task<Content> CreateContent(CreateContentRequest request, ServerCallContext context)

Create a content.

Parameters
Name Description
request CreateContentRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
Task<Content>

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

DeleteContent(DeleteContentRequest, ServerCallContext)

public virtual Task<Empty> DeleteContent(DeleteContentRequest request, ServerCallContext context)

Delete a content.

Parameters
Name Description
request DeleteContentRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
Task<Empty>

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

GetContent(GetContentRequest, ServerCallContext)

public virtual Task<Content> GetContent(GetContentRequest request, ServerCallContext context)

Get a content resource.

Parameters
Name Description
request GetContentRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
Task<Content>

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

ListContent(ListContentRequest, ServerCallContext)

public virtual Task<ListContentResponse> ListContent(ListContentRequest request, ServerCallContext context)

List content.

Parameters
Name Description
request ListContentRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
Task<ListContentResponse>

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

UpdateContent(UpdateContentRequest, ServerCallContext)

public virtual Task<Content> UpdateContent(UpdateContentRequest request, ServerCallContext context)

Update a content. Only supports full resource update.

Parameters
Name Description
request UpdateContentRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
Task<Content>

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