Cloud Dataplex v1 API - Class MetadataService.MetadataServiceBase (2.6.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
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).

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月05日 UTC.