ProjectsLocationsConnectionsGitRepositoryLinks
class ProjectsLocationsConnectionsGitRepositoryLinks extends Resource (View source)
The "gitRepositoryLinks" collection of methods.
Typical usage is:
$developerconnectService = new Google\Service\DeveloperConnect(...);
$gitRepositoryLinks = $developerconnectService->projects_locations_connections_gitRepositoryLinks;
Methods
Creates a GitRepositoryLink. Upon linking a Git Repository, Developer Connect will configure the Git Repository to send webhook events to Developer Connect. Connections that use Firebase GitHub Application will have events forwarded to the Firebase service. All other Connections will have events forwarded to Cloud Build. (gitRepositoryLinks.create)
Deletes a single GitRepositoryLink. (gitRepositoryLinks.delete)
Fetch the list of branches or tags for a given repository.
Fetches read token of a given gitRepositoryLink.
Fetches read/write token of a given gitRepositoryLink.
Gets details of a single GitRepositoryLink. (gitRepositoryLinks.get)
Lists GitRepositoryLinks in a given project, location, and connection.
Details
Operation
create(string $parent, GitRepositoryLink $postBody, array $optParams = [])
Creates a GitRepositoryLink. Upon linking a Git Repository, Developer Connect will configure the Git Repository to send webhook events to Developer Connect. Connections that use Firebase GitHub Application will have events forwarded to the Firebase service. All other Connections will have events forwarded to Cloud Build. (gitRepositoryLinks.create)
Operation
delete(string $name, array $optParams = [])
Deletes a single GitRepositoryLink. (gitRepositoryLinks.delete)
FetchGitRefsResponse
fetchGitRefs(string $gitRepositoryLink, array $optParams = [])
Fetch the list of branches or tags for a given repository.
(gitRepositoryLinks.fetchGitRefs)
FetchReadTokenResponse
fetchReadToken(string $gitRepositoryLink, FetchReadTokenRequest $postBody, array $optParams = [])
Fetches read token of a given gitRepositoryLink.
(gitRepositoryLinks.fetchReadToken)
FetchReadWriteTokenResponse
fetchReadWriteToken(string $gitRepositoryLink, FetchReadWriteTokenRequest $postBody, array $optParams = [])
Fetches read/write token of a given gitRepositoryLink.
(gitRepositoryLinks.fetchReadWriteToken)
GitRepositoryLink
get(string $name, array $optParams = [])
Gets details of a single GitRepositoryLink. (gitRepositoryLinks.get)
ListGitRepositoryLinksResponse
listProjectsLocationsConnectionsGitRepositoryLinks(string $parent, array $optParams = [])
Lists GitRepositoryLinks in a given project, location, and connection.
(gitRepositoryLinks.listProjectsLocationsConnectionsGitRepositoryLinks)