Eventarc v1 API - Class Channel (2.1.0)

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

Reference documentation and code samples for the Eventarc v1 API class Channel.

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

CryptoKeyName

public string CryptoKeyName { get; set; }

Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data.

It must match the pattern projects/*/locations/*/keyRings/*/cryptoKeys/*.

Property Value
TypeDescription
String

CryptoKeyNameAsCryptoKeyName

public CryptoKeyName CryptoKeyNameAsCryptoKeyName { get; set; }

CryptoKeyName-typed view over the CryptoKeyName resource name property.

Property Value
TypeDescription
CryptoKeyName

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; }

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