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.
createTimeThe time at which the channel was created.expireTimeThe 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 thettlfield.labelsText labels used for extra metadata and/or filtering.nameThe fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_IDreleaseThe current release for the channel, if any.retainedReleaseCountThe 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.ttlInput only. A time-to-live for this channel. Setsexpire_timeto the provided duration past the time of the request.updateTimeThe time at which the channel was last updated.urlThe URL at which the content of this channel's current release can be viewed. This URL is a Firebase-provided subdomain ofweb.app. The content of this channel's current release can also be viewed at the Firebase-provided subdomain offirebaseapp.com. If this channel is thelivechannel 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
ttlfield.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_timeto 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 offirebaseapp.com. If this channel is thelivechannel 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