Compute Engine v1 API - Class TargetPoolsSettings (3.2.0)

public sealed class TargetPoolsSettings : ServiceSettingsBase

Reference documentation and code samples for the Compute Engine v1 API class TargetPoolsSettings.

Settings for TargetPoolsClient instances.

Inheritance

object > ServiceSettingsBase > TargetPoolsSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

TargetPoolsSettings()

public TargetPoolsSettings()

Constructs a new TargetPoolsSettings object with default settings.

Properties

AddHealthCheckOperationsSettings

public OperationsSettings AddHealthCheckOperationsSettings { get; set; }

Long Running Operation settings for calls to TargetPoolsClient.AddHealthCheck and TargetPoolsClient.AddHealthCheckAsync.

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.

AddHealthCheckSettings

public CallSettings AddHealthCheckSettings { get; set; }

CallSettings for synchronous and asynchronous calls to TargetPoolsClient.AddHealthCheck and TargetPoolsClient.AddHealthCheckAsync.

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

AddInstanceOperationsSettings

public OperationsSettings AddInstanceOperationsSettings { get; set; }

Long Running Operation settings for calls to TargetPoolsClient.AddInstance and TargetPoolsClient.AddInstanceAsync.

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.

AddInstanceSettings

public CallSettings AddInstanceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to TargetPoolsClient.AddInstance and TargetPoolsClient.AddInstanceAsync.

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

AggregatedListSettings

public CallSettings AggregatedListSettings { get; set; }

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

Property Value
Type Description
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 TargetPoolsClient.Delete and TargetPoolsClient.DeleteAsync.

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.

DeleteSettings

public CallSettings DeleteSettings { get; set; }

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

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

GetHealthSettings

public CallSettings GetHealthSettings { get; set; }

CallSettings for synchronous and asynchronous calls to TargetPoolsClient.GetHealth and TargetPoolsClient.GetHealthAsync.

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

GetSettings

public CallSettings GetSettings { get; set; }

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

Property Value
Type Description
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 TargetPoolsClient.Insert and TargetPoolsClient.InsertAsync.

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.

InsertSettings

public CallSettings InsertSettings { get; set; }

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

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

ListSettings

public CallSettings ListSettings { get; set; }

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

Property Value
Type Description
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.

RemoveHealthCheckOperationsSettings

public OperationsSettings RemoveHealthCheckOperationsSettings { get; set; }

Long Running Operation settings for calls to TargetPoolsClient.RemoveHealthCheck and TargetPoolsClient.RemoveHealthCheckAsync.

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.

RemoveHealthCheckSettings

public CallSettings RemoveHealthCheckSettings { get; set; }

CallSettings for synchronous and asynchronous calls to TargetPoolsClient.RemoveHealthCheck and TargetPoolsClient.RemoveHealthCheckAsync.

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

RemoveInstanceOperationsSettings

public OperationsSettings RemoveInstanceOperationsSettings { get; set; }

Long Running Operation settings for calls to TargetPoolsClient.RemoveInstance and TargetPoolsClient.RemoveInstanceAsync.

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.

RemoveInstanceSettings

public CallSettings RemoveInstanceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to TargetPoolsClient.RemoveInstance and TargetPoolsClient.RemoveInstanceAsync.

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

SetBackupOperationsSettings

public OperationsSettings SetBackupOperationsSettings { get; set; }

Long Running Operation settings for calls to TargetPoolsClient.SetBackup and TargetPoolsClient.SetBackupAsync.

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.

SetBackupSettings

public CallSettings SetBackupSettings { get; set; }

CallSettings for synchronous and asynchronous calls to TargetPoolsClient.SetBackup and TargetPoolsClient.SetBackupAsync.

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

SetSecurityPolicyOperationsSettings

public OperationsSettings SetSecurityPolicyOperationsSettings { get; set; }

Long Running Operation settings for calls to TargetPoolsClient.SetSecurityPolicy and TargetPoolsClient.SetSecurityPolicyAsync.

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.

SetSecurityPolicySettings

public CallSettings SetSecurityPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to TargetPoolsClient.SetSecurityPolicy and TargetPoolsClient.SetSecurityPolicyAsync.

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

Methods

Clone()

public TargetPoolsSettings Clone()

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

Returns
Type Description
TargetPoolsSettings

A deep clone of this TargetPoolsSettings object.

GetDefault()

public static TargetPoolsSettings GetDefault()

Get a new instance of the default TargetPoolsSettings.

Returns
Type Description
TargetPoolsSettings

A new instance of the default TargetPoolsSettings.