Class protos.google.cloud.aiplatform.v1beta1.DatasetService (1.7.2)

Represents a DatasetService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.aiplatform.v1beta1.DatasetService

Package

@google-cloud/aiplatform!

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new DatasetService service.

Parameters
NameDescription
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
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
DatasetService

RPC service. Useful where requests and/or responses are streamed.

createDataset(request, callback)

public createDataset(request: google.cloud.aiplatform.v1beta1.ICreateDatasetRequest, callback: google.cloud.aiplatform.v1beta1.DatasetService.CreateDatasetCallback): void;

Calls CreateDataset.

Parameters
NameDescription
request google.cloud.aiplatform.v1beta1.ICreateDatasetRequest

CreateDatasetRequest message or plain object

callback google.cloud.aiplatform.v1beta1.DatasetService.CreateDatasetCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

createDataset(request)

public createDataset(request: google.cloud.aiplatform.v1beta1.ICreateDatasetRequest): Promise<google.longrunning.Operation>;

Calls CreateDataset.

Parameter
NameDescription
request google.cloud.aiplatform.v1beta1.ICreateDatasetRequest

CreateDatasetRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteDataset(request, callback)

public deleteDataset(request: google.cloud.aiplatform.v1beta1.IDeleteDatasetRequest, callback: google.cloud.aiplatform.v1beta1.DatasetService.DeleteDatasetCallback): void;

Calls DeleteDataset.

Parameters
NameDescription
request IDeleteDatasetRequest

DeleteDatasetRequest message or plain object

callback google.cloud.aiplatform.v1beta1.DatasetService.DeleteDatasetCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

deleteDataset(request)

public deleteDataset(request: google.cloud.aiplatform.v1beta1.IDeleteDatasetRequest): Promise<google.longrunning.Operation>;

Calls DeleteDataset.

Parameter
NameDescription
request IDeleteDatasetRequest

DeleteDatasetRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

exportData(request, callback)

public exportData(request: google.cloud.aiplatform.v1beta1.IExportDataRequest, callback: google.cloud.aiplatform.v1beta1.DatasetService.ExportDataCallback): void;

Calls ExportData.

Parameters
NameDescription
request google.cloud.aiplatform.v1beta1.IExportDataRequest

ExportDataRequest message or plain object

callback google.cloud.aiplatform.v1beta1.DatasetService.ExportDataCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

exportData(request)

public exportData(request: google.cloud.aiplatform.v1beta1.IExportDataRequest): Promise<google.longrunning.Operation>;

Calls ExportData.

Parameter
NameDescription
request google.cloud.aiplatform.v1beta1.IExportDataRequest

ExportDataRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getAnnotationSpec(request, callback)

public getAnnotationSpec(request: google.cloud.aiplatform.v1beta1.IGetAnnotationSpecRequest, callback: google.cloud.aiplatform.v1beta1.DatasetService.GetAnnotationSpecCallback): void;

Calls GetAnnotationSpec.

Parameters
NameDescription
request google.cloud.aiplatform.v1beta1.IGetAnnotationSpecRequest

GetAnnotationSpecRequest message or plain object

callback google.cloud.aiplatform.v1beta1.DatasetService.GetAnnotationSpecCallback

Node-style callback called with the error, if any, and AnnotationSpec

Returns
TypeDescription
void

getAnnotationSpec(request)

public getAnnotationSpec(request: google.cloud.aiplatform.v1beta1.IGetAnnotationSpecRequest): Promise<google.cloud.aiplatform.v1beta1.AnnotationSpec>;

Calls GetAnnotationSpec.

Parameter
NameDescription
request google.cloud.aiplatform.v1beta1.IGetAnnotationSpecRequest

GetAnnotationSpecRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1beta1.AnnotationSpec>

Promise

getDataset(request, callback)

public getDataset(request: google.cloud.aiplatform.v1beta1.IGetDatasetRequest, callback: google.cloud.aiplatform.v1beta1.DatasetService.GetDatasetCallback): void;

Calls GetDataset.

Parameters
NameDescription
request google.cloud.aiplatform.v1beta1.IGetDatasetRequest

GetDatasetRequest message or plain object

callback google.cloud.aiplatform.v1beta1.DatasetService.GetDatasetCallback

Node-style callback called with the error, if any, and Dataset

Returns
TypeDescription
void

getDataset(request)

public getDataset(request: google.cloud.aiplatform.v1beta1.IGetDatasetRequest): Promise<google.cloud.aiplatform.v1beta1.Dataset>;

Calls GetDataset.

Parameter
NameDescription
request google.cloud.aiplatform.v1beta1.IGetDatasetRequest

GetDatasetRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1beta1.Dataset>

