Class protos.google.cloud.datalabeling.v1beta1.DataLabelingService

Represents a DataLabelingService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.datalabeling.v1beta1.DataLabelingService

Package

@google-cloud/datalabeling

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new DataLabelingService 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): DataLabelingService;

Creates new DataLabelingService 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
DataLabelingService

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

createAnnotationSpecSet(request, callback)

public createAnnotationSpecSet(request: google.cloud.datalabeling.v1beta1.ICreateAnnotationSpecSetRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.CreateAnnotationSpecSetCallback): void;

Calls CreateAnnotationSpecSet.

Parameters
NameDescription
request ICreateAnnotationSpecSetRequest

CreateAnnotationSpecSetRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.CreateAnnotationSpecSetCallback

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

Returns
TypeDescription
void

createAnnotationSpecSet(request)

public createAnnotationSpecSet(request: google.cloud.datalabeling.v1beta1.ICreateAnnotationSpecSetRequest): Promise<google.cloud.datalabeling.v1beta1.AnnotationSpecSet>;

Calls CreateAnnotationSpecSet.

Parameter
NameDescription
request ICreateAnnotationSpecSetRequest

CreateAnnotationSpecSetRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datalabeling.v1beta1.AnnotationSpecSet>

Promise

createDataset(request, callback)

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

Calls CreateDataset.

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

CreateDatasetRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.CreateDatasetCallback

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

Returns
TypeDescription
void

createDataset(request)

public createDataset(request: google.cloud.datalabeling.v1beta1.ICreateDatasetRequest): Promise<google.cloud.datalabeling.v1beta1.Dataset>;

Calls CreateDataset.

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

CreateDatasetRequest message or plain object

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

Promise

createEvaluationJob(request, callback)

public createEvaluationJob(request: google.cloud.datalabeling.v1beta1.ICreateEvaluationJobRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.CreateEvaluationJobCallback): void;

Calls CreateEvaluationJob.

Parameters
NameDescription
request google.cloud.datalabeling.v1beta1.ICreateEvaluationJobRequest

CreateEvaluationJobRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.CreateEvaluationJobCallback

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

Returns
TypeDescription
void

createEvaluationJob(request)

public createEvaluationJob(request: google.cloud.datalabeling.v1beta1.ICreateEvaluationJobRequest): Promise<google.cloud.datalabeling.v1beta1.EvaluationJob>;

Calls CreateEvaluationJob.

Parameter
NameDescription
request google.cloud.datalabeling.v1beta1.ICreateEvaluationJobRequest

CreateEvaluationJobRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datalabeling.v1beta1.EvaluationJob>

Promise

createInstruction(request, callback)

public createInstruction(request: google.cloud.datalabeling.v1beta1.ICreateInstructionRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.CreateInstructionCallback): void;

Calls CreateInstruction.

Parameters
NameDescription
request ICreateInstructionRequest

CreateInstructionRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.CreateInstructionCallback

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

Returns
TypeDescription
void

createInstruction(request)

public createInstruction(request: google.cloud.datalabeling.v1beta1.ICreateInstructionRequest): Promise<google.longrunning.Operation>;

Calls CreateInstruction.

Parameter
NameDescription
request ICreateInstructionRequest

CreateInstructionRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteAnnotatedDataset(request, callback)

public deleteAnnotatedDataset(request: google.cloud.datalabeling.v1beta1.IDeleteAnnotatedDatasetRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteAnnotatedDatasetCallback): void;

Calls DeleteAnnotatedDataset.

Parameters
NameDescription
request google.cloud.datalabeling.v1beta1.IDeleteAnnotatedDatasetRequest

DeleteAnnotatedDatasetRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteAnnotatedDatasetCallback

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

Returns
TypeDescription
void

deleteAnnotatedDataset(request)

public deleteAnnotatedDataset(request: google.cloud.datalabeling.v1beta1.IDeleteAnnotatedDatasetRequest): Promise<google.protobuf.Empty>;

Calls DeleteAnnotatedDataset.

Parameter
NameDescription
request google.cloud.datalabeling.v1beta1.IDeleteAnnotatedDatasetRequest

DeleteAnnotatedDatasetRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

