Class protos.google.cloud.automl.v1beta1.AutoMl (4.0.0)

Represents an AutoMl

Inheritance

$protobuf.rpc.Service > protos.google.cloud.automl.v1beta1.AutoMl

Package

@google-cloud/automl

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

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

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

createDataset(request, callback)

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

Calls CreateDataset.

Parameters
NameDescription
request ICreateDatasetRequest

CreateDatasetRequest message or plain object

callback CreateDatasetCallback

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

Returns
TypeDescription
void

createDataset(request)

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

Calls CreateDataset.

Parameter
NameDescription
request ICreateDatasetRequest

CreateDatasetRequest message or plain object

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

Promise

createModel(request, callback)

public createModel(request: google.cloud.automl.v1beta1.ICreateModelRequest, callback: google.cloud.automl.v1beta1.AutoMl.CreateModelCallback): void;

Calls CreateModel.

Parameters
NameDescription
request ICreateModelRequest

CreateModelRequest message or plain object

callback CreateModelCallback

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

Returns
TypeDescription
void

createModel(request)

public createModel(request: google.cloud.automl.v1beta1.ICreateModelRequest): Promise<google.longrunning.Operation>;

Calls CreateModel.

Parameter
NameDescription
request ICreateModelRequest

CreateModelRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteDataset(request, callback)

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

Calls DeleteDataset.

Parameters
NameDescription
request IDeleteDatasetRequest

DeleteDatasetRequest message or plain object

callback DeleteDatasetCallback

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

Returns
TypeDescription
void

deleteDataset(request)

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

Calls DeleteDataset.

Parameter
NameDescription
request IDeleteDatasetRequest

DeleteDatasetRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteModel(request, callback)

public deleteModel(request: google.cloud.automl.v1beta1.IDeleteModelRequest, callback: google.cloud.automl.v1beta1.AutoMl.DeleteModelCallback): void;

Calls DeleteModel.

Parameters
NameDescription
request IDeleteModelRequest

DeleteModelRequest message or plain object

callback DeleteModelCallback

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

Returns
TypeDescription
void

deleteModel(request)

public deleteModel(request: google.cloud.automl.v1beta1.IDeleteModelRequest): Promise<google.longrunning.Operation>;

Calls DeleteModel.

Parameter
NameDescription
request IDeleteModelRequest

DeleteModelRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deployModel(request, callback)

public deployModel(request: google.cloud.automl.v1beta1.IDeployModelRequest, callback: google.cloud.automl.v1beta1.AutoMl.DeployModelCallback): void;

Calls DeployModel.

Parameters
NameDescription
request IDeployModelRequest

DeployModelRequest message or plain object

callback DeployModelCallback

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

Returns
TypeDescription
void

deployModel(request)

public deployModel(request: google.cloud.automl.v1beta1.IDeployModelRequest): Promise<google.longrunning.Operation>;

Calls DeployModel.

Parameter
NameDescription
request IDeployModelRequest

DeployModelRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

exportData(request, callback)

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

Calls ExportData.

Parameters
NameDescription
request IExportDataRequest

ExportDataRequest message or plain object

callback ExportDataCallback

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

Returns
TypeDescription
void

exportData(request)

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

Calls ExportData.

Parameter
NameDescription
request IExportDataRequest

ExportDataRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

exportEvaluatedExamples(request, callback)

public exportEvaluatedExamples(request: google.cloud.automl.v1beta1.IExportEvaluatedExamplesRequest, callback: google.cloud.automl.v1beta1.AutoMl.ExportEvaluatedExamplesCallback): void;

Calls ExportEvaluatedExamples.

Parameters
NameDescription
request IExportEvaluatedExamplesRequest

ExportEvaluatedExamplesRequest message or plain object

callback ExportEvaluatedExamplesCallback

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

Returns
TypeDescription
void

exportEvaluatedExamples(request)

