Dataform v1beta1 API - Class Repository (1.0.0-beta08)

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 > Repository

Namespace

Google.Cloud.Dataform.V1Beta1

Assembly

Google.Cloud.Dataform.V1Beta1.dll

Constructors

Repository()

public Repository()

Repository(Repository)

public Repository(Repository other)
Parameter
Name Description
other Repository

Properties

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

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

HasInternalMetadata

public bool HasInternalMetadata { get; }

Gets whether the "internal_metadata" 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-typed view over the 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-typed view over the NpmrcEnvironmentVariablesSecretVersion resource name property.

Property Value
Type Description
SecretVersionName

RepositoryName

public RepositoryName RepositoryName { get; set; }

RepositoryName-typed view over the 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

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