Class DeleteBranchRequest (0.11.4)

DeleteBranchRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

DeleteBranch request message.

Attributes

Name Description
name str
Required. The workspace resource name. Format: projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}
branch str
Required. The name of the branch in the Git repository to delete.
force bool
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.