[BindServiceMethod(typeof(MetadataService), "BindService")]
public abstract class MetadataService.MetadataServiceBaseReference documentation and code samples for the Cloud Dataplex v1 API class MetadataService.MetadataServiceBase.
Base class for server-side implementations of MetadataService
Namespace
Google.Cloud.Dataplex.V1Assembly
Google.Cloud.Dataplex.V1.dll
Methods
CreateEntity(CreateEntityRequest, ServerCallContext)
public virtual Task<Entity> CreateEntity(CreateEntityRequest request, ServerCallContext context)Create a metadata entity.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEntityRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
CreatePartitionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
DeleteEntityRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
DeletePartitionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetEntityRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetPartitionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListEntitiesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListPartitionsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
UpdateEntityRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEntity |
The response to send back to the client (wrapped by a task). |