Class AssuredWorkloadsServiceSettings (1.0.0-beta08)

public sealed class AssuredWorkloadsServiceSettings : ServiceSettingsBase

Settings for AssuredWorkloadsServiceClient instances.

Inheritance

Object > ServiceSettingsBase > AssuredWorkloadsServiceSettings

Namespace

Google.Cloud.AssuredWorkloads.V1Beta1

Assembly

Google.Cloud.AssuredWorkloads.V1Beta1.dll

Constructors

AssuredWorkloadsServiceSettings()

public AssuredWorkloadsServiceSettings()

Constructs a new AssuredWorkloadsServiceSettings object with default settings.

Properties

CreateWorkloadOperationsSettings

public OperationsSettings CreateWorkloadOperationsSettings { get; set; }

Long Running Operation settings for calls to AssuredWorkloadsServiceClient.CreateWorkload and AssuredWorkloadsServiceClient.CreateWorkloadAsync.

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.

CreateWorkloadSettings

public CallSettings CreateWorkloadSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AssuredWorkloadsServiceClient.CreateWorkload and AssuredWorkloadsServiceClient.CreateWorkloadAsync .

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

DeleteWorkloadSettings

public CallSettings DeleteWorkloadSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AssuredWorkloadsServiceClient.DeleteWorkload and AssuredWorkloadsServiceClient.DeleteWorkloadAsync .

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 200 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

GetWorkloadSettings

public CallSettings GetWorkloadSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AssuredWorkloadsServiceClient.GetWorkload and AssuredWorkloadsServiceClient.GetWorkloadAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 200 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListWorkloadsSettings

public CallSettings ListWorkloadsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AssuredWorkloadsServiceClient.ListWorkloads and AssuredWorkloadsServiceClient.ListWorkloadsAsync .

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 200 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

UpdateWorkloadSettings

public CallSettings UpdateWorkloadSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AssuredWorkloadsServiceClient.UpdateWorkload and AssuredWorkloadsServiceClient.UpdateWorkloadAsync .

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

Methods

Clone()

public AssuredWorkloadsServiceSettings Clone()

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

Returns
TypeDescription
AssuredWorkloadsServiceSettings

A deep clone of this AssuredWorkloadsServiceSettings object.

GetDefault()

public static AssuredWorkloadsServiceSettings GetDefault()

Get a new instance of the default AssuredWorkloadsServiceSettings.

Returns
TypeDescription
AssuredWorkloadsServiceSettings

A new instance of the default AssuredWorkloadsServiceSettings.