AutoMl

google.cloud.automl.v1beta1. AutoMl

Represents an AutoMl

Constructor

new AutoMl(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new AutoMl service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {AutoMl}

Creates new AutoMl service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

createDataset(request, callback) → {undefined}

Calls CreateDataset.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.ICreateDatasetRequest

CreateDatasetRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.CreateDatasetCallback

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

createDataset(request) → {Promise.<google.cloud.automl.v1beta1.Dataset>}

Calls CreateDataset.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.ICreateDatasetRequest

CreateDatasetRequest message or plain object

createModel(request, callback) → {undefined}

Calls CreateModel.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.ICreateModelRequest

CreateModelRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.CreateModelCallback

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

createModel(request) → {Promise.<google.longrunning.Operation>}

Calls CreateModel.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.ICreateModelRequest

CreateModelRequest message or plain object

deleteDataset(request, callback) → {undefined}

Calls DeleteDataset.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IDeleteDatasetRequest

DeleteDatasetRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.DeleteDatasetCallback

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

deleteDataset(request) → {Promise.<google.longrunning.Operation>}

Calls DeleteDataset.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IDeleteDatasetRequest

DeleteDatasetRequest message or plain object

deleteModel(request, callback) → {undefined}

Calls DeleteModel.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IDeleteModelRequest

DeleteModelRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.DeleteModelCallback

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

deleteModel(request) → {Promise.<google.longrunning.Operation>}

Calls DeleteModel.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IDeleteModelRequest

DeleteModelRequest message or plain object

deployModel(request, callback) → {undefined}

Calls DeployModel.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IDeployModelRequest

DeployModelRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.DeployModelCallback

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

deployModel(request) → {Promise.<google.longrunning.Operation>}

Calls DeployModel.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IDeployModelRequest

DeployModelRequest message or plain object

exportData(request, callback) → {undefined}

Calls ExportData.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IExportDataRequest

ExportDataRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.ExportDataCallback

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

exportData(request) → {Promise.<google.longrunning.Operation>}

Calls ExportData.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IExportDataRequest

ExportDataRequest message or plain object

exportEvaluatedExamples(request, callback) → {undefined}

Calls ExportEvaluatedExamples.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IExportEvaluatedExamplesRequest

ExportEvaluatedExamplesRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.ExportEvaluatedExamplesCallback

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

exportEvaluatedExamples(request) → {Promise.<google.longrunning.Operation>}

Calls ExportEvaluatedExamples.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IExportEvaluatedExamplesRequest

ExportEvaluatedExamplesRequest message or plain object

exportModel(request, callback) → {undefined}

Calls ExportModel.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IExportModelRequest

ExportModelRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.ExportModelCallback

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

exportModel(request) → {Promise.<google.longrunning.Operation>}

Calls ExportModel.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IExportModelRequest

ExportModelRequest message or plain object

getAnnotationSpec(request, callback) → {undefined}

Calls GetAnnotationSpec.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IGetAnnotationSpecRequest

GetAnnotationSpecRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.GetAnnotationSpecCallback

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

getAnnotationSpec(request) → {Promise.<google.cloud.automl.v1beta1.AnnotationSpec>}

Calls GetAnnotationSpec.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IGetAnnotationSpecRequest

GetAnnotationSpecRequest message or plain object

getColumnSpec(request, callback) → {undefined}

Calls GetColumnSpec.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IGetColumnSpecRequest

GetColumnSpecRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.GetColumnSpecCallback

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

getColumnSpec(request) → {Promise.<google.cloud.automl.v1beta1.ColumnSpec>}

Calls GetColumnSpec.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IGetColumnSpecRequest

GetColumnSpecRequest message or plain object

getDataset(request, callback) → {undefined}

Calls GetDataset.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IGetDatasetRequest

GetDatasetRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.GetDatasetCallback

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

getDataset(request) → {Promise.<google.cloud.automl.v1beta1.Dataset>}

Calls GetDataset.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IGetDatasetRequest

GetDatasetRequest message or plain object

getModel(request, callback) → {undefined}

Calls GetModel.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IGetModelRequest

GetModelRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.GetModelCallback

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

getModel(request) → {Promise.<google.cloud.automl.v1beta1.Model>}

Calls GetModel.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IGetModelRequest

GetModelRequest message or plain object

getModelEvaluation(request, callback) → {undefined}

Calls GetModelEvaluation.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IGetModelEvaluationRequest

GetModelEvaluationRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.GetModelEvaluationCallback

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

getModelEvaluation(request) → {Promise.<google.cloud.automl.v1beta1.ModelEvaluation>}

Calls GetModelEvaluation.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IGetModelEvaluationRequest

GetModelEvaluationRequest message or plain object

getTableSpec(request, callback) → {undefined}

Calls GetTableSpec.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IGetTableSpecRequest

GetTableSpecRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.GetTableSpecCallback

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

getTableSpec(request) → {Promise.<google.cloud.automl.v1beta1.TableSpec>}

Calls GetTableSpec.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IGetTableSpecRequest

GetTableSpecRequest message or plain object

importData(request, callback) → {undefined}

Calls ImportData.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IImportDataRequest

ImportDataRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.ImportDataCallback

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

importData(request) → {Promise.<google.longrunning.Operation>}

Calls ImportData.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IImportDataRequest

ImportDataRequest message or plain object

listColumnSpecs(request, callback) → {undefined}

Calls ListColumnSpecs.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IListColumnSpecsRequest

ListColumnSpecsRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.ListColumnSpecsCallback

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

listColumnSpecs(request) → {Promise.<google.cloud.automl.v1beta1.ListColumnSpecsResponse>}

Calls ListColumnSpecs.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IListColumnSpecsRequest

ListColumnSpecsRequest message or plain object

listDatasets(request, callback) → {undefined}

Calls ListDatasets.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IListDatasetsRequest

ListDatasetsRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.ListDatasetsCallback

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

listDatasets(request) → {Promise.<google.cloud.automl.v1beta1.ListDatasetsResponse>}

Calls ListDatasets.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IListDatasetsRequest

ListDatasetsRequest message or plain object

listModelEvaluations(request, callback) → {undefined}

Calls ListModelEvaluations.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IListModelEvaluationsRequest

ListModelEvaluationsRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.ListModelEvaluationsCallback

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

listModelEvaluations(request) → {Promise.<google.cloud.automl.v1beta1.ListModelEvaluationsResponse>}

Calls ListModelEvaluations.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IListModelEvaluationsRequest

ListModelEvaluationsRequest message or plain object

listModels(request, callback) → {undefined}

Calls ListModels.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IListModelsRequest

ListModelsRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.ListModelsCallback

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

listModels(request) → {Promise.<google.cloud.automl.v1beta1.ListModelsResponse>}

Calls ListModels.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IListModelsRequest

ListModelsRequest message or plain object

listTableSpecs(request, callback) → {undefined}

Calls ListTableSpecs.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IListTableSpecsRequest

ListTableSpecsRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.ListTableSpecsCallback

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

listTableSpecs(request) → {Promise.<google.cloud.automl.v1beta1.ListTableSpecsResponse>}

Calls ListTableSpecs.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IListTableSpecsRequest

ListTableSpecsRequest message or plain object

undeployModel(request, callback) → {undefined}

Calls UndeployModel.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IUndeployModelRequest

UndeployModelRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.UndeployModelCallback

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

undeployModel(request) → {Promise.<google.longrunning.Operation>}

Calls UndeployModel.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IUndeployModelRequest

UndeployModelRequest message or plain object

updateColumnSpec(request, callback) → {undefined}

Calls UpdateColumnSpec.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IUpdateColumnSpecRequest

UpdateColumnSpecRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.UpdateColumnSpecCallback

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

updateColumnSpec(request) → {Promise.<google.cloud.automl.v1beta1.ColumnSpec>}

Calls UpdateColumnSpec.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IUpdateColumnSpecRequest

UpdateColumnSpecRequest message or plain object

updateDataset(request, callback) → {undefined}

Calls UpdateDataset.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IUpdateDatasetRequest

UpdateDatasetRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.UpdateDatasetCallback

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

updateDataset(request) → {Promise.<google.cloud.automl.v1beta1.Dataset>}

Calls UpdateDataset.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IUpdateDatasetRequest

UpdateDatasetRequest message or plain object

updateTableSpec(request, callback) → {undefined}

Calls UpdateTableSpec.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IUpdateTableSpecRequest

UpdateTableSpecRequest message or plain object

callback google.cloud.automl.v1beta1.AutoMl.UpdateTableSpecCallback

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

updateTableSpec(request) → {Promise.<google.cloud.automl.v1beta1.TableSpec>}

Calls UpdateTableSpec.

Parameters:
Name Type Description
request google.cloud.automl.v1beta1.IUpdateTableSpecRequest

UpdateTableSpecRequest message or plain object

Type Definitions

CreateDatasetCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#createDataset.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.automl.v1beta1.Dataset <optional>

Dataset

CreateModelCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#createModel.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

DeleteDatasetCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#deleteDataset.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

DeleteModelCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#deleteModel.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

DeployModelCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#deployModel.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

ExportDataCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#exportData.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

ExportEvaluatedExamplesCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#exportEvaluatedExamples.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

ExportModelCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#exportModel.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

GetAnnotationSpecCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#getAnnotationSpec.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.automl.v1beta1.AnnotationSpec <optional>

AnnotationSpec

GetColumnSpecCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#getColumnSpec.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.automl.v1beta1.ColumnSpec <optional>

ColumnSpec

GetDatasetCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#getDataset.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.automl.v1beta1.Dataset <optional>

Dataset

GetModelCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#getModel.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.automl.v1beta1.Model <optional>

Model

GetModelEvaluationCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#getModelEvaluation.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.automl.v1beta1.ModelEvaluation <optional>

ModelEvaluation

GetTableSpecCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#getTableSpec.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.automl.v1beta1.TableSpec <optional>

TableSpec

ImportDataCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#importData.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

ListColumnSpecsCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#listColumnSpecs.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.automl.v1beta1.ListColumnSpecsResponse <optional>

ListColumnSpecsResponse

ListDatasetsCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#listDatasets.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.automl.v1beta1.ListDatasetsResponse <optional>

ListDatasetsResponse

ListModelEvaluationsCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#listModelEvaluations.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.automl.v1beta1.ListModelEvaluationsResponse <optional>

ListModelEvaluationsResponse

ListModelsCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#listModels.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.automl.v1beta1.ListModelsResponse <optional>

ListModelsResponse

ListTableSpecsCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#listTableSpecs.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.automl.v1beta1.ListTableSpecsResponse <optional>

ListTableSpecsResponse

UndeployModelCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#undeployModel.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

UpdateColumnSpecCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#updateColumnSpec.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.automl.v1beta1.ColumnSpec <optional>

ColumnSpec

UpdateDatasetCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#updateDataset.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.automl.v1beta1.Dataset <optional>

Dataset

UpdateTableSpecCallback(error, responseopt)

Callback as used by google.cloud.automl.v1beta1.AutoMl#updateTableSpec.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.automl.v1beta1.TableSpec <optional>

TableSpec