Compute Engine v1 API - Class PreviewFeaturesSettings (3.18.0)

public sealed class PreviewFeaturesSettings : ServiceSettingsBase

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

Settings for PreviewFeaturesClient instances.

Inheritance

object > ServiceSettingsBase > PreviewFeaturesSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

PreviewFeaturesSettings()

public PreviewFeaturesSettings()

Constructs a new PreviewFeaturesSettings object with default settings.

Properties

GetSettings

public CallSettings GetSettings { get; set; }

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

ListSettings

public CallSettings ListSettings { get; set; }

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

UpdateOperationsSettings

public OperationsSettings UpdateOperationsSettings { get; set; }

Long Running Operation settings for calls to PreviewFeaturesClient.Update and PreviewFeaturesClient.UpdateAsync.

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.

UpdateSettings

public CallSettings UpdateSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PreviewFeaturesClient.Update and PreviewFeaturesClient.UpdateAsync.

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

Methods

Clone()

public PreviewFeaturesSettings Clone()

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

Returns
Type Description
PreviewFeaturesSettings

A deep clone of this PreviewFeaturesSettings object.

GetDefault()

public static PreviewFeaturesSettings GetDefault()

Get a new instance of the default PreviewFeaturesSettings.

Returns
Type Description
PreviewFeaturesSettings

A new instance of the default PreviewFeaturesSettings.