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

Reference documentation and code samples for the Design Center v1 API class DeveloperConnectSourceConfig.

This config specifies the location of a source (such as GitHub or Bitbucket)
through Developer Connect.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeveloperConnectSourceConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.DeveloperConnectSourceConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeveloperConnectSourceConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.DeveloperConnectSourceConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeveloperConnectSourceConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.DeveloperConnectSourceConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## 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.DesignCenter.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1)

## Assembly

Google.Cloud.DesignCenter.V1.dll

## Constructors

### DeveloperConnectSourceConfig()

    public DeveloperConnectSourceConfig()

### DeveloperConnectSourceConfig(DeveloperConnectSourceConfig)

    public DeveloperConnectSourceConfig(DeveloperConnectSourceConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.DeveloperConnectSourceConfig` |

## Properties

### DeveloperConnectRepoUri

    public string DeveloperConnectRepoUri { get; set; }

Required. The Developer Connect Git repository link, formatted as
`projects/*/locations/*/connections/*/gitRepositoryLinks/*`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### DeveloperConnectRepoUriAsGitRepositoryLinkName

    public GitRepositoryLinkName DeveloperConnectRepoUriAsGitRepositoryLinkName { get; set; }

[GitRepositoryLinkName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.GitRepositoryLinkName)-typed view over the [DeveloperConnectRepoUri](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.DeveloperConnectSourceConfig#Google_Cloud_DesignCenter_V1_DeveloperConnectSourceConfig_DeveloperConnectRepoUri) resource name
property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.GitRepositoryLinkName` |   |

### Dir

    public string Dir { get; set; }

Required. The sub-directory within the repository from which to read
content. The path must be relative to the repository's root such as
dir1/dir2. To read content from the root dir, provide "/" as the value of
the field.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### FetchedCommitSha

    public string FetchedCommitSha { get; set; }

Output only. The SHA of the commit deduced from GitReference.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Reference

    public GitReference Reference { get; set; }

Required. The reference (for example, a branch, tag, or commit SHA) from
which the content should be read.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.GitReference` |   |