ChannelArgs

data class ChannelArgs(val channelId: Output<String>? = null, val expireTime: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val retainedReleaseCount: Output<Int>? = null, val siteId: Output<String>? = null, val ttl: Output<String>? = null) : ConvertibleToJava<ChannelArgs>

Creates a new channel in the specified site.

Constructors

Link copied to clipboard
fun ChannelArgs(channelId: Output<String>? = null, expireTime: Output<String>? = null, labels: Output<Map<String, String>>? = null, name: Output<String>? = null, project: Output<String>? = null, retainedReleaseCount: Output<Int>? = null, siteId: Output<String>? = null, ttl: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ChannelArgs

Properties

Link copied to clipboard
val channelId: Output<String>? = null

Required. Immutable. A unique ID within the site that identifies the channel.

Link copied to clipboard
val expireTime: Output<String>? = null

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
val labels: Output<Map<String, String>>? = null

Text labels used for extra metadata and/or filtering.

Link copied to clipboard
val name: Output<String>? = null

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

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val retainedReleaseCount: Output<Int>? = null

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 siteId: Output<String>? = null
Link copied to clipboard
val ttl: Output<String>? = null

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