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.managedUpload.description
- schemas.TfLiteModel.properties.managedUpload.type
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jul 23, 2020
1 parent bfef3d7 commit a0834b5
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": "20200509",
"revision": "20200722",
"rootUrl": "https://firebaseml.googleapis.com/",
"schemas": {
"Empty": {
Expand Down Expand Up @@ -487,6 +487,10 @@
"description": "The TfLite file containing the model. (Stored in Google Cloud).\nThe gcs_tflite_uri should have form: gs://some-bucket/some-model.tflite\nNote: If you update the file in the original location, it is\nnecessary to call UpdateModel for ML to pick up and validate the\nupdated file.",
"type": "string"
},
"managedUpload": {
"description": "Output only. A boolean indicating that this model was uploaded from the console.\nRead only",
"type": "boolean"
},
"sizeBytes": {
"description": "Output only. The size of the TFLite model",
"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 @@ -262,6 +262,10 @@ export namespace firebaseml_v1beta2 {
* 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.
*/
gcsTfliteUri?: string | null;
/**
* Output only. A boolean indicating that this model was uploaded from the console. Read only
*/
managedUpload?: boolean | null;
/**
* Output only. The size of the TFLite model
*/
Expand Down

0 comments on commit a0834b5

Please sign in to comment.