Class CloudBuildSettings (1.1.0)

public sealed class CloudBuildSettings : ServiceSettingsBase

Settings for CloudBuildClient instances.

Inheritance

Object > ServiceSettingsBase > CloudBuildSettings

Namespace

Google.Cloud.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

CloudBuildSettings()

public CloudBuildSettings()

Constructs a new CloudBuildSettings object with default settings.

Properties

CancelBuildSettings

public CallSettings CancelBuildSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBuildClient.CancelBuild and CloudBuildClient.CancelBuildAsync.

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

CreateBuildOperationsSettings

public OperationsSettings CreateBuildOperationsSettings { get; set; }

Long Running Operation settings for calls to CloudBuildClient.CreateBuild and CloudBuildClient.CreateBuildAsync.

Property Value
TypeDescription
Google.LongRunning.OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

CreateBuildSettings

public CallSettings CreateBuildSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBuildClient.CreateBuild and CloudBuildClient.CreateBuildAsync.

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

CreateBuildTriggerSettings

public CallSettings CreateBuildTriggerSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBuildClient.CreateBuildTrigger and CloudBuildClient.CreateBuildTriggerAsync.

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

CreateWorkerPoolSettings

public CallSettings CreateWorkerPoolSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBuildClient.CreateWorkerPool and CloudBuildClient.CreateWorkerPoolAsync.

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

DeleteBuildTriggerSettings

public CallSettings DeleteBuildTriggerSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBuildClient.DeleteBuildTrigger and CloudBuildClient.DeleteBuildTriggerAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 600 seconds.

DeleteWorkerPoolSettings

public CallSettings DeleteWorkerPoolSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBuildClient.DeleteWorkerPool and CloudBuildClient.DeleteWorkerPoolAsync.

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

GetBuildSettings

public CallSettings GetBuildSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBuildClient.GetBuild and CloudBuildClient.GetBuildAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 600 seconds.

GetBuildTriggerSettings

public CallSettings GetBuildTriggerSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBuildClient.GetBuildTrigger and CloudBuildClient.GetBuildTriggerAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 600 seconds.

GetWorkerPoolSettings

public CallSettings GetWorkerPoolSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBuildClient.GetWorkerPool and CloudBuildClient.GetWorkerPoolAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 600 seconds.

ListBuildsSettings

public CallSettings ListBuildsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBuildClient.ListBuilds and CloudBuildClient.ListBuildsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 600 seconds.

ListBuildTriggersSettings

public CallSettings ListBuildTriggersSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBuildClient.ListBuildTriggers and CloudBuildClient.ListBuildTriggersAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 600 seconds.

ListWorkerPoolsSettings

public CallSettings ListWorkerPoolsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBuildClient.ListWorkerPools and CloudBuildClient.ListWorkerPoolsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 600 seconds.

ReceiveTriggerWebhookSettings

public CallSettings ReceiveTriggerWebhookSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBuildClient.ReceiveTriggerWebhook and CloudBuildClient.ReceiveTriggerWebhookAsync.

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

RetryBuildOperationsSettings

public OperationsSettings RetryBuildOperationsSettings { get; set; }

Long Running Operation settings for calls to CloudBuildClient.RetryBuild and CloudBuildClient.RetryBuildAsync.

Property Value
TypeDescription
Google.LongRunning.OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

RetryBuildSettings

public CallSettings RetryBuildSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBuildClient.RetryBuild and CloudBuildClient.RetryBuildAsync.

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

RunBuildTriggerOperationsSettings

public OperationsSettings RunBuildTriggerOperationsSettings { get; set; }

Long Running Operation settings for calls to CloudBuildClient.RunBuildTrigger and CloudBuildClient.RunBuildTriggerAsync.

Property Value
TypeDescription
Google.LongRunning.OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

RunBuildTriggerSettings

public CallSettings RunBuildTriggerSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBuildClient.RunBuildTrigger and CloudBuildClient.RunBuildTriggerAsync.

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

UpdateBuildTriggerSettings

public CallSettings UpdateBuildTriggerSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBuildClient.UpdateBuildTrigger and CloudBuildClient.UpdateBuildTriggerAsync.

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

UpdateWorkerPoolSettings

public CallSettings UpdateWorkerPoolSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudBuildClient.UpdateWorkerPool and CloudBuildClient.UpdateWorkerPoolAsync.

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

Methods

Clone()

public CloudBuildSettings Clone()

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

Returns
TypeDescription
CloudBuildSettings

A deep clone of this CloudBuildSettings object.

GetDefault()

public static CloudBuildSettings GetDefault()

Get a new instance of the default CloudBuildSettings.

Returns
TypeDescription
CloudBuildSettings

A new instance of the default CloudBuildSettings.