Cloud Run Admin v2 API - Class JobsSettings (2.9.0)

public sealed class JobsSettings : ServiceSettingsBase

Reference documentation and code samples for the Cloud Run Admin v2 API class JobsSettings.

Settings for JobsClient instances.

Inheritance

object > ServiceSettingsBase > JobsSettings

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

JobsSettings()

public JobsSettings()

Constructs a new JobsSettings object with default settings.

Properties

CreateJobOperationsSettings

public OperationsSettings CreateJobOperationsSettings { get; set; }

Long Running Operation settings for calls to JobsClient.CreateJob and JobsClient.CreateJobAsync .

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.

CreateJobSettings

public CallSettings CreateJobSettings { get; set; }

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

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

DeleteJobOperationsSettings

public OperationsSettings DeleteJobOperationsSettings { get; set; }

Long Running Operation settings for calls to JobsClient.DeleteJob and JobsClient.DeleteJobAsync .

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.

DeleteJobSettings

public CallSettings DeleteJobSettings { get; set; }

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

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

GetIamPolicySettings

public CallSettings GetIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to JobsClient.GetIamPolicy and JobsClient.GetIamPolicyAsync.

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

GetJobSettings

public CallSettings GetJobSettings { get; set; }

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

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

ListJobsSettings

public CallSettings ListJobsSettings { get; set; }

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

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

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

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

Property Value
Type Description
LocationsSettings

RunJobOperationsSettings

public OperationsSettings RunJobOperationsSettings { get; set; }

Long Running Operation settings for calls to JobsClient.RunJob and JobsClient.RunJobAsync.

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.

RunJobSettings

public CallSettings RunJobSettings { get; set; }

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

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

SetIamPolicySettings

public CallSettings SetIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to JobsClient.SetIamPolicy and JobsClient.SetIamPolicyAsync.

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

TestIamPermissionsSettings

public CallSettings TestIamPermissionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to JobsClient.TestIamPermissions and JobsClient.TestIamPermissionsAsync.

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

UpdateJobOperationsSettings

public OperationsSettings UpdateJobOperationsSettings { get; set; }

Long Running Operation settings for calls to JobsClient.UpdateJob and JobsClient.UpdateJobAsync .

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.

UpdateJobSettings

public CallSettings UpdateJobSettings { get; set; }

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

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

Methods

Clone()

public JobsSettings Clone()

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

Returns
Type Description
JobsSettings

A deep clone of this JobsSettings object.

GetDefault()

public static JobsSettings GetDefault()

Get a new instance of the default JobsSettings.

Returns
Type Description
JobsSettings

A new instance of the default JobsSettings.