Show / Hide Table of Contents

Class Workspace

Represents a Dataform Git workspace.

Inheritance
object
Workspace
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dataform.v1beta1.Data
Assembly: Google.Apis.Dataform.v1beta1.dll
Syntax
public class Workspace : 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 workspace 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 Workspace is protected by a KMS key.

Declaration
[JsonProperty("dataEncryptionState")]
public virtual DataEncryptionState DataEncryptionState { get; set; }
Property Value
Type Description
DataEncryptionState

Depth

Optional. Input only. Immutable. The maximum depth of the Git repository to checkout for this workspace. If defined and greater than 0, the Git repository will be created as a shallow clone with the given depth, otherwise a full clone will be performed. This field is available only for GitHub, GitLab and 1p repositories with enabled branch management.

Declaration
[JsonProperty("depth")]
public virtual int? Depth { get; set; }
Property Value
Type Description
int?

DisableMoves

Optional. If set to true, workspaces will not be moved if its linked Repository is moved. Instead, it will be deleted.

Declaration
[JsonProperty("disableMoves")]
public virtual bool? DisableMoves { get; set; }
Property Value
Type Description
bool?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

EnableBranchManagement

Immutable. Controls the enablement of branch checkout for the workspace. When set to True, the workspace will be allowed to checkout branches.

Declaration
[JsonProperty("enableBranchManagement")]
public virtual bool? EnableBranchManagement { get; set; }
Property Value
Type Description
bool?

InternalMetadata

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.

Declaration
[JsonProperty("internalMetadata")]
public virtual string InternalMetadata { get; set; }
Property Value
Type Description
string

Name

Identifier. The workspace's name.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

OriginalBranch

Optional. Input only. Immutable. The name of the default upstream branch for all pull/push operations in the remote repository for this workspace. If empty, the HEAD branch from repository will be used.

Declaration
[JsonProperty("originalBranch")]
public virtual string OriginalBranch { get; set; }
Property Value
Type Description
string

PrivateResourceMetadata

Output only. Metadata indicating whether this resource is user-scoped. For Workspace resources, the user_scoped field is always true.

Declaration
[JsonProperty("privateResourceMetadata")]
public virtual PrivateResourceMetadata PrivateResourceMetadata { get; set; }
Property Value
Type Description
PrivateResourceMetadata

Shallow

Output only. If set to true, the workspace was created as a shallow clone. Will be set to true if the depth field is set to a value greater than 0, otherwise it will be set to false.

Declaration
[JsonProperty("shallow")]
public virtual bool? Shallow { get; set; }
Property Value
Type Description
bool?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX