Class PublisherClientImpl (1.0.0-beta02)

public sealed class PublisherClientImpl : PublisherClient

Publisher client wrapper implementation, for convenient use.

Inheritance

Object > PublisherClient > PublisherClientImpl

Namespace

Google.Cloud.Eventarc.Publishing.V1

Assembly

Google.Cloud.Eventarc.Publishing.V1.dll

Remarks

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.

Constructors

PublisherClientImpl(Publisher.PublisherClient, PublisherSettings)

public PublisherClientImpl(Publisher.PublisherClient grpcClient, PublisherSettings settings)

Constructs a client wrapper for the Publisher service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientPublisher.PublisherClient

The underlying gRPC client.

settingsPublisherSettings

The base PublisherSettings used within this client.

Properties

GrpcClient

public override Publisher.PublisherClient GrpcClient { get; }

The underlying gRPC Publisher client

Property Value
TypeDescription
Publisher.PublisherClient
Overrides

Methods

PublishChannelConnectionEvents(PublishChannelConnectionEventsRequest, CallSettings)

public override PublishChannelConnectionEventsResponse PublishChannelConnectionEvents(PublishChannelConnectionEventsRequest request, CallSettings callSettings = null)

Publish events to a ChannelConnection in a partner's project.

Parameters
NameDescription
requestPublishChannelConnectionEventsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PublishChannelConnectionEventsResponse

The RPC response.

Overrides

PublishChannelConnectionEventsAsync(PublishChannelConnectionEventsRequest, CallSettings)

public override Task<PublishChannelConnectionEventsResponse> PublishChannelConnectionEventsAsync(PublishChannelConnectionEventsRequest request, CallSettings callSettings = null)

Publish events to a ChannelConnection in a partner's project.

Parameters
NameDescription
requestPublishChannelConnectionEventsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<PublishChannelConnectionEventsResponse>

A Task containing the RPC response.

Overrides

PublishEvents(PublishEventsRequest, CallSettings)

public override PublishEventsResponse PublishEvents(PublishEventsRequest request, CallSettings callSettings = null)

Publish events to a subscriber's channel.

Parameters
NameDescription
requestPublishEventsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PublishEventsResponse

The RPC response.

Overrides

PublishEventsAsync(PublishEventsRequest, CallSettings)

public override Task<PublishEventsResponse> PublishEventsAsync(PublishEventsRequest request, CallSettings callSettings = null)

Publish events to a subscriber's channel.

Parameters
NameDescription
requestPublishEventsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<PublishEventsResponse>

A Task containing the RPC response.

Overrides