Class ImagesSettings (2.1.0)

public sealed class ImagesSettings : ServiceSettingsBase

Settings for ImagesClient instances.

Inheritance

Object > ServiceSettingsBase > ImagesSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

ImagesSettings()

public ImagesSettings()

Constructs a new ImagesSettings object with default settings.

Properties

DeleteOperationsSettings

public OperationsSettings DeleteOperationsSettings { get; set; }

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

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

DeprecateOperationsSettings

public OperationsSettings DeprecateOperationsSettings { get; set; }

Long Running Operation settings for calls to ImagesClient.Deprecate and ImagesClient.DeprecateAsync.

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.

DeprecateSettings

public CallSettings DeprecateSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ImagesClient.Deprecate and ImagesClient.DeprecateAsync.

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

GetFromFamilySettings

public CallSettings GetFromFamilySettings { get; set; }

CallSettings for synchronous and asynchronous calls to ImagesClient.GetFromFamily and ImagesClient.GetFromFamilyAsync.

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.

GetIamPolicySettings

public CallSettings GetIamPolicySettings { get; set; }

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

PatchOperationsSettings

public OperationsSettings PatchOperationsSettings { get; set; }

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

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.

PatchSettings

public CallSettings PatchSettings { get; set; }

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

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 ImagesClient.SetIamPolicy and ImagesClient.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 ImagesClient.SetLabels and ImagesClient.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 ImagesClient.SetLabels and ImagesClient.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 ImagesClient.TestIamPermissions and ImagesClient.TestIamPermissionsAsync.

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

Methods

Clone()

public ImagesSettings Clone()

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

Returns
TypeDescription
ImagesSettings

A deep clone of this ImagesSettings object.

GetDefault()

public static ImagesSettings GetDefault()

Get a new instance of the default ImagesSettings.

Returns
TypeDescription
ImagesSettings

A new instance of the default ImagesSettings.