Class Channel (2.0.0)

public sealed class Channel : IMessage<Channel>, IEquatable<Channel>, IDeepCloneable<Channel>, IBufferMessage, IMessage

A representation of the Channel resource. A Channel is a resource on which event providers publish their events. The published events are delivered through the transport associated with the channel. Note that a channel is associated with exactly one event provider.

Inheritance

Object > Channel

Namespace

Google.Cloud.Eventarc.V1

Assembly

Google.Cloud.Eventarc.V1.dll

Constructors

Channel()

public Channel()

Channel(Channel)

public Channel(Channel other)
Parameter
NameDescription
otherChannel

Properties

ActivationToken

public string ActivationToken { get; set; }

Output only. The activation token for the channel. The token must be used by the provider to register the channel for publishing.

Property Value
TypeDescription
String

ChannelName

public ChannelName ChannelName { get; set; }

ChannelName-typed view over the Name resource name property.

Property Value
TypeDescription
ChannelName

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The creation time.

Property Value
TypeDescription
Timestamp

Name

public string Name { get; set; }

Required. The resource name of the channel. Must be unique within the location on the project and must be in projects/{project}/locations/{location}/channels/{channel_id} format.

Property Value
TypeDescription
String

Provider

public string Provider { get; set; }

Required. The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: projects/{project}/locations/{location}/providers/{provider_id}.

Property Value
TypeDescription
String

PubsubTopic

public string PubsubTopic { get; set; }

Output only. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: projects/{project}/topics/{topic_id}.

Property Value
TypeDescription
String

State

public Channel.Types.State State { get; set; }

Output only. The state of a Channel.

Property Value
TypeDescription
Channel.Types.State

TransportCase

public Channel.TransportOneofCase TransportCase { get; }
Property Value
TypeDescription
Channel.TransportOneofCase

Uid

public string Uid { get; set; }

Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.

Property Value
TypeDescription
String

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The last-modified time.

Property Value
TypeDescription
Timestamp