public sealed class PublisherSettings : ServiceSettingsBase
Reference documentation and code samples for the Eventarc Publishing v1 API class PublisherSettings.
Settings for PublisherClient instances.
Namespace
Google.Cloud.Eventarc.Publishing.V1Assembly
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 |
- 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 |
- 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 | |
---|---|
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. |