Represents an AutoMl
Inheritance
$protobuf.rpc.Service > protos.google.cloud.automl.v1beta1.AutoMlPackage
@google-cloud/automlConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new AutoMl 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): AutoMl;
Creates new AutoMl 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 |
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 | |
---|---|
Name | Description |
request |
ICreateDatasetRequest
CreateDatasetRequest message or plain object |
callback |
CreateDatasetCallback
Node-style callback called with the error, if any, and Dataset |
Returns | |
---|---|
Type | Description |
void |
createDataset(request)
public createDataset(request: google.cloud.automl.v1beta1.ICreateDatasetRequest): Promise<google.cloud.automl.v1beta1.Dataset>;
Calls CreateDataset.
Parameter | |
---|---|
Name | Description |
request |
ICreateDatasetRequest
CreateDatasetRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ICreateModelRequest
CreateModelRequest message or plain object |
callback |
CreateModelCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createModel(request)
public createModel(request: google.cloud.automl.v1beta1.ICreateModelRequest): Promise<google.longrunning.Operation>;
Calls CreateModel.
Parameter | |
---|---|
Name | Description |
request |
ICreateModelRequest
CreateModelRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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.automl.v1beta1.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 |
deleteModel(request, callback)
public deleteModel(request: google.cloud.automl.v1beta1.IDeleteModelRequest, callback: google.cloud.automl.v1beta1.AutoMl.DeleteModelCallback): void;
Calls DeleteModel.
Parameters | |
---|---|
Name | Description |
request |
IDeleteModelRequest
DeleteModelRequest message or plain object |
callback |
DeleteModelCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deleteModel(request)
public deleteModel(request: google.cloud.automl.v1beta1.IDeleteModelRequest): Promise<google.longrunning.Operation>;
Calls DeleteModel.
Parameter | |
---|---|
Name | Description |
request |
IDeleteModelRequest
DeleteModelRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IDeployModelRequest
DeployModelRequest message or plain object |
callback |
DeployModelCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deployModel(request)
public deployModel(request: google.cloud.automl.v1beta1.IDeployModelRequest): Promise<google.longrunning.Operation>;
Calls DeployModel.
Parameter | |
---|---|
Name | Description |
request |
IDeployModelRequest
DeployModelRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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.automl.v1beta1.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 |
exportEvaluatedExamples(request, callback)
public exportEvaluatedExamples(request: google.cloud.automl.v1beta1.IExportEvaluatedExamplesRequest, callback: google.cloud.automl.v1beta1.AutoMl.ExportEvaluatedExamplesCallback): void;
Calls ExportEvaluatedExamples.
Parameters | |
---|---|
Name | Description |
request |
IExportEvaluatedExamplesRequest
ExportEvaluatedExamplesRequest message or plain object |
callback |
ExportEvaluatedExamplesCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
exportEvaluatedExamples(request)
public exportEvaluatedExamples(request: google.cloud.automl.v1beta1.IExportEvaluatedExamplesRequest): Promise<google.longrunning.Operation>;
Calls ExportEvaluatedExamples.
Parameter | |
---|---|
Name | Description |
request |
IExportEvaluatedExamplesRequest
ExportEvaluatedExamplesRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IExportModelRequest
ExportModelRequest message or plain object |
callback |
ExportModelCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
exportModel(request)
public exportModel(request: google.cloud.automl.v1beta1.IExportModelRequest): Promise<google.longrunning.Operation>;
Calls ExportModel.
Parameter | |
---|---|
Name | Description |
request |
IExportModelRequest
ExportModelRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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.automl.v1beta1.IGetAnnotationSpecRequest): Promise<google.cloud.automl.v1beta1.AnnotationSpec>;
Calls GetAnnotationSpec.
Parameter | |
---|---|
Name | Description |
request |
IGetAnnotationSpecRequest
GetAnnotationSpecRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IGetColumnSpecRequest
GetColumnSpecRequest message or plain object |
callback |
GetColumnSpecCallback
Node-style callback called with the error, if any, and ColumnSpec |
Returns | |
---|---|
Type | Description |
void |
getColumnSpec(request)
public getColumnSpec(request: google.cloud.automl.v1beta1.IGetColumnSpecRequest): Promise<google.cloud.automl.v1beta1.ColumnSpec>;
Calls GetColumnSpec.
Parameter | |
---|---|
Name | Description |
request |
IGetColumnSpecRequest
GetColumnSpecRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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.automl.v1beta1.IGetDatasetRequest): Promise<google.cloud.automl.v1beta1.Dataset>;
Calls GetDataset.
Parameter | |
---|---|
Name | Description |
request |
IGetDatasetRequest
GetDatasetRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IGetModelRequest
GetModelRequest message or plain object |
callback |
GetModelCallback
Node-style callback called with the error, if any, and Model |
Returns | |
---|---|
Type | Description |
void |
getModel(request)
public getModel(request: google.cloud.automl.v1beta1.IGetModelRequest): Promise<google.cloud.automl.v1beta1.Model>;
Calls GetModel.
Parameter | |
---|---|
Name | Description |
request |
IGetModelRequest
GetModelRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IGetModelEvaluationRequest
GetModelEvaluationRequest message or plain object |
callback |
GetModelEvaluationCallback
Node-style callback called with the error, if any, and ModelEvaluation |
Returns | |
---|---|
Type | Description |
void |
getModelEvaluation(request)
public getModelEvaluation(request: google.cloud.automl.v1beta1.IGetModelEvaluationRequest): Promise<google.cloud.automl.v1beta1.ModelEvaluation>;
Calls GetModelEvaluation.
Parameter | |
---|---|
Name | Description |
request |
IGetModelEvaluationRequest
GetModelEvaluationRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IGetTableSpecRequest
GetTableSpecRequest message or plain object |
callback |
GetTableSpecCallback
Node-style callback called with the error, if any, and TableSpec |
Returns | |
---|---|
Type | Description |
void |
getTableSpec(request)
public getTableSpec(request: google.cloud.automl.v1beta1.IGetTableSpecRequest): Promise<google.cloud.automl.v1beta1.TableSpec>;
Calls GetTableSpec.
Parameter | |
---|---|
Name | Description |
request |
IGetTableSpecRequest
GetTableSpecRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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.automl.v1beta1.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 |
listColumnSpecs(request, callback)
public listColumnSpecs(request: google.cloud.automl.v1beta1.IListColumnSpecsRequest, callback: google.cloud.automl.v1beta1.AutoMl.ListColumnSpecsCallback): void;
Calls ListColumnSpecs.
Parameters | |
---|---|
Name | Description |
request |
IListColumnSpecsRequest
ListColumnSpecsRequest message or plain object |
callback |
ListColumnSpecsCallback
Node-style callback called with the error, if any, and ListColumnSpecsResponse |
Returns | |
---|---|
Type | Description |
void |
listColumnSpecs(request)
public listColumnSpecs(request: google.cloud.automl.v1beta1.IListColumnSpecsRequest): Promise<google.cloud.automl.v1beta1.ListColumnSpecsResponse>;
Calls ListColumnSpecs.
Parameter | |
---|---|
Name | Description |
request |
IListColumnSpecsRequest
ListColumnSpecsRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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.automl.v1beta1.IListDatasetsRequest): Promise<google.cloud.automl.v1beta1.ListDatasetsResponse>;
Calls ListDatasets.
Parameter | |
---|---|
Name | Description |
request |
IListDatasetsRequest
ListDatasetsRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IListModelEvaluationsRequest
ListModelEvaluationsRequest message or plain object |
callback |
ListModelEvaluationsCallback
Node-style callback called with the error, if any, and ListModelEvaluationsResponse |
Returns | |
---|---|
Type | Description |
void |
listModelEvaluations(request)
public listModelEvaluations(request: google.cloud.automl.v1beta1.IListModelEvaluationsRequest): Promise<google.cloud.automl.v1beta1.ListModelEvaluationsResponse>;
Calls ListModelEvaluations.
Parameter | |
---|---|
Name | Description |
request |
IListModelEvaluationsRequest
ListModelEvaluationsRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IListModelsRequest
ListModelsRequest message or plain object |
callback |
ListModelsCallback
Node-style callback called with the error, if any, and ListModelsResponse |
Returns | |
---|---|
Type | Description |
void |
listModels(request)
public listModels(request: google.cloud.automl.v1beta1.IListModelsRequest): Promise<google.cloud.automl.v1beta1.ListModelsResponse>;
Calls ListModels.
Parameter | |
---|---|
Name | Description |
request |
IListModelsRequest
ListModelsRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IListTableSpecsRequest
ListTableSpecsRequest message or plain object |
callback |
ListTableSpecsCallback
Node-style callback called with the error, if any, and ListTableSpecsResponse |
Returns | |
---|---|
Type | Description |
void |
listTableSpecs(request)
public listTableSpecs(request: google.cloud.automl.v1beta1.IListTableSpecsRequest): Promise<google.cloud.automl.v1beta1.ListTableSpecsResponse>;
Calls ListTableSpecs.
Parameter | |
---|---|
Name | Description |
request |
IListTableSpecsRequest
ListTableSpecsRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IUndeployModelRequest
UndeployModelRequest message or plain object |
callback |
UndeployModelCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
undeployModel(request)
public undeployModel(request: google.cloud.automl.v1beta1.IUndeployModelRequest): Promise<google.longrunning.Operation>;
Calls UndeployModel.
Parameter | |
---|---|
Name | Description |
request |
IUndeployModelRequest
UndeployModelRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IUpdateColumnSpecRequest
UpdateColumnSpecRequest message or plain object |
callback |
UpdateColumnSpecCallback
Node-style callback called with the error, if any, and ColumnSpec |
Returns | |
---|---|
Type | Description |
void |
updateColumnSpec(request)
public updateColumnSpec(request: google.cloud.automl.v1beta1.IUpdateColumnSpecRequest): Promise<google.cloud.automl.v1beta1.ColumnSpec>;
Calls UpdateColumnSpec.
Parameter | |
---|---|
Name | Description |
request |
IUpdateColumnSpecRequest
UpdateColumnSpecRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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.automl.v1beta1.IUpdateDatasetRequest): Promise<google.cloud.automl.v1beta1.Dataset>;
Calls UpdateDataset.
Parameter | |
---|---|
Name | Description |
request |
IUpdateDatasetRequest
UpdateDatasetRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IUpdateTableSpecRequest
UpdateTableSpecRequest message or plain object |
callback |
UpdateTableSpecCallback
Node-style callback called with the error, if any, and TableSpec |
Returns | |
---|---|
Type | Description |
void |
updateTableSpec(request)
public updateTableSpec(request: google.cloud.automl.v1beta1.IUpdateTableSpecRequest): Promise<google.cloud.automl.v1beta1.TableSpec>;
Calls UpdateTableSpec.
Parameter | |
---|---|
Name | Description |
request |
IUpdateTableSpecRequest
UpdateTableSpecRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.automl.v1beta1.TableSpec> | Promise |