Skip to main content

connections_github_installations

Creates, updates, deletes, gets or lists a connections_github_installations resource.

Overview

Nameconnections_github_installations
TypeResource
Idgoogle.developerconnect.connections_github_installations

Fields

NameDatatypeDescription
installationsarrayList of installations available to the OAuth user (for github.com) or all the installations (for GitHub enterprise).

Methods

NameAccessible byRequired ParamsDescription
fetchgithub_installationsSELECTconnectionsId, locationsId, projectsIdFetchGitHubInstallations returns the list of GitHub Installations that are available to be added to a Connection. For github.com, only installations accessible to the authorizer token are returned. For GitHub Enterprise, all installations are returned.

SELECT examples

FetchGitHubInstallations returns the list of GitHub Installations that are available to be added to a Connection. For github.com, only installations accessible to the authorizer token are returned. For GitHub Enterprise, all installations are returned.

SELECT
installations
FROM google.developerconnect.connections_github_installations
WHERE connectionsId = '{{ connectionsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';