Skip to main content

repositories_history

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

Overview

Namerepositories_history
TypeResource
Idgoogle.dataform.repositories_history

Fields

NameDatatypeDescription
commitsarrayA list of commit logs, ordered by 'git log' default order.
nextPageTokenstringA token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

Methods

NameAccessible byRequired ParamsDescription
fetch_historySELECTlocationsId, projectsId, repositoriesIdFetches 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 }}';