All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.databricks.sdk.service.workspace.ReposService Maven / Gradle / Ivy

There is a newer version: 0.35.0
Show newest version
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.workspace;

import com.databricks.sdk.support.Generated;

/**
 * The Repos API allows users to manage their git repos. Users can use the API to access all repos
 * that they have manage permissions on.
 *
 * 

Databricks Repos is a visual Git client in Databricks. It supports common Git operations such * a cloning a repository, committing and pushing, pulling, branch management, and visual comparison * of diffs when committing. * *

Within Repos you can develop code in notebooks or other files and follow data science and * engineering code development best practices using Git for version control, collaboration, and * CI/CD. * *

This is the high-level interface, that contains generated methods. * *

Evolving: this interface is under development. Method signatures may change. */ @Generated public interface ReposService { /** * Create a repo. * *

Creates a repo in the workspace and links it to the remote Git repo specified. Note that * repos created programmatically must be linked to a remote Git repo, unlike repos created in the * browser. */ RepoInfo create(CreateRepo createRepo); /** * Delete a repo. * *

Deletes the specified repo. */ void delete(DeleteRepoRequest deleteRepoRequest); /** * Get a repo. * *

Returns the repo with the given repo ID. */ RepoInfo get(GetRepoRequest getRepoRequest); /** * Get repo permission levels. * *

Gets the permission levels that a user can have on an object. */ GetRepoPermissionLevelsResponse getPermissionLevels( GetRepoPermissionLevelsRequest getRepoPermissionLevelsRequest); /** * Get repo permissions. * *

Gets the permissions of a repo. Repos can inherit permissions from their root object. */ RepoPermissions getPermissions(GetRepoPermissionsRequest getRepoPermissionsRequest); /** * Get repos. * *

Returns repos that the calling user has Manage permissions on. Results are paginated with * each page containing twenty repos. */ ListReposResponse list(ListReposRequest listReposRequest); /** * Set repo permissions. * *

Sets permissions on a repo. Repos can inherit permissions from their root object. */ RepoPermissions setPermissions(RepoPermissionsRequest repoPermissionsRequest); /** * Update a repo. * *

Updates the repo to a different branch or tag, or updates the repo to the latest commit on * the same branch. */ void update(UpdateRepo updateRepo); /** * Update repo permissions. * *

Updates the permissions on a repo. Repos can inherit permissions from their root object. */ RepoPermissions updatePermissions(RepoPermissionsRequest repoPermissionsRequest); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy