Google Cloud Dataproc v1 API - Class AutoscalingPolicyServiceSettings (5.10.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
Type Description
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
Type Description
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
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.

IAMPolicySettings

public IAMPolicySettings IAMPolicySettings { get; set; }

The settings to use for the IAMPolicyClient associated with the client.

Property Value
Type Description
IAMPolicySettings

ListAutoscalingPoliciesSettings

public CallSettings ListAutoscalingPoliciesSettings { get; set; }

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

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.

UpdateAutoscalingPolicySettings

public CallSettings UpdateAutoscalingPolicySettings { get; set; }

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

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.

Methods

Clone()

public AutoscalingPolicyServiceSettings Clone()

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

Returns
Type Description
AutoscalingPolicyServiceSettings

A deep clone of this AutoscalingPolicyServiceSettings object.

GetDefault()

public static AutoscalingPolicyServiceSettings GetDefault()

Get a new instance of the default AutoscalingPolicyServiceSettings.

Returns
Type Description
AutoscalingPolicyServiceSettings

A new instance of the default AutoscalingPolicyServiceSettings.