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< labels, required Input<String, String> >String> name, required Input<String> status, required Input<String> versionBytes}) -
Creates a new VersionResponse.
configThe configuration for the behavior of the site. This configuration exists in thefirebase.jsonfile.createTimeThe time at which the version was created.createUserIdentifies the user who created the version.deleteTimeThe time at which the version wasDELETED.deleteUserIdentifies the user whoDELETEDthe version.fileCountThe total number of files associated with the version. This value is calculated after a version isFINALIZED.finalizeTimeThe time at which the version wasFINALIZED.finalizeUserIdentifies the user whoFINALIZEDthe version.labelsThe labels used for extra metadata and/or filtering.nameThe 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 callCreateVersion.statusThe deploy status of the version. For a successful deploy, callCreateVersionto make a new version (CREATEDstatus), upload all desired files to the version, then update the version to theFINALIZEDstatus. Note that if you leave the version in theCREATEDstate for more than 12 hours, the system will automatically mark the version asABANDONED. You can also change the status of a version toDELETEDby callingDeleteVersion.versionBytesThe total stored bytesize of the version. This value is calculated after a version isFINALIZED.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.jsonfile.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
DELETEDthe 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
FINALIZEDthe 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
CreateVersionto make a new version (CREATEDstatus), upload all desired files to the version, then update the version to theFINALIZEDstatus. Note that if you leave the version in theCREATEDstate for more than 12 hours, the system will automatically mark the version asABANDONED. You can also change the status of a version toDELETEDby callingDeleteVersion.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