Class DisksSettings (2.1.0)

public sealed class DisksSettings : ServiceSettingsBase

Settings for DisksClient instances.

Inheritance

Object > ServiceSettingsBase > DisksSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

DisksSettings()

public DisksSettings()

Constructs a new DisksSettings object with default settings.

Properties

AddResourcePoliciesOperationsSettings

public OperationsSettings AddResourcePoliciesOperationsSettings { get; set; }

Long Running Operation settings for calls to DisksClient.AddResourcePolicies and DisksClient.AddResourcePoliciesAsync.

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.

AddResourcePoliciesSettings

public CallSettings AddResourcePoliciesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DisksClient.AddResourcePolicies and DisksClient.AddResourcePoliciesAsync.

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

AggregatedListSettings

public CallSettings AggregatedListSettings { get; set; }

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

CreateSnapshotOperationsSettings

public OperationsSettings CreateSnapshotOperationsSettings { get; set; }

Long Running Operation settings for calls to DisksClient.CreateSnapshot and DisksClient.CreateSnapshotAsync.

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.

CreateSnapshotSettings

public CallSettings CreateSnapshotSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DisksClient.CreateSnapshot and DisksClient.CreateSnapshotAsync.

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

DeleteOperationsSettings

public OperationsSettings DeleteOperationsSettings { get; set; }

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

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

GetIamPolicySettings

public CallSettings GetIamPolicySettings { get; set; }

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

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.

GetSettings

public CallSettings GetSettings { get; set; }

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

RemoveResourcePoliciesOperationsSettings

public OperationsSettings RemoveResourcePoliciesOperationsSettings { get; set; }

Long Running Operation settings for calls to DisksClient.RemoveResourcePolicies and DisksClient.RemoveResourcePoliciesAsync.

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.

RemoveResourcePoliciesSettings

public CallSettings RemoveResourcePoliciesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DisksClient.RemoveResourcePolicies and DisksClient.RemoveResourcePoliciesAsync.

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

ResizeOperationsSettings

public OperationsSettings ResizeOperationsSettings { get; set; }

Long Running Operation settings for calls to DisksClient.Resize and DisksClient.ResizeAsync.

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.

ResizeSettings

public CallSettings ResizeSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DisksClient.Resize and DisksClient.ResizeAsync.

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

SetIamPolicySettings

public CallSettings SetIamPolicySettings { get; set; }

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

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

SetLabelsOperationsSettings

public OperationsSettings SetLabelsOperationsSettings { get; set; }

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

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.

SetLabelsSettings

public CallSettings SetLabelsSettings { get; set; }

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

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

TestIamPermissionsSettings

public CallSettings TestIamPermissionsSettings { get; set; }

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

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

Methods

Clone()

public DisksSettings Clone()

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

Returns
TypeDescription
DisksSettings

A deep clone of this DisksSettings object.

GetDefault()

public static DisksSettings GetDefault()

Get a new instance of the default DisksSettings.

Returns
TypeDescription
DisksSettings

A new instance of the default DisksSettings.