[BindServiceMethod(typeof(DataProductService), "BindService")]
public abstract class DataProductService.DataProductServiceBaseReference documentation and code samples for the Cloud Dataplex v1 API class DataProductService.DataProductServiceBase.
Base class for server-side implementations of DataProductService
Namespace
Google.Cloud.Dataplex.V1Assembly
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 |
CreateDataAssetRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
CreateDataProductRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DeleteDataAssetRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DeleteDataProductRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetDataAssetRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetDataProductRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListDataAssetsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListDataProductsRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
RequestDataProductAccess(RequestDataProductAccessRequest, ServerCallContext)
public virtual Task<RequestDataProductAccessResponse> RequestDataProductAccess(RequestDataProductAccessRequest request, ServerCallContext context)Requests access to a data product. This will trigger an access approval workflow, and the requester will need to wait for the approval to be granted before they will be able to access the data product assets.
| Parameters | |
|---|---|
| Name | Description |
request |
RequestDataProductAccessRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskRequestDataProductAccessResponse |
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 |
UpdateDataAssetRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
UpdateDataProductRequestThe request received from the client. |
context |
ServerCallContextThe 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). |