Skip to content

Commit

Permalink
feat(firebaseml): update the API
Browse files Browse the repository at this point in the history
#### firebaseml:v1beta2
The following keys were added:
- schemas.TfLiteModel.properties.automlModel.description
- schemas.TfLiteModel.properties.automlModel.type
  • Loading branch information
JustinBeckwith committed Oct 5, 2020
1 parent c36263f commit 5f527aa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion discovery/firebaseml-v1beta2.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@
}
}
},
"revision": "20200822",
"revision": "20201002",
"rootUrl": "https://firebaseml.googleapis.com/",
"schemas": {
"Empty": {
Expand Down Expand Up @@ -489,6 +489,10 @@
"description": "Information that is specific to TfLite models.",
"id": "TfLiteModel",
"properties": {
"automlModel": {
"description": "The AutoML model id referencing a model you created with the AutoML API. The name should have format 'projects//locations//models/' (This is the model resource name returned from the AutoML API)",
"type": "string"
},
"gcsTfliteUri": {
"description": "The TfLite file containing the model. (Stored in Google Cloud). The gcs_tflite_uri should have form: gs://some-bucket/some-model.tflite Note: If you update the file in the original location, it is necessary to call UpdateModel for ML to pick up and validate the updated file.",
"type": "string"
Expand Down
4 changes: 4 additions & 0 deletions src/apis/firebaseml/v1beta2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,10 @@ export namespace firebaseml_v1beta2 {
* Information that is specific to TfLite models.
*/
export interface Schema$TfLiteModel {
/**
* The AutoML model id referencing a model you created with the AutoML API. The name should have format 'projects//locations//models/' (This is the model resource name returned from the AutoML API)
*/
automlModel?: string | null;
/**
* The TfLite file containing the model. (Stored in Google Cloud). The gcs_tflite_uri should have form: gs://some-bucket/some-model.tflite Note: If you update the file in the original location, it is necessary to call UpdateModel for ML to pick up and validate the updated file.
*/
Expand Down

0 comments on commit 5f527aa

Please sign in to comment.