public exportEvaluatedExamples(request: google.cloud.automl.v1beta1.IExportEvaluatedExamplesRequest): Promise<google.longrunning.Operation>;

Calls ExportEvaluatedExamples.

Parameter
NameDescription
request IExportEvaluatedExamplesRequest

ExportEvaluatedExamplesRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

exportModel(request, callback)

public exportModel(request: google.cloud.automl.v1beta1.IExportModelRequest, callback: google.cloud.automl.v1beta1.AutoMl.ExportModelCallback): void;

Calls ExportModel.

Parameters
NameDescription
request IExportModelRequest

ExportModelRequest message or plain object

callback ExportModelCallback

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

Returns
TypeDescription
void

exportModel(request)

public exportModel(request: google.cloud.automl.v1beta1.IExportModelRequest): Promise<google.longrunning.Operation>;

Calls ExportModel.

Parameter
NameDescription
request IExportModelRequest

ExportModelRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getAnnotationSpec(request, callback)

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

Calls GetAnnotationSpec.

Parameters
NameDescription
request IGetAnnotationSpecRequest

GetAnnotationSpecRequest message or plain object

callback GetAnnotationSpecCallback

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

Returns
TypeDescription
void

getAnnotationSpec(request)

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

Calls GetAnnotationSpec.

Parameter
NameDescription
request IGetAnnotationSpecRequest

GetAnnotationSpecRequest message or plain object

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

Promise

getColumnSpec(request, callback)

public getColumnSpec(request: google.cloud.automl.v1beta1.IGetColumnSpecRequest, callback: google.cloud.automl.v1beta1.AutoMl.GetColumnSpecCallback): void;

Calls GetColumnSpec.

Parameters
NameDescription
request IGetColumnSpecRequest

GetColumnSpecRequest message or plain object

callback GetColumnSpecCallback

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

Returns
TypeDescription
void

getColumnSpec(request)

public getColumnSpec(request: google.cloud.automl.v1beta1.IGetColumnSpecRequest): Promise<google.cloud.automl.v1beta1.ColumnSpec>;

Calls GetColumnSpec.

Parameter
NameDescription
request IGetColumnSpecRequest

GetColumnSpecRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.automl.v1beta1.ColumnSpec>

Promise

getDataset(request, callback)

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

Calls GetDataset.

Parameters
NameDescription
request IGetDatasetRequest

GetDatasetRequest message or plain object

callback GetDatasetCallback

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

Returns
TypeDescription
void

getDataset(request)

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

Calls GetDataset.

Parameter
NameDescription
request IGetDatasetRequest

GetDatasetRequest message or plain object

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

Promise

getModel(request, callback)

public getModel(request: google.cloud.automl.v1beta1.IGetModelRequest, callback: google.cloud.automl.v1beta1.AutoMl.GetModelCallback): void;

Calls GetModel.

Parameters
NameDescription
request IGetModelRequest

GetModelRequest message or plain object

callback GetModelCallback

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

Returns
TypeDescription
void

getModel(request)

public getModel(request: google.cloud.automl.v1beta1.IGetModelRequest): Promise<google.cloud.automl.v1beta1.Model>;

Calls GetModel.

Parameter
NameDescription
request IGetModelRequest

GetModelRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.automl.v1beta1.Model>

Promise

getModelEvaluation(request, callback)

public getModelEvaluation(request: google.cloud.automl.v1beta1.IGetModelEvaluationRequest, callback: google.cloud.automl.v1beta1.AutoMl.GetModelEvaluationCallback): void;

Calls GetModelEvaluation.

Parameters
NameDescription
request IGetModelEvaluationRequest

GetModelEvaluationRequest message or plain object

callback GetModelEvaluationCallback

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

Returns
TypeDescription
void

getModelEvaluation(request)

public getModelEvaluation(request: google.cloud.automl.v1beta1.IGetModelEvaluationRequest): Promise<google.cloud.automl.v1beta1.ModelEvaluation>;

