Google Cloud Dataproc v1 API - Class AutoscalingPolicyServiceSettings (5.4.0)

public sealed class AutoscalingPolicyServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Dataproc v1 API class AutoscalingPolicyServiceSettings.

Settings for AutoscalingPolicyServiceClient instances.

Inheritance

Object > ServiceSettingsBase > AutoscalingPolicyServiceSettings

Namespace

Google.Cloud.Dataproc.V1

Assembly

Google.Cloud.Dataproc.V1.dll

Constructors

AutoscalingPolicyServiceSettings()

public AutoscalingPolicyServiceSettings()

Constructs a new AutoscalingPolicyServiceSettings object with default settings.

Properties

CreateAutoscalingPolicySettings

public CallSettings CreateAutoscalingPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to AutoscalingPolicyServiceClient.CreateAutoscalingPolicy and AutoscalingPolicyServiceClient.CreateAutoscalingPolicyAsync.

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

DeleteAutoscalingPolicySettings

public CallSettings DeleteAutoscalingPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to AutoscalingPolicyServiceClient.DeleteAutoscalingPolicy and AutoscalingPolicyServiceClient.DeleteAutoscalingPolicyAsync.

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

GetAutoscalingPolicySettings

public CallSettings GetAutoscalingPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to AutoscalingPolicyServiceClient.GetAutoscalingPolicy and AutoscalingPolicyServiceClient.GetAutoscalingPolicyAsync.

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.

ListAutoscalingPoliciesSettings

public CallSettings ListAutoscalingPoliciesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AutoscalingPolicyServiceClient.ListAutoscalingPolicies and AutoscalingPolicyServiceClient.ListAutoscalingPoliciesAsync.

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.

UpdateAutoscalingPolicySettings

public CallSettings UpdateAutoscalingPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to AutoscalingPolicyServiceClient.UpdateAutoscalingPolicy and AutoscalingPolicyServiceClient.UpdateAutoscalingPolicyAsync.

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.

Methods

Clone()

public AutoscalingPolicyServiceSettings Clone()

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

Returns
TypeDescription
AutoscalingPolicyServiceSettings

A deep clone of this AutoscalingPolicyServiceSettings object.

GetDefault()

public static AutoscalingPolicyServiceSettings GetDefault()

Get a new instance of the default AutoscalingPolicyServiceSettings.

Returns
TypeDescription
AutoscalingPolicyServiceSettings

A new instance of the default AutoscalingPolicyServiceSettings.