Dataform v1beta1 API - Class CheckoutWorkspaceBranchRequest (1.0.0-beta14)

public sealed class CheckoutWorkspaceBranchRequest : IMessage<CheckoutWorkspaceBranchRequest>, IEquatable<CheckoutWorkspaceBranchRequest>, IDeepCloneable<CheckoutWorkspaceBranchRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Dataform v1beta1 API class CheckoutWorkspaceBranchRequest.

CheckoutWorkspaceBranch request message.

Inheritance

object > CheckoutWorkspaceBranchRequest

Namespace

Google.Cloud.Dataform.V1Beta1

Assembly

Google.Cloud.Dataform.V1Beta1.dll

Constructors

CheckoutWorkspaceBranchRequest()

public CheckoutWorkspaceBranchRequest()

CheckoutWorkspaceBranchRequest(CheckoutWorkspaceBranchRequest)

public CheckoutWorkspaceBranchRequest(CheckoutWorkspaceBranchRequest other)
Parameter
Name Description
other CheckoutWorkspaceBranchRequest

Properties

Branch

public string Branch { get; set; }

Required. The name of the branch in the Git repository to which the workspace should be checked out.

Property Value
Type Description
string

CreateIfNotExists

public bool CreateIfNotExists { get; set; }

Optional. If set to true and the branch does not exist, it will be created. Otherwise, an error will be thrown.

Property Value
Type Description
bool

Name

public string Name { get; set; }

Required. The workspace resource name. Format: projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}

Property Value
Type Description
string

SourceBranch

public string SourceBranch { get; set; }

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.

Property Value
Type Description
string

WorkspaceName

public WorkspaceName WorkspaceName { get; set; }

WorkspaceName-typed view over the Name resource name property.

Property Value
Type Description
WorkspaceName