2.23.0 (latest) 2.22.0 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class CloudBuildSettings : ServiceSettingsBase

Reference documentation and code samples for the Cloud Build v1 API class CloudBuildSettings.

Settings for [CloudBuildClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.CloudBuildClient.md.txt) instances.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ServiceSettingsBase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.md.txt) \> CloudBuildSettings

## Inherited Members

[ServiceSettingsBase.VersionHeaderBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.md.txt#Google_Api_Gax_Grpc_ServiceSettingsBase_VersionHeaderBuilder) [ServiceSettingsBase.CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.md.txt#Google_Api_Gax_Grpc_ServiceSettingsBase_CallSettings) [ServiceSettingsBase.Clock](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.md.txt#Google_Api_Gax_Grpc_ServiceSettingsBase_Clock) [ServiceSettingsBase.Scheduler](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.md.txt#Google_Api_Gax_Grpc_ServiceSettingsBase_Scheduler) [ServiceSettingsBase.Interceptor](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.md.txt#Google_Api_Gax_Grpc_ServiceSettingsBase_Interceptor) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.CloudBuild.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.md.txt)

## Assembly

Google.Cloud.CloudBuild.V1.dll

## Constructors

### CloudBuildSettings()

    public CloudBuildSettings()

Constructs a new [CloudBuildSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.CloudBuildSettings.md.txt) object with default settings.

## Properties

### ApproveBuildOperationsSettings

    public OperationsSettings ApproveBuildOperationsSettings { get; set; }

Long Running Operation settings for calls to `CloudBuildClient.ApproveBuild` and
`CloudBuildClient.ApproveBuildAsync`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsSettings` |   |

**Remarks** Uses default [PollSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.md.txt) of:

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

### ApproveBuildSettings

    public CallSettings ApproveBuildSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`CloudBuildClient.ApproveBuild` and `CloudBuildClient.ApproveBuildAsync`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CallSettings` |   |

**Remarks**
- This call will not be retried.
- No timeout is applied.

### CancelBuildSettings

    public CallSettings CancelBuildSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`CloudBuildClient.CancelBuild` and `CloudBuildClient.CancelBuildAsync`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `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** ||
|---|---|
| **Type** | **Description** |
| `OperationsSettings` |   |

**Remarks** Uses default [PollSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.md.txt) of:

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

### CreateBuildSettings

    public CallSettings CreateBuildSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`CloudBuildClient.CreateBuild` and `CloudBuildClient.CreateBuildAsync`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CallSettings` |   |

**Remarks**
- This call will not be retried.
- Timeout: 600 seconds.

### CreateBuildTriggerSettings

    public CallSettings CreateBuildTriggerSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`CloudBuildClient.CreateBuildTrigger` and `CloudBuildClient.CreateBuildTriggerAsync`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CallSettings` |   |

**Remarks**
- This call will not be retried.
- Timeout: 600 seconds.

### CreateWorkerPoolOperationsSettings

    public OperationsSettings CreateWorkerPoolOperationsSettings { get; set; }

Long Running Operation settings for calls to `CloudBuildClient.CreateWorkerPool` and
`CloudBuildClient.CreateWorkerPoolAsync`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsSettings` |   |

**Remarks** Uses default [PollSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.md.txt) of:

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

### CreateWorkerPoolSettings

    public CallSettings CreateWorkerPoolSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`CloudBuildClient.CreateWorkerPool` and `CloudBuildClient.CreateWorkerPoolAsync`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CallSettings` |   |

**Remarks**
- This call will not be retried.
- Timeout: 600 seconds.

### DeleteBuildTriggerSettings

    public CallSettings DeleteBuildTriggerSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`CloudBuildClient.DeleteBuildTrigger` and `CloudBuildClient.DeleteBuildTriggerAsync`.

| **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: [Unavailable](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_Unavailable), [DeadlineExceeded](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_DeadlineExceeded).
- Timeout: 600 seconds.

### DeleteWorkerPoolOperationsSettings

    public OperationsSettings DeleteWorkerPoolOperationsSettings { get; set; }

Long Running Operation settings for calls to `CloudBuildClient.DeleteWorkerPool` and
`CloudBuildClient.DeleteWorkerPoolAsync`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsSettings` |   |

**Remarks** Uses default [PollSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.md.txt) of:

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

### DeleteWorkerPoolSettings

    public CallSettings DeleteWorkerPoolSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`CloudBuildClient.DeleteWorkerPool` and `CloudBuildClient.DeleteWorkerPoolAsync`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CallSettings` |   |

**Remarks**
- This call will not be retried.
- Timeout: 600 seconds.

### GetBuildSettings

    public CallSettings GetBuildSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to `CloudBuildClient.GetBuild`
and `CloudBuildClient.GetBuildAsync`.

| **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: [Unavailable](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_Unavailable), [DeadlineExceeded](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_DeadlineExceeded).
- Timeout: 600 seconds.

### GetBuildTriggerSettings

    public CallSettings GetBuildTriggerSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`CloudBuildClient.GetBuildTrigger` and `CloudBuildClient.GetBuildTriggerAsync`.

| **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: [Unavailable](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_Unavailable), [DeadlineExceeded](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_DeadlineExceeded).
- Timeout: 600 seconds.

### GetDefaultServiceAccountSettings

    public CallSettings GetDefaultServiceAccountSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`CloudBuildClient.GetDefaultServiceAccount` and `CloudBuildClient.GetDefaultServiceAccountAsync`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CallSettings` |   |

**Remarks**
- This call will not be retried.
- No timeout is applied.

### GetWorkerPoolSettings

    public CallSettings GetWorkerPoolSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`CloudBuildClient.GetWorkerPool` and `CloudBuildClient.GetWorkerPoolAsync`.

| **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: [Unavailable](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_Unavailable), [DeadlineExceeded](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_DeadlineExceeded).
- Timeout: 600 seconds.

### ListBuildTriggersSettings

    public CallSettings ListBuildTriggersSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`CloudBuildClient.ListBuildTriggers` and `CloudBuildClient.ListBuildTriggersAsync`.

| **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: [Unavailable](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_Unavailable), [DeadlineExceeded](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_DeadlineExceeded).
- Timeout: 600 seconds.

### ListBuildsSettings

    public CallSettings ListBuildsSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to `CloudBuildClient.ListBuilds`
and `CloudBuildClient.ListBuildsAsync`.

| **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: [Unavailable](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_Unavailable), [DeadlineExceeded](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_DeadlineExceeded).
- Timeout: 600 seconds.

### ListWorkerPoolsSettings

    public CallSettings ListWorkerPoolsSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`CloudBuildClient.ListWorkerPools` and `CloudBuildClient.ListWorkerPoolsAsync`.

| **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: [Unavailable](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_Unavailable), [DeadlineExceeded](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_DeadlineExceeded).
- Timeout: 600 seconds.

### ReceiveTriggerWebhookSettings

    public CallSettings ReceiveTriggerWebhookSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`CloudBuildClient.ReceiveTriggerWebhook` and `CloudBuildClient.ReceiveTriggerWebhookAsync`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `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** ||
|---|---|
| **Type** | **Description** |
| `OperationsSettings` |   |

**Remarks** Uses default [PollSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.md.txt) of:

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

### RetryBuildSettings

    public CallSettings RetryBuildSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to `CloudBuildClient.RetryBuild`
and `CloudBuildClient.RetryBuildAsync`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `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** ||
|---|---|
| **Type** | **Description** |
| `OperationsSettings` |   |

**Remarks** Uses default [PollSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.md.txt) of:

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

### RunBuildTriggerSettings

    public CallSettings RunBuildTriggerSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`CloudBuildClient.RunBuildTrigger` and `CloudBuildClient.RunBuildTriggerAsync`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CallSettings` |   |

**Remarks**
- This call will not be retried.
- Timeout: 600 seconds.

### UpdateBuildTriggerSettings

    public CallSettings UpdateBuildTriggerSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`CloudBuildClient.UpdateBuildTrigger` and `CloudBuildClient.UpdateBuildTriggerAsync`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CallSettings` |   |

**Remarks**
- This call will not be retried.
- Timeout: 600 seconds.

### UpdateWorkerPoolOperationsSettings

    public OperationsSettings UpdateWorkerPoolOperationsSettings { get; set; }

Long Running Operation settings for calls to `CloudBuildClient.UpdateWorkerPool` and
`CloudBuildClient.UpdateWorkerPoolAsync`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsSettings` |   |

**Remarks** Uses default [PollSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.md.txt) of:

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

### UpdateWorkerPoolSettings

    public CallSettings UpdateWorkerPoolSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`CloudBuildClient.UpdateWorkerPool` and `CloudBuildClient.UpdateWorkerPoolAsync`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `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** ||
|---|---|
| **Type** | **Description** |
| `CloudBuildSettings` | A deep clone of this [CloudBuildSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.CloudBuildSettings.md.txt) object. |

### GetDefault()

    public static CloudBuildSettings GetDefault()

Get a new instance of the default [CloudBuildSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.CloudBuildSettings.md.txt).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `CloudBuildSettings` | A new instance of the default [CloudBuildSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.CloudBuildSettings.md.txt). |