Reference documentation and code samples for the Eventarc Publishing v1 API class Publisher.
Eventarc processes events generated by an event provider and delivers them to
a subscriber.
An event provider is a software-as-a-service (SaaS) system or
product that can generate and deliver events through Eventarc.
A third-party event provider is an event provider from outside of Google.
A partner is a third-party event provider that is integrated with Eventarc.
A subscriber is a GCP customer interested in receiving events.
Channel is a first-class Eventarc resource that is created and managed
by the subscriber in their GCP project. A Channel represents a subscriber's
intent to receive events from an event provider. A Channel is associated with
exactly one event provider.
ChannelConnection is a first-class Eventarc resource that
is created and managed by the partner in their GCP project. A
ChannelConnection represents a connection between a partner and a
subscriber's Channel. A ChannelConnection has a one-to-one mapping with a
Channel.
Publisher allows an event provider to publish events to Eventarc.
public static void BindService(ServiceBinderBase serviceBinder, Publisher.PublisherBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003ePublisher\u003c/code\u003e class within the Eventarc Publishing v1 API, specifically designed for event providers to publish events to Eventarc.\u003c/p\u003e\n"],["\u003cp\u003eEventarc manages the delivery of events from various sources, including third-party event providers and partners, to subscribers, facilitating integration between different systems.\u003c/p\u003e\n"],["\u003cp\u003eKey resources within Eventarc include \u003ccode\u003eChannel\u003c/code\u003e, representing a subscriber's intent to receive events, and \u003ccode\u003eChannelConnection\u003c/code\u003e, enabling partner connections to a subscriber's \u003ccode\u003eChannel\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePublisher\u003c/code\u003e class includes methods such as \u003ccode\u003eBindService\u003c/code\u003e, allowing for the creation of service definitions and the registration of service methods for server-side handling.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this class is \u003ccode\u003eGoogle.Cloud.Eventarc.Publishing.V1\u003c/code\u003e and the current latest version is \u003ccode\u003e2.0.0-beta07\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Eventarc Publishing v1 API - Class Publisher (2.0.0-beta07)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta07 (latest)](/dotnet/docs/reference/Google.Cloud.Eventarc.Publishing.V1/latest/Google.Cloud.Eventarc.Publishing.V1.Publisher)\n- [2.0.0-beta06](/dotnet/docs/reference/Google.Cloud.Eventarc.Publishing.V1/2.0.0-beta06/Google.Cloud.Eventarc.Publishing.V1.Publisher)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.Eventarc.Publishing.V1/1.0.0-beta02/Google.Cloud.Eventarc.Publishing.V1.Publisher) \n\n public static class Publisher\n\nReference documentation and code samples for the Eventarc Publishing v1 API class Publisher.\n\nEventarc processes events generated by an event provider and delivers them to\na subscriber.\n\nAn event provider is a software-as-a-service (SaaS) system or\nproduct that can generate and deliver events through Eventarc.\n\nA third-party event provider is an event provider from outside of Google.\n\nA partner is a third-party event provider that is integrated with Eventarc.\n\nA subscriber is a GCP customer interested in receiving events.\n\nChannel is a first-class Eventarc resource that is created and managed\nby the subscriber in their GCP project. A Channel represents a subscriber's\nintent to receive events from an event provider. A Channel is associated with\nexactly one event provider.\n\nChannelConnection is a first-class Eventarc resource that\nis created and managed by the partner in their GCP project. A\nChannelConnection represents a connection between a partner and a\nsubscriber's Channel. A ChannelConnection has a one-to-one mapping with a\nChannel.\n\nPublisher allows an event provider to publish events to Eventarc. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Publisher \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Eventarc.Publishing.V1](/dotnet/docs/reference/Google.Cloud.Eventarc.Publishing.V1/latest/Google.Cloud.Eventarc.Publishing.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Eventarc.Publishing.V1.dll\n\nMethods\n-------\n\n### BindService(PublisherBase)\n\n public static ServerServiceDefinition BindService(Publisher.PublisherBase serviceImpl)\n\nCreates service definition that can be registered with a server\n\n### BindService(ServiceBinderBase, PublisherBase)\n\n public static void BindService(ServiceBinderBase serviceBinder, Publisher.PublisherBase serviceImpl)\n\nRegister service method with a service binder with or without implementation. Useful when customizing the service binding logic.\nNote: this method is part of an experimental API that can change or be removed without any prior notice."]]