Google Cloud Dataproc v1 API - Class ClusterControllerSettings (5.16.0)

public sealed class ClusterControllerSettings : ServiceSettingsBase

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

Settings for ClusterControllerClient instances.

Inheritance

object > ServiceSettingsBase > ClusterControllerSettings

Namespace

Google.Cloud.Dataproc.V1

Assembly

Google.Cloud.Dataproc.V1.dll

Constructors

ClusterControllerSettings()

public ClusterControllerSettings()

Constructs a new ClusterControllerSettings object with default settings.

Properties

CreateClusterOperationsSettings

public OperationsSettings CreateClusterOperationsSettings { get; set; }

Long Running Operation settings for calls to ClusterControllerClient.CreateCluster and ClusterControllerClient.CreateClusterAsync.

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.

CreateClusterSettings

public CallSettings CreateClusterSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ClusterControllerClient.CreateCluster and ClusterControllerClient.CreateClusterAsync.

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: Unavailable.
  • Timeout: 300 seconds.

DeleteClusterOperationsSettings

public OperationsSettings DeleteClusterOperationsSettings { get; set; }

Long Running Operation settings for calls to ClusterControllerClient.DeleteCluster and ClusterControllerClient.DeleteClusterAsync.

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.

DeleteClusterSettings

public CallSettings DeleteClusterSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ClusterControllerClient.DeleteCluster and ClusterControllerClient.DeleteClusterAsync.

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: Unavailable.
  • Timeout: 300 seconds.

DiagnoseClusterOperationsSettings

public OperationsSettings DiagnoseClusterOperationsSettings { get; set; }

Long Running Operation settings for calls to ClusterControllerClient.DiagnoseCluster and ClusterControllerClient.DiagnoseClusterAsync.

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.

DiagnoseClusterSettings

public CallSettings DiagnoseClusterSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ClusterControllerClient.DiagnoseCluster and ClusterControllerClient.DiagnoseClusterAsync.

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: Unavailable.
  • Timeout: 300 seconds.

GetClusterSettings

public CallSettings GetClusterSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ClusterControllerClient.GetCluster and ClusterControllerClient.GetClusterAsync.

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: Internal, DeadlineExceeded, Unavailable.
  • Timeout: 300 seconds.

IAMPolicySettings

public IAMPolicySettings IAMPolicySettings { get; set; }

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

Property Value
Type Description
IAMPolicySettings

ListClustersSettings

public CallSettings ListClustersSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ClusterControllerClient.ListClusters and ClusterControllerClient.ListClustersAsync.

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: Internal, DeadlineExceeded, Unavailable.
  • Timeout: 300 seconds.

StartClusterOperationsSettings

public OperationsSettings StartClusterOperationsSettings { get; set; }

Long Running Operation settings for calls to ClusterControllerClient.StartCluster and ClusterControllerClient.StartClusterAsync.

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.

StartClusterSettings

public CallSettings StartClusterSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ClusterControllerClient.StartCluster and ClusterControllerClient.StartClusterAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

StopClusterOperationsSettings

public OperationsSettings StopClusterOperationsSettings { get; set; }

Long Running Operation settings for calls to ClusterControllerClient.StopCluster and ClusterControllerClient.StopClusterAsync.

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.

StopClusterSettings

public CallSettings StopClusterSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ClusterControllerClient.StopCluster and ClusterControllerClient.StopClusterAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

UpdateClusterOperationsSettings

public OperationsSettings UpdateClusterOperationsSettings { get; set; }

Long Running Operation settings for calls to ClusterControllerClient.UpdateCluster and ClusterControllerClient.UpdateClusterAsync.

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.

UpdateClusterSettings

public CallSettings UpdateClusterSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ClusterControllerClient.UpdateCluster and ClusterControllerClient.UpdateClusterAsync.

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: Unavailable.
  • Timeout: 300 seconds.

Methods

Clone()

public ClusterControllerSettings Clone()

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

Returns
Type Description
ClusterControllerSettings

A deep clone of this ClusterControllerSettings object.

GetDefault()

public static ClusterControllerSettings GetDefault()

Get a new instance of the default ClusterControllerSettings.

Returns
Type Description
ClusterControllerSettings

A new instance of the default ClusterControllerSettings.