Class SubscriptionsServiceSettings
Settings for SubscriptionsServiceClient instances.
Inherited Members
Namespace: Google.Apps.Events.Subscriptions.V1
Assembly: Google.Apps.Events.Subscriptions.V1.dll
Syntax
public sealed class SubscriptionsServiceSettings : ServiceSettingsBase
Constructors
SubscriptionsServiceSettings()
Constructs a new SubscriptionsServiceSettings object with default settings.
Declaration
public SubscriptionsServiceSettings()
Properties
CreateSubscriptionOperationsSettings
Long Running Operation settings for calls to SubscriptionsServiceClient.CreateSubscription
and
SubscriptionsServiceClient.CreateSubscriptionAsync
.
Declaration
public OperationsSettings CreateSubscriptionOperationsSettings { get; set; }
Property Value
Type | Description |
---|---|
OperationsSettings |
Remarks
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
CreateSubscriptionSettings
CallSettings for synchronous and asynchronous calls to
SubscriptionsServiceClient.CreateSubscription
and
SubscriptionsServiceClient.CreateSubscriptionAsync
.
Declaration
public CallSettings CreateSubscriptionSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- This call will not be retried.
- Timeout: 60 seconds.
DeleteSubscriptionOperationsSettings
Long Running Operation settings for calls to SubscriptionsServiceClient.DeleteSubscription
and
SubscriptionsServiceClient.DeleteSubscriptionAsync
.
Declaration
public OperationsSettings DeleteSubscriptionOperationsSettings { get; set; }
Property Value
Type | Description |
---|---|
OperationsSettings |
Remarks
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
DeleteSubscriptionSettings
CallSettings for synchronous and asynchronous calls to
SubscriptionsServiceClient.DeleteSubscription
and
SubscriptionsServiceClient.DeleteSubscriptionAsync
.
Declaration
public CallSettings DeleteSubscriptionSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- This call will not be retried.
- Timeout: 60 seconds.
GetSubscriptionSettings
CallSettings for synchronous and asynchronous calls to
SubscriptionsServiceClient.GetSubscription
and SubscriptionsServiceClient.GetSubscriptionAsync
.
Declaration
public CallSettings GetSubscriptionSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
ListSubscriptionsSettings
CallSettings for synchronous and asynchronous calls to
SubscriptionsServiceClient.ListSubscriptions
and SubscriptionsServiceClient.ListSubscriptionsAsync
.
Declaration
public CallSettings ListSubscriptionsSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
ReactivateSubscriptionOperationsSettings
Long Running Operation settings for calls to SubscriptionsServiceClient.ReactivateSubscription
and
SubscriptionsServiceClient.ReactivateSubscriptionAsync
.
Declaration
public OperationsSettings ReactivateSubscriptionOperationsSettings { get; set; }
Property Value
Type | Description |
---|---|
OperationsSettings |
Remarks
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
ReactivateSubscriptionSettings
CallSettings for synchronous and asynchronous calls to
SubscriptionsServiceClient.ReactivateSubscription
and
SubscriptionsServiceClient.ReactivateSubscriptionAsync
.
Declaration
public CallSettings ReactivateSubscriptionSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- This call will not be retried.
- Timeout: 60 seconds.
UpdateSubscriptionOperationsSettings
Long Running Operation settings for calls to SubscriptionsServiceClient.UpdateSubscription
and
SubscriptionsServiceClient.UpdateSubscriptionAsync
.
Declaration
public OperationsSettings UpdateSubscriptionOperationsSettings { get; set; }
Property Value
Type | Description |
---|---|
OperationsSettings |
Remarks
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
UpdateSubscriptionSettings
CallSettings for synchronous and asynchronous calls to
SubscriptionsServiceClient.UpdateSubscription
and
SubscriptionsServiceClient.UpdateSubscriptionAsync
.
Declaration
public CallSettings UpdateSubscriptionSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- This call will not be retried.
- Timeout: 60 seconds.
Methods
Clone()
Creates a deep clone of this object, with all the same property values.
Declaration
public SubscriptionsServiceSettings Clone()
Returns
Type | Description |
---|---|
SubscriptionsServiceSettings | A deep clone of this SubscriptionsServiceSettings object. |
GetDefault()
Get a new instance of the default SubscriptionsServiceSettings.
Declaration
public static SubscriptionsServiceSettings GetDefault()
Returns
Type | Description |
---|---|
SubscriptionsServiceSettings | A new instance of the default SubscriptionsServiceSettings. |