Class PublisherClient.Settings (2.3.0)

public sealed class Settings

Settings for the PublisherClient.

Inheritance

System.Object > PublisherClient.Settings

Namespace

Google.Cloud.PubSub.V1

Assembly

Google.Cloud.PubSub.V1.dll

Constructors

Settings()

public Settings()

Create a new instance.

Properties

BatchingSettings

public BatchingSettings BatchingSettings { get; set; }

BatchingSettings that control how messages are batched when sending. If null, defaults to DefaultBatchingSettings.

Property Value
TypeDescription
Google.Api.Gax.BatchingSettings

EnableMessageOrdering

public bool EnableMessageOrdering { get; set; }

Enable message ordering. It is invalid to set OrderingKey in a message if this has not been set to true.

Property Value
TypeDescription
System.Boolean

Scheduler

public IScheduler Scheduler { get; set; }

The Google.Api.Gax.IScheduler to use. If null, defaults to Google.Api.Gax.SystemScheduler. Usually only useful for testing.

Property Value
TypeDescription
Google.Api.Gax.IScheduler

Methods

Clone()

public PublisherClient.Settings Clone()

Create a clone of this object.

Returns
TypeDescription
PublisherClient.Settings

A clone of this object.