Eventarc Publishing v1 API - Class PublisherSettings (2.0.0-beta03)

public sealed class PublisherSettings : ServiceSettingsBase

Reference documentation and code samples for the Eventarc Publishing v1 API class PublisherSettings.

Settings for PublisherClient instances.

Inheritance

Object > ServiceSettingsBase > PublisherSettings

Namespace

Google.Cloud.Eventarc.Publishing.V1

Assembly

Google.Cloud.Eventarc.Publishing.V1.dll

Constructors

PublisherSettings()

public PublisherSettings()

Constructs a new PublisherSettings object with default settings.

Properties

PublishChannelConnectionEventsSettings

public CallSettings PublishChannelConnectionEventsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PublisherClient.PublishChannelConnectionEvents and PublisherClient.PublishChannelConnectionEventsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

PublishEventsSettings

public CallSettings PublishEventsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PublisherClient.PublishEvents and PublisherClient.PublishEventsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

Methods

Clone()

public PublisherSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
TypeDescription
PublisherSettings

A deep clone of this PublisherSettings object.

GetDefault()

public static PublisherSettings GetDefault()

Get a new instance of the default PublisherSettings.

Returns
TypeDescription
PublisherSettings

A new instance of the default PublisherSettings.