deleteAnnotationSpecSet(request, callback)

public deleteAnnotationSpecSet(request: google.cloud.datalabeling.v1beta1.IDeleteAnnotationSpecSetRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteAnnotationSpecSetCallback): void;

Calls DeleteAnnotationSpecSet.

Parameters
NameDescription
request google.cloud.datalabeling.v1beta1.IDeleteAnnotationSpecSetRequest

DeleteAnnotationSpecSetRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteAnnotationSpecSetCallback

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

Returns
TypeDescription
void

deleteAnnotationSpecSet(request)

public deleteAnnotationSpecSet(request: google.cloud.datalabeling.v1beta1.IDeleteAnnotationSpecSetRequest): Promise<google.protobuf.Empty>;

Calls DeleteAnnotationSpecSet.

Parameter
NameDescription
request google.cloud.datalabeling.v1beta1.IDeleteAnnotationSpecSetRequest

DeleteAnnotationSpecSetRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

deleteDataset(request, callback)

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

Calls DeleteDataset.

Parameters
NameDescription
request IDeleteDatasetRequest

DeleteDatasetRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteDatasetCallback

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

Returns
TypeDescription
void

deleteDataset(request)

public deleteDataset(request: google.cloud.datalabeling.v1beta1.IDeleteDatasetRequest): Promise<google.protobuf.Empty>;

Calls DeleteDataset.

Parameter
NameDescription
request IDeleteDatasetRequest

DeleteDatasetRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

deleteEvaluationJob(request, callback)

public deleteEvaluationJob(request: google.cloud.datalabeling.v1beta1.IDeleteEvaluationJobRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteEvaluationJobCallback): void;

Calls DeleteEvaluationJob.

Parameters
NameDescription
request google.cloud.datalabeling.v1beta1.IDeleteEvaluationJobRequest

DeleteEvaluationJobRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteEvaluationJobCallback

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

Returns
TypeDescription
void

deleteEvaluationJob(request)

public deleteEvaluationJob(request: google.cloud.datalabeling.v1beta1.IDeleteEvaluationJobRequest): Promise<google.protobuf.Empty>;

Calls DeleteEvaluationJob.

Parameter
NameDescription
request google.cloud.datalabeling.v1beta1.IDeleteEvaluationJobRequest

DeleteEvaluationJobRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

deleteInstruction(request, callback)

public deleteInstruction(request: google.cloud.datalabeling.v1beta1.IDeleteInstructionRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteInstructionCallback): void;

Calls DeleteInstruction.

Parameters
NameDescription
request IDeleteInstructionRequest

DeleteInstructionRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteInstructionCallback

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

Returns
TypeDescription
void

deleteInstruction(request)

public deleteInstruction(request: google.cloud.datalabeling.v1beta1.IDeleteInstructionRequest): Promise<google.protobuf.Empty>;

Calls DeleteInstruction.

Parameter
NameDescription
request IDeleteInstructionRequest

DeleteInstructionRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

exportData(request, callback)

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

Calls ExportData.

Parameters
NameDescription
request IExportDataRequest

ExportDataRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.ExportDataCallback

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

Returns
TypeDescription
void

exportData(request)

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

Calls ExportData.

Parameter
NameDescription
request IExportDataRequest

ExportDataRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getAnnotatedDataset(request, callback)

public getAnnotatedDataset(request: google.cloud.datalabeling.v1beta1.IGetAnnotatedDatasetRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.GetAnnotatedDatasetCallback): void;

Calls GetAnnotatedDataset.

Parameters
NameDescription
request google.cloud.datalabeling.v1beta1.IGetAnnotatedDatasetRequest

GetAnnotatedDatasetRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.GetAnnotatedDatasetCallback

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

Returns
TypeDescription
void

getAnnotatedDataset(request)

public getAnnotatedDataset(request: google.cloud.datalabeling.v1beta1.IGetAnnotatedDatasetRequest): Promise<google.cloud.datalabeling.v1beta1.AnnotatedDataset>;

Calls GetAnnotatedDataset.

Parameter
NameDescription
request google.cloud.datalabeling.v1beta1.IGetAnnotatedDatasetRequest

GetAnnotatedDatasetRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datalabeling.v1beta1.AnnotatedDataset>

