Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Dataform

import { Dataform } from "https://googleapis.deno.dev/v1/dataform:v1beta1.ts";

Service to develop, version control, and operationalize SQL pipelines in BigQuery.

class Dataform {
constructor(client?: CredentialsClient, baseUrl?: string);
locations;
locations;
locations;
locations;
locations;
locations;
locations;
locations;
locations;
locations;
locations;
locations;
 
async projectsLocationsCollectionsGetIamPolicy(resource: string, opts?: ProjectsLocationsCollectionsGetIamPolicyOptions): Promise<Policy>;
async projectsLocationsCollectionsSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>;
async projectsLocationsCollectionsTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>;
async projectsLocationsGet(name: string): Promise<Location>;
async projectsLocationsList(name: string, opts?: ProjectsLocationsListOptions): Promise<ListLocationsResponse>;
async projectsLocationsRepositoriesCommit(name: string, req: CommitRepositoryChangesRequest): Promise<CommitRepositoryChangesResponse>;
async projectsLocationsRepositoriesCompilationResultsCreate(parent: string, req: CompilationResult): Promise<CompilationResult>;
async projectsLocationsRepositoriesCompilationResultsGet(name: string): Promise<CompilationResult>;
async projectsLocationsRepositoriesCompilationResultsList(parent: string, opts?: ProjectsLocationsRepositoriesCompilationResultsListOptions): Promise<ListCompilationResultsResponse>;
async projectsLocationsRepositoriesCompilationResultsQuery(name: string, opts?: ProjectsLocationsRepositoriesCompilationResultsQueryOptions): Promise<QueryCompilationResultActionsResponse>;
async projectsLocationsRepositoriesComputeAccessTokenStatus(name: string): Promise<ComputeRepositoryAccessTokenStatusResponse>;
async projectsLocationsRepositoriesCreate(
parent: string,
): Promise<Repository>;
async projectsLocationsRepositoriesDelete(name: string, opts?: ProjectsLocationsRepositoriesDeleteOptions): Promise<Empty>;
async projectsLocationsRepositoriesFetchHistory(name: string, opts?: ProjectsLocationsRepositoriesFetchHistoryOptions): Promise<FetchRepositoryHistoryResponse>;
async projectsLocationsRepositoriesFetchRemoteBranches(name: string): Promise<FetchRemoteBranchesResponse>;
async projectsLocationsRepositoriesGet(name: string): Promise<Repository>;
async projectsLocationsRepositoriesGetIamPolicy(resource: string, opts?: ProjectsLocationsRepositoriesGetIamPolicyOptions): Promise<Policy>;
async projectsLocationsRepositoriesList(parent: string, opts?: ProjectsLocationsRepositoriesListOptions): Promise<ListRepositoriesResponse>;
async projectsLocationsRepositoriesPatch(
name: string,
): Promise<Repository>;
async projectsLocationsRepositoriesQueryDirectoryContents(name: string, opts?: ProjectsLocationsRepositoriesQueryDirectoryContentsOptions): Promise<QueryRepositoryDirectoryContentsResponse>;
async projectsLocationsRepositoriesReadFile(name: string, opts?: ProjectsLocationsRepositoriesReadFileOptions): Promise<ReadRepositoryFileResponse>;
async projectsLocationsRepositoriesReleaseConfigsCreate(
parent: string,
): Promise<ReleaseConfig>;
async projectsLocationsRepositoriesReleaseConfigsDelete(name: string): Promise<Empty>;
async projectsLocationsRepositoriesReleaseConfigsGet(name: string): Promise<ReleaseConfig>;
async projectsLocationsRepositoriesReleaseConfigsList(parent: string, opts?: ProjectsLocationsRepositoriesReleaseConfigsListOptions): Promise<ListReleaseConfigsResponse>;
async projectsLocationsRepositoriesReleaseConfigsPatch(
name: string,
): Promise<ReleaseConfig>;
async projectsLocationsRepositoriesSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>;
async projectsLocationsRepositoriesTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>;
async projectsLocationsRepositoriesWorkflowConfigsCreate(
parent: string,
): Promise<WorkflowConfig>;
async projectsLocationsRepositoriesWorkflowConfigsDelete(name: string): Promise<Empty>;
async projectsLocationsRepositoriesWorkflowConfigsGet(name: string): Promise<WorkflowConfig>;
async projectsLocationsRepositoriesWorkflowConfigsList(parent: string, opts?: ProjectsLocationsRepositoriesWorkflowConfigsListOptions): Promise<ListWorkflowConfigsResponse>;
async projectsLocationsRepositoriesWorkflowConfigsPatch(
name: string,
): Promise<WorkflowConfig>;
async projectsLocationsRepositoriesWorkflowInvocationsCancel(name: string, req: CancelWorkflowInvocationRequest): Promise<Empty>;
async projectsLocationsRepositoriesWorkflowInvocationsCreate(parent: string, req: WorkflowInvocation): Promise<WorkflowInvocation>;
async projectsLocationsRepositoriesWorkflowInvocationsDelete(name: string): Promise<Empty>;
async projectsLocationsRepositoriesWorkflowInvocationsGet(name: string): Promise<WorkflowInvocation>;
async projectsLocationsRepositoriesWorkflowInvocationsList(parent: string, opts?: ProjectsLocationsRepositoriesWorkflowInvocationsListOptions): Promise<ListWorkflowInvocationsResponse>;
async projectsLocationsRepositoriesWorkflowInvocationsQuery(name: string, opts?: ProjectsLocationsRepositoriesWorkflowInvocationsQueryOptions): Promise<QueryWorkflowInvocationActionsResponse>;
async projectsLocationsRepositoriesWorkspacesCommit(name: string, req: CommitWorkspaceChangesRequest): Promise<Empty>;
async projectsLocationsRepositoriesWorkspacesCreate(
parent: string,
req: Workspace,
): Promise<Workspace>;
async projectsLocationsRepositoriesWorkspacesDelete(name: string): Promise<Empty>;
async projectsLocationsRepositoriesWorkspacesFetchFileDiff(workspace: string, opts?: ProjectsLocationsRepositoriesWorkspacesFetchFileDiffOptions): Promise<FetchFileDiffResponse>;
async projectsLocationsRepositoriesWorkspacesFetchFileGitStatuses(name: string): Promise<FetchFileGitStatusesResponse>;
async projectsLocationsRepositoriesWorkspacesFetchGitAheadBehind(name: string, opts?: ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindOptions): Promise<FetchGitAheadBehindResponse>;
async projectsLocationsRepositoriesWorkspacesGet(name: string): Promise<Workspace>;
async projectsLocationsRepositoriesWorkspacesGetIamPolicy(resource: string, opts?: ProjectsLocationsRepositoriesWorkspacesGetIamPolicyOptions): Promise<Policy>;
async projectsLocationsRepositoriesWorkspacesInstallNpmPackages(workspace: string, req: InstallNpmPackagesRequest): Promise<InstallNpmPackagesResponse>;
async projectsLocationsRepositoriesWorkspacesList(parent: string, opts?: ProjectsLocationsRepositoriesWorkspacesListOptions): Promise<ListWorkspacesResponse>;
async projectsLocationsRepositoriesWorkspacesMakeDirectory(workspace: string, req: MakeDirectoryRequest): Promise<MakeDirectoryResponse>;
async projectsLocationsRepositoriesWorkspacesMoveDirectory(workspace: string, req: MoveDirectoryRequest): Promise<MoveDirectoryResponse>;
async projectsLocationsRepositoriesWorkspacesMoveFile(workspace: string, req: MoveFileRequest): Promise<MoveFileResponse>;
async projectsLocationsRepositoriesWorkspacesPull(name: string, req: PullGitCommitsRequest): Promise<Empty>;
async projectsLocationsRepositoriesWorkspacesPush(name: string, req: PushGitCommitsRequest): Promise<Empty>;
async projectsLocationsRepositoriesWorkspacesQueryDirectoryContents(workspace: string, opts?: ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsOptions): Promise<QueryDirectoryContentsResponse>;
async projectsLocationsRepositoriesWorkspacesReadFile(workspace: string, opts?: ProjectsLocationsRepositoriesWorkspacesReadFileOptions): Promise<ReadFileResponse>;
async projectsLocationsRepositoriesWorkspacesRemoveDirectory(workspace: string, req: RemoveDirectoryRequest): Promise<Empty>;
async projectsLocationsRepositoriesWorkspacesRemoveFile(workspace: string, req: RemoveFileRequest): Promise<Empty>;
async projectsLocationsRepositoriesWorkspacesReset(name: string, req: ResetWorkspaceChangesRequest): Promise<Empty>;
async projectsLocationsRepositoriesWorkspacesSearchFiles(workspace: string, opts?: ProjectsLocationsRepositoriesWorkspacesSearchFilesOptions): Promise<SearchFilesResponse>;
async projectsLocationsRepositoriesWorkspacesSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>;
async projectsLocationsRepositoriesWorkspacesTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>;
async projectsLocationsRepositoriesWorkspacesWriteFile(workspace: string, req: WriteFileRequest): Promise<WriteFileResponse>;
}

