VersionResponse constructor

const VersionResponse({
  1. required Input<ServingConfigResponse> config,
  2. required Input<String> createTime,
  3. required Input<ActingUserResponse> createUser,
  4. required Input<String> deleteTime,
  5. required Input<ActingUserResponse> deleteUser,
  6. required Input<String> fileCount,
  7. required Input<String> finalizeTime,
  8. required Input<ActingUserResponse> finalizeUser,
  9. required Input<Map<String, String>> labels,
  10. required Input<String> name,
  11. required Input<String> status,
  12. 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.

Implementation

const VersionResponse({
  required this.config,
  required this.createTime,
  required this.createUser,
  required this.deleteTime,
  required this.deleteUser,
  required this.fileCount,
  required this.finalizeTime,
  required this.finalizeUser,
  required this.labels,
  required this.name,
  required this.status,
  required this.versionBytes,
});