linkable_git_repositories
Creates, updates, deletes, gets or lists a linkable_git_repositories
resource.
Overview
Name | linkable_git_repositories |
Type | Resource |
Id | google.developerconnect.linkable_git_repositories |
Fields
The following fields are returned by SELECT
queries:
- fetch_linkable_git_repositories
Successful response
Name | Datatype | Description |
---|---|---|
linkableGitRepositories | array | The git repositories that can be linked to the connection. |
nextPageToken | string | A token identifying a page of results the server should return. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
fetch_linkable_git_repositories | select | projectsId , locationsId , connectionsId | pageSize , pageToken | FetchLinkableGitRepositories returns a list of git repositories from an SCM that are available to be added to a Connection. |
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 | |
pageSize | integer (int32) | |
pageToken | string |
SELECT
examples
- fetch_linkable_git_repositories
FetchLinkableGitRepositories returns a list of git repositories from an SCM that are available to be added to a Connection.
SELECT
linkableGitRepositories,
nextPageToken
FROM google.developerconnect.linkable_git_repositories
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND connectionsId = '{{ connectionsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}';