public class CloudSourceRepositories.Projects.Repos extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CloudSourceRepositories.Projects.Repos.Create |
class |
CloudSourceRepositories.Projects.Repos.Delete |
class |
CloudSourceRepositories.Projects.Repos.Get |
class |
CloudSourceRepositories.Projects.Repos.GetIamPolicy |
class |
CloudSourceRepositories.Projects.Repos.List |
class |
CloudSourceRepositories.Projects.Repos.Patch |
class |
CloudSourceRepositories.Projects.Repos.SetIamPolicy |
class |
CloudSourceRepositories.Projects.Repos.Sync |
class |
CloudSourceRepositories.Projects.Repos.TestIamPermissions |
| Constructor and Description |
|---|
Repos() |
public CloudSourceRepositories.Projects.Repos.Create create(String parent, Repo content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - The project in which to create the repo. Values are of the form
`projects/`.content - the RepoIOExceptionpublic CloudSourceRepositories.Projects.Repos.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name of the repo to delete. Values are of the form
`projects//repos/`.IOExceptionpublic CloudSourceRepositories.Projects.Repos.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name of the requested repository. Values are of the form
`projects//repos/`.IOExceptionpublic CloudSourceRepositories.Projects.Repos.GetIamPolicy getIamPolicy(String resource) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resource - REQUIRED: The resource for which the policy is being requested.
See the operation documentation for
the appropriate value for this field.IOExceptionpublic CloudSourceRepositories.Projects.Repos.List list(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The project ID whose repos should be listed. Values are of the form
`projects/`.IOExceptionpublic CloudSourceRepositories.Projects.Repos.Patch patch(String name, UpdateRepoRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name of the requested repository. Values are of the form
`projects//repos/`.content - the UpdateRepoRequestIOExceptionpublic CloudSourceRepositories.Projects.Repos.SetIamPolicy setIamPolicy(String resource, SetIamPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resource - REQUIRED: The resource for which the policy is being specified.
See the operation documentation for
the appropriate value for this field.content - the SetIamPolicyRequestIOExceptionpublic CloudSourceRepositories.Projects.Repos.Sync sync(String name, SyncRepoRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name of the repo to synchronize. Values are of the form
`projects//repos/`.content - the SyncRepoRequestIOExceptionpublic CloudSourceRepositories.Projects.Repos.TestIamPermissions testIamPermissions(String resource, TestIamPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resource - REQUIRED: The resource for which the policy detail is being requested.
See the operation
documentation for the appropriate value for this field.content - the TestIamPermissionsRequestIOExceptionCopyright © 2011–2020 Google. All rights reserved.