§Constructors

§
new Dataform(client?: CredentialsClient, baseUrl?: string)
[src]

§Properties

§
locations
[src]

Creates a new CompilationResult in a given project and location.

§
locations
[src]

Lists CompilationResults in a given Repository.

§
locations
[src]

Creates a new Repository in a given project and location.

§
locations
[src]

Lists Repositories in a given project and location.

§
locations
[src]

Creates a new ReleaseConfig in a given Repository.

§
locations
[src]

Lists ReleaseConfigs in a given Repository.

§
locations
[src]

Creates a new WorkflowConfig in a given Repository.

§
locations
[src]

Lists WorkflowConfigs in a given Repository.

§
locations
[src]

Creates a new WorkflowInvocation in a given Repository.

§
locations
[src]

Lists WorkflowInvocations in a given Repository.

§
locations
[src]

Creates a new Workspace in a given Repository.

§
locations
[src]

Lists Workspaces in a given Repository.

§Methods

§
projectsLocationsCollectionsGetIamPolicy(resource: string, opts?: ProjectsLocationsCollectionsGetIamPolicyOptions): Promise<Policy>
[src]

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

@param resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsCollectionsSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>
[src]

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

@param resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

§
projectsLocationsCollectionsTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>
[src]

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

@param resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsGet(name: string): Promise<Location>
[src]

