repositories_history
Creates, updates, deletes, gets or lists a repositories_history
resource.
Overview
Name | repositories_history |
Type | Resource |
Id | google.dataform.repositories_history |
Fields
Name | Datatype | Description |
---|---|---|
commits | array | A list of commit logs, ordered by 'git log' default order. |
nextPageToken | string | A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
fetch_history | SELECT | locationsId, projectsId, repositoriesId | Fetches a Repository's history of commits. The Repository must not have a value for git_remote_settings.url . |
SELECT
examples
Fetches a Repository's history of commits. The Repository must not have a value for git_remote_settings.url
.
SELECT
commits,
nextPageToken
FROM google.dataform.repositories_history
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}'
AND repositoriesId = '{{ repositoriesId }}';