GetChannelResult constructor

const GetChannelResult({
  1. required String createTime,
  2. required String expireTime,
  3. required Map<String, String> labels,
  4. required String name,
  5. required ReleaseResponse release,
  6. required int retainedReleaseCount,
  7. required String ttl,
  8. required String updateTime,
  9. required String url,
})

Creates a new GetChannelResult. createTime The time at which the channel was created. 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 ttl field. labels Text labels used for extra metadata and/or filtering. name The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID release The current release for the channel, if any. 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. ttl Input only. A time-to-live for this channel. Sets expire_time to the provided duration past the time of the request. updateTime The time at which the channel was last updated. url 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.

Implementation

const GetChannelResult({
  required this.createTime,
  required this.expireTime,
  required this.labels,
  required this.name,
  required this.release,
  required this.retainedReleaseCount,
  required this.ttl,
  required this.updateTime,
  required this.url,
});