public static final class DataformGrpc.DataformBlockingStub extends AbstractBlockingStub<DataformGrpc.DataformBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service Dataform.
Dataform is a service to develop, create, document, test, and update curated
tables in BigQuery.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractBlockingStub >
DataformGrpc.DataformBlockingStub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(java.time.Duration)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
protected DataformGrpc.DataformBlockingStub build(Channel channel, CallOptions callOptions)
| Parameters |
| Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public CancelWorkflowInvocationResponse cancelWorkflowInvocation(CancelWorkflowInvocationRequest request)
Requests cancellation of a running WorkflowInvocation.
public CommitRepositoryChangesResponse commitRepositoryChanges(CommitRepositoryChangesRequest request)
Applies a Git commit to a Repository. The Repository must not have a value
for git_remote_settings.url.
public CommitWorkspaceChangesResponse commitWorkspaceChanges(CommitWorkspaceChangesRequest request)
Applies a Git commit for uncommitted files in a Workspace.
public ComputeRepositoryAccessTokenStatusResponse computeRepositoryAccessTokenStatus(ComputeRepositoryAccessTokenStatusRequest request)
Computes a Repository's Git access token status.
public CompilationResult createCompilationResult(CreateCompilationResultRequest request)
Creates a new CompilationResult in a given project and location.
public Folder createFolder(CreateFolderRequest request)
Creates a new Folder in a given project and location.
| Returns |
| Type |
Description |
Folder |
|
public ReleaseConfig createReleaseConfig(CreateReleaseConfigRequest request)
Creates a new ReleaseConfig in a given Repository.
public Repository createRepository(CreateRepositoryRequest request)
Creates a new Repository in a given project and location.
public TeamFolder createTeamFolder(CreateTeamFolderRequest request)
Creates a new TeamFolder in a given project and location.
public WorkflowConfig createWorkflowConfig(CreateWorkflowConfigRequest request)
Creates a new WorkflowConfig in a given Repository.
public WorkflowInvocation createWorkflowInvocation(CreateWorkflowInvocationRequest request)
Creates a new WorkflowInvocation in a given Repository.
public Workspace createWorkspace(CreateWorkspaceRequest request)
Creates a new Workspace in a given Repository.
public Empty deleteFolder(DeleteFolderRequest request)
| Returns |
| Type |
Description |
Empty |
|
public Empty deleteReleaseConfig(DeleteReleaseConfigRequest request)
Deletes a single ReleaseConfig.
| Returns |
| Type |
Description |
Empty |
|
public Empty deleteRepository(DeleteRepositoryRequest request)
Deletes a single Repository.
| Returns |
| Type |
Description |
Empty |
|
public Empty deleteTeamFolder(DeleteTeamFolderRequest request)
Deletes a single TeamFolder.
| Returns |
| Type |
Description |
Empty |
|
public Empty deleteWorkflowConfig(DeleteWorkflowConfigRequest request)
Deletes a single WorkflowConfig.
| Returns |
| Type |
Description |
Empty |
|
public Empty deleteWorkflowInvocation(DeleteWorkflowInvocationRequest request)
Deletes a single WorkflowInvocation.
| Returns |
| Type |
Description |
Empty |
|
public Empty deleteWorkspace(DeleteWorkspaceRequest request)
Deletes a single Workspace.
| Returns |
| Type |
Description |
Empty |
|
public FetchFileDiffResponse fetchFileDiff(FetchFileDiffRequest request)
Fetches Git diff for an uncommitted file in a Workspace.
public FetchFileGitStatusesResponse fetchFileGitStatuses(FetchFileGitStatusesRequest request)
Fetches Git statuses for the files in a Workspace.
public FetchGitAheadBehindResponse fetchGitAheadBehind(FetchGitAheadBehindRequest request)
Fetches Git ahead/behind against a remote branch.
public FetchRemoteBranchesResponse fetchRemoteBranches(FetchRemoteBranchesRequest request)
Fetches a Repository's remote branches.
fetchRepositoryHistory(FetchRepositoryHistoryRequest request)
public FetchRepositoryHistoryResponse fetchRepositoryHistory(FetchRepositoryHistoryRequest request)
Fetches a Repository's history of commits. The Repository must not have a
value for git_remote_settings.url.
public CompilationResult getCompilationResult(GetCompilationResultRequest request)
Fetches a single CompilationResult.
public Config getConfig(GetConfigRequest request)
Get default config for a given project and location.
| Returns |
| Type |
Description |
Config |
|
public Folder getFolder(GetFolderRequest request)
| Returns |
| Type |
Description |
Folder |
|
public Policy getIamPolicy(GetIamPolicyRequest request)
Gets the access control policy for a resource.
Returns an empty policy if the resource exists and does not have a policy
set.
| Parameter |
| Name |
Description |
request |
com.google.iam.v1.GetIamPolicyRequest
|
| Returns |
| Type |
Description |
com.google.iam.v1.Policy |
|
public ReleaseConfig getReleaseConfig(GetReleaseConfigRequest request)
Fetches a single ReleaseConfig.
public Repository getRepository(GetRepositoryRequest request)
Fetches a single Repository.
public TeamFolder getTeamFolder(GetTeamFolderRequest request)
Fetches a single TeamFolder.
public WorkflowConfig getWorkflowConfig(GetWorkflowConfigRequest request)
Fetches a single WorkflowConfig.
public WorkflowInvocation getWorkflowInvocation(GetWorkflowInvocationRequest request)
Fetches a single WorkflowInvocation.
public Workspace getWorkspace(GetWorkspaceRequest request)
Fetches a single Workspace.
public InstallNpmPackagesResponse installNpmPackages(InstallNpmPackagesRequest request)
Installs dependency NPM packages (inside a Workspace).
public ListCompilationResultsResponse listCompilationResults(ListCompilationResultsRequest request)
Lists CompilationResults in a given Repository.
public ListReleaseConfigsResponse listReleaseConfigs(ListReleaseConfigsRequest request)
Lists ReleaseConfigs in a given Repository.
public ListRepositoriesResponse listRepositories(ListRepositoriesRequest request)
Lists Repositories in a given project and location.
Note: This method can return repositories not shown in the Dataform
UI.
public ListWorkflowConfigsResponse listWorkflowConfigs(ListWorkflowConfigsRequest request)
Lists WorkflowConfigs in a given Repository.
public ListWorkflowInvocationsResponse listWorkflowInvocations(ListWorkflowInvocationsRequest request)
Lists WorkflowInvocations in a given Repository.
public ListWorkspacesResponse listWorkspaces(ListWorkspacesRequest request)
Lists Workspaces in a given Repository.
public MakeDirectoryResponse makeDirectory(MakeDirectoryRequest request)
Creates a directory inside a Workspace.
public MoveDirectoryResponse moveDirectory(MoveDirectoryRequest request)
Moves a directory (inside a Workspace), and all of its contents, to a new
location.
public MoveFileResponse moveFile(MoveFileRequest request)
Moves a file (inside a Workspace) to a new location.
public Operation moveFolder(MoveFolderRequest request)
Moves a Folder to a new Folder, TeamFolder, or the root location.
public Operation moveRepository(MoveRepositoryRequest request)
Moves a Repository to a new location.
public PullGitCommitsResponse pullGitCommits(PullGitCommitsRequest request)
Pulls Git commits from the Repository's remote into a Workspace.
public PushGitCommitsResponse pushGitCommits(PushGitCommitsRequest request)
Pushes Git commits from a Workspace to the Repository's remote.
public QueryCompilationResultActionsResponse queryCompilationResultActions(QueryCompilationResultActionsRequest request)
Returns CompilationResultActions in a given CompilationResult.
queryDirectoryContents(QueryDirectoryContentsRequest request)
public QueryDirectoryContentsResponse queryDirectoryContents(QueryDirectoryContentsRequest request)
Returns the contents of a given Workspace directory.
queryFolderContents(QueryFolderContentsRequest request)
public QueryFolderContentsResponse queryFolderContents(QueryFolderContentsRequest request)
Returns the contents of a given Folder.
queryRepositoryDirectoryContents(QueryRepositoryDirectoryContentsRequest request)
public QueryRepositoryDirectoryContentsResponse queryRepositoryDirectoryContents(QueryRepositoryDirectoryContentsRequest request)
Returns the contents of a given Repository directory. The Repository must
not have a value for git_remote_settings.url.
queryTeamFolderContents(QueryTeamFolderContentsRequest request)
public QueryTeamFolderContentsResponse queryTeamFolderContents(QueryTeamFolderContentsRequest request)
Returns the contents of a given TeamFolder.
queryUserRootContents(QueryUserRootContentsRequest request)
public QueryUserRootContentsResponse queryUserRootContents(QueryUserRootContentsRequest request)
Returns the contents of a caller's root folder in a given location.
The root folder contains all resources that are created by the user and not
contained in any other folder.
public QueryWorkflowInvocationActionsResponse queryWorkflowInvocationActions(QueryWorkflowInvocationActionsRequest request)
Returns WorkflowInvocationActions in a given WorkflowInvocation.
public ReadFileResponse readFile(ReadFileRequest request)
Returns the contents of a file (inside a Workspace).
public ReadRepositoryFileResponse readRepositoryFile(ReadRepositoryFileRequest request)
Returns the contents of a file (inside a Repository). The Repository
must not have a value for git_remote_settings.url.
public RemoveDirectoryResponse removeDirectory(RemoveDirectoryRequest request)
Deletes a directory (inside a Workspace) and all of its contents.
public RemoveFileResponse removeFile(RemoveFileRequest request)
Deletes a file (inside a Workspace).
public ResetWorkspaceChangesResponse resetWorkspaceChanges(ResetWorkspaceChangesRequest request)
Performs a Git reset for uncommitted files in a Workspace.
public SearchFilesResponse searchFiles(SearchFilesRequest request)
Finds the contents of a given Workspace directory by filter.
public SearchTeamFoldersResponse searchTeamFolders(SearchTeamFoldersRequest request)
Returns all TeamFolders in a given location that the caller has access to
and match the provided filter.
public Policy setIamPolicy(SetIamPolicyRequest request)
Sets the access control policy on the specified resource. Replaces any
existing policy.
Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
| Parameter |
| Name |
Description |
request |
com.google.iam.v1.SetIamPolicyRequest
|
| Returns |
| Type |
Description |
com.google.iam.v1.Policy |
|
public TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request)
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.
| Parameter |
| Name |
Description |
request |
com.google.iam.v1.TestIamPermissionsRequest
|
| Returns |
| Type |
Description |
com.google.iam.v1.TestIamPermissionsResponse |
|
public Config updateConfig(UpdateConfigRequest request)
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.*
| Returns |
| Type |
Description |
Config |
|
public Folder updateFolder(UpdateFolderRequest request)
| Returns |
| Type |
Description |
Folder |
|
public ReleaseConfig updateReleaseConfig(UpdateReleaseConfigRequest request)
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.*
public Repository updateRepository(UpdateRepositoryRequest request)
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.*
public TeamFolder updateTeamFolder(UpdateTeamFolderRequest request)
Updates a single TeamFolder.
public WorkflowConfig updateWorkflowConfig(UpdateWorkflowConfigRequest request)
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.*
public WriteFileResponse writeFile(WriteFileRequest request)
Writes to a file (inside a Workspace).