GetChannelResult class

Result data returned by getChannel.

Constructors

GetChannelResult({required String createTime, required String expireTime, required Map<String, String> labels, required String name, required ReleaseResponse release, required int retainedReleaseCount, required String ttl, required String updateTime, 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.
const
GetChannelResult.fromMap(Map<String, dynamic> map)
factory

Properties

createTime → String
The time at which the channel was created.
final
expireTime → String
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.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Map<String, String>
Text labels used for extra metadata and/or filtering.
final
name → String
The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID
final
release → ReleaseResponse
The current release for the channel, if any.
final
retainedReleaseCount → int
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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
ttl → String
Input only. A time-to-live for this channel. Sets expire_time to the provided duration past the time of the request.
final
updateTime → String
The time at which the channel was last updated.
final
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited