Compute Engine v1 API - Class ServiceAttachmentsSettings (3.2.0)

public sealed class ServiceAttachmentsSettings : ServiceSettingsBase

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

Settings for ServiceAttachmentsClient instances.

Inheritance

object > ServiceSettingsBase > ServiceAttachmentsSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

ServiceAttachmentsSettings()

public ServiceAttachmentsSettings()

Constructs a new ServiceAttachmentsSettings object with default settings.

Properties

AggregatedListSettings

public CallSettings AggregatedListSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ServiceAttachmentsClient.AggregatedList and ServiceAttachmentsClient.AggregatedListAsync.

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.

DeleteOperationsSettings

public OperationsSettings DeleteOperationsSettings { get; set; }

Long Running Operation settings for calls to ServiceAttachmentsClient.Delete and ServiceAttachmentsClient.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 ServiceAttachmentsClient.Delete and ServiceAttachmentsClient.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 ServiceAttachmentsClient.GetIamPolicy and ServiceAttachmentsClient.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 ServiceAttachmentsClient.Get and ServiceAttachmentsClient.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 ServiceAttachmentsClient.Insert and ServiceAttachmentsClient.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 ServiceAttachmentsClient.Insert and ServiceAttachmentsClient.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 ServiceAttachmentsClient.List and ServiceAttachmentsClient.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.

PatchOperationsSettings

public OperationsSettings PatchOperationsSettings { get; set; }

Long Running Operation settings for calls to ServiceAttachmentsClient.Patch and ServiceAttachmentsClient.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 ServiceAttachmentsClient.Patch and ServiceAttachmentsClient.PatchAsync.

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

SetIamPolicySettings

public CallSettings SetIamPolicySettings { get; set; }

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

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 ServiceAttachmentsClient.TestIamPermissions and ServiceAttachmentsClient.TestIamPermissionsAsync .

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

Methods

Clone()

public ServiceAttachmentsSettings Clone()

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

Returns
Type Description
ServiceAttachmentsSettings

A deep clone of this ServiceAttachmentsSettings object.

GetDefault()

public static ServiceAttachmentsSettings GetDefault()

Get a new instance of the default ServiceAttachmentsSettings.

Returns
Type Description
ServiceAttachmentsSettings

A new instance of the default ServiceAttachmentsSettings.