Skip to main content

connections_linkable_repositories

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

Overview

Nameconnections_linkable_repositories
TypeResource
Idgoogle.cloudbuild.connections_linkable_repositories

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
nextPageTokenstringA token identifying a page of results the server should return.
repositoriesarrayrepositories ready to be created.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_connections_fetch_linkable_repositoriesselectprojectsId, locationsId, connectionsIdpageSize, pageTokenFetchLinkableRepositories get repositories from SCM that are accessible and could be added to the 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

FetchLinkableRepositories get repositories from SCM that are accessible and could be added to the connection.

SELECT
nextPageToken,
repositories
FROM google.cloudbuild.connections_linkable_repositories
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND connectionsId = '{{ connectionsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}';