Cloud Run Admin v2 API - Class TasksSettings (2.12.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
Type Description
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
Type Description
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
Type Description
LocationsSettings

Methods

Clone()

public TasksSettings Clone()

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

Returns
Type Description
TasksSettings

A deep clone of this TasksSettings object.

GetDefault()

public static TasksSettings GetDefault()

Get a new instance of the default TasksSettings.

Returns
Type Description
TasksSettings

A new instance of the default TasksSettings.