2023-07-28
▼ ▲ dataform.projects.locations.repositories.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:
name
Description: Required. The repository's name.
Pattern: ^projects/[^/]+/locations/[^/]+/repositories/[^/]+$
Type: string
Location: path
Required: Yes
path
Type: string
Description: Optional. The directory's full path including directory name, relative to root. If left unset, the root is used.
Location: query
commitSha
Description: Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.
Type: string
Location: query
pageToken
Type: string
Location: query
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.
pageSize
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
Format: int32
Type: integer
Path: v1beta1/{+name}:queryDirectoryContents
Scopes: https://www.googleapis.com/auth/cloud-platform
Parameter Order: name
HTTP Method: GET
▼ ▲ dataform.projects.locations.repositories.commit
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
HTTP Method: POST
Path: v1beta1/{+name}:commit
Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:commit
Parameters:
name
Description: Required. The repository's name.
Location: path
Required: Yes
Type: string
Pattern: ^projects/[^/]+/locations/[^/]+/repositories/[^/]+$
Parameter Order: name
▼ ▲ dataform.projects.locations.repositories.readFile
Parameters:
path
Description: Required. Full file path to read including filename, from repository root.
Type: string
Location: query
commitSha
Type: string
Location: query
Description: Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD.
name
Description: Required. The repository's name.
Location: path
Type: string
Pattern: ^projects/[^/]+/locations/[^/]+/repositories/[^/]+$
Required: Yes
Path: v1beta1/{+name}:readFile
Description: Returns the contents of a file (inside a Repository). The Repository must not have a value for `git_remote_settings.url`.
HTTP Method: GET
Parameter Order: name
Scopes: https://www.googleapis.com/auth/cloud-platform
Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:readFile
▼ ▲ dataform.projects.locations.repositories.fetchHistory
Parameter Order: name
Parameters:
name
Location: path
Description: Required. The repository's name.
Required: Yes
Pattern: ^projects/[^/]+/locations/[^/]+/repositories/[^/]+$
Type: string
pageSize
Type: integer
Description: Optional. Maximum number of commits to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
Format: int32
Location: query
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
Description: Fetches a Repository's history of commits. 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}:fetchHistory
HTTP Method: GET
Path: v1beta1/{+name}:fetchHistory