status property

String? status
getter/setter pair

The deploy status of the version.

For a successful deploy, call [CreateVersion](sites.versions/create) to make a new version (CREATED status), [upload all desired files](sites.versions/populateFiles) to the version, then [update](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 [DeleteVersion](sites.versions/delete). Possible string values are:

  • "VERSION_STATUS_UNSPECIFIED" : The default status; should not be intentionally used.
  • "CREATED" : The version has been created, and content is currently being added to the version.
  • "FINALIZED" : All content has been added to the version, and the version can no longer be changed.
  • "DELETED" : The version has been deleted.
  • "ABANDONED" : The version was not updated to FINALIZED within 12 hours and was automatically deleted.
  • "EXPIRED" : The version is outside the site-configured limit for the number of retained versions, so the version's content is scheduled for deletion.
  • "CLONING" : The version is being cloned from another version. All content is still being copied over.

Implementation

core.String? status;