Promise

getAnnotationSpecSet(request, callback)

public getAnnotationSpecSet(request: google.cloud.datalabeling.v1beta1.IGetAnnotationSpecSetRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.GetAnnotationSpecSetCallback): void;

Calls GetAnnotationSpecSet.

Parameters
NameDescription
request google.cloud.datalabeling.v1beta1.IGetAnnotationSpecSetRequest

GetAnnotationSpecSetRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.GetAnnotationSpecSetCallback

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

Returns
TypeDescription
void

getAnnotationSpecSet(request)

public getAnnotationSpecSet(request: google.cloud.datalabeling.v1beta1.IGetAnnotationSpecSetRequest): Promise<google.cloud.datalabeling.v1beta1.AnnotationSpecSet>;

Calls GetAnnotationSpecSet.

Parameter
NameDescription
request google.cloud.datalabeling.v1beta1.IGetAnnotationSpecSetRequest

GetAnnotationSpecSetRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datalabeling.v1beta1.AnnotationSpecSet>

Promise

getDataItem(request, callback)

public getDataItem(request: google.cloud.datalabeling.v1beta1.IGetDataItemRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.GetDataItemCallback): void;

Calls GetDataItem.

Parameters
NameDescription
request google.cloud.datalabeling.v1beta1.IGetDataItemRequest

GetDataItemRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.GetDataItemCallback

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

Returns
TypeDescription
void

getDataItem(request)

public getDataItem(request: google.cloud.datalabeling.v1beta1.IGetDataItemRequest): Promise<google.cloud.datalabeling.v1beta1.DataItem>;

Calls GetDataItem.

Parameter
NameDescription
request google.cloud.datalabeling.v1beta1.IGetDataItemRequest

GetDataItemRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datalabeling.v1beta1.DataItem>

Promise

getDataset(request, callback)

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

Calls GetDataset.

Parameters
NameDescription
request IGetDatasetRequest

GetDatasetRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.GetDatasetCallback

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

Returns
TypeDescription
void

getDataset(request)

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

Calls GetDataset.

Parameter
NameDescription
request IGetDatasetRequest

GetDatasetRequest message or plain object

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

Promise

getEvaluation(request, callback)

public getEvaluation(request: google.cloud.datalabeling.v1beta1.IGetEvaluationRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.GetEvaluationCallback): void;

Calls GetEvaluation.

Parameters
NameDescription
request google.cloud.datalabeling.v1beta1.IGetEvaluationRequest

GetEvaluationRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.GetEvaluationCallback

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

Returns
TypeDescription
void

getEvaluation(request)

public getEvaluation(request: google.cloud.datalabeling.v1beta1.IGetEvaluationRequest): Promise<google.cloud.datalabeling.v1beta1.Evaluation>;

Calls GetEvaluation.

Parameter
NameDescription
request google.cloud.datalabeling.v1beta1.IGetEvaluationRequest

GetEvaluationRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datalabeling.v1beta1.Evaluation>

Promise

getEvaluationJob(request, callback)

public getEvaluationJob(request: google.cloud.datalabeling.v1beta1.IGetEvaluationJobRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.GetEvaluationJobCallback): void;

Calls GetEvaluationJob.

Parameters
NameDescription
request google.cloud.datalabeling.v1beta1.IGetEvaluationJobRequest

GetEvaluationJobRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.GetEvaluationJobCallback

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

Returns
TypeDescription
void

getEvaluationJob(request)

public getEvaluationJob(request: google.cloud.datalabeling.v1beta1.IGetEvaluationJobRequest): Promise<google.cloud.datalabeling.v1beta1.EvaluationJob>;

Calls GetEvaluationJob.

Parameter
NameDescription
request google.cloud.datalabeling.v1beta1.IGetEvaluationJobRequest

GetEvaluationJobRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datalabeling.v1beta1.EvaluationJob>

Promise

getExample(request, callback)

public getExample(request: google.cloud.datalabeling.v1beta1.IGetExampleRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.GetExampleCallback): void;

Calls GetExample.

Parameters
NameDescription
request google.cloud.datalabeling.v1beta1.IGetExampleRequest

GetExampleRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.GetExampleCallback

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

Returns
TypeDescription
void

getExample(request)

public getExample(request: google.cloud.datalabeling.v1beta1.IGetExampleRequest): Promise<google.cloud.datalabeling.v1beta1.Example>;

Calls GetExample.

Parameter
NameDescription
request google.cloud.datalabeling.v1beta1.IGetExampleRequest

GetExampleRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datalabeling.v1beta1.Example>

Promise

getInstruction(request, callback)

public getInstruction(request: google.cloud.datalabeling.v1beta1.IGetInstructionRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.GetInstructionCallback): void;

Calls GetInstruction.

Parameters
NameDescription
request google.cloud.datalabeling.v1beta1.IGetInstructionRequest

GetInstructionRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.GetInstructionCallback

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

Returns
TypeDescription
void

getInstruction(request)

public getInstruction(request: google.cloud.datalabeling.v1beta1.IGetInstructionRequest): Promise<google.cloud.datalabeling.v1beta1.Instruction>;

Calls GetInstruction.

Parameter
NameDescription
request google.cloud.datalabeling.v1beta1.IGetInstructionRequest

GetInstructionRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datalabeling.v1beta1.Instruction>

Promise

importData(request, callback)

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

Calls ImportData.

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

ImportDataRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.ImportDataCallback

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

Returns
TypeDescription
void

importData(request)

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

Calls ImportData.

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

ImportDataRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

labelImage(request, callback)

public labelImage(request: google.cloud.datalabeling.v1beta1.ILabelImageRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.LabelImageCallback): void;

Calls LabelImage.

Parameters
NameDescription
request google.cloud.datalabeling.v1beta1.ILabelImageRequest

LabelImageRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.LabelImageCallback

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

Returns
TypeDescription
void

labelImage(request)

public labelImage(request: google.cloud.datalabeling.v1beta1.ILabelImageRequest): Promise<google.longrunning.Operation>;

Calls LabelImage.

Parameter
NameDescription
request google.cloud.datalabeling.v1beta1.ILabelImageRequest

LabelImageRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

labelText(request, callback)

public labelText(request: google.cloud.datalabeling.v1beta1.ILabelTextRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.LabelTextCallback): void;

Calls LabelText.

Parameters
NameDescription
request google.cloud.datalabeling.v1beta1.ILabelTextRequest

LabelTextRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.LabelTextCallback

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

Returns
TypeDescription
void

labelText(request)

public labelText(request: google.cloud.datalabeling.v1beta1.ILabelTextRequest): Promise<google.longrunning.Operation>;

Calls LabelText.

Parameter
NameDescription
request google.cloud.datalabeling.v1beta1.ILabelTextRequest

LabelTextRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

labelVideo(request, callback)

public labelVideo(request: google.cloud.datalabeling.v1beta1.ILabelVideoRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.LabelVideoCallback): void;

Calls LabelVideo.

Parameters
NameDescription
request google.cloud.datalabeling.v1beta1.ILabelVideoRequest

LabelVideoRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.LabelVideoCallback

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

Returns
TypeDescription
void

labelVideo(request)

public labelVideo(request: google.cloud.datalabeling.v1beta1.ILabelVideoRequest): Promise<google.longrunning.Operation>;

Calls LabelVideo.

Parameter
NameDescription
request google.cloud.datalabeling.v1beta1.ILabelVideoRequest

LabelVideoRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

listAnnotatedDatasets(request, callback)

public listAnnotatedDatasets(request: google.cloud.datalabeling.v1beta1.IListAnnotatedDatasetsRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.ListAnnotatedDatasetsCallback): void;

Calls ListAnnotatedDatasets.

Parameters
NameDescription
request google.cloud.datalabeling.v1beta1.IListAnnotatedDatasetsRequest

ListAnnotatedDatasetsRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.ListAnnotatedDatasetsCallback

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

Returns
TypeDescription
void

listAnnotatedDatasets(request)

public listAnnotatedDatasets(request: google.cloud.datalabeling.v1beta1.IListAnnotatedDatasetsRequest): Promise<google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsResponse>;

Calls ListAnnotatedDatasets.

