GetVersionResult class

Result data returned by getVersion.

Constructors

GetVersionResult({required ServingConfigResponse config, required String createTime, required ActingUserResponse createUser, required String deleteTime, required ActingUserResponse deleteUser, required String fileCount, required String finalizeTime, required ActingUserResponse finalizeUser, required Map<String, String> labels, required String name, required String status, required String versionBytes})
Creates a new GetVersionResult. 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
GetVersionResult.fromMap(Map<String, dynamic> map)
factory

Properties

config → ServingConfigResponse
The configuration for the behavior of the site. This configuration exists in the firebase.json file.
final
createTime → String
The time at which the version was created.
final
createUser → ActingUserResponse
Identifies the user who created the version.
final
deleteTime → String
The time at which the version was DELETED.
final
deleteUser → ActingUserResponse
Identifies the user who DELETED the version.
final
fileCount → String
The total number of files associated with the version. This value is calculated after a version is FINALIZED.
final
finalizeTime → String
The time at which the version was FINALIZED.
final
finalizeUser → ActingUserResponse
Identifies the user who FINALIZED the version.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Map<String, String>
The labels used for extra metadata and/or filtering.
final
name → 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 → 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 → 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