Class CheckoutWorkspaceBranchRequest
CheckoutWorkspaceBranch request message.
Implements
Inherited Members
Namespace: Google.Apis.Dataform.v1beta1.Data
Assembly: Google.Apis.Dataform.v1beta1.dll
Syntax
public class CheckoutWorkspaceBranchRequest : IDirectResponseSchema
Properties
Branch
Required. The name of the branch in the Git repository to which the workspace should be checked out.
Declaration
[JsonProperty("branch")]
public virtual string Branch { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CreateIfNotExists
Optional. If set to true and the branch does not exist, it will be created. Otherwise, an error will be thrown.
Declaration
[JsonProperty("createIfNotExists")]
public virtual bool? CreateIfNotExists { 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 |
SourceBranch
Optional. The name of the branch in the Git repository from which the new branch should be created. If left
unset, the workspace's current branch name will be used. Accepts only branch names from
FetchWorkspaceBranches response, and can only be set if create_if_not_exists is true. Oherwise, an error
will be thrown.
Declaration
[JsonProperty("sourceBranch")]
public virtual string SourceBranch { get; set; }
Property Value
| Type | Description |
|---|---|
| string |