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.
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}
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eRepository\u003c/code\u003e class in the Dataform v1beta1 API represents a Git repository within Dataform.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, equality comparison, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eRepository\u003c/code\u003e class include settings for Git remote configurations, data encryption, user-friendly display names, internal metadata, and options for linking to KMS encryption keys, as well as NPM configurations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRepository\u003c/code\u003e class supports the use of timestamps, labels, service accounts and secret versions to manage and personalize it.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRepository\u003c/code\u003e class also has methods of its own that allow for creation and specific management functions.\u003c/p\u003e\n"]]],[],null,["# Dataform v1beta1 API - Class Repository (1.0.0-beta08)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta08 (latest)](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.Repository)\n- [1.0.0-beta07](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/1.0.0-beta07/Google.Cloud.Dataform.V1Beta1.Repository) \n\n public sealed class Repository : IMessage\u003cRepository\u003e, IEquatable\u003cRepository\u003e, IDeepCloneable\u003cRepository\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataform v1beta1 API class Repository.\n\nRepresents a Dataform Git repository. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Repository \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Repository](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.Repository), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Repository](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.Repository), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Repository](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.Repository), [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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Dataform.V1Beta1](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.Dataform.V1Beta1.dll\n\nConstructors\n------------\n\n### Repository()\n\n public Repository()\n\n### Repository(Repository)\n\n public Repository(Repository other)\n\nProperties\n----------\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. The timestamp of when the repository was created.\n\n### DataEncryptionState\n\n public DataEncryptionState DataEncryptionState { get; set; }\n\nOutput only. A data encryption state of a Git repository if this Repository\nis protected by a KMS key.\n\n### DisplayName\n\n public string DisplayName { get; set; }\n\nOptional. The repository's user-friendly name.\n\n### GitRemoteSettings\n\n public Repository.Types.GitRemoteSettings GitRemoteSettings { get; set; }\n\nOptional. If set, configures this repository to be linked to a Git remote.\n\n### HasInternalMetadata\n\n public bool HasInternalMetadata { get; }\n\nGets whether the \"internal_metadata\" field is set\n\n### InternalMetadata\n\n public string InternalMetadata { get; set; }\n\nOutput only. All the metadata information that is used internally to serve\nthe resource. For example: timestamps, flags, status fields, etc. The\nformat of this field is a JSON string.\n\n### KmsKeyName\n\n public string KmsKeyName { get; set; }\n\nOptional. The reference to a KMS encryption key. If provided, it will be\nused to encrypt user data in the repository and all child resources. It is\nnot possible to add or update the encryption key after the repository is\ncreated. Example:\n`projects/{kms_project}/locations/{location}/keyRings/{key_location}/cryptoKeys/{key}`\n\n### KmsKeyNameAsCryptoKeyName\n\n public CryptoKeyName KmsKeyNameAsCryptoKeyName { get; set; }\n\n[CryptoKeyName](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.CryptoKeyName)-typed view over the [KmsKeyName](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.Repository#Google_Cloud_Dataform_V1Beta1_Repository_KmsKeyName) resource name property.\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nOptional. Repository user labels.\n\n### Name\n\n public string Name { get; set; }\n\nIdentifier. The repository's name.\n\n### NpmrcEnvironmentVariablesSecretVersion\n\n public string NpmrcEnvironmentVariablesSecretVersion { get; set; }\n\nOptional. The name of the Secret Manager secret version to be used to\ninterpolate variables into the .npmrc file for package installation\noperations. Must be in the format `projects/*/secrets/*/versions/*`. The\nfile itself must be in a JSON format.\n\n### NpmrcEnvironmentVariablesSecretVersionAsSecretVersionName\n\n public SecretVersionName NpmrcEnvironmentVariablesSecretVersionAsSecretVersionName { get; set; }\n\n[SecretVersionName](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.SecretVersionName)-typed view over the [NpmrcEnvironmentVariablesSecretVersion](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.Repository#Google_Cloud_Dataform_V1Beta1_Repository_NpmrcEnvironmentVariablesSecretVersion)\nresource name property.\n\n### RepositoryName\n\n public RepositoryName RepositoryName { get; set; }\n\n[RepositoryName](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.RepositoryName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.Repository#Google_Cloud_Dataform_V1Beta1_Repository_Name) resource name property.\n\n### ServiceAccount\n\n public string ServiceAccount { get; set; }\n\nOptional. The service account to run workflow invocations under.\n\n### SetAuthenticatedUserAdmin\n\n public bool SetAuthenticatedUserAdmin { get; set; }\n\nOptional. Input only. If set to true, the authenticated user will be\ngranted the roles/dataform.admin role on the created repository. To modify\naccess to the created repository later apply setIamPolicy from\n\u003chttps://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories\u003e\n\n### WorkspaceCompilationOverrides\n\n public Repository.Types.WorkspaceCompilationOverrides WorkspaceCompilationOverrides { get; set; }\n\nOptional. If set, fields of `workspace_compilation_overrides` override the\ndefault compilation settings that are specified in dataform.json when\ncreating workspace-scoped compilation results. See documentation for\n`WorkspaceCompilationOverrides` for more information."]]