Class JobServiceSettings (2.0.0-beta07)

public sealed class JobServiceSettings : ServiceSettingsBase

Settings for JobServiceClient instances.

Inheritance

Object > ServiceSettingsBase > JobServiceSettings

Namespace

Google.Cloud.Talent.V4Beta1

Assembly

Google.Cloud.Talent.V4Beta1.dll

Constructors

JobServiceSettings()

public JobServiceSettings()

Constructs a new JobServiceSettings object with default settings.

Properties

BatchCreateJobsOperationsSettings

public OperationsSettings BatchCreateJobsOperationsSettings { get; set; }

Long Running Operation settings for calls to JobServiceClient.BatchCreateJobs and JobServiceClient.BatchCreateJobsAsync.

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.

BatchCreateJobsSettings

public CallSettings BatchCreateJobsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to JobServiceClient.BatchCreateJobs and JobServiceClient.BatchCreateJobsAsync.

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

BatchDeleteJobsSettings

public CallSettings BatchDeleteJobsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to JobServiceClient.BatchDeleteJobs and JobServiceClient.BatchDeleteJobsAsync.

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

BatchUpdateJobsOperationsSettings

public OperationsSettings BatchUpdateJobsOperationsSettings { get; set; }

Long Running Operation settings for calls to JobServiceClient.BatchUpdateJobs and JobServiceClient.BatchUpdateJobsAsync.

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.

BatchUpdateJobsSettings

public CallSettings BatchUpdateJobsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to JobServiceClient.BatchUpdateJobs and JobServiceClient.BatchUpdateJobsAsync.

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

CreateJobSettings

public CallSettings CreateJobSettings { get; set; }

CallSettings for synchronous and asynchronous calls to JobServiceClient.CreateJob and JobServiceClient.CreateJobAsync.

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

DeleteJobSettings

public CallSettings DeleteJobSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

GetJobSettings

public CallSettings GetJobSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

ListJobsSettings

public CallSettings ListJobsSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

SearchJobsForAlertSettings

public CallSettings SearchJobsForAlertSettings { get; set; }

CallSettings for synchronous and asynchronous calls to JobServiceClient.SearchJobsForAlert and JobServiceClient.SearchJobsForAlertAsync.

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

SearchJobsSettings

public CallSettings SearchJobsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to JobServiceClient.SearchJobs and JobServiceClient.SearchJobsAsync.

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

UpdateJobSettings

public CallSettings UpdateJobSettings { get; set; }

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

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

Methods

Clone()

public JobServiceSettings Clone()

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

Returns
TypeDescription
JobServiceSettings

A deep clone of this JobServiceSettings object.

GetDefault()

public static JobServiceSettings GetDefault()

Get a new instance of the default JobServiceSettings.

Returns
TypeDescription
JobServiceSettings

A new instance of the default JobServiceSettings.