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

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
Type Description
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
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

PublishSettings

public CallSettings PublishSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PublisherClient.Publish and PublisherClient.PublishAsync.

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

Methods

Clone()

public PublisherSettings Clone()

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

Returns
Type Description
PublisherSettings

A deep clone of this PublisherSettings object.

GetDefault()

public static PublisherSettings GetDefault()

Get a new instance of the default PublisherSettings.

Returns
Type Description
PublisherSettings

A new instance of the default PublisherSettings.