[BindServiceMethod(typeof(MetadataService), "BindService")]
public abstract class 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 | CreateEntityRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreatePartitionRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteEntityRequest 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). |
DeletePartition(DeletePartitionRequest, ServerCallContext)
public virtual Task<Empty> DeletePartition(DeletePartitionRequest request, ServerCallContext context)
Delete a metadata partition.
Parameters | |
---|---|
Name | Description |
request | DeletePartitionRequest 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). |
GetEntity(GetEntityRequest, ServerCallContext)
public virtual Task<Entity> GetEntity(GetEntityRequest request, ServerCallContext context)
Get a metadata entity.
Parameters | |
---|---|
Name | Description |
request | GetEntityRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetPartitionRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListEntitiesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListPartitionsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateEntityRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Entity> | The response to send back to the client (wrapped by a task). |