Cloud AI Platform v1 API - Class DatasetService.DatasetServiceBase (3.0.0)

[BindServiceMethod(typeof(DatasetService), "BindService")]
public abstract class DatasetService.DatasetServiceBase

Reference documentation and code samples for the Cloud AI Platform v1 API class DatasetService.DatasetServiceBase.

Base class for server-side implementations of DatasetService

Inheritance

object > DatasetService.DatasetServiceBase

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Methods

CreateDataset(CreateDatasetRequest, ServerCallContext)

public virtual Task<Operation> CreateDataset(CreateDatasetRequest request, ServerCallContext context)

Creates a Dataset.

Parameters
Name Description
request CreateDatasetRequest

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).

CreateDatasetVersion(CreateDatasetVersionRequest, ServerCallContext)

public virtual Task<Operation> CreateDatasetVersion(CreateDatasetVersionRequest request, ServerCallContext context)

Create a version from a Dataset.

Parameters
Name Description
request CreateDatasetVersionRequest

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).

DeleteDataset(DeleteDatasetRequest, ServerCallContext)

public virtual Task<Operation> DeleteDataset(DeleteDatasetRequest request, ServerCallContext context)

Deletes a Dataset.

Parameters
Name Description
request DeleteDatasetRequest

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).

DeleteDatasetVersion(DeleteDatasetVersionRequest, ServerCallContext)

public virtual Task<Operation> DeleteDatasetVersion(DeleteDatasetVersionRequest request, ServerCallContext context)

Deletes a Dataset version.

Parameters
Name Description
request DeleteDatasetVersionRequest

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).

DeleteSavedQuery(DeleteSavedQueryRequest, ServerCallContext)

public virtual Task<Operation> DeleteSavedQuery(DeleteSavedQueryRequest request, ServerCallContext context)

Deletes a SavedQuery.

Parameters
Name Description
request DeleteSavedQueryRequest

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).

ExportData(ExportDataRequest, ServerCallContext)

public virtual Task<Operation> ExportData(ExportDataRequest request, ServerCallContext context)

Exports data from a Dataset.

Parameters
Name Description
request ExportDataRequest

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).

GetAnnotationSpec(GetAnnotationSpecRequest, ServerCallContext)

public virtual Task<AnnotationSpec> GetAnnotationSpec(GetAnnotationSpecRequest request, ServerCallContext context)

Gets an AnnotationSpec.

Parameters
Name Description
request GetAnnotationSpecRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskAnnotationSpec

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

GetDataset(GetDatasetRequest, ServerCallContext)

public virtual Task<Dataset> GetDataset(GetDatasetRequest request, ServerCallContext context)

Gets a Dataset.

Parameters
Name Description
request GetDatasetRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskDataset

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

GetDatasetVersion(GetDatasetVersionRequest, ServerCallContext)

public virtual Task<DatasetVersion> GetDatasetVersion(GetDatasetVersionRequest request, ServerCallContext context)

Gets a Dataset version.

Parameters
Name Description
request GetDatasetVersionRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskDatasetVersion

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

ImportData(ImportDataRequest, ServerCallContext)

public virtual Task<Operation> ImportData(ImportDataRequest request, ServerCallContext context)

Imports data into a Dataset.

Parameters
Name Description
request ImportDataRequest

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).

ListAnnotations(ListAnnotationsRequest, ServerCallContext)

public virtual Task<ListAnnotationsResponse> ListAnnotations(ListAnnotationsRequest request, ServerCallContext context)

Lists Annotations belongs to a dataitem

Parameters
Name Description
request ListAnnotationsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListAnnotationsResponse

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

ListDataItems(ListDataItemsRequest, ServerCallContext)

public virtual Task<ListDataItemsResponse> ListDataItems(ListDataItemsRequest request, ServerCallContext context)

Lists DataItems in a Dataset.

Parameters
Name Description
request ListDataItemsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListDataItemsResponse

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

ListDatasetVersions(ListDatasetVersionsRequest, ServerCallContext)

public virtual Task<ListDatasetVersionsResponse> ListDatasetVersions(ListDatasetVersionsRequest request, ServerCallContext context)

Lists DatasetVersions in a Dataset.

Parameters
Name Description
request ListDatasetVersionsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListDatasetVersionsResponse

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

ListDatasets(ListDatasetsRequest, ServerCallContext)

public virtual Task<ListDatasetsResponse> ListDatasets(ListDatasetsRequest request, ServerCallContext context)

Lists Datasets in a Location.

Parameters
Name Description
request ListDatasetsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListDatasetsResponse

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

ListSavedQueries(ListSavedQueriesRequest, ServerCallContext)

public virtual Task<ListSavedQueriesResponse> ListSavedQueries(ListSavedQueriesRequest request, ServerCallContext context)

Lists SavedQueries in a Dataset.

Parameters
Name Description
request ListSavedQueriesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListSavedQueriesResponse

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

RestoreDatasetVersion(RestoreDatasetVersionRequest, ServerCallContext)

public virtual Task<Operation> RestoreDatasetVersion(RestoreDatasetVersionRequest request, ServerCallContext context)

Restores a dataset version.

Parameters
Name Description
request RestoreDatasetVersionRequest

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).

SearchDataItems(SearchDataItemsRequest, ServerCallContext)

public virtual Task<SearchDataItemsResponse> SearchDataItems(SearchDataItemsRequest request, ServerCallContext context)

Searches DataItems in a Dataset.

Parameters
Name Description
request SearchDataItemsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskSearchDataItemsResponse

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

UpdateDataset(UpdateDatasetRequest, ServerCallContext)

public virtual Task<Dataset> UpdateDataset(UpdateDatasetRequest request, ServerCallContext context)

Updates a Dataset.

Parameters
Name Description
request UpdateDatasetRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskDataset

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

UpdateDatasetVersion(UpdateDatasetVersionRequest, ServerCallContext)

public virtual Task<DatasetVersion> UpdateDatasetVersion(UpdateDatasetVersionRequest request, ServerCallContext context)

Updates a DatasetVersion.

Parameters
Name Description
request UpdateDatasetVersionRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskDatasetVersion

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