Class NotificationEndpoint
The endpoint where the subscription delivers events.
Implements
Namespace: Google.Apps.Events.Subscriptions.V1
Assembly: Google.Apps.Events.Subscriptions.V1.dll
Syntax
public sealed class NotificationEndpoint : IMessage<NotificationEndpoint>, IEquatable<NotificationEndpoint>, IDeepCloneable<NotificationEndpoint>, IBufferMessage, IMessage
Constructors
NotificationEndpoint()
Declaration
public NotificationEndpoint()
NotificationEndpoint(NotificationEndpoint)
Declaration
public NotificationEndpoint(NotificationEndpoint other)
Parameters
Type | Name | Description |
---|---|---|
NotificationEndpoint | other |
Properties
EndpointCase
Declaration
public NotificationEndpoint.EndpointOneofCase EndpointCase { get; }
Property Value
Type | Description |
---|---|
NotificationEndpoint.EndpointOneofCase |
HasPubsubTopic
Gets whether the "pubsub_topic" field is set
Declaration
public bool HasPubsubTopic { get; }
Property Value
Type | Description |
---|---|
bool |
PubsubTopic
Immutable. The Cloud Pub/Sub topic that receives events for the subscription.
Format: projects/{project}/topics/{topic}
You must create the topic in the same Google Cloud project where you create this subscription.
When the topic receives events, the events are encoded as Cloud Pub/Sub messages. For details, see the Google Cloud Pub/Sub Protocol Binding for CloudEvents.
Declaration
public string PubsubTopic { get; set; }
Property Value
Type | Description |
---|---|
string |
PubsubTopicAsTopicName
TopicName-typed view over the PubsubTopic resource name property.
Declaration
public TopicName PubsubTopicAsTopicName { get; set; }
Property Value
Type | Description |
---|---|
TopicName |