| Package | Description |
|---|---|
| com.google.api.services.sourcerepo.v1 | |
| com.google.api.services.sourcerepo.v1.model |
| Modifier and Type | Method and Description |
|---|---|
CloudSourceRepositories.Projects.Repos.Create |
CloudSourceRepositories.Projects.Repos.create(String parent,
Repo content)
Creates a repo in the given project with the given name.
|
| Constructor and Description |
|---|
Create(String parent,
Repo content)
Creates a repo in the given project with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
Repo |
Repo.clone() |
Repo |
UpdateRepoRequest.getRepo()
The new configuration for the repository.
|
Repo |
Repo.set(String fieldName,
Object value) |
Repo |
Repo.setMirrorConfig(MirrorConfig mirrorConfig)
How this repository mirrors a repository managed by another service.
|
Repo |
Repo.setName(String name)
Resource name of the repository, of the form `projects//repos/`.
|
Repo |
Repo.setPubsubConfigs(Map<String,PubsubConfig> pubsubConfigs)
How this repository publishes a change in the repository through Cloud Pub/Sub.
|
Repo |
Repo.setSize(Long size)
The disk usage of the repo, in bytes.
|
Repo |
Repo.setUrl(String url)
URL to clone the repository from Google Cloud Source Repositories.
|
| Modifier and Type | Method and Description |
|---|---|
List<Repo> |
ListReposResponse.getRepos()
The listed repos.
|
| Modifier and Type | Method and Description |
|---|---|
UpdateRepoRequest |
UpdateRepoRequest.setRepo(Repo repo)
The new configuration for the repository.
|
| Modifier and Type | Method and Description |
|---|---|
ListReposResponse |
ListReposResponse.setRepos(List<Repo> repos)
The listed repos.
|
Copyright © 2011–2020 Google. All rights reserved.