1.4.0 (latest) 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Integration Connectors v1 API class Connection.

Connection represents an instance of connector.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Connection](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.Connection.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Connection](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.Connection.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Connection](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.Connection.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.Connectors.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.md.txt)

## Assembly

Google.Cloud.Connectors.V1.dll

## Constructors

### Connection()

    public Connection()

### Connection(Connection)

    public Connection(Connection other)

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

## Properties

### AuthConfig

    public AuthConfig AuthConfig { get; set; }

Optional. Configuration for establishing the connection's authentication
with an external system.

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

### ConfigVariables

    public RepeatedField<ConfigVariable> ConfigVariables { get; }

Optional. Configuration for configuring the connection with an external
system.

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

### ConnectionName

    public ConnectionName ConnectionName { get; set; }

[ConnectionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.ConnectionName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.Connection.md.txt#Google_Cloud_Connectors_V1_Connection_Name) resource name property.

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

### ConnectorVersion

    public string ConnectorVersion { get; set; }

Required. Connector version on which the connection is created.
The format is:
projects/*/locations/* /providers/*/connectors/*/versions/\*
Only global location is supported for ConnectorVersion resource.

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

### ConnectorVersionAsConnectorVersionName

    public ConnectorVersionName ConnectorVersionAsConnectorVersionName { get; set; }

[ConnectorVersionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.ConnectorVersionName.md.txt)-typed view over the [ConnectorVersion](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.Connection.md.txt#Google_Cloud_Connectors_V1_Connection_ConnectorVersion) resource name
property.

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

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. Created time.

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

### Description

    public string Description { get; set; }

Optional. Description of the resource.

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

### DestinationConfigs

    public RepeatedField<DestinationConfig> DestinationConfigs { get; }

Optional. Configuration of the Connector's destination. Only accepted for
Connectors that accepts user defined destination(s).

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

### EnvoyImageLocation

    public string EnvoyImageLocation { get; set; }

Output only. GCR location where the envoy image is stored.
formatted like: gcr.io/{bucketName}/{imageName}

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

### ImageLocation

    public string ImageLocation { get; set; }

Output only. GCR location where the runtime image is stored.
formatted like: gcr.io/{bucketName}/{imageName}

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

### Labels

    public MapField<string, string> Labels { get; }

Optional. Resource labels to represent user-provided metadata.
Refer to cloud documentation on labels for more details.
<https://cloud.google.com/compute/docs/labeling-resources>

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

### LockConfig

    public LockConfig LockConfig { get; set; }

Optional. Configuration that indicates whether or not the Connection can be
edited.

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

### Name

    public string Name { get; set; }

Output only. Resource name of the Connection.
Format: projects/{project}/locations/{location}/connections/{connection}

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

### NodeConfig

    public NodeConfig NodeConfig { get; set; }

Optional. Node configuration for the connection.

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

### ServiceAccount

    public string ServiceAccount { get; set; }

Optional. Service account needed for runtime plane to access GCP resources.

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

### ServiceDirectory

    public string ServiceDirectory { get; set; }

Output only. The name of the Service Directory service name. Used for
Private Harpoon to resolve the ILB address.
e.g.
"projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors"

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

### SslConfig

    public SslConfig SslConfig { get; set; }

Optional. Ssl config of a connection

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

### Status

    public ConnectionStatus Status { get; set; }

Output only. Current status of the connection.

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

### Suspended

    public bool Suspended { get; set; }

Optional. Suspended indicates if a user has suspended a connection or not.

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

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. Updated time.

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