Google Cloud Scheduler v1 API - Class CloudSchedulerSettings (3.3.0)

public sealed class CloudSchedulerSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Scheduler v1 API class CloudSchedulerSettings.

Settings for CloudSchedulerClient instances.

Inheritance

object > ServiceSettingsBase > CloudSchedulerSettings

Namespace

Google.Cloud.Scheduler.V1

Assembly

Google.Cloud.Scheduler.V1.dll

Constructors

CloudSchedulerSettings()

public CloudSchedulerSettings()

Constructs a new CloudSchedulerSettings object with default settings.

Properties

CreateJobSettings

public CallSettings CreateJobSettings { get; set; }

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

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

DeleteJobSettings

public CallSettings DeleteJobSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudSchedulerClient.DeleteJob and CloudSchedulerClient.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: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

GetJobSettings

public CallSettings GetJobSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudSchedulerClient.GetJob and CloudSchedulerClient.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, Unavailable.
  • Timeout: 600 seconds.

ListJobsSettings

public CallSettings ListJobsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudSchedulerClient.ListJobs and CloudSchedulerClient.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, Unavailable.
  • Timeout: 600 seconds.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

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

Property Value
TypeDescription
LocationsSettings

PauseJobSettings

public CallSettings PauseJobSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudSchedulerClient.PauseJob and CloudSchedulerClient.PauseJobAsync.

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

ResumeJobSettings

public CallSettings ResumeJobSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudSchedulerClient.ResumeJob and CloudSchedulerClient.ResumeJobAsync.

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

RunJobSettings

public CallSettings RunJobSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudSchedulerClient.RunJob and CloudSchedulerClient.RunJobAsync.

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

UpdateJobSettings

public CallSettings UpdateJobSettings { get; set; }

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

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

Methods

Clone()

public CloudSchedulerSettings Clone()

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

Returns
TypeDescription
CloudSchedulerSettings

A deep clone of this CloudSchedulerSettings object.

GetDefault()

public static CloudSchedulerSettings GetDefault()

Get a new instance of the default CloudSchedulerSettings.

Returns
TypeDescription
CloudSchedulerSettings

A new instance of the default CloudSchedulerSettings.