Class MetadataService.MetadataServiceBase (2.1.0)

Stay organized with collections Save and categorize content based on your preferences.
[BindServiceMethod(typeof(MetadataService), "BindService")]
public abstract class MetadataServiceBase

Base class for server-side implementations of MetadataService

Inheritance

Object > MetadataService.MetadataServiceBase

Namespace

Google.Cloud.Dataplex.V1

Assembly

Google.Cloud.Dataplex.V1.dll

Methods

CreateEntity(CreateEntityRequest, ServerCallContext)

public virtual Task<Entity> CreateEntity(CreateEntityRequest request, ServerCallContext context)

Create a metadata entity.

Parameters
NameDescription
requestCreateEntityRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Entity>

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

CreatePartition(CreatePartitionRequest, ServerCallContext)

public virtual Task<Partition> CreatePartition(CreatePartitionRequest request, ServerCallContext context)

Create a metadata partition.

Parameters
NameDescription
requestCreatePartitionRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Partition>

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

DeleteEntity(DeleteEntityRequest, ServerCallContext)

public virtual Task<Empty> DeleteEntity(DeleteEntityRequest request, ServerCallContext context)

Delete a metadata entity.

Parameters
NameDescription
requestDeleteEntityRequest

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).

DeletePartition(DeletePartitionRequest, ServerCallContext)

public virtual Task<Empty> DeletePartition(DeletePartitionRequest request, ServerCallContext context)

Delete a metadata partition.

Parameters
NameDescription
requestDeletePartitionRequest

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).

GetEntity(GetEntityRequest, ServerCallContext)

public virtual Task<Entity> GetEntity(GetEntityRequest request, ServerCallContext context)

Get a metadata entity.

Parameters
NameDescription
requestGetEntityRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Entity>

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

GetPartition(GetPartitionRequest, ServerCallContext)

public virtual Task<Partition> GetPartition(GetPartitionRequest request, ServerCallContext context)

Get a metadata partition of an entity.

Parameters
NameDescription
requestGetPartitionRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Partition>

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

ListEntities(ListEntitiesRequest, ServerCallContext)

public virtual Task<ListEntitiesResponse> ListEntities(ListEntitiesRequest request, ServerCallContext context)

List metadata entities in a zone.

Parameters
NameDescription
requestListEntitiesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<ListEntitiesResponse>

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

ListPartitions(ListPartitionsRequest, ServerCallContext)

public virtual Task<ListPartitionsResponse> ListPartitions(ListPartitionsRequest request, ServerCallContext context)

List metadata partitions of an entity.

Parameters
NameDescription
requestListPartitionsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<ListPartitionsResponse>

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

UpdateEntity(UpdateEntityRequest, ServerCallContext)

public virtual Task<Entity> UpdateEntity(UpdateEntityRequest request, ServerCallContext context)

Update a metadata entity. Only supports full resource update.

Parameters
NameDescription
requestUpdateEntityRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Entity>

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