Represents a DatasetService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.aiplatform.v1.DatasetServicePackage
@google-cloud/aiplatformConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new DatasetService service.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): DatasetService;
Creates new DatasetService service using the specified rpc implementation.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Returns | |
---|---|
Type | Description |
DatasetService | RPC service. Useful where requests and/or responses are streamed. |
createDataset(request, callback)
public createDataset(request: google.cloud.aiplatform.v1.ICreateDatasetRequest, callback: google.cloud.aiplatform.v1.DatasetService.CreateDatasetCallback): void;
Calls CreateDataset.
Parameters | |
---|---|
Name | Description |
request |
ICreateDatasetRequest
CreateDatasetRequest message or plain object |
callback |
CreateDatasetCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createDataset(request)
public createDataset(request: google.cloud.aiplatform.v1.ICreateDatasetRequest): Promise<google.longrunning.Operation>;
Calls CreateDataset.
Parameter | |
---|---|
Name | Description |
request |
ICreateDatasetRequest
CreateDatasetRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
createDatasetVersion(request, callback)
public createDatasetVersion(request: google.cloud.aiplatform.v1.ICreateDatasetVersionRequest, callback: google.cloud.aiplatform.v1.DatasetService.CreateDatasetVersionCallback): void;
Calls CreateDatasetVersion.
Parameters | |
---|---|
Name | Description |
request |
ICreateDatasetVersionRequest
CreateDatasetVersionRequest message or plain object |
callback |
CreateDatasetVersionCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createDatasetVersion(request)
public createDatasetVersion(request: google.cloud.aiplatform.v1.ICreateDatasetVersionRequest): Promise<google.longrunning.Operation>;
Calls CreateDatasetVersion.
Parameter | |
---|---|
Name | Description |
request |
ICreateDatasetVersionRequest
CreateDatasetVersionRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteDataset(request, callback)
public deleteDataset(request: google.cloud.aiplatform.v1.IDeleteDatasetRequest, callback: google.cloud.aiplatform.v1.DatasetService.DeleteDatasetCallback): void;
Calls DeleteDataset.
Parameters | |
---|---|
Name | Description |
request |
IDeleteDatasetRequest
DeleteDatasetRequest message or plain object |
callback |
DeleteDatasetCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deleteDataset(request)
public deleteDataset(request: google.cloud.aiplatform.v1.IDeleteDatasetRequest): Promise<google.longrunning.Operation>;
Calls DeleteDataset.
Parameter | |
---|---|
Name | Description |
request |
IDeleteDatasetRequest
DeleteDatasetRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteDatasetVersion(request, callback)
public deleteDatasetVersion(request: google.cloud.aiplatform.v1.IDeleteDatasetVersionRequest, callback: google.cloud.aiplatform.v1.DatasetService.DeleteDatasetVersionCallback): void;
Calls DeleteDatasetVersion.
Parameters | |
---|---|
Name | Description |
request |
IDeleteDatasetVersionRequest
DeleteDatasetVersionRequest message or plain object |
callback |
DeleteDatasetVersionCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deleteDatasetVersion(request)
public deleteDatasetVersion(request: google.cloud.aiplatform.v1.IDeleteDatasetVersionRequest): Promise<google.longrunning.Operation>;
Calls DeleteDatasetVersion.
Parameter | |
---|---|
Name | Description |
request |
IDeleteDatasetVersionRequest
DeleteDatasetVersionRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteSavedQuery(request, callback)
public deleteSavedQuery(request: google.cloud.aiplatform.v1.IDeleteSavedQueryRequest, callback: google.cloud.aiplatform.v1.DatasetService.DeleteSavedQueryCallback): void;
Calls DeleteSavedQuery.
Parameters | |
---|---|
Name | Description |
request |
IDeleteSavedQueryRequest
DeleteSavedQueryRequest message or plain object |
callback |
DeleteSavedQueryCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deleteSavedQuery(request)
public deleteSavedQuery(request: google.cloud.aiplatform.v1.IDeleteSavedQueryRequest): Promise<google.longrunning.Operation>;
Calls DeleteSavedQuery.
Parameter | |
---|---|
Name | Description |
request |
IDeleteSavedQueryRequest
DeleteSavedQueryRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
exportData(request, callback)
public exportData(request: google.cloud.aiplatform.v1.IExportDataRequest, callback: google.cloud.aiplatform.v1.DatasetService.ExportDataCallback): void;
Calls ExportData.
Parameters | |
---|---|
Name | Description |
request |
IExportDataRequest
ExportDataRequest message or plain object |
callback |
ExportDataCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
exportData(request)
public exportData(request: google.cloud.aiplatform.v1.IExportDataRequest): Promise<google.longrunning.Operation>;
Calls ExportData.
Parameter | |
---|---|
Name | Description |
request |
IExportDataRequest
ExportDataRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
getAnnotationSpec(request, callback)
public getAnnotationSpec(request: google.cloud.aiplatform.v1.IGetAnnotationSpecRequest, callback: google.cloud.aiplatform.v1.DatasetService.GetAnnotationSpecCallback): void;
Calls GetAnnotationSpec.
Parameters | |
---|---|
Name | Description |
request |
IGetAnnotationSpecRequest
GetAnnotationSpecRequest message or plain object |
callback |
GetAnnotationSpecCallback
Node-style callback called with the error, if any, and AnnotationSpec |
Returns | |
---|---|
Type | Description |
void |
getAnnotationSpec(request)
public getAnnotationSpec(request: google.cloud.aiplatform.v1.IGetAnnotationSpecRequest): Promise<google.cloud.aiplatform.v1.AnnotationSpec>;
Calls GetAnnotationSpec.
Parameter | |
---|---|
Name | Description |
request |
IGetAnnotationSpecRequest
GetAnnotationSpecRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.aiplatform.v1.AnnotationSpec> | Promise |
getDataset(request, callback)
public getDataset(request: google.cloud.aiplatform.v1.IGetDatasetRequest, callback: google.cloud.aiplatform.v1.DatasetService.GetDatasetCallback): void;
Calls GetDataset.
Parameters | |
---|---|
Name | Description |
request |
IGetDatasetRequest
GetDatasetRequest message or plain object |
callback |
GetDatasetCallback
Node-style callback called with the error, if any, and Dataset |
Returns | |
---|---|
Type | Description |
void |
getDataset(request)
public getDataset(request: google.cloud.aiplatform.v1.IGetDatasetRequest): Promise<google.cloud.aiplatform.v1.Dataset>;
Calls GetDataset.
Parameter | |
---|---|
Name | Description |
request |
IGetDatasetRequest
GetDatasetRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.aiplatform.v1.Dataset> | Promise |
getDatasetVersion(request, callback)
public getDatasetVersion(request: google.cloud.aiplatform.v1.IGetDatasetVersionRequest, callback: google.cloud.aiplatform.v1.DatasetService.GetDatasetVersionCallback): void;
Calls GetDatasetVersion.
Parameters | |
---|---|
Name | Description |
request |
IGetDatasetVersionRequest
GetDatasetVersionRequest message or plain object |
callback |
GetDatasetVersionCallback
Node-style callback called with the error, if any, and DatasetVersion |
Returns | |
---|---|
Type | Description |
void |
getDatasetVersion(request)
public getDatasetVersion(request: google.cloud.aiplatform.v1.IGetDatasetVersionRequest): Promise<google.cloud.aiplatform.v1.DatasetVersion>;
Calls GetDatasetVersion.
Parameter | |
---|---|
Name | Description |
request |
IGetDatasetVersionRequest
GetDatasetVersionRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.aiplatform.v1.DatasetVersion> | Promise |
importData(request, callback)
public importData(request: google.cloud.aiplatform.v1.IImportDataRequest, callback: google.cloud.aiplatform.v1.DatasetService.ImportDataCallback): void;
Calls ImportData.
Parameters | |
---|---|
Name | Description |
request |
IImportDataRequest
ImportDataRequest message or plain object |
callback |
ImportDataCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
importData(request)
public importData(request: google.cloud.aiplatform.v1.IImportDataRequest): Promise<google.longrunning.Operation>;
Calls ImportData.
Parameter | |
---|---|
Name | Description |
request |
IImportDataRequest
ImportDataRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
listAnnotations(request, callback)
public listAnnotations(request: google.cloud.aiplatform.v1.IListAnnotationsRequest, callback: google.cloud.aiplatform.v1.DatasetService.ListAnnotationsCallback): void;
Calls ListAnnotations.
Parameters | |
---|---|
Name | Description |
request |
IListAnnotationsRequest
ListAnnotationsRequest message or plain object |
callback |
ListAnnotationsCallback
Node-style callback called with the error, if any, and ListAnnotationsResponse |
Returns | |
---|---|
Type | Description |
void |
listAnnotations(request)
public listAnnotations(request: google.cloud.aiplatform.v1.IListAnnotationsRequest): Promise<google.cloud.aiplatform.v1.ListAnnotationsResponse>;
Calls ListAnnotations.
Parameter | |
---|---|
Name | Description |
request |
IListAnnotationsRequest
ListAnnotationsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.aiplatform.v1.ListAnnotationsResponse> | Promise |
listDataItems(request, callback)
public listDataItems(request: google.cloud.aiplatform.v1.IListDataItemsRequest, callback: google.cloud.aiplatform.v1.DatasetService.ListDataItemsCallback): void;
Calls ListDataItems.
Parameters | |
---|---|
Name | Description |
request |
IListDataItemsRequest
ListDataItemsRequest message or plain object |
callback |
ListDataItemsCallback
Node-style callback called with the error, if any, and ListDataItemsResponse |
Returns | |
---|---|
Type | Description |
void |
listDataItems(request)
public listDataItems(request: google.cloud.aiplatform.v1.IListDataItemsRequest): Promise<google.cloud.aiplatform.v1.ListDataItemsResponse>;
Calls ListDataItems.
Parameter | |
---|---|
Name | Description |
request |
IListDataItemsRequest
ListDataItemsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.aiplatform.v1.ListDataItemsResponse> | Promise |
listDatasets(request, callback)
public listDatasets(request: google.cloud.aiplatform.v1.IListDatasetsRequest, callback: google.cloud.aiplatform.v1.DatasetService.ListDatasetsCallback): void;
Calls ListDatasets.
Parameters | |
---|---|
Name | Description |
request |
IListDatasetsRequest
ListDatasetsRequest message or plain object |
callback |
ListDatasetsCallback
Node-style callback called with the error, if any, and ListDatasetsResponse |
Returns | |
---|---|
Type | Description |
void |
listDatasets(request)
public listDatasets(request: google.cloud.aiplatform.v1.IListDatasetsRequest): Promise<google.cloud.aiplatform.v1.ListDatasetsResponse>;
Calls ListDatasets.
Parameter | |
---|---|
Name | Description |
request |
IListDatasetsRequest
ListDatasetsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.aiplatform.v1.ListDatasetsResponse> | Promise |
listDatasetVersions(request, callback)
public listDatasetVersions(request: google.cloud.aiplatform.v1.IListDatasetVersionsRequest, callback: google.cloud.aiplatform.v1.DatasetService.ListDatasetVersionsCallback): void;
Calls ListDatasetVersions.
Parameters | |
---|---|
Name | Description |
request |
IListDatasetVersionsRequest
ListDatasetVersionsRequest message or plain object |
callback |
ListDatasetVersionsCallback
Node-style callback called with the error, if any, and ListDatasetVersionsResponse |
Returns | |
---|---|
Type | Description |
void |
listDatasetVersions(request)
public listDatasetVersions(request: google.cloud.aiplatform.v1.IListDatasetVersionsRequest): Promise<google.cloud.aiplatform.v1.ListDatasetVersionsResponse>;
Calls ListDatasetVersions.
Parameter | |
---|---|
Name | Description |
request |
IListDatasetVersionsRequest
ListDatasetVersionsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.aiplatform.v1.ListDatasetVersionsResponse> | Promise |
listSavedQueries(request, callback)
public listSavedQueries(request: google.cloud.aiplatform.v1.IListSavedQueriesRequest, callback: google.cloud.aiplatform.v1.DatasetService.ListSavedQueriesCallback): void;
Calls ListSavedQueries.
Parameters | |
---|---|
Name | Description |
request |
IListSavedQueriesRequest
ListSavedQueriesRequest message or plain object |
callback |
ListSavedQueriesCallback
Node-style callback called with the error, if any, and ListSavedQueriesResponse |
Returns | |
---|---|
Type | Description |
void |
listSavedQueries(request)
public listSavedQueries(request: google.cloud.aiplatform.v1.IListSavedQueriesRequest): Promise<google.cloud.aiplatform.v1.ListSavedQueriesResponse>;
Calls ListSavedQueries.
Parameter | |
---|---|
Name | Description |
request |
IListSavedQueriesRequest
ListSavedQueriesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.aiplatform.v1.ListSavedQueriesResponse> | Promise |
restoreDatasetVersion(request, callback)
public restoreDatasetVersion(request: google.cloud.aiplatform.v1.IRestoreDatasetVersionRequest, callback: google.cloud.aiplatform.v1.DatasetService.RestoreDatasetVersionCallback): void;
Calls RestoreDatasetVersion.
Parameters | |
---|---|
Name | Description |
request |
IRestoreDatasetVersionRequest
RestoreDatasetVersionRequest message or plain object |
callback |
RestoreDatasetVersionCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
restoreDatasetVersion(request)
public restoreDatasetVersion(request: google.cloud.aiplatform.v1.IRestoreDatasetVersionRequest): Promise<google.longrunning.Operation>;
Calls RestoreDatasetVersion.
Parameter | |
---|---|
Name | Description |
request |
IRestoreDatasetVersionRequest
RestoreDatasetVersionRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
searchDataItems(request, callback)
public searchDataItems(request: google.cloud.aiplatform.v1.ISearchDataItemsRequest, callback: google.cloud.aiplatform.v1.DatasetService.SearchDataItemsCallback): void;
Calls SearchDataItems.
Parameters | |
---|---|
Name | Description |
request |
ISearchDataItemsRequest
SearchDataItemsRequest message or plain object |
callback |
SearchDataItemsCallback
Node-style callback called with the error, if any, and SearchDataItemsResponse |
Returns | |
---|---|
Type | Description |
void |
searchDataItems(request)
public searchDataItems(request: google.cloud.aiplatform.v1.ISearchDataItemsRequest): Promise<google.cloud.aiplatform.v1.SearchDataItemsResponse>;
Calls SearchDataItems.
Parameter | |
---|---|
Name | Description |
request |
ISearchDataItemsRequest
SearchDataItemsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.aiplatform.v1.SearchDataItemsResponse> | Promise |
updateDataset(request, callback)
public updateDataset(request: google.cloud.aiplatform.v1.IUpdateDatasetRequest, callback: google.cloud.aiplatform.v1.DatasetService.UpdateDatasetCallback): void;
Calls UpdateDataset.
Parameters | |
---|---|
Name | Description |
request |
IUpdateDatasetRequest
UpdateDatasetRequest message or plain object |
callback |
UpdateDatasetCallback
Node-style callback called with the error, if any, and Dataset |
Returns | |
---|---|
Type | Description |
void |
updateDataset(request)
public updateDataset(request: google.cloud.aiplatform.v1.IUpdateDatasetRequest): Promise<google.cloud.aiplatform.v1.Dataset>;
Calls UpdateDataset.
Parameter | |
---|---|
Name | Description |
request |
IUpdateDatasetRequest
UpdateDatasetRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.aiplatform.v1.Dataset> | Promise |