lib/google/devtools/cloudbuild/v2/repositories_services_pb.rb in google-cloud-build-v2-0.2.0 vs lib/google/devtools/cloudbuild/v2/repositories_services_pb.rb in google-cloud-build-v2-0.3.0
- old
+ new
@@ -22,11 +22,11 @@
module Google
module Cloud
module Build
module V2
module RepositoryManager
- # Manages connections to source code repostiories.
+ # Manages connections to source code repositories.
class Service
include ::GRPC::GenericService
self.marshal_class_method = :encode
@@ -58,9 +58,11 @@
# Fetches read token of a given repository.
rpc :FetchReadToken, ::Google::Cloud::Build::V2::FetchReadTokenRequest, ::Google::Cloud::Build::V2::FetchReadTokenResponse
# FetchLinkableRepositories get repositories from SCM that are
# accessible and could be added to the connection.
rpc :FetchLinkableRepositories, ::Google::Cloud::Build::V2::FetchLinkableRepositoriesRequest, ::Google::Cloud::Build::V2::FetchLinkableRepositoriesResponse
+ # Fetch the list of branches or tags for a given repository.
+ rpc :FetchGitRefs, ::Google::Cloud::Build::V2::FetchGitRefsRequest, ::Google::Cloud::Build::V2::FetchGitRefsResponse
end
Stub = Service.rpc_stub_class
end
end