Resource: Release
A Release
is a particular collection of configurations and files that is set to be public at a particular time.
JSON representation | |
---|---|
{ "name": string, "version": { object ( |
Fields | |
---|---|
name |
Output only. The unique identifier for the release, in the format:
This name is provided in the response body when you call the |
version |
Output only. The configuration and content that was released. |
type |
Explains the reason for the release. |
releaseTime |
Output only. The time at which the version is set to be public. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: |
releaseUser |
Output only. Identifies the user who created the release. |
message |
The deploy description when the release was created. The value can be up to 512 characters. |
Type
The type of the release; indicates what happened to the content of the site.
Enums | |
---|---|
TYPE_UNSPECIFIED |
An unspecified type. Indicates that a version was released. This is the default value when no other type is explicitly specified. |
DEPLOY |
A version was uploaded to Firebase Hosting and released. |
ROLLBACK |
The release points back to a previously deployed version. |
SITE_DISABLE |
The release prevents the site from serving content. Firebase Hosting acts as if the site never existed. |
Methods |
|
---|---|
|
Creates a new release which makes the content of the specified version actively display on the site. |
|
Lists the releases that have been created on the specified site. |