Class PublisherServiceApiSettings (3.2.0)

public sealed class PublisherServiceApiSettings : ServiceSettingsBase

Settings for PublisherServiceApiClient instances.

Inheritance

Object > ServiceSettingsBase > PublisherServiceApiSettings

Namespace

Google.Cloud.PubSub.V1

Assembly

Google.Cloud.PubSub.V1.dll

Constructors

PublisherServiceApiSettings()

public PublisherServiceApiSettings()

Constructs a new PublisherServiceApiSettings object with default settings.

Properties

CreateTopicSettings

public CallSettings CreateTopicSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PublisherServiceApiClient.CreateTopic and PublisherServiceApiClient.CreateTopicAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

DeleteTopicSettings

public CallSettings DeleteTopicSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PublisherServiceApiClient.DeleteTopic and PublisherServiceApiClient.DeleteTopicAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

DetachSubscriptionSettings

public CallSettings DetachSubscriptionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PublisherServiceApiClient.DetachSubscription and PublisherServiceApiClient.DetachSubscriptionAsync .

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

GetTopicSettings

public CallSettings GetTopicSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PublisherServiceApiClient.GetTopic and PublisherServiceApiClient.GetTopicAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unknown, Aborted, Unavailable.
  • Timeout: 60 seconds.

IAMPolicySettings

public IAMPolicySettings IAMPolicySettings { get; set; }

The settings to use for the IAMPolicyClient associated with the client.

Property Value
TypeDescription
IAMPolicySettings

ListTopicSnapshotsSettings

public CallSettings ListTopicSnapshotsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PublisherServiceApiClient.ListTopicSnapshots and PublisherServiceApiClient.ListTopicSnapshotsAsync .

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unknown, Aborted, Unavailable.
  • Timeout: 60 seconds.

ListTopicsSettings

public CallSettings ListTopicsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PublisherServiceApiClient.ListTopics and PublisherServiceApiClient.ListTopicsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unknown, Aborted, Unavailable.
  • Timeout: 60 seconds.

ListTopicSubscriptionsSettings

public CallSettings ListTopicSubscriptionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PublisherServiceApiClient.ListTopicSubscriptions and PublisherServiceApiClient.ListTopicSubscriptionsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unknown, Aborted, Unavailable.
  • Timeout: 60 seconds.

PublishSettings

public CallSettings PublishSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks

UpdateTopicSettings

public CallSettings UpdateTopicSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PublisherServiceApiClient.UpdateTopic and PublisherServiceApiClient.UpdateTopicAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

Methods

Clone()

public PublisherServiceApiSettings Clone()

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

Returns
TypeDescription
PublisherServiceApiSettings

A deep clone of this PublisherServiceApiSettings object.

GetDefault()

public static PublisherServiceApiSettings GetDefault()

Get a new instance of the default PublisherServiceApiSettings.

Returns
TypeDescription
PublisherServiceApiSettings

A new instance of the default PublisherServiceApiSettings.