Gets information about a location.

@param name

Resource name for the location.

§
projectsLocationsList(name: string, opts?: ProjectsLocationsListOptions): Promise<ListLocationsResponse>
[src]

Lists information about the supported locations for this service.

@param name

The resource that owns the locations collection, if applicable.

§
projectsLocationsRepositoriesCommit(name: string, req: CommitRepositoryChangesRequest): Promise<CommitRepositoryChangesResponse>
[src]

Applies a Git commit to a Repository. The Repository must not have a value for git_remote_settings.url.

@param name

Required. The repository's name.

§
projectsLocationsRepositoriesCompilationResultsCreate(parent: string, req: CompilationResult): Promise<CompilationResult>
[src]
§
projectsLocationsRepositoriesCompilationResultsGet(name: string): Promise<CompilationResult>
[src]

Fetches a single CompilationResult.

@param name

Required. The compilation result's name.

§
projectsLocationsRepositoriesCompilationResultsList(parent: string, opts?: ProjectsLocationsRepositoriesCompilationResultsListOptions): Promise<ListCompilationResultsResponse>
[src]
§
projectsLocationsRepositoriesCompilationResultsQuery(name: string, opts?: ProjectsLocationsRepositoriesCompilationResultsQueryOptions): Promise<QueryCompilationResultActionsResponse>
[src]

Returns CompilationResultActions in a given CompilationResult.

@param name

Required. The compilation result's name.

