Skip to main content

linkable_git_repositories

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

Overview

Namelinkable_git_repositories
TypeResource
Idgoogle.developerconnect.linkable_git_repositories

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
linkableGitRepositoriesarrayThe git repositories that can be linked to the connection.
nextPageTokenstringA token identifying a page of results the server should return.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
fetch_linkable_git_repositoriesselectprojectsId, locationsId, connectionsIdpageSize, pageTokenFetchLinkableGitRepositories 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.

NameDatatypeDescription
connectionsIdstring
locationsIdstring
projectsIdstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

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 }}';