sourcerepo/v1 library

Cloud Source Repositories API - v1

Accesses source code repositories hosted by Google. Important: Cloud Source Repositories is scheduled for end of sales starting June 17, 2024. Customers who have enabled the API prior to this date will not be affected and can continue to use Cloud Source Repositories. Organizations or projects who have not previously enabled the API cannot use Cloud Source Repositories after this date. View Cloud Source Repositories documentation for more info.

For more information, see cloud.google.com/source-repositories/docs

Create an instance of CloudSourceRepositoriesApi to access these resources:

Classes

AuditConfig
Specifies the audit configuration for a service.
Binding
Associates members, or principals, with a role.
CloudSourceRepositoriesApi
Accesses source code repositories hosted by Google.
ListReposResponse
Response for ListRepos.
MirrorConfig
Configuration to automatically mirror a repository from another hosting service, for example GitHub or Bitbucket.
Operation
This resource represents a long-running operation that is the result of a network API call.
Policy
An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.
ProjectConfig
Cloud Source Repositories configuration of a project.
ProjectsReposResource
ProjectsResource
PubsubConfig
Configuration to publish a Cloud Pub/Sub message.
Repo
A repository (or repo) is a Git repository storing versioned source content.
SetIamPolicyRequest
Request message for SetIamPolicy method.
UpdateProjectConfigRequest
Request for UpdateProjectConfig.
UpdateRepoRequest
Request for UpdateRepo.

Typedefs

AuditLogConfig = $AuditLogConfig
Provides the configuration for logging a type of permissions.
Empty = $Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
Expr = $Expr
Represents a textual expression in the Common Expression Language (CEL) syntax.
Status = $Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.
SyncRepoRequest = $Empty
Request for SyncRepo.
TestIamPermissionsRequest = $TestIamPermissionsRequest00
Request message for TestIamPermissions method.
TestIamPermissionsResponse = $PermissionsResponse
Response message for TestIamPermissions method.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.