Parameter
NameDescription
request google.cloud.datalabeling.v1beta1.IListAnnotatedDatasetsRequest

ListAnnotatedDatasetsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsResponse>

Promise

listAnnotationSpecSets(request, callback)

public listAnnotationSpecSets(request: google.cloud.datalabeling.v1beta1.IListAnnotationSpecSetsRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.ListAnnotationSpecSetsCallback): void;

Calls ListAnnotationSpecSets.

Parameters
NameDescription
request google.cloud.datalabeling.v1beta1.IListAnnotationSpecSetsRequest

ListAnnotationSpecSetsRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.ListAnnotationSpecSetsCallback

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

Returns
TypeDescription
void

listAnnotationSpecSets(request)

public listAnnotationSpecSets(request: google.cloud.datalabeling.v1beta1.IListAnnotationSpecSetsRequest): Promise<google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse>;

Calls ListAnnotationSpecSets.

Parameter
NameDescription
request google.cloud.datalabeling.v1beta1.IListAnnotationSpecSetsRequest

ListAnnotationSpecSetsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse>

Promise

listDataItems(request, callback)

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

Calls ListDataItems.

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

ListDataItemsRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.ListDataItemsCallback

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

Returns
TypeDescription
void

listDataItems(request)

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

Calls ListDataItems.

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

ListDataItemsRequest message or plain object

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

Promise

listDatasets(request, callback)

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

Calls ListDatasets.

Parameters
NameDescription
request IListDatasetsRequest

ListDatasetsRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.ListDatasetsCallback

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

Returns
TypeDescription
void

listDatasets(request)

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

Calls ListDatasets.

Parameter
NameDescription
request IListDatasetsRequest

ListDatasetsRequest message or plain object

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

Promise

listEvaluationJobs(request, callback)

public listEvaluationJobs(request: google.cloud.datalabeling.v1beta1.IListEvaluationJobsRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.ListEvaluationJobsCallback): void;

Calls ListEvaluationJobs.

Parameters
NameDescription
request google.cloud.datalabeling.v1beta1.IListEvaluationJobsRequest

ListEvaluationJobsRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.ListEvaluationJobsCallback

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

Returns
TypeDescription
void

listEvaluationJobs(request)

public listEvaluationJobs(request: google.cloud.datalabeling.v1beta1.IListEvaluationJobsRequest): Promise<google.cloud.datalabeling.v1beta1.ListEvaluationJobsResponse>;

Calls ListEvaluationJobs.

Parameter
NameDescription
request google.cloud.datalabeling.v1beta1.IListEvaluationJobsRequest

ListEvaluationJobsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datalabeling.v1beta1.ListEvaluationJobsResponse>

Promise

listExamples(request, callback)

public listExamples(request: google.cloud.datalabeling.v1beta1.IListExamplesRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.ListExamplesCallback): void;

Calls ListExamples.

Parameters
NameDescription
request google.cloud.datalabeling.v1beta1.IListExamplesRequest

ListExamplesRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.ListExamplesCallback

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

Returns
TypeDescription
void

listExamples(request)

public listExamples(request: google.cloud.datalabeling.v1beta1.IListExamplesRequest): Promise<google.cloud.datalabeling.v1beta1.ListExamplesResponse>;

Calls ListExamples.

Parameter
NameDescription
request google.cloud.datalabeling.v1beta1.IListExamplesRequest

ListExamplesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datalabeling.v1beta1.ListExamplesResponse>

Promise

listInstructions(request, callback)

public listInstructions(request: google.cloud.datalabeling.v1beta1.IListInstructionsRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.ListInstructionsCallback): void;

Calls ListInstructions.

Parameters
NameDescription
request IListInstructionsRequest

ListInstructionsRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.ListInstructionsCallback

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

Returns
TypeDescription
void

listInstructions(request)

public listInstructions(request: google.cloud.datalabeling.v1beta1.IListInstructionsRequest): Promise<google.cloud.datalabeling.v1beta1.ListInstructionsResponse>;

Calls ListInstructions.

Parameter
NameDescription
request IListInstructionsRequest

ListInstructionsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datalabeling.v1beta1.ListInstructionsResponse>

Promise

pauseEvaluationJob(request, callback)

