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:v1.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 projectsLocationsFoldersGetIamPolicy(resource: string, opts?: ProjectsLocationsFoldersGetIamPolicyOptions): Promise<Policy>;
async projectsLocationsFoldersSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>;
async projectsLocationsFoldersTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>;
async projectsLocationsGet(name: string): Promise<Location>;
async projectsLocationsGetConfig(name: string): Promise<Config>;
async projectsLocationsList(name: string, opts?: ProjectsLocationsListOptions): Promise<ListLocationsResponse>;
async projectsLocationsOperationsCancel(name: string, req: CancelOperationRequest): Promise<Empty>;
async projectsLocationsOperationsDelete(name: string): Promise<Empty>;
async projectsLocationsOperationsGet(name: string): Promise<Operation>;
async projectsLocationsOperationsList(name: string, opts?: ProjectsLocationsOperationsListOptions): Promise<ListOperationsResponse>;
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<CancelWorkflowInvocationResponse>;
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<CommitWorkspaceChangesResponse>;
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<PullGitCommitsResponse>;
async projectsLocationsRepositoriesWorkspacesPush(name: string, req: PushGitCommitsRequest): Promise<PushGitCommitsResponse>;
async projectsLocationsRepositoriesWorkspacesQueryDirectoryContents(workspace: string, opts?: ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsOptions): Promise<QueryDirectoryContentsResponse>;
async projectsLocationsRepositoriesWorkspacesReadFile(workspace: string, opts?: ProjectsLocationsRepositoriesWorkspacesReadFileOptions): Promise<ReadFileResponse>;
async projectsLocationsRepositoriesWorkspacesRemoveDirectory(workspace: string, req: RemoveDirectoryRequest): Promise<RemoveDirectoryResponse>;
async projectsLocationsRepositoriesWorkspacesRemoveFile(workspace: string, req: RemoveFileRequest): Promise<RemoveFileResponse>;
async projectsLocationsRepositoriesWorkspacesReset(name: string, req: ResetWorkspaceChangesRequest): Promise<ResetWorkspaceChangesResponse>;
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>;
async projectsLocationsTeamFoldersGetIamPolicy(resource: string, opts?: ProjectsLocationsTeamFoldersGetIamPolicyOptions): Promise<Policy>;
async projectsLocationsTeamFoldersSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>;
async projectsLocationsTeamFoldersTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>;
async projectsLocationsUpdateConfig(
name: string,
req: Config,
): Promise<Config>;
}

§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. Note: This method can return repositories not shown in the Dataform UI.

§
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

§
projectsLocationsFoldersGetIamPolicy(resource: string, opts?: ProjectsLocationsFoldersGetIamPolicyOptions): 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.

§
projectsLocationsFoldersSetIamPolicy(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.

§
projectsLocationsFoldersTestIamPermissions(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.

§
projectsLocationsGetConfig(name: string): Promise<Config>
[src]

Get default config for a given project and location.

@param name

Required. The config name.

§
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.

§
projectsLocationsOperationsCancel(name: string, req: CancelOperationRequest): Promise<Empty>
[src]

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

@param name

The name of the operation resource to be cancelled.

§
projectsLocationsOperationsDelete(name: string): Promise<Empty>
[src]

Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.

@param name

The name of the operation resource to be deleted.

§
projectsLocationsOperationsGet(name: string): Promise<Operation>
[src]

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

@param name

The name of the operation resource.

§
projectsLocationsOperationsList(name: string, opts?: ProjectsLocationsOperationsListOptions): Promise<ListOperationsResponse>
[src]

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.

@param name

The name of the operation's parent resource.

§
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. Note: This method does not fully implement AIP/134. The wildcard entry (*) is treated as a bad request, and when the field_mask is omitted, the request is treated as a full update on all modifiable fields.

@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. Note: This method does not fully implement AIP/134. The wildcard entry (*) is treated as a bad request, and when the field_mask is omitted, the request is treated as a full update on all modifiable fields.

@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. Note: This method does not fully implement AIP/134. The wildcard entry (*) is treated as a bad request, and when the field_mask is omitted, the request is treated as a full update on all modifiable fields.

@param name

Identifier. The workflow config's name.

§
projectsLocationsRepositoriesWorkflowInvocationsCancel(name: string, req: CancelWorkflowInvocationRequest): Promise<CancelWorkflowInvocationResponse>
[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<CommitWorkspaceChangesResponse>
[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<PullGitCommitsResponse>
[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<PushGitCommitsResponse>
[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<RemoveDirectoryResponse>
[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<RemoveFileResponse>
[src]

Deletes a file (inside a Workspace).

@param workspace

Required. The workspace's name.

§
projectsLocationsRepositoriesWorkspacesReset(name: string, req: ResetWorkspaceChangesRequest): Promise<ResetWorkspaceChangesResponse>
[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.

§
projectsLocationsTeamFoldersGetIamPolicy(resource: string, opts?: ProjectsLocationsTeamFoldersGetIamPolicyOptions): 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.

§
projectsLocationsTeamFoldersSetIamPolicy(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.

§
projectsLocationsTeamFoldersTestIamPermissions(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.

§
projectsLocationsUpdateConfig(name: string, req: Config, opts?: ProjectsLocationsUpdateConfigOptions): Promise<Config>
[src]

Update default config for a given project and location. Note: This method does not fully implement AIP/134. The wildcard entry (*) is treated as a bad request, and when the field_mask is omitted, the request is treated as a full update on all modifiable fields.

@param name

Identifier. The config name.