§
projectsLocationsRepositoriesComputeAccessTokenStatus(name: string): Promise<ComputeRepositoryAccessTokenStatusResponse>
[src]

Computes a Repository's Git access token status.

@param name

Required. The repository's name.

§
projectsLocationsRepositoriesCreate(parent: string, req: Repository, opts?: ProjectsLocationsRepositoriesCreateOptions): Promise<Repository>
[src]
§
projectsLocationsRepositoriesDelete(name: string, opts?: ProjectsLocationsRepositoriesDeleteOptions): Promise<Empty>
[src]

Deletes a single Repository.

@param name

Required. The repository's name.

§
projectsLocationsRepositoriesFetchHistory(name: string, opts?: ProjectsLocationsRepositoriesFetchHistoryOptions): Promise<FetchRepositoryHistoryResponse>
[src]

Fetches a Repository's history of commits. The Repository must not have a value for git_remote_settings.url.

@param name

Required. The repository's name.

§
projectsLocationsRepositoriesFetchRemoteBranches(name: string): Promise<FetchRemoteBranchesResponse>
[src]

Fetches a Repository's remote branches.

@param name

Required. The repository's name.

§
projectsLocationsRepositoriesGet(name: string): Promise<Repository>
[src]

Fetches a single Repository.

@param name

Required. The repository's name.

§
projectsLocationsRepositoriesGetIamPolicy(resource: string, opts?: ProjectsLocationsRepositoriesGetIamPolicyOptions): Promise<Policy>
[src]

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

@param resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsRepositoriesList(parent: string, opts?: ProjectsLocationsRepositoriesListOptions): Promise<ListRepositoriesResponse>
[src]
§
projectsLocationsRepositoriesPatch(name: string, req: Repository, opts?: ProjectsLocationsRepositoriesPatchOptions): Promise<Repository>
[src]

Updates a single Repository.

@param name

Identifier. The repository's name.

§
projectsLocationsRepositoriesQueryDirectoryContents(name: string, opts?: ProjectsLocationsRepositoriesQueryDirectoryContentsOptions): Promise<QueryRepositoryDirectoryContentsResponse>
[src]

Returns the contents of a given Repository directory. The Repository must not have a value for git_remote_settings.url.

@param name

Required. The repository's name.

§
projectsLocationsRepositoriesReadFile(name: string, opts?: ProjectsLocationsRepositoriesReadFileOptions): Promise<ReadRepositoryFileResponse>
[src]

Returns the contents of a file (inside a Repository). The Repository must not have a value for git_remote_settings.url.

@param name

Required. The repository's name.

§
projectsLocationsRepositoriesReleaseConfigsCreate(parent: string, req: ReleaseConfig, opts?: ProjectsLocationsRepositoriesReleaseConfigsCreateOptions): Promise<ReleaseConfig>
[src]
§
projectsLocationsRepositoriesReleaseConfigsDelete(name: string): Promise<Empty>
[src]

Deletes a single ReleaseConfig.

@param name

Required. The release config's name.

§
projectsLocationsRepositoriesReleaseConfigsGet(name: string): Promise<ReleaseConfig>
[src]

Fetches a single ReleaseConfig.

@param name

Required. The release config's name.

§
projectsLocationsRepositoriesReleaseConfigsList(parent: string, opts?: ProjectsLocationsRepositoriesReleaseConfigsListOptions): Promise<ListReleaseConfigsResponse>
[src]
§
projectsLocationsRepositoriesReleaseConfigsPatch(name: string, req: ReleaseConfig, opts?: ProjectsLocationsRepositoriesReleaseConfigsPatchOptions): Promise<ReleaseConfig>
[src]

Updates a single ReleaseConfig.

@param name

Identifier. The release config's name.

§
projectsLocationsRepositoriesSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>
[src]

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

@param resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

§
projectsLocationsRepositoriesTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>
[src]

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

@param resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsRepositoriesWorkflowConfigsCreate(parent: string, req: WorkflowConfig, opts?: ProjectsLocationsRepositoriesWorkflowConfigsCreateOptions): Promise<WorkflowConfig>
[src]
§
projectsLocationsRepositoriesWorkflowConfigsDelete(name: string): Promise<Empty>
[src]

