Class Repository
Represents a Dataform Git repository.
Implements
Inherited Members
Namespace: Google.Apis.Dataform.v1beta1.Data
Assembly: Google.Apis.Dataform.v1beta1.dll
Syntax
public class Repository : IDirectResponseSchema
Properties
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. The timestamp of when the repository was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
DataEncryptionState
Output only. A data encryption state of a Git repository if this Repository is protected by a KMS key.
Declaration
[JsonProperty("dataEncryptionState")]
public virtual DataEncryptionState DataEncryptionState { get; set; }
Property Value
Type | Description |
---|---|
DataEncryptionState |
DisplayName
Optional. The repository's user-friendly name.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
GitRemoteSettings
Optional. If set, configures this repository to be linked to a Git remote.
Declaration
[JsonProperty("gitRemoteSettings")]
public virtual GitRemoteSettings GitRemoteSettings { get; set; }
Property Value
Type | Description |
---|---|
GitRemoteSettings |
KmsKeyName
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}
Declaration
[JsonProperty("kmsKeyName")]
public virtual string KmsKeyName { get; set; }
Property Value
Type | Description |
---|---|
string |
Labels
Optional. Repository user labels.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Name
Identifier. The repository's name.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
NpmrcEnvironmentVariablesSecretVersion
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.
Declaration
[JsonProperty("npmrcEnvironmentVariablesSecretVersion")]
public virtual string NpmrcEnvironmentVariablesSecretVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
ServiceAccount
Optional. The service account to run workflow invocations under.
Declaration
[JsonProperty("serviceAccount")]
public virtual string ServiceAccount { get; set; }
Property Value
Type | Description |
---|---|
string |
SetAuthenticatedUserAdmin
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
Declaration
[JsonProperty("setAuthenticatedUserAdmin")]
public virtual bool? SetAuthenticatedUserAdmin { get; set; }
Property Value
Type | Description |
---|---|
bool? |
WorkspaceCompilationOverrides
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.
Declaration
[JsonProperty("workspaceCompilationOverrides")]
public virtual WorkspaceCompilationOverrides WorkspaceCompilationOverrides { get; set; }
Property Value
Type | Description |
---|---|
WorkspaceCompilationOverrides |