Cloud Dataplex v1 API - Class DataProductService.DataProductServiceBase (3.13.0)

[BindServiceMethod(typeof(DataProductService), "BindService")]
public abstract class DataProductService.DataProductServiceBase

Reference documentation and code samples for the Cloud Dataplex v1 API class DataProductService.DataProductServiceBase.

Base class for server-side implementations of DataProductService

Inheritance

object > DataProductService.DataProductServiceBase

Namespace

Google.Cloud.Dataplex.V1

Assembly

Google.Cloud.Dataplex.V1.dll

Methods

CreateDataAsset(CreateDataAssetRequest, ServerCallContext)

public virtual Task<Operation> CreateDataAsset(CreateDataAssetRequest request, ServerCallContext context)

Creates a data asset.

Parameters
Name Description
request CreateDataAssetRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

CreateDataProduct(CreateDataProductRequest, ServerCallContext)

public virtual Task<Operation> CreateDataProduct(CreateDataProductRequest request, ServerCallContext context)

Creates a data product.

Parameters
Name Description
request CreateDataProductRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

DeleteDataAsset(DeleteDataAssetRequest, ServerCallContext)

public virtual Task<Operation> DeleteDataAsset(DeleteDataAssetRequest request, ServerCallContext context)

Deletes a data asset.

Parameters
Name Description
request DeleteDataAssetRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

DeleteDataProduct(DeleteDataProductRequest, ServerCallContext)

public virtual Task<Operation> DeleteDataProduct(DeleteDataProductRequest request, ServerCallContext context)

Deletes a data product. The deletion will fail if the data product is not empty (i.e. contains at least one data asset).

Parameters
Name Description
request DeleteDataProductRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

GetDataAsset(GetDataAssetRequest, ServerCallContext)

public virtual Task<DataAsset> GetDataAsset(GetDataAssetRequest request, ServerCallContext context)

Gets a data asset.

Parameters
Name Description
request GetDataAssetRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskDataAsset

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

GetDataProduct(GetDataProductRequest, ServerCallContext)

public virtual Task<DataProduct> GetDataProduct(GetDataProductRequest request, ServerCallContext context)

Gets a data product.

Parameters
Name Description
request GetDataProductRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskDataProduct

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

ListDataAssets(ListDataAssetsRequest, ServerCallContext)

public virtual Task<ListDataAssetsResponse> ListDataAssets(ListDataAssetsRequest request, ServerCallContext context)

Lists data assets for a given data product.

Parameters
Name Description
request ListDataAssetsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListDataAssetsResponse

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

ListDataProducts(ListDataProductsRequest, ServerCallContext)

public virtual Task<ListDataProductsResponse> ListDataProducts(ListDataProductsRequest request, ServerCallContext context)

Lists data products for a given project.

Parameters
Name Description
request ListDataProductsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListDataProductsResponse

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

UpdateDataAsset(UpdateDataAssetRequest, ServerCallContext)

public virtual Task<Operation> UpdateDataAsset(UpdateDataAssetRequest request, ServerCallContext context)

Updates a data asset.

Parameters
Name Description
request UpdateDataAssetRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

UpdateDataProduct(UpdateDataProductRequest, ServerCallContext)

public virtual Task<Operation> UpdateDataProduct(UpdateDataProductRequest request, ServerCallContext context)

Updates a data product.

Parameters
Name Description
request UpdateDataProductRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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