GetChannelResult

data class GetChannelResult(val createTime: String, val expireTime: String, val labels: Map<String, String>, val name: String, val release: ReleaseResponse, val retainedReleaseCount: Int, val ttl: String, val updateTime: String, val url: String)

Constructors

Link copied to clipboard
fun GetChannelResult(createTime: String, expireTime: String, labels: Map<String, String>, name: String, release: ReleaseResponse, retainedReleaseCount: Int, ttl: String, updateTime: String, url: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The time at which the channel was created.

Link copied to clipboard

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 ttl field.

Link copied to clipboard

Text labels used for extra metadata and/or filtering.

Link copied to clipboard

The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID

Link copied to clipboard

The current release for the channel, if any.

Link copied to clipboard

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.

Link copied to clipboard
val ttl: String

Input only. A time-to-live for this channel. Sets expire_time to the provided duration past the time of the request.

Link copied to clipboard

The time at which the channel was last updated.

Link copied to clipboard
val url: String

The URL at which the content of this channel's current release can be viewed. This URL is a Firebase-provided subdomain of web.app. The content of this channel's current release can also be viewed at the Firebase-provided subdomain of firebaseapp.com. If this channel is the live channel for the Hosting site, then the content of this channel's current release can also be viewed at any connected custom domains.