github_installations
Creates, updates, deletes, gets or lists a github_installations
resource.
Overview
Name | github_installations |
Type | Resource |
Id | google.developerconnect.github_installations |
Fields
The following fields are returned by SELECT
queries:
- fetchgithub_installations
Successful response
Name | Datatype | Description |
---|---|---|
installations | array | List of installations available to the OAuth user (for github.com) or all the installations (for GitHub enterprise). |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
fetchgithub_installations | select | projectsId , locationsId , connectionsId | 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. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
connectionsId | string | |
locationsId | string | |
projectsId | string |
SELECT
examples
- fetchgithub_installations
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.github_installations
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND connectionsId = '{{ connectionsId }}' -- required;