1.5.0 (latest) 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class UpdateConnectionRequest : IMessage<UpdateConnectionRequest>, IEquatable<UpdateConnectionRequest>, IDeepCloneable<UpdateConnectionRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Build v2 API class UpdateConnectionRequest.

Message for updating a Connection.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> UpdateConnectionRequest

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[UpdateConnectionRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.UpdateConnectionRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateConnectionRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.UpdateConnectionRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[UpdateConnectionRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.UpdateConnectionRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[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.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.md.txt)

## Assembly

Google.Cloud.CloudBuild.V2.dll

## Constructors

### UpdateConnectionRequest()

    public UpdateConnectionRequest()

### UpdateConnectionRequest(UpdateConnectionRequest)

    public UpdateConnectionRequest(UpdateConnectionRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `UpdateConnectionRequest` |

## Properties

### AllowMissing

    public bool AllowMissing { get; set; }

If set to true, and the connection is not found a new connection
will be created. In this situation `update_mask` is ignored.
The creation will succeed only if the input connection has all the
necessary information (e.g a github_config with both user_oauth_token and
installation_id properties).

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

### Connection

    public Connection Connection { get; set; }

Required. The Connection to update.

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

### Etag

    public string Etag { get; set; }

The current etag of the connection.
If an etag is provided and does not match the current etag of the
connection, update will be blocked and an ABORTED error will be returned.

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

### UpdateMask

    public FieldMask UpdateMask { get; set; }

The list of fields to be updated.

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