public pauseEvaluationJob(request: google.cloud.datalabeling.v1beta1.IPauseEvaluationJobRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.PauseEvaluationJobCallback): void;

Calls PauseEvaluationJob.

Parameters
NameDescription
request google.cloud.datalabeling.v1beta1.IPauseEvaluationJobRequest

PauseEvaluationJobRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.PauseEvaluationJobCallback

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

Returns
TypeDescription
void

pauseEvaluationJob(request)

public pauseEvaluationJob(request: google.cloud.datalabeling.v1beta1.IPauseEvaluationJobRequest): Promise<google.protobuf.Empty>;

Calls PauseEvaluationJob.

Parameter
NameDescription
request google.cloud.datalabeling.v1beta1.IPauseEvaluationJobRequest

PauseEvaluationJobRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

resumeEvaluationJob(request, callback)

public resumeEvaluationJob(request: google.cloud.datalabeling.v1beta1.IResumeEvaluationJobRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.ResumeEvaluationJobCallback): void;

Calls ResumeEvaluationJob.

Parameters
NameDescription
request google.cloud.datalabeling.v1beta1.IResumeEvaluationJobRequest

ResumeEvaluationJobRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.ResumeEvaluationJobCallback

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

Returns
TypeDescription
void

resumeEvaluationJob(request)

public resumeEvaluationJob(request: google.cloud.datalabeling.v1beta1.IResumeEvaluationJobRequest): Promise<google.protobuf.Empty>;

Calls ResumeEvaluationJob.

Parameter
NameDescription
request google.cloud.datalabeling.v1beta1.IResumeEvaluationJobRequest

ResumeEvaluationJobRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

searchEvaluations(request, callback)

public searchEvaluations(request: google.cloud.datalabeling.v1beta1.ISearchEvaluationsRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluationsCallback): void;

Calls SearchEvaluations.

Parameters
NameDescription
request ISearchEvaluationsRequest

SearchEvaluationsRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluationsCallback

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

Returns
TypeDescription
void

searchEvaluations(request)

public searchEvaluations(request: google.cloud.datalabeling.v1beta1.ISearchEvaluationsRequest): Promise<google.cloud.datalabeling.v1beta1.SearchEvaluationsResponse>;

Calls SearchEvaluations.

Parameter
NameDescription
request ISearchEvaluationsRequest

SearchEvaluationsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datalabeling.v1beta1.SearchEvaluationsResponse>

Promise

searchExampleComparisons(request, callback)

public searchExampleComparisons(request: google.cloud.datalabeling.v1beta1.ISearchExampleComparisonsRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.SearchExampleComparisonsCallback): void;

Calls SearchExampleComparisons.

Parameters
NameDescription
request ISearchExampleComparisonsRequest

SearchExampleComparisonsRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.SearchExampleComparisonsCallback

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

Returns
TypeDescription
void

searchExampleComparisons(request)

public searchExampleComparisons(request: google.cloud.datalabeling.v1beta1.ISearchExampleComparisonsRequest): Promise<google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse>;

Calls SearchExampleComparisons.

Parameter
NameDescription
request ISearchExampleComparisonsRequest

SearchExampleComparisonsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse>

Promise

updateEvaluationJob(request, callback)

public updateEvaluationJob(request: google.cloud.datalabeling.v1beta1.IUpdateEvaluationJobRequest, callback: google.cloud.datalabeling.v1beta1.DataLabelingService.UpdateEvaluationJobCallback): void;

Calls UpdateEvaluationJob.

Parameters
NameDescription
request IUpdateEvaluationJobRequest

UpdateEvaluationJobRequest message or plain object

callback google.cloud.datalabeling.v1beta1.DataLabelingService.UpdateEvaluationJobCallback

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

Returns
TypeDescription
void

updateEvaluationJob(request)

public updateEvaluationJob(request: google.cloud.datalabeling.v1beta1.IUpdateEvaluationJobRequest): Promise<google.cloud.datalabeling.v1beta1.EvaluationJob>;

Calls UpdateEvaluationJob.

Parameter
NameDescription
request IUpdateEvaluationJobRequest

UpdateEvaluationJobRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datalabeling.v1beta1.EvaluationJob>

Promise