Calls GetModelEvaluation.

Parameter
NameDescription
request IGetModelEvaluationRequest

GetModelEvaluationRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.automl.v1beta1.ModelEvaluation>

Promise

getTableSpec(request, callback)

public getTableSpec(request: google.cloud.automl.v1beta1.IGetTableSpecRequest, callback: google.cloud.automl.v1beta1.AutoMl.GetTableSpecCallback): void;

Calls GetTableSpec.

Parameters
NameDescription
request IGetTableSpecRequest

GetTableSpecRequest message or plain object

callback GetTableSpecCallback

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

Returns
TypeDescription
void

getTableSpec(request)

public getTableSpec(request: google.cloud.automl.v1beta1.IGetTableSpecRequest): Promise<google.cloud.automl.v1beta1.TableSpec>;

Calls GetTableSpec.

Parameter
NameDescription
request IGetTableSpecRequest

GetTableSpecRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.automl.v1beta1.TableSpec>

Promise

importData(request, callback)

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

Calls ImportData.

Parameters
NameDescription
request IImportDataRequest

ImportDataRequest message or plain object

callback ImportDataCallback

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

Returns
TypeDescription
void

importData(request)

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

Calls ImportData.

Parameter
NameDescription
request IImportDataRequest

ImportDataRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

listColumnSpecs(request, callback)

public listColumnSpecs(request: google.cloud.automl.v1beta1.IListColumnSpecsRequest, callback: google.cloud.automl.v1beta1.AutoMl.ListColumnSpecsCallback): void;

Calls ListColumnSpecs.

Parameters
NameDescription
request IListColumnSpecsRequest

ListColumnSpecsRequest message or plain object

callback ListColumnSpecsCallback

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

Returns
TypeDescription
void

listColumnSpecs(request)

public listColumnSpecs(request: google.cloud.automl.v1beta1.IListColumnSpecsRequest): Promise<google.cloud.automl.v1beta1.ListColumnSpecsResponse>;

Calls ListColumnSpecs.

Parameter
NameDescription
request IListColumnSpecsRequest

ListColumnSpecsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.automl.v1beta1.ListColumnSpecsResponse>

Promise

listDatasets(request, callback)

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

Calls ListDatasets.

Parameters
NameDescription
request IListDatasetsRequest

ListDatasetsRequest message or plain object

callback ListDatasetsCallback

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

Returns
TypeDescription
void

listDatasets(request)

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

Calls ListDatasets.

Parameter
NameDescription
request IListDatasetsRequest

ListDatasetsRequest message or plain object

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

Promise

listModelEvaluations(request, callback)

public listModelEvaluations(request: google.cloud.automl.v1beta1.IListModelEvaluationsRequest, callback: google.cloud.automl.v1beta1.AutoMl.ListModelEvaluationsCallback): void;

Calls ListModelEvaluations.

Parameters
NameDescription
request IListModelEvaluationsRequest

ListModelEvaluationsRequest message or plain object

callback ListModelEvaluationsCallback

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

Returns
TypeDescription
void

listModelEvaluations(request)

public listModelEvaluations(request: google.cloud.automl.v1beta1.IListModelEvaluationsRequest): Promise<google.cloud.automl.v1beta1.ListModelEvaluationsResponse>;

Calls ListModelEvaluations.

Parameter
NameDescription
request IListModelEvaluationsRequest

ListModelEvaluationsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.automl.v1beta1.ListModelEvaluationsResponse>

Promise

listModels(request, callback)

public listModels(request: google.cloud.automl.v1beta1.IListModelsRequest, callback: google.cloud.automl.v1beta1.AutoMl.ListModelsCallback): void;

Calls ListModels.

Parameters
NameDescription
request IListModelsRequest

ListModelsRequest message or plain object

callback ListModelsCallback

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

Returns
TypeDescription
void

listModels(request)

