VersionResponse

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

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The configuration for the behavior of the site. This configuration exists in the firebase&#46;json file.

Link copied to clipboard

The time at which the version was created.

Link copied to clipboard

Identifies the user who created the version.

Link copied to clipboard

The time at which the version was DELETED.

Link copied to clipboard

Identifies the user who DELETED the version.

Link copied to clipboard

The total number of files associated with the version. This value is calculated after a version is FINALIZED.

Link copied to clipboard

The time at which the version was FINALIZED.

Link copied to clipboard

Identifies the user who FINALIZED the version.

Link copied to clipboard

The labels used for extra metadata and/or filtering.

Link copied to clipboard

The fully-qualified resource name for the version, in the format: sites/ SITE_ID/versions/VERSION_ID This name is provided in the response body when you call sites.versions/create.

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.

Link copied to clipboard

The total stored bytesize of the version. This value is calculated after a version is FINALIZED.