public class CloudSourceRepositories.Projects extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CloudSourceRepositories.Projects.GetConfig |
class |
CloudSourceRepositories.Projects.Repos
The "repos" collection of methods.
|
class |
CloudSourceRepositories.Projects.UpdateConfig |
| Constructor and Description |
|---|
Projects() |
| Modifier and Type | Method and Description |
|---|---|
CloudSourceRepositories.Projects.GetConfig |
getConfig(String name)
Returns the Cloud Source Repositories configuration of the project.
|
CloudSourceRepositories.Projects.Repos |
repos()
An accessor for creating requests from the Repos collection.
|
CloudSourceRepositories.Projects.UpdateConfig |
updateConfig(String name,
UpdateProjectConfigRequest content)
Updates the Cloud Source Repositories configuration of the project.
|
public CloudSourceRepositories.Projects.GetConfig getConfig(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name of the requested project. Values are of the form
`projects/`.IOExceptionpublic CloudSourceRepositories.Projects.UpdateConfig updateConfig(String name, UpdateProjectConfigRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name of the requested project. Values are of the form
`projects/`.content - the UpdateProjectConfigRequestIOExceptionpublic CloudSourceRepositories.Projects.Repos repos()
The typical use is:
CloudSourceRepositories sourcerepo = new CloudSourceRepositories(...);CloudSourceRepositories.Repos.List request = sourcerepo.repos().list(parameters ...)
Copyright © 2011–2020 Google. All rights reserved.