Version Response
data class VersionResponse(val config: ServingConfigResponse, val createTime: String, val createUser: ActingUserResponse, val deleteTime: String, val deleteUser: ActingUserResponse, val fileCount: String, val finalizeTime: String, val finalizeUser: ActingUserResponse, val labels: Map<String, String>, val name: String, val status: String, val versionBytes: String)
A Version
is a configuration and a collection of static files which determine how a site is displayed.
Constructors
Link copied to clipboard
fun VersionResponse(config: ServingConfigResponse, createTime: String, createUser: ActingUserResponse, deleteTime: String, deleteUser: ActingUserResponse, fileCount: String, finalizeTime: String, finalizeUser: ActingUserResponse, labels: Map<String, String>, name: String, status: String, versionBytes: String)
Types
Properties
Link copied to clipboard
The configuration for the behavior of the site. This configuration exists in the firebase.json
file.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The deploy status of the version. For a successful deploy, call sites.versions/create to make a new version (CREATED
status), sites.versions/populateFiles to the version, then sites.versions/patch the version to the FINALIZED
status. Note that if you leave the version in the CREATED
state for more than 12 hours, the system will automatically mark the version as ABANDONED
. You can also change the status of a version to DELETED
by calling sites.versions/delete.