Promise

importData(request, callback)

public importData(request: google.cloud.aiplatform.v1beta1.IImportDataRequest, callback: google.cloud.aiplatform.v1beta1.DatasetService.ImportDataCallback): void;

Calls ImportData.

Parameters
NameDescription
request google.cloud.aiplatform.v1beta1.IImportDataRequest

ImportDataRequest message or plain object

callback google.cloud.aiplatform.v1beta1.DatasetService.ImportDataCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

importData(request)

public importData(request: google.cloud.aiplatform.v1beta1.IImportDataRequest): Promise<google.longrunning.Operation>;

Calls ImportData.

Parameter
NameDescription
request google.cloud.aiplatform.v1beta1.IImportDataRequest

ImportDataRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

listAnnotations(request, callback)

public listAnnotations(request: google.cloud.aiplatform.v1beta1.IListAnnotationsRequest, callback: google.cloud.aiplatform.v1beta1.DatasetService.ListAnnotationsCallback): void;

Calls ListAnnotations.

Parameters
NameDescription
request google.cloud.aiplatform.v1beta1.IListAnnotationsRequest

ListAnnotationsRequest message or plain object

callback google.cloud.aiplatform.v1beta1.DatasetService.ListAnnotationsCallback

Node-style callback called with the error, if any, and ListAnnotationsResponse

Returns
TypeDescription
void

listAnnotations(request)

public listAnnotations(request: google.cloud.aiplatform.v1beta1.IListAnnotationsRequest): Promise<google.cloud.aiplatform.v1beta1.ListAnnotationsResponse>;

Calls ListAnnotations.

Parameter
NameDescription
request google.cloud.aiplatform.v1beta1.IListAnnotationsRequest

ListAnnotationsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1beta1.ListAnnotationsResponse>

Promise

listDataItems(request, callback)

public listDataItems(request: google.cloud.aiplatform.v1beta1.IListDataItemsRequest, callback: google.cloud.aiplatform.v1beta1.DatasetService.ListDataItemsCallback): void;

Calls ListDataItems.

Parameters
NameDescription
request google.cloud.aiplatform.v1beta1.IListDataItemsRequest

ListDataItemsRequest message or plain object

callback google.cloud.aiplatform.v1beta1.DatasetService.ListDataItemsCallback

Node-style callback called with the error, if any, and ListDataItemsResponse

Returns
TypeDescription
void

listDataItems(request)

public listDataItems(request: google.cloud.aiplatform.v1beta1.IListDataItemsRequest): Promise<google.cloud.aiplatform.v1beta1.ListDataItemsResponse>;

Calls ListDataItems.

Parameter
NameDescription
request google.cloud.aiplatform.v1beta1.IListDataItemsRequest

ListDataItemsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1beta1.ListDataItemsResponse>

Promise

listDatasets(request, callback)

public listDatasets(request: google.cloud.aiplatform.v1beta1.IListDatasetsRequest, callback: google.cloud.aiplatform.v1beta1.DatasetService.ListDatasetsCallback): void;

Calls ListDatasets.

Parameters
NameDescription
request IListDatasetsRequest

ListDatasetsRequest message or plain object

callback google.cloud.aiplatform.v1beta1.DatasetService.ListDatasetsCallback

Node-style callback called with the error, if any, and ListDatasetsResponse

Returns
TypeDescription
void

listDatasets(request)

public listDatasets(request: google.cloud.aiplatform.v1beta1.IListDatasetsRequest): Promise<google.cloud.aiplatform.v1beta1.ListDatasetsResponse>;

Calls ListDatasets.

Parameter
NameDescription
request IListDatasetsRequest

ListDatasetsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1beta1.ListDatasetsResponse>

Promise

updateDataset(request, callback)

public updateDataset(request: google.cloud.aiplatform.v1beta1.IUpdateDatasetRequest, callback: google.cloud.aiplatform.v1beta1.DatasetService.UpdateDatasetCallback): void;

Calls UpdateDataset.

Parameters
NameDescription
request google.cloud.aiplatform.v1beta1.IUpdateDatasetRequest

UpdateDatasetRequest message or plain object

callback google.cloud.aiplatform.v1beta1.DatasetService.UpdateDatasetCallback

Node-style callback called with the error, if any, and Dataset

Returns
TypeDescription
void

updateDataset(request)

public updateDataset(request: google.cloud.aiplatform.v1beta1.IUpdateDatasetRequest): Promise<google.cloud.aiplatform.v1beta1.Dataset>;

Calls UpdateDataset.

Parameter
NameDescription
request google.cloud.aiplatform.v1beta1.IUpdateDatasetRequest

UpdateDatasetRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1beta1.Dataset>

Promise