public listModels(request: google.cloud.automl.v1beta1.IListModelsRequest): Promise<google.cloud.automl.v1beta1.ListModelsResponse>;

Calls ListModels.

Parameter
NameDescription
request IListModelsRequest

ListModelsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.automl.v1beta1.ListModelsResponse>

Promise

listTableSpecs(request, callback)

public listTableSpecs(request: google.cloud.automl.v1beta1.IListTableSpecsRequest, callback: google.cloud.automl.v1beta1.AutoMl.ListTableSpecsCallback): void;

Calls ListTableSpecs.

Parameters
NameDescription
request IListTableSpecsRequest

ListTableSpecsRequest message or plain object

callback ListTableSpecsCallback

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

Returns
TypeDescription
void

listTableSpecs(request)

public listTableSpecs(request: google.cloud.automl.v1beta1.IListTableSpecsRequest): Promise<google.cloud.automl.v1beta1.ListTableSpecsResponse>;

Calls ListTableSpecs.

Parameter
NameDescription
request IListTableSpecsRequest

ListTableSpecsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.automl.v1beta1.ListTableSpecsResponse>

Promise

undeployModel(request, callback)

public undeployModel(request: google.cloud.automl.v1beta1.IUndeployModelRequest, callback: google.cloud.automl.v1beta1.AutoMl.UndeployModelCallback): void;

Calls UndeployModel.

Parameters
NameDescription
request IUndeployModelRequest

UndeployModelRequest message or plain object

callback UndeployModelCallback

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

Returns
TypeDescription
void

undeployModel(request)

public undeployModel(request: google.cloud.automl.v1beta1.IUndeployModelRequest): Promise<google.longrunning.Operation>;

Calls UndeployModel.

Parameter
NameDescription
request IUndeployModelRequest

UndeployModelRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateColumnSpec(request, callback)

public updateColumnSpec(request: google.cloud.automl.v1beta1.IUpdateColumnSpecRequest, callback: google.cloud.automl.v1beta1.AutoMl.UpdateColumnSpecCallback): void;

Calls UpdateColumnSpec.

Parameters
NameDescription
request IUpdateColumnSpecRequest

UpdateColumnSpecRequest message or plain object

callback UpdateColumnSpecCallback

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

Returns
TypeDescription
void

updateColumnSpec(request)

public updateColumnSpec(request: google.cloud.automl.v1beta1.IUpdateColumnSpecRequest): Promise<google.cloud.automl.v1beta1.ColumnSpec>;

Calls UpdateColumnSpec.

Parameter
NameDescription
request IUpdateColumnSpecRequest

UpdateColumnSpecRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.automl.v1beta1.ColumnSpec>

Promise

updateDataset(request, callback)

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

Calls UpdateDataset.

Parameters
NameDescription
request IUpdateDatasetRequest

UpdateDatasetRequest message or plain object

callback UpdateDatasetCallback

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

Returns
TypeDescription
void

updateDataset(request)

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

Calls UpdateDataset.

Parameter
NameDescription
request IUpdateDatasetRequest

UpdateDatasetRequest message or plain object

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

Promise

updateTableSpec(request, callback)

public updateTableSpec(request: google.cloud.automl.v1beta1.IUpdateTableSpecRequest, callback: google.cloud.automl.v1beta1.AutoMl.UpdateTableSpecCallback): void;

Calls UpdateTableSpec.

Parameters
NameDescription
request IUpdateTableSpecRequest

UpdateTableSpecRequest message or plain object

callback UpdateTableSpecCallback

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

Returns
TypeDescription
void

updateTableSpec(request)

public updateTableSpec(request: google.cloud.automl.v1beta1.IUpdateTableSpecRequest): Promise<google.cloud.automl.v1beta1.TableSpec>;

Calls UpdateTableSpec.

Parameter
NameDescription
request IUpdateTableSpecRequest

UpdateTableSpecRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.automl.v1beta1.TableSpec>

Promise