ProjectsLocationsConnectionsRepositories
class ProjectsLocationsConnectionsRepositories extends Resource (View source)
The "repositories" collection of methods.
Typical usage is:
$cloudbuildService = new Google\Service\CloudBuild(...);
$repositories = $cloudbuildService->projects_locations_connections_repositories;
Methods
Fetches read token of a given repository. (repositories.accessReadToken)
Fetches read/write token of a given repository.
Creates multiple repositories inside a connection. (repositories.batchCreate)
Creates a Repository. (repositories.create)
Deletes a single repository. (repositories.delete)
Fetch the list of branches or tags for a given repository.
Gets details of a single repository. (repositories.get)
Lists Repositories in a given connection.
Details
FetchReadTokenResponse
accessReadToken(string $repository, FetchReadTokenRequest $postBody, array $optParams = [])
Fetches read token of a given repository. (repositories.accessReadToken)
FetchReadWriteTokenResponse
accessReadWriteToken(string $repository, FetchReadWriteTokenRequest $postBody, array $optParams = [])
Fetches read/write token of a given repository.
(repositories.accessReadWriteToken)
Operation
batchCreate(string $parent, BatchCreateRepositoriesRequest $postBody, array $optParams = [])
Creates multiple repositories inside a connection. (repositories.batchCreate)
Operation
create(string $parent, Repository $postBody, array $optParams = [])
Creates a Repository. (repositories.create)
Operation
delete(string $name, array $optParams = [])
Deletes a single repository. (repositories.delete)
FetchGitRefsResponse
fetchGitRefs(string $repository, array $optParams = [])
Fetch the list of branches or tags for a given repository.
(repositories.fetchGitRefs)
Repository
get(string $name, array $optParams = [])
Gets details of a single repository. (repositories.get)
ListRepositoriesResponse
listProjectsLocationsConnectionsRepositories(string $parent, array $optParams = [])
Lists Repositories in a given connection.
(repositories.listProjectsLocationsConnectionsRepositories)