public class CloudBuild.Projects.Locations.Connections.Repositories extends Object
| Constructor and Description | 
|---|
| Repositories() | 
public CloudBuild.Projects.Locations.Connections.Repositories.AccessReadToken accessReadToken(String repository, FetchReadTokenRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.repository - Required. The resource name of the repository in the format
        `projects/locations/connections/repositories`.content - the FetchReadTokenRequestIOExceptionpublic CloudBuild.Projects.Locations.Connections.Repositories.AccessReadWriteToken accessReadWriteToken(String repository, FetchReadWriteTokenRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
 operation.repository - Required. The resource name of the repository in the format
        `projects/locations/connections/repositories`.content - the FetchReadWriteTokenRequestIOExceptionpublic CloudBuild.Projects.Locations.Connections.Repositories.BatchCreate batchCreate(String parent, BatchCreateRepositoriesRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The connection to contain all the repositories being created. Format:
        projects/locations/connections The parent field in the CreateRepositoryRequest messages
        must either be empty or match this field.content - the BatchCreateRepositoriesRequestIOExceptionpublic CloudBuild.Projects.Locations.Connections.Repositories.Create create(String parent, Repository content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The connection to contain the repository. If the request is part of a
        BatchCreateRepositoriesRequest, this field should be empty or match the parent specified
        there.content - the RepositoryIOExceptionpublic CloudBuild.Projects.Locations.Connections.Repositories.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the Repository to delete. Format:
        `projects/locations/connections/repositories`.IOExceptionpublic CloudBuild.Projects.Locations.Connections.Repositories.FetchGitRefs fetchGitRefs(String repository) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.repository - Required. The resource name of the repository in the format
        `projects/locations/connections/repositories`.IOExceptionpublic CloudBuild.Projects.Locations.Connections.Repositories.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the Repository to retrieve. Format:
        `projects/locations/connections/repositories`.IOExceptionpublic CloudBuild.Projects.Locations.Connections.Repositories.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent, which owns this collection of Repositories. Format:
        `projects/locations/connections`.IOExceptionCopyright © 2011–2025 Google. All rights reserved.