ChannelArgs class
The set of arguments for Channel. The set of arguments for Channel.
Constructors
-
ChannelArgs({required Input<
String> channelId, Input<String> ? expireTime, Input<Map< ? labels, Input<String, String> >String> ? name, Input<String> ? project, Input<int> ? retainedReleaseCount, required Input<String> siteId, Input<String> ? ttl}) -
Creates a new ChannelArgs.
channelIdRequired. Immutable. A unique ID within the site that identifies the channel.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_IDprojectOptional.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.siteIdRequired.ttlInput only. A time-to-live for this channel. Setsexpire_timeto the provided duration past the time of the request.const -
ChannelArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
channelId
→ Input<
String> -
Required. Immutable. A unique ID within the site that identifies the channel.
final
-
expireTime
→ Input<
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
→ Input<
Map< ?String, String> > -
Text labels used for extra metadata and/or filtering.
final
-
name
→ Input<
String> ? -
The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID
final
-
project
→ Input<
String> ? -
final
-
retainedReleaseCount
→ Input<
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
-
siteId
→ Input<
String> -
final
-
ttl
→ Input<
String> ? -
Input only. A time-to-live for this channel. Sets
expire_timeto the provided duration past the time of the request.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