Deletes a single WorkflowConfig.

@param name

Required. The workflow config's name.

§
projectsLocationsRepositoriesWorkflowConfigsGet(name: string): Promise<WorkflowConfig>
[src]

Fetches a single WorkflowConfig.

@param name

Required. The workflow config's name.

§
projectsLocationsRepositoriesWorkflowConfigsList(parent: string, opts?: ProjectsLocationsRepositoriesWorkflowConfigsListOptions): Promise<ListWorkflowConfigsResponse>
[src]
§
projectsLocationsRepositoriesWorkflowConfigsPatch(name: string, req: WorkflowConfig, opts?: ProjectsLocationsRepositoriesWorkflowConfigsPatchOptions): Promise<WorkflowConfig>
[src]

Updates a single WorkflowConfig.

@param name

Identifier. The workflow config's name.

§
projectsLocationsRepositoriesWorkflowInvocationsCancel(name: string, req: CancelWorkflowInvocationRequest): Promise<Empty>
[src]

Requests cancellation of a running WorkflowInvocation.

@param name

Required. The workflow invocation resource's name.

§
projectsLocationsRepositoriesWorkflowInvocationsCreate(parent: string, req: WorkflowInvocation): Promise<WorkflowInvocation>
[src]
§
projectsLocationsRepositoriesWorkflowInvocationsDelete(name: string): Promise<Empty>
[src]

Deletes a single WorkflowInvocation.

@param name

Required. The workflow invocation resource's name.

§
projectsLocationsRepositoriesWorkflowInvocationsGet(name: string): Promise<WorkflowInvocation>
[src]

Fetches a single WorkflowInvocation.

@param name

Required. The workflow invocation resource's name.

§
projectsLocationsRepositoriesWorkflowInvocationsList(parent: string, opts?: ProjectsLocationsRepositoriesWorkflowInvocationsListOptions): Promise<ListWorkflowInvocationsResponse>
[src]
§
projectsLocationsRepositoriesWorkflowInvocationsQuery(name: string, opts?: ProjectsLocationsRepositoriesWorkflowInvocationsQueryOptions): Promise<QueryWorkflowInvocationActionsResponse>
[src]

Returns WorkflowInvocationActions in a given WorkflowInvocation.

@param name

Required. The workflow invocation's name.

§
projectsLocationsRepositoriesWorkspacesCommit(name: string, req: CommitWorkspaceChangesRequest): Promise<Empty>
[src]

Applies a Git commit for uncommitted files in a Workspace.

@param name

Required. The workspace's name.

§
projectsLocationsRepositoriesWorkspacesCreate(parent: string, req: Workspace, opts?: ProjectsLocationsRepositoriesWorkspacesCreateOptions): Promise<Workspace>
[src]
§
projectsLocationsRepositoriesWorkspacesDelete(name: string): Promise<Empty>
[src]

Deletes a single Workspace.

@param name

Required. The workspace resource's name.

§
projectsLocationsRepositoriesWorkspacesFetchFileDiff(workspace: string, opts?: ProjectsLocationsRepositoriesWorkspacesFetchFileDiffOptions): Promise<FetchFileDiffResponse>
[src]

Fetches Git diff for an uncommitted file in a Workspace.

@param workspace

Required. The workspace's name.

§
projectsLocationsRepositoriesWorkspacesFetchFileGitStatuses(name: string): Promise<FetchFileGitStatusesResponse>
[src]

Fetches Git statuses for the files in a Workspace.

@param name

Required. The workspace's name.

§
projectsLocationsRepositoriesWorkspacesFetchGitAheadBehind(name: string, opts?: ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindOptions): Promise<FetchGitAheadBehindResponse>
[src]

Fetches Git ahead/behind against a remote branch.

@param name

Required. The workspace's name.

§
projectsLocationsRepositoriesWorkspacesGet(name: string): Promise<Workspace>
[src]

Fetches a single Workspace.

@param name

Required. The workspace's name.

§
projectsLocationsRepositoriesWorkspacesGetIamPolicy(resource: string, opts?: ProjectsLocationsRepositoriesWorkspacesGetIamPolicyOptions): Promise<Policy>
[src]

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

@param resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsRepositoriesWorkspacesInstallNpmPackages(workspace: string, req: InstallNpmPackagesRequest): Promise<InstallNpmPackagesResponse>
[src]

Installs dependency NPM packages (inside a Workspace).

@param workspace

Required. The workspace's name.

§
projectsLocationsRepositoriesWorkspacesList(parent: string, opts?: ProjectsLocationsRepositoriesWorkspacesListOptions): Promise<ListWorkspacesResponse>
[src]
§
projectsLocationsRepositoriesWorkspacesMakeDirectory(workspace: string, req: MakeDirectoryRequest): Promise<MakeDirectoryResponse>
[src]

Creates a directory inside a Workspace.

@param workspace

Required. The workspace's name.

§
projectsLocationsRepositoriesWorkspacesMoveDirectory(workspace: string, req: MoveDirectoryRequest): Promise<MoveDirectoryResponse>
[src]

Moves a directory (inside a Workspace), and all of its contents, to a new location.

@param workspace

Required. The workspace's name.

§
projectsLocationsRepositoriesWorkspacesMoveFile(workspace: string, req: MoveFileRequest): Promise<MoveFileResponse>
[src]

Moves a file (inside a Workspace) to a new location.

@param workspace

Required. The workspace's name.

§
projectsLocationsRepositoriesWorkspacesPull(name: string, req: PullGitCommitsRequest): Promise<Empty>
[src]

Pulls Git commits from the Repository's remote into a Workspace.

@param name

Required. The workspace's name.

§
projectsLocationsRepositoriesWorkspacesPush(name: string, req: PushGitCommitsRequest): Promise<Empty>
[src]

Pushes Git commits from a Workspace to the Repository's remote.

@param name

Required. The workspace's name.

§
projectsLocationsRepositoriesWorkspacesQueryDirectoryContents(workspace: string, opts?: ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsOptions): Promise<QueryDirectoryContentsResponse>
[src]

Returns the contents of a given Workspace directory.

@param workspace

Required. The workspace's name.

§
projectsLocationsRepositoriesWorkspacesReadFile(workspace: string, opts?: ProjectsLocationsRepositoriesWorkspacesReadFileOptions): Promise<ReadFileResponse>
[src]

Returns the contents of a file (inside a Workspace).

@param workspace

Required. The workspace's name.

§
projectsLocationsRepositoriesWorkspacesRemoveDirectory(workspace: string, req: RemoveDirectoryRequest): Promise<Empty>
[src]

Deletes a directory (inside a Workspace) and all of its contents.

@param workspace

Required. The workspace's name.

§
projectsLocationsRepositoriesWorkspacesRemoveFile(workspace: string, req: RemoveFileRequest): Promise<Empty>
[src]

Deletes a file (inside a Workspace).

@param workspace

Required. The workspace's name.

§
projectsLocationsRepositoriesWorkspacesReset(name: string, req: ResetWorkspaceChangesRequest): Promise<Empty>
[src]

Performs a Git reset for uncommitted files in a Workspace.

@param name

Required. The workspace's name.

§
projectsLocationsRepositoriesWorkspacesSearchFiles(workspace: string, opts?: ProjectsLocationsRepositoriesWorkspacesSearchFilesOptions): Promise<SearchFilesResponse>
[src]

Finds the contents of a given Workspace directory by filter.

@param workspace

Required. The workspace's name.

§
projectsLocationsRepositoriesWorkspacesSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>
[src]

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

@param resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

§
projectsLocationsRepositoriesWorkspacesTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>
[src]

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

@param resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsRepositoriesWorkspacesWriteFile(workspace: string, req: WriteFileRequest): Promise<WriteFileResponse>
[src]

Writes to a file (inside a Workspace).

@param workspace

Required. The workspace's name.