Compute Engine v1 API - Class SnapshotSettingsServiceSettings (2.17.0)

public sealed class SnapshotSettingsServiceSettings : ServiceSettingsBase

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

Settings for SnapshotSettingsServiceClient instances.

Inheritance

object > ServiceSettingsBase > SnapshotSettingsServiceSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

SnapshotSettingsServiceSettings()

public SnapshotSettingsServiceSettings()

Constructs a new SnapshotSettingsServiceSettings object with default settings.

Properties

GetSettings

public CallSettings GetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SnapshotSettingsServiceClient.Get and SnapshotSettingsServiceClient.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.

PatchOperationsSettings

public OperationsSettings PatchOperationsSettings { get; set; }

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

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.

PatchSettings

public CallSettings PatchSettings { get; set; }

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

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

Methods

Clone()

public SnapshotSettingsServiceSettings Clone()

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

Returns
Type Description
SnapshotSettingsServiceSettings

A deep clone of this SnapshotSettingsServiceSettings object.

GetDefault()

public static SnapshotSettingsServiceSettings GetDefault()

Get a new instance of the default SnapshotSettingsServiceSettings.

Returns
Type Description
SnapshotSettingsServiceSettings

A new instance of the default SnapshotSettingsServiceSettings.