Class CloudTasksSettings (2.5.0)

public sealed class CloudTasksSettings : ServiceSettingsBase

Settings for CloudTasksClient instances.

Inheritance

Object > ServiceSettingsBase > CloudTasksSettings

Namespace

Google.Cloud.Tasks.V2

Assembly

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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CloudTasksSettings

A deep clone of this CloudTasksSettings object.

GetDefault()

public static CloudTasksSettings GetDefault()

Get a new instance of the default CloudTasksSettings.

Returns
TypeDescription
CloudTasksSettings

A new instance of the default CloudTasksSettings.