Cloud Dataplex v1 API - Class MetadataService.MetadataServiceBase (2.14.0)

[BindServiceMethod(typeof(MetadataService), "BindService")]
public abstract class MetadataService.MetadataServiceBase

Reference documentation and code samples for the Cloud Dataplex v1 API class MetadataService.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
TaskEntity

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
TaskPartition

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
TaskEmpty

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
TaskEmpty

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
TaskEntity

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
TaskPartition

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
TaskListEntitiesResponse

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
TaskListPartitionsResponse

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
TaskEntity

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