connections_linkable_repositories
Creates, updates, deletes, gets or lists a connections_linkable_repositories resource.
Overview
| Name | connections_linkable_repositories |
| Type | Resource |
| Id | google.cloudbuild.connections_linkable_repositories |
Fields
The following fields are returned by SELECT queries:
- projects_locations_connections_fetch_linkable_repositories
| Name | Datatype | Description |
|---|---|---|
nextPageToken | string | A token identifying a page of results the server should return. |
repositories | array | repositories ready to be created. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
projects_locations_connections_fetch_linkable_repositories | select | projectsId, locationsId, connectionsId | pageSize, pageToken | FetchLinkableRepositories 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.
| Name | Datatype | Description |
|---|---|---|
connectionsId | string | |
locationsId | string | |
projectsId | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT examples
- projects_locations_connections_fetch_linkable_repositories
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 }}'
;