2023-03-11
▼ ▲ dataform.projects.locations.repositories.fetchHistory
Parameter Order: name
HTTP Method: GET
Path: v1beta1/{+name}:fetchHistory
Description: Fetches a Repository's history of changes. The Repository must not have a value for `git_remote_settings.url`.
Parameters:
pageToken
Type: string
Description: Optional. Page token received from a previous `FetchRepositoryHistory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchRepositoryHistory` must match the call that provided the page token.
Location: query
pageSize
Format: int32
Description: Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
Location: query
Type: integer
name
Type: string
Location: path
Required: Yes
Pattern: ^projects/[^/]+/locations/[^/]+/repositories/[^/]+$
Description: Required. The repository's name.
Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:fetchHistory
▼ ▲ dataform.projects.locations.repositories.commit
Parameter Order: name
Description: Applies a Git commit to a Repository. The Repository must not have a value for `git_remote_settings.url`.
Scopes: https://www.googleapis.com/auth/cloud-platform
Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:commit
Parameters:
name
Description: Required. The repository's name.
Location: path
Required: Yes
Pattern: ^projects/[^/]+/locations/[^/]+/repositories/[^/]+$
Type: string
Path: v1beta1/{+name}:commit
HTTP Method: POST
▼ ▲ dataform.projects.locations.repositories.queryDirectoryContents
Parameter Order: name
HTTP Method: GET
Path: v1beta1/{+name}:queryDirectoryContents
Description: Returns the contents of a given Repository directory. The Repository must not have a value for `git_remote_settings.url`.
Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:queryDirectoryContents
Parameters:
pageSize
Location: query
Format: int32
Description: Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
Type: integer
pageToken
Type: string
Description: Optional. Page token received from a previous `QueryRepositoryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryRepositoryDirectoryContents` must match the call that provided the page token.
Location: query
commitSha
Location: query
Description: Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.
Type: string
path
Location: query
Description: Optional. The directory's full path including directory name, relative to root. If left unset, the root is used.
Type: string
name
Description: Required. The repository's name.
Location: path
Required: Yes
Pattern: ^projects/[^/]+/locations/[^/]+/repositories/[^/]+$
Type: string
▼ ▲ dataform.projects.locations.repositories.readFile
Description: Returns the contents of a file (inside a Repository). The Repository must not have a value for `git_remote_settings.url`.
Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:readFile
Parameters:
name
Pattern: ^projects/[^/]+/locations/[^/]+/repositories/[^/]+$
Type: string
Description: Required. The repository's name.
Location: path
Required: Yes
path
Description: Required. Full file path to read including filename, from repository root.
Location: query
Type: string
commitSha
Location: query
Type: string
Description: Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD.
Parameter Order: name
HTTP Method: GET
Scopes: https://www.googleapis.com/auth/cloud-platform
Path: v1beta1/{+name}:readFile