public sealed class CloudTasksSettings : ServiceSettingsBase
Settings for CloudTasksClient instances.
Namespace
Google.Cloud.Tasks.V2Assembly
Google.Cloud.Tasks.V2.dll
Constructors
CloudTasksSettings()
public CloudTasksSettings()
Constructs a new CloudTasksSettings object with default settings.
Properties
CreateQueueSettings
public CallSettings CreateQueueSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
CloudTasksClient.CreateQueue
and CloudTasksClient.CreateQueueAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 10 seconds.
CreateTaskSettings
public CallSettings CreateTaskSettings { get; set; }
CallSettings for synchronous and asynchronous calls to CloudTasksClient.CreateTask
and CloudTasksClient.CreateTaskAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 10 seconds.
DeleteQueueSettings
public CallSettings DeleteQueueSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
CloudTasksClient.DeleteQueue
and CloudTasksClient.DeleteQueueAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 10 seconds.
DeleteTaskSettings
public CallSettings DeleteTaskSettings { get; set; }
CallSettings for synchronous and asynchronous calls to CloudTasksClient.DeleteTask
and CloudTasksClient.DeleteTaskAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 10 seconds.
GetIamPolicySettings
public CallSettings GetIamPolicySettings { get; set; }
CallSettings for synchronous and asynchronous calls to
CloudTasksClient.GetIamPolicy
and CloudTasksClient.GetIamPolicyAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 10 seconds.
GetQueueSettings
public CallSettings GetQueueSettings { get; set; }
CallSettings for synchronous and asynchronous calls to CloudTasksClient.GetQueue
and CloudTasksClient.GetQueueAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 10 seconds.
GetTaskSettings
public CallSettings GetTaskSettings { get; set; }
CallSettings for synchronous and asynchronous calls to CloudTasksClient.GetTask
and CloudTasksClient.GetTaskAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 10 seconds.
ListQueuesSettings
public CallSettings ListQueuesSettings { get; set; }
CallSettings for synchronous and asynchronous calls to CloudTasksClient.ListQueues
and CloudTasksClient.ListQueuesAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 10 seconds.
ListTasksSettings
public CallSettings ListTasksSettings { get; set; }
CallSettings for synchronous and asynchronous calls to CloudTasksClient.ListTasks
and CloudTasksClient.ListTasksAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 10 seconds.
PauseQueueSettings
public CallSettings PauseQueueSettings { get; set; }
CallSettings for synchronous and asynchronous calls to CloudTasksClient.PauseQueue
and CloudTasksClient.PauseQueueAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 10 seconds.
PurgeQueueSettings
public CallSettings PurgeQueueSettings { get; set; }
CallSettings for synchronous and asynchronous calls to CloudTasksClient.PurgeQueue
and CloudTasksClient.PurgeQueueAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 10 seconds.
ResumeQueueSettings
public CallSettings ResumeQueueSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
CloudTasksClient.ResumeQueue
and CloudTasksClient.ResumeQueueAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 10 seconds.
RunTaskSettings
public CallSettings RunTaskSettings { get; set; }
CallSettings for synchronous and asynchronous calls to CloudTasksClient.RunTask
and CloudTasksClient.RunTaskAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 10 seconds.
SetIamPolicySettings
public CallSettings SetIamPolicySettings { get; set; }
CallSettings for synchronous and asynchronous calls to
CloudTasksClient.SetIamPolicy
and CloudTasksClient.SetIamPolicyAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 10 seconds.
TestIamPermissionsSettings
public CallSettings TestIamPermissionsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
CloudTasksClient.TestIamPermissions
and CloudTasksClient.TestIamPermissionsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 10 seconds.
UpdateQueueSettings
public CallSettings UpdateQueueSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
CloudTasksClient.UpdateQueue
and CloudTasksClient.UpdateQueueAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 10 seconds.
Methods
Clone()
public CloudTasksSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
CloudTasksSettings | A deep clone of this CloudTasksSettings object. |
GetDefault()
public static CloudTasksSettings GetDefault()
Get a new instance of the default CloudTasksSettings.
Returns | |
---|---|
Type | Description |
CloudTasksSettings | A new instance of the default CloudTasksSettings. |