Cloud Run Admin v2 API - Class TasksSettings (2.2.0)

public sealed class TasksSettings : ServiceSettingsBase

Reference documentation and code samples for the Cloud Run Admin v2 API class TasksSettings.

Settings for TasksClient instances.

Inheritance

object > ServiceSettingsBase > TasksSettings

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

TasksSettings()

public TasksSettings()

Constructs a new TasksSettings object with default settings.

Properties

GetTaskSettings

public CallSettings GetTaskSettings { get; set; }

CallSettings for synchronous and asynchronous calls to TasksClient.GetTask and TasksClient.GetTaskAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

ListTasksSettings

public CallSettings ListTasksSettings { get; set; }

CallSettings for synchronous and asynchronous calls to TasksClient.ListTasks and TasksClient.ListTasksAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

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

Property Value
TypeDescription
LocationsSettings

Methods

Clone()

public TasksSettings Clone()

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

Returns
TypeDescription
TasksSettings

A deep clone of this TasksSettings object.

GetDefault()

public static TasksSettings GetDefault()

Get a new instance of the default TasksSettings.

Returns
TypeDescription
TasksSettings

A new instance of the default TasksSettings.