-
Notifications
You must be signed in to change notification settings - Fork 391
FirebaseML - adding Long Running Operation support #951
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
edd48dd
2404911
49e4aab
ccbf8da
3b4d469
66a8f8c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1068,8 +1068,8 @@ declare namespace admin.remoteConfig { | |
* The `nextPageToken` value returned from a previous list versions request, if any. | ||
*/ | ||
pageToken?: string; | ||
/** | ||
|
||
/** | ||
* Specifies the newest version number to include in the results. | ||
* If specified, must be greater than zero. Defaults to the newest version. | ||
*/ | ||
|
@@ -1126,9 +1126,9 @@ declare namespace admin.remoteConfig { | |
/** | ||
* Gets the requested version of the {@link admin.remoteConfig.RemoteConfigTemplate | ||
* `RemoteConfigTemplate`} of the project. | ||
* | ||
* | ||
* @param versionNumber Version number of the Remote Config template to look up. | ||
* | ||
* | ||
* @return A promise that fulfills with a `RemoteConfigTemplate`. | ||
*/ | ||
getTemplateAtVersion(versionNumber: number | string): Promise<RemoteConfigTemplate>; | ||
|
@@ -1161,7 +1161,7 @@ declare namespace admin.remoteConfig { | |
* Rolls back a project's published Remote Config template to the specified version. | ||
* A rollback is equivalent to getting a previously published Remote Config | ||
* template and re-publishing it using a force update. | ||
* | ||
* | ||
* @param versionNumber The version number of the Remote Config template to roll back to. | ||
* The specified version number must be lower than the current version number, and not have | ||
* been deleted due to staleness. Only the last 300 versions are stored. | ||
|
@@ -1172,11 +1172,11 @@ declare namespace admin.remoteConfig { | |
rollback(versionNumber: string | number): Promise<RemoteConfigTemplate>; | ||
|
||
/** | ||
* Gets a list of Remote Config template versions that have been published, sorted in reverse | ||
* Gets a list of Remote Config template versions that have been published, sorted in reverse | ||
* chronological order. Only the last 300 versions are stored. | ||
* All versions that correspond to non-active Remote Config templates (that is, all except the | ||
* All versions that correspond to non-active Remote Config templates (that is, all except the | ||
* template that is being fetched by clients) are also deleted if they are more than 90 days old. | ||
* | ||
* | ||
* @param options Optional {@link admin.remoteConfig.ListVersionsOptions `ListVersionsOptions`} | ||
* object for getting a list of template versions. | ||
* @return A promise that fulfills with a `ListVersionsResult`. | ||
|
@@ -1317,12 +1317,18 @@ declare namespace admin.machineLearning { | |
/** | ||
* Wait for the model to be unlocked. | ||
* | ||
* @param {number} maxTimeSeconds The maximum time in seconds to wait. | ||
* @param {number} maxTimeMillis The maximum time in milliseconds to wait. | ||
* If not specified, a default maximum of 2 minutes will be used. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We try to avoid "will." Suggest just "is used." There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
* | ||
* @return {Promise<void>} A promise that resolves when the model is unlocked | ||
* or the maximum wait time has passed. | ||
*/ | ||
waitForUnlocked(maxTimeSeconds?: number): Promise<void>; | ||
waitForUnlocked(maxTimeMillis?: number): Promise<void>; | ||
|
||
/** | ||
* Return the JSON format of the model. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This feels slightly weird, unless "format" is a special noun in your context. Would "Return the model in JSON format" or "as a JSON object" work? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
*/ | ||
toJSON(): {[key: string]: any}; | ||
|
||
/** Metadata about the model's TensorFlow Lite model file. */ | ||
readonly tfliteModel?: TFLiteModel; | ||
|
Uh oh!
There was an error while loading. Please reload this page.