1.0.0-beta16 (latest) 1.0.0-beta15

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

Reference documentation and code samples for the Dataform v1beta1 API class Repository.

Represents a Dataform Git repository.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Dataform.V1Beta1.dll

## Constructors

### Repository()

    public Repository()

### Repository(Repository)

    public Repository(Repository other)

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

## Properties

### ContainingFolder

    public string ContainingFolder { get; set; }

Optional. The name of the containing folder of the repository.
The field is immutable and it can be modified via a MoveRepository
operation.
Format: `projects/*/locations/*/folders/*`. or
`projects/*/locations/*/teamFolders/*`.

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

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. The timestamp of when the repository was created.

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

### DataEncryptionState

    public DataEncryptionState DataEncryptionState { get; set; }

Output only. A data encryption state of a Git repository if this Repository
is protected by a KMS key.

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

### DisplayName

    public string DisplayName { get; set; }

Optional. The repository's user-friendly name.

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

### EndUserAuthConfig

    public Repository.Types.EndUserAuthConfig EndUserAuthConfig { get; set; }

Optional. Includes configuration options for end user authentication.

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

### GitRemoteSettings

    public Repository.Types.GitRemoteSettings GitRemoteSettings { get; set; }

Optional. If set, configures this repository to be linked to a Git remote.

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

### HasContainingFolder

    public bool HasContainingFolder { get; }

Gets whether the "containing_folder" field is set

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

### HasInternalMetadata

    public bool HasInternalMetadata { get; }

Gets whether the "internal_metadata" field is set

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

### HasTeamFolderName

    public bool HasTeamFolderName { get; }

Gets whether the "team_folder_name" field is set

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

### InternalMetadata

    public string InternalMetadata { get; set; }

Output only. All the metadata information that is used internally to serve
the resource. For example: timestamps, flags, status fields, etc. The
format of this field is a JSON string.

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

### KmsKeyName

    public string KmsKeyName { get; set; }

Optional. The reference to a KMS encryption key. If provided, it will be
used to encrypt user data in the repository and all child resources. It is
not possible to add or update the encryption key after the repository is
created. Example:
`projects/{kms_project}/locations/{location}/keyRings/{key_location}/cryptoKeys/{key}`

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

### KmsKeyNameAsCryptoKeyName

    public CryptoKeyName KmsKeyNameAsCryptoKeyName { get; set; }

[CryptoKeyName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.CryptoKeyName.md.txt)-typed view over the [KmsKeyName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.Repository.md.txt#Google_Cloud_Dataform_V1Beta1_Repository_KmsKeyName) resource name property.

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

### Labels

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

Optional. Repository user labels.

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

### Name

    public string Name { get; set; }

Identifier. The repository's name.

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

### NpmrcEnvironmentVariablesSecretVersion

    public string NpmrcEnvironmentVariablesSecretVersion { get; set; }

Optional. The name of the Secret Manager secret version to be used to
interpolate variables into the .npmrc file for package installation
operations. Must be in the format `projects/*/secrets/*/versions/*`. The
file itself must be in a JSON format.

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

### NpmrcEnvironmentVariablesSecretVersionAsSecretVersionName

    public SecretVersionName NpmrcEnvironmentVariablesSecretVersionAsSecretVersionName { get; set; }

[SecretVersionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.SecretVersionName.md.txt)-typed view over the [NpmrcEnvironmentVariablesSecretVersion](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.Repository.md.txt#Google_Cloud_Dataform_V1Beta1_Repository_NpmrcEnvironmentVariablesSecretVersion)
resource name property.

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

### RepositoryName

    public RepositoryName RepositoryName { get; set; }

[RepositoryName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.RepositoryName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.Repository.md.txt#Google_Cloud_Dataform_V1Beta1_Repository_Name) resource name property.

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

### ServiceAccount

    public string ServiceAccount { get; set; }

Optional. The service account to run workflow invocations under.

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

### SetAuthenticatedUserAdmin

    public bool SetAuthenticatedUserAdmin { get; set; }

Optional. Input only. If set to true, the authenticated user will be
granted the roles/dataform.admin role on the created repository. To modify
access to the created repository later apply setIamPolicy from
<https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories>

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

### TeamFolderName

    public string TeamFolderName { get; set; }

Output only. The resource name of the TeamFolder that this Repository is
associated with. This should take the format:
projects/{project}/locations/{location}/teamFolders/{teamFolder}. If this
is not set, the Repository is not associated with a TeamFolder.

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

### WorkspaceCompilationOverrides

    public Repository.Types.WorkspaceCompilationOverrides WorkspaceCompilationOverrides { get; set; }

Optional. If set, fields of `workspace_compilation_overrides` override the
default compilation settings that are specified in dataform.json when
creating workspace-scoped compilation results. See documentation for
`WorkspaceCompilationOverrides` for more information.

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