Cloud Run Admin v2 API - Class WorkerPoolsSettings (2.16.0)

public sealed class WorkerPoolsSettings : ServiceSettingsBase

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

Settings for WorkerPoolsClient instances.

Inheritance

object > ServiceSettingsBase > WorkerPoolsSettings

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

WorkerPoolsSettings()

public WorkerPoolsSettings()

Constructs a new WorkerPoolsSettings object with default settings.

Properties

CreateWorkerPoolOperationsSettings

public OperationsSettings CreateWorkerPoolOperationsSettings { get; set; }

Long Running Operation settings for calls to WorkerPoolsClient.CreateWorkerPool and WorkerPoolsClient.CreateWorkerPoolAsync.

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.

CreateWorkerPoolSettings

public CallSettings CreateWorkerPoolSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WorkerPoolsClient.CreateWorkerPool and WorkerPoolsClient.CreateWorkerPoolAsync.

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

DeleteWorkerPoolOperationsSettings

public OperationsSettings DeleteWorkerPoolOperationsSettings { get; set; }

Long Running Operation settings for calls to WorkerPoolsClient.DeleteWorkerPool and WorkerPoolsClient.DeleteWorkerPoolAsync.

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.

DeleteWorkerPoolSettings

public CallSettings DeleteWorkerPoolSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WorkerPoolsClient.DeleteWorkerPool and WorkerPoolsClient.DeleteWorkerPoolAsync.

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

GetIamPolicySettings

public CallSettings GetIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to WorkerPoolsClient.GetIamPolicy and WorkerPoolsClient.GetIamPolicyAsync.

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

GetWorkerPoolSettings

public CallSettings GetWorkerPoolSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WorkerPoolsClient.GetWorkerPool and WorkerPoolsClient.GetWorkerPoolAsync.

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

ListWorkerPoolsSettings

public CallSettings ListWorkerPoolsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WorkerPoolsClient.ListWorkerPools and WorkerPoolsClient.ListWorkerPoolsAsync.

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

SetIamPolicySettings

public CallSettings SetIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to WorkerPoolsClient.SetIamPolicy and WorkerPoolsClient.SetIamPolicyAsync.

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

TestIamPermissionsSettings

public CallSettings TestIamPermissionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WorkerPoolsClient.TestIamPermissions and WorkerPoolsClient.TestIamPermissionsAsync.

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

UpdateWorkerPoolOperationsSettings

public OperationsSettings UpdateWorkerPoolOperationsSettings { get; set; }

Long Running Operation settings for calls to WorkerPoolsClient.UpdateWorkerPool and WorkerPoolsClient.UpdateWorkerPoolAsync.

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.

UpdateWorkerPoolSettings

public CallSettings UpdateWorkerPoolSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WorkerPoolsClient.UpdateWorkerPool and WorkerPoolsClient.UpdateWorkerPoolAsync.

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

Methods

Clone()

public WorkerPoolsSettings Clone()

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

Returns
Type Description
WorkerPoolsSettings

A deep clone of this WorkerPoolsSettings object.

GetDefault()

public static WorkerPoolsSettings GetDefault()

Get a new instance of the default WorkerPoolsSettings.

Returns
Type Description
WorkerPoolsSettings

A new instance of the default WorkerPoolsSettings.