Compute Engine v1 API - Class RegionSnapshotsSettings (3.27.0)

public sealed class RegionSnapshotsSettings : ServiceSettingsBase

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

Settings for RegionSnapshotsClient instances.

Inheritance

object > ServiceSettingsBase > RegionSnapshotsSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

RegionSnapshotsSettings()

public RegionSnapshotsSettings()

Constructs a new RegionSnapshotsSettings object with default settings.

Properties

DeleteOperationsSettings

public OperationsSettings DeleteOperationsSettings { get; set; }

Long Running Operation settings for calls to RegionSnapshotsClient.Delete and RegionSnapshotsClient.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 RegionSnapshotsClient.Delete and RegionSnapshotsClient.DeleteAsync.

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

GetIamPolicySettings

public CallSettings GetIamPolicySettings { get; set; }

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

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.

GetSettings

public CallSettings GetSettings { get; set; }

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

SetIamPolicySettings

public CallSettings SetIamPolicySettings { get; set; }

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

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

SetLabelsOperationsSettings

public OperationsSettings SetLabelsOperationsSettings { get; set; }

Long Running Operation settings for calls to RegionSnapshotsClient.SetLabels and RegionSnapshotsClient.SetLabelsAsync.

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.

SetLabelsSettings

public CallSettings SetLabelsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RegionSnapshotsClient.SetLabels and RegionSnapshotsClient.SetLabelsAsync.

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

TestIamPermissionsSettings

public CallSettings TestIamPermissionsSettings { get; set; }

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

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

UpdateKmsKeyOperationsSettings

public OperationsSettings UpdateKmsKeyOperationsSettings { get; set; }

Long Running Operation settings for calls to RegionSnapshotsClient.UpdateKmsKey and RegionSnapshotsClient.UpdateKmsKeyAsync.

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.

UpdateKmsKeySettings

public CallSettings UpdateKmsKeySettings { get; set; }

CallSettings for synchronous and asynchronous calls to RegionSnapshotsClient.UpdateKmsKey and RegionSnapshotsClient.UpdateKmsKeyAsync.

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

Methods

Clone()

public RegionSnapshotsSettings Clone()

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

Returns
Type Description
RegionSnapshotsSettings

A deep clone of this RegionSnapshotsSettings object.

GetDefault()

public static RegionSnapshotsSettings GetDefault()

Get a new instance of the default RegionSnapshotsSettings.

Returns
Type Description
RegionSnapshotsSettings

A new instance of the default RegionSnapshotsSettings.