The automl package has the following named exports:
AutoMlClient- Reference to v1.AutoMlClientPredictionServiceClient- Reference to v1.PredictionServiceClientv1- This is used for selecting or pinning a particular backend service version. It exports:AutoMlClient- Reference to v1.AutoMlClientPredictionServiceClient- Reference to v1.PredictionServiceClient
Examples
Install the client library with npm:
npm install --save automl
Import the client library:
const automl = require('automl');
Create a client that uses Application Default Credentials (ADC):
const client = new automl.AutoMlClient();
Create a client with explicit credentials:
const client = new automl.AutoMlClient({
projectId: 'your-project-id',
keyFilename: '/path/to/keyfile.json',
});
Members
(static) v1 :object
Properties:
| Name | Type | Description |
|---|---|---|
AutoMlClient |
constructor |
Reference to v1.AutoMlClient |
PredictionServiceClient |
constructor |
Reference to v1.PredictionServiceClient |
(static) v1beta1 :object
Properties:
| Name | Type | Description |
|---|---|---|
AutoMlClient |
constructor |
Reference to v1.AutoMlClient |
PredictionServiceClient |
constructor |
Reference to v1.PredictionServiceClient |