Google Cloud Dataproc v1 API - Class JobControllerSettings (5.4.0)

public sealed class JobControllerSettings : ServiceSettingsBase

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

Settings for JobControllerClient instances.

Inheritance

Object > ServiceSettingsBase > JobControllerSettings

Namespace

Google.Cloud.Dataproc.V1

Assembly

Google.Cloud.Dataproc.V1.dll

Constructors

JobControllerSettings()

public JobControllerSettings()

Constructs a new JobControllerSettings object with default settings.

Properties

CancelJobSettings

public CallSettings CancelJobSettings { get; set; }

CallSettings for synchronous and asynchronous calls to JobControllerClient.CancelJob and JobControllerClient.CancelJobAsync.

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

DeleteJobSettings

public CallSettings DeleteJobSettings { get; set; }

CallSettings for synchronous and asynchronous calls to JobControllerClient.DeleteJob and JobControllerClient.DeleteJobAsync.

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

GetJobSettings

public CallSettings GetJobSettings { get; set; }

CallSettings for synchronous and asynchronous calls to JobControllerClient.GetJob and JobControllerClient.GetJobAsync.

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

ListJobsSettings

public CallSettings ListJobsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to JobControllerClient.ListJobs and JobControllerClient.ListJobsAsync.

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

SubmitJobAsOperationOperationsSettings

public OperationsSettings SubmitJobAsOperationOperationsSettings { get; set; }

Long Running Operation settings for calls to JobControllerClient.SubmitJobAsOperation and JobControllerClient.SubmitJobAsOperationAsync.

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.

SubmitJobAsOperationSettings

public CallSettings SubmitJobAsOperationSettings { get; set; }

CallSettings for synchronous and asynchronous calls to JobControllerClient.SubmitJobAsOperation and JobControllerClient.SubmitJobAsOperationAsync.

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

SubmitJobSettings

public CallSettings SubmitJobSettings { get; set; }

CallSettings for synchronous and asynchronous calls to JobControllerClient.SubmitJob and JobControllerClient.SubmitJobAsync.

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

UpdateJobSettings

public CallSettings UpdateJobSettings { get; set; }

CallSettings for synchronous and asynchronous calls to JobControllerClient.UpdateJob and JobControllerClient.UpdateJobAsync.

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

Methods

Clone()

public JobControllerSettings Clone()

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

Returns
TypeDescription
JobControllerSettings

A deep clone of this JobControllerSettings object.

GetDefault()

public static JobControllerSettings GetDefault()

Get a new instance of the default JobControllerSettings.

Returns
TypeDescription
JobControllerSettings

A new instance of the default JobControllerSettings.