Eventarc v1 API - Class Channel (2.3.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

HasPubsubTopic

public bool HasPubsubTopic { get; }

Gets whether the "pubsub_topic" field is set

Property Value
TypeDescription
bool

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
ChannelTypesState

TransportCase

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

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