Class SubscriberServiceApiSettings

public sealed class SubscriberServiceApiSettings : ServiceSettingsBase

Settings for SubscriberServiceApiClient instances.

Inheritance

Object > ServiceSettingsBase > SubscriberServiceApiSettings

Namespace

Google.Cloud.PubSub.V1

Assembly

Google.Cloud.PubSub.V1.dll

Constructors

SubscriberServiceApiSettings()

public SubscriberServiceApiSettings()

Constructs a new SubscriberServiceApiSettings object with default settings.

Properties

AcknowledgeSettings

public CallSettings AcknowledgeSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SubscriberServiceApiClient.Acknowledge and SubscriberServiceApiClient.AcknowledgeAsync.

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

CreateSnapshotSettings

public CallSettings CreateSnapshotSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SubscriberServiceApiClient.CreateSnapshot and SubscriberServiceApiClient.CreateSnapshotAsync.

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

CreateSubscriptionSettings

public CallSettings CreateSubscriptionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SubscriberServiceApiClient.CreateSubscription and SubscriberServiceApiClient.CreateSubscriptionAsync.

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

DeleteSnapshotSettings

public CallSettings DeleteSnapshotSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SubscriberServiceApiClient.DeleteSnapshot and SubscriberServiceApiClient.DeleteSnapshotAsync.

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

DeleteSubscriptionSettings

public CallSettings DeleteSubscriptionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SubscriberServiceApiClient.DeleteSubscription and SubscriberServiceApiClient.DeleteSubscriptionAsync.

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

GetIamPolicySettings

public CallSettings GetIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to SubscriberServiceClient.GetIamPolicy and SubscriberServiceClient.GetIamPolicyAsync.

Property Value
TypeDescription
CallSettings
Remarks

By default, retry will not be attempted.

GetSnapshotSettings

public CallSettings GetSnapshotSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SubscriberServiceApiClient.GetSnapshot and SubscriberServiceApiClient.GetSnapshotAsync.

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

GetSubscriptionSettings

public CallSettings GetSubscriptionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SubscriberServiceApiClient.GetSubscription and SubscriberServiceApiClient.GetSubscriptionAsync .

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

ListSnapshotsSettings

public CallSettings ListSnapshotsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SubscriberServiceApiClient.ListSnapshots and SubscriberServiceApiClient.ListSnapshotsAsync.

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

ListSubscriptionsSettings

public CallSettings ListSubscriptionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SubscriberServiceApiClient.ListSubscriptions and SubscriberServiceApiClient.ListSubscriptionsAsync .

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

ModifyAckDeadlineSettings

public CallSettings ModifyAckDeadlineSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SubscriberServiceApiClient.ModifyAckDeadline and SubscriberServiceApiClient.ModifyAckDeadlineAsync .

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

ModifyPushConfigSettings

public CallSettings ModifyPushConfigSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SubscriberServiceApiClient.ModifyPushConfig and SubscriberServiceApiClient.ModifyPushConfigAsync .

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

PullSettings

public CallSettings PullSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SubscriberServiceApiClient.Pull and SubscriberServiceApiClient.PullAsync.

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

SeekSettings

public CallSettings SeekSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SubscriberServiceApiClient.Seek and SubscriberServiceApiClient.SeekAsync.

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

SetIamPolicySettings

public CallSettings SetIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to SubscriberServiceClient.SetIamPolicy and SubscriberServiceClient.SetIamPolicyAsync.

Property Value
TypeDescription
CallSettings
Remarks

By default, retry will not be attempted.

StreamingPullSettings

public CallSettings StreamingPullSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SubscriberServiceApiClient.StreamingPull and SubscriberServiceApiClient.StreamingPullAsync.

Property Value
TypeDescription
CallSettings
Remarks

Timeout: 900 seconds.

StreamingPullStreamingSettings

public BidirectionalStreamingSettings StreamingPullStreamingSettings { get; set; }

BidirectionalStreamingSettings for calls to SubscriberServiceApiClient.StreamingPull and SubscriberServiceApiClient.StreamingPullAsync.

Property Value
TypeDescription
BidirectionalStreamingSettings
Remarks

The default local send queue size is 100.

TestIamPermissionsSettings

public CallSettings TestIamPermissionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SubscriberServiceClient.TestIamPermissions and SubscriberServiceClient.TestIamPermissionsAsync.

Property Value
TypeDescription
CallSettings
Remarks

By default, retry will not be attempted.

UpdateSnapshotSettings

public CallSettings UpdateSnapshotSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SubscriberServiceApiClient.UpdateSnapshot and SubscriberServiceApiClient.UpdateSnapshotAsync.

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

UpdateSubscriptionSettings

public CallSettings UpdateSubscriptionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SubscriberServiceApiClient.UpdateSubscription and SubscriberServiceApiClient.UpdateSubscriptionAsync.

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

Methods

Clone()

public SubscriberServiceApiSettings Clone()

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

Returns
TypeDescription
SubscriberServiceApiSettings

A deep clone of this SubscriberServiceApiSettings object.

GetDefault()

public static SubscriberServiceApiSettings GetDefault()

Get a new instance of the default SubscriberServiceApiSettings.

Returns
TypeDescription
SubscriberServiceApiSettings

A new instance of the default SubscriberServiceApiSettings.