Compute Engine v1 API - Class InstanceGroupsSettings (2.17.0)

public sealed class InstanceGroupsSettings : ServiceSettingsBase

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

Settings for InstanceGroupsClient instances.

Inheritance

object > ServiceSettingsBase > InstanceGroupsSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

InstanceGroupsSettings()

public InstanceGroupsSettings()

Constructs a new InstanceGroupsSettings object with default settings.

Properties

AddInstancesOperationsSettings

public OperationsSettings AddInstancesOperationsSettings { get; set; }

Long Running Operation settings for calls to InstanceGroupsClient.AddInstances and InstanceGroupsClient.AddInstancesAsync.

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.

AddInstancesSettings

public CallSettings AddInstancesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to InstanceGroupsClient.AddInstances and InstanceGroupsClient.AddInstancesAsync.

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 InstanceGroupsClient.AggregatedList and InstanceGroupsClient.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 InstanceGroupsClient.Delete and InstanceGroupsClient.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 InstanceGroupsClient.Delete and InstanceGroupsClient.DeleteAsync.

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 InstanceGroupsClient.Get and InstanceGroupsClient.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 InstanceGroupsClient.Insert and InstanceGroupsClient.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 InstanceGroupsClient.Insert and InstanceGroupsClient.InsertAsync.

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

ListInstancesSettings

public CallSettings ListInstancesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to InstanceGroupsClient.ListInstances and InstanceGroupsClient.ListInstancesAsync.

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 InstanceGroupsClient.List and InstanceGroupsClient.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.

RemoveInstancesOperationsSettings

public OperationsSettings RemoveInstancesOperationsSettings { get; set; }

Long Running Operation settings for calls to InstanceGroupsClient.RemoveInstances and InstanceGroupsClient.RemoveInstancesAsync.

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.

RemoveInstancesSettings

public CallSettings RemoveInstancesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to InstanceGroupsClient.RemoveInstances and InstanceGroupsClient.RemoveInstancesAsync.

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

SetNamedPortsOperationsSettings

public OperationsSettings SetNamedPortsOperationsSettings { get; set; }

Long Running Operation settings for calls to InstanceGroupsClient.SetNamedPorts and InstanceGroupsClient.SetNamedPortsAsync.

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.

SetNamedPortsSettings

public CallSettings SetNamedPortsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to InstanceGroupsClient.SetNamedPorts and InstanceGroupsClient.SetNamedPortsAsync.

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

Methods

Clone()

public InstanceGroupsSettings Clone()

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

Returns
Type Description
InstanceGroupsSettings

A deep clone of this InstanceGroupsSettings object.

GetDefault()

public static InstanceGroupsSettings GetDefault()

Get a new instance of the default InstanceGroupsSettings.

Returns
Type Description
InstanceGroupsSettings

A new instance of the default InstanceGroupsSettings.