Class AutoscalersSettings (2.1.0)

public sealed class AutoscalersSettings : ServiceSettingsBase

Settings for AutoscalersClient instances.

Inheritance

Object > ServiceSettingsBase > AutoscalersSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

AutoscalersSettings()

public AutoscalersSettings()

Constructs a new AutoscalersSettings object with default settings.

Properties

AggregatedListSettings

public CallSettings AggregatedListSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AutoscalersClient.AggregatedList and AutoscalersClient.AggregatedListAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

DeleteOperationsSettings

public OperationsSettings DeleteOperationsSettings { get; set; }

Long Running Operation settings for calls to AutoscalersClient.Delete and AutoscalersClient.DeleteAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

DeleteSettings

public CallSettings DeleteSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AutoscalersClient.Delete and AutoscalersClient.DeleteAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

GetSettings

public CallSettings GetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AutoscalersClient.Get and AutoscalersClient.GetAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

InsertOperationsSettings

public OperationsSettings InsertOperationsSettings { get; set; }

Long Running Operation settings for calls to AutoscalersClient.Insert and AutoscalersClient.InsertAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

InsertSettings

public CallSettings InsertSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AutoscalersClient.Insert and AutoscalersClient.InsertAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

ListSettings

public CallSettings ListSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AutoscalersClient.List and AutoscalersClient.ListAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

PatchOperationsSettings

public OperationsSettings PatchOperationsSettings { get; set; }

Long Running Operation settings for calls to AutoscalersClient.Patch and AutoscalersClient.PatchAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

PatchSettings

public CallSettings PatchSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AutoscalersClient.Patch and AutoscalersClient.PatchAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

UpdateOperationsSettings

public OperationsSettings UpdateOperationsSettings { get; set; }

Long Running Operation settings for calls to AutoscalersClient.Update and AutoscalersClient.UpdateAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

UpdateSettings

public CallSettings UpdateSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AutoscalersClient.Update and AutoscalersClient.UpdateAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

Methods

Clone()

public AutoscalersSettings Clone()

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

Returns
TypeDescription
AutoscalersSettings

A deep clone of this AutoscalersSettings object.

GetDefault()

public static AutoscalersSettings GetDefault()

Get a new instance of the default AutoscalersSettings.

Returns
TypeDescription
AutoscalersSettings

A new instance of the default AutoscalersSettings.