Dataform V1beta1 API - Class Google::Cloud::Dataform::V1beta1::DeleteBranchRequest (v1.3.0)

Reference documentation and code samples for the Dataform V1beta1 API class Google::Cloud::Dataform::V1beta1::DeleteBranchRequest.

DeleteBranch request message.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#branch

def branch() -> ::String
Returns
  • (::String) — Required. The name of the branch in the Git repository to delete.

#branch=

def branch=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the branch in the Git repository to delete.
Returns
  • (::String) — Required. The name of the branch in the Git repository to delete.

#force

def force() -> ::Boolean
Returns
  • (::Boolean) — Optional. If set to true, any non-pushed commits on the branch will be deleted. Upstream branch name will be the same as the branch to delete.

#force=

def force=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. If set to true, any non-pushed commits on the branch will be deleted. Upstream branch name will be the same as the branch to delete.
Returns
  • (::Boolean) — Optional. If set to true, any non-pushed commits on the branch will be deleted. Upstream branch name will be the same as the branch to delete.

#name

def name() -> ::String
Returns
  • (::String) — Required. The workspace resource name. Format: projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The workspace resource name. Format: projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}
Returns
  • (::String) — Required. The workspace resource name. Format: projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}