@@ -1068,8 +1068,8 @@ declare namespace admin.remoteConfig {
1068
1068
* The `nextPageToken` value returned from a previous list versions request, if any.
1069
1069
*/
1070
1070
pageToken ?: string ;
1071
-
1072
- /**
1071
+
1072
+ /**
1073
1073
* Specifies the newest version number to include in the results.
1074
1074
* If specified, must be greater than zero. Defaults to the newest version.
1075
1075
*/
@@ -1126,9 +1126,9 @@ declare namespace admin.remoteConfig {
1126
1126
/**
1127
1127
* Gets the requested version of the {@link admin.remoteConfig.RemoteConfigTemplate
1128
1128
* `RemoteConfigTemplate`} of the project.
1129
- *
1129
+ *
1130
1130
* @param versionNumber Version number of the Remote Config template to look up.
1131
- *
1131
+ *
1132
1132
* @return A promise that fulfills with a `RemoteConfigTemplate`.
1133
1133
*/
1134
1134
getTemplateAtVersion ( versionNumber : number | string ) : Promise < RemoteConfigTemplate > ;
@@ -1161,7 +1161,7 @@ declare namespace admin.remoteConfig {
1161
1161
* Rolls back a project's published Remote Config template to the specified version.
1162
1162
* A rollback is equivalent to getting a previously published Remote Config
1163
1163
* template and re-publishing it using a force update.
1164
- *
1164
+ *
1165
1165
* @param versionNumber The version number of the Remote Config template to roll back to.
1166
1166
* The specified version number must be lower than the current version number, and not have
1167
1167
* been deleted due to staleness. Only the last 300 versions are stored.
@@ -1172,11 +1172,11 @@ declare namespace admin.remoteConfig {
1172
1172
rollback ( versionNumber : string | number ) : Promise < RemoteConfigTemplate > ;
1173
1173
1174
1174
/**
1175
- * Gets a list of Remote Config template versions that have been published, sorted in reverse
1175
+ * Gets a list of Remote Config template versions that have been published, sorted in reverse
1176
1176
* chronological order. Only the last 300 versions are stored.
1177
- * All versions that correspond to non-active Remote Config templates (that is, all except the
1177
+ * All versions that correspond to non-active Remote Config templates (that is, all except the
1178
1178
* template that is being fetched by clients) are also deleted if they are more than 90 days old.
1179
- *
1179
+ *
1180
1180
* @param options Optional {@link admin.remoteConfig.ListVersionsOptions `ListVersionsOptions`}
1181
1181
* object for getting a list of template versions.
1182
1182
* @return A promise that fulfills with a `ListVersionsResult`.
@@ -1317,12 +1317,18 @@ declare namespace admin.machineLearning {
1317
1317
/**
1318
1318
* Wait for the model to be unlocked.
1319
1319
*
1320
- * @param {number } maxTimeSeconds The maximum time in seconds to wait.
1320
+ * @param {number } maxTimeMillis The maximum time in milliseconds to wait.
1321
+ * If not specified, a default maximum of 2 minutes is used.
1321
1322
*
1322
1323
* @return {Promise<void> } A promise that resolves when the model is unlocked
1323
1324
* or the maximum wait time has passed.
1324
1325
*/
1325
- waitForUnlocked ( maxTimeSeconds ?: number ) : Promise < void > ;
1326
+ waitForUnlocked ( maxTimeMillis ?: number ) : Promise < void > ;
1327
+
1328
+ /**
1329
+ * Return the model as a JSON object.
1330
+ */
1331
+ toJSON ( ) : { [ key : string ] : any } ;
1326
1332
1327
1333
/** Metadata about the model's TensorFlow Lite model file. */
1328
1334
readonly tfliteModel ?: TFLiteModel ;
0 commit comments