Google Cloud Scheduler v1 API - Class CloudSchedulerSettings (3.5.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
Type Description
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
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.

GetJobSettings

public CallSettings GetJobSettings { get; set; }

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

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.

ListJobsSettings

public CallSettings ListJobsSettings { get; set; }

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

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.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

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

Property Value
Type Description
LocationsSettings

PauseJobSettings

public CallSettings PauseJobSettings { get; set; }

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

Property Value
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
CloudSchedulerSettings

A deep clone of this CloudSchedulerSettings object.

GetDefault()

public static CloudSchedulerSettings GetDefault()

Get a new instance of the default CloudSchedulerSettings.

Returns
Type Description
CloudSchedulerSettings

A new instance of the default CloudSchedulerSettings.