VersionResponse class

A Version is a configuration and a collection of static files which determine how a site is displayed.

Constructors

VersionResponse({required Input<ServingConfigResponse> config, required Input<String> createTime, required Input<ActingUserResponse> createUser, required Input<String> deleteTime, required Input<ActingUserResponse> deleteUser, required Input<String> fileCount, required Input<String> finalizeTime, required Input<ActingUserResponse> finalizeUser, required Input<Map<String, String>> labels, required Input<String> name, required Input<String> status, required Input<String> versionBytes})
Creates a new VersionResponse. config The configuration for the behavior of the site. This configuration exists in the firebase.json file. createTime The time at which the version was created. createUser Identifies the user who created the version. deleteTime The time at which the version was DELETED. deleteUser Identifies the user who DELETED the version. fileCount The total number of files associated with the version. This value is calculated after a version is FINALIZED. finalizeTime The time at which the version was FINALIZED. finalizeUser Identifies the user who FINALIZED the version. labels The labels used for extra metadata and/or filtering. name 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 CreateVersion. status The deploy status of the version. For a successful deploy, call CreateVersion to make a new version (CREATED status), upload all desired files to the version, then update 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 DeleteVersion. versionBytes The total stored bytesize of the version. This value is calculated after a version is FINALIZED.
const
VersionResponse.fromMap(Map<String, dynamic> map)
factory

Properties

config → Input<ServingConfigResponse>
The configuration for the behavior of the site. This configuration exists in the firebase.json file.
final
createTime → Input<String>
The time at which the version was created.
final
createUser → Input<ActingUserResponse>
Identifies the user who created the version.
final
deleteTime → Input<String>
The time at which the version was DELETED.
final
deleteUser → Input<ActingUserResponse>
Identifies the user who DELETED the version.
final
fileCount → Input<String>
The total number of files associated with the version. This value is calculated after a version is FINALIZED.
final
finalizeTime → Input<String>
The time at which the version was FINALIZED.
final
finalizeUser → Input<ActingUserResponse>
Identifies the user who FINALIZED the version.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>>
The labels used for extra metadata and/or filtering.
final
name → Input<String>
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 CreateVersion.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → Input<String>
The deploy status of the version. For a successful deploy, call CreateVersion to make a new version (CREATED status), upload all desired files to the version, then update 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 DeleteVersion.
final
versionBytes → Input<String>
The total stored bytesize of the version. This value is calculated after a version is FINALIZED.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited