Resource: Channel
A Channel
represents a stream of releases for a site. All sites have a default live
channel that serves content to the Firebase-provided subdomains and any connected custom domains.
JSON representation |
---|
{ "name": string, "url": string, "release": { object ( |
Fields | |
---|---|
name |
The fully-qualified resource name for the channel, in the format:
|
url |
Output only. The URL at which the content of this channel's current release can be viewed. This URL is a Firebase-provided subdomain of The content of this channel's current release can also be viewed at the Firebase-provided subdomain of If this channel is the |
release |
Output only. The current release for the channel, if any. |
createTime |
Output only. The time at which the channel was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The time at which the channel was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
retainedReleaseCount |
The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels. |
labels |
Text labels used for extra metadata and/or filtering. An object containing a list of |
Union field
|
|
expireTime |
The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in the output whether it's set directly or via the A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
ttl |
Input only. A time-to-live for this channel. Sets A duration in seconds with up to nine fractional digits, ending with ' |
Methods |
|
---|---|
|
Creates a new channel in the specified site. |
|
Deletes the specified channel of the specified site. |
|
Retrieves information for the specified channel of the specified site. |
|
Lists the channels for the specified site. |
|
Updates information for the specified channel of the specified site. |