Eventarc v1 API - Class Channel (2.6.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
Name Description
other Channel

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
Type Description
string

ChannelName

public ChannelName ChannelName { get; set; }

ChannelName-typed view over the Name resource name property.

Property Value
Type Description
ChannelName

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The creation time.

Property Value
Type Description
Timestamp

CryptoKeyName

public string CryptoKeyName { get; set; }

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
Type Description
string

CryptoKeyNameAsCryptoKeyName

public CryptoKeyName CryptoKeyNameAsCryptoKeyName { get; set; }

CryptoKeyName-typed view over the CryptoKeyName resource name property.

Property Value
Type Description
CryptoKeyName

HasPubsubTopic

public bool HasPubsubTopic { get; }

Gets whether the "pubsub_topic" field is set

Property Value
Type Description
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
Type Description
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
Type Description
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
Type Description
string

SatisfiesPzs

public bool SatisfiesPzs { get; set; }

Output only. Whether or not this Channel satisfies the requirements of physical zone separation

Property Value
Type Description
bool

State

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

Output only. The state of a Channel.

Property Value
Type Description
ChannelTypesState

TransportCase

public Channel.TransportOneofCase TransportCase { get; }
Property Value
Type Description
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
Type Description
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The last-modified time.

Property Value
Type Description
Timestamp