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
NameDescription
requestCreateContentRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestDeleteContentRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetContentRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListContentRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestUpdateContentRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Content>

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