Dataform V1beta1 API - Class Google::Cloud::Dataform::V1beta1::Dataform::Rest::ServiceStub (v0.5.0)

Reference documentation and code samples for the Dataform V1beta1 API class Google::Cloud::Dataform::V1beta1::Dataform::Rest::ServiceStub.

REST service stub for the Dataform service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#cancel_workflow_invocation

def cancel_workflow_invocation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the cancel_workflow_invocation REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#commit_repository_changes

def commit_repository_changes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the commit_repository_changes REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#commit_workspace_changes

def commit_workspace_changes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the commit_workspace_changes REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#compute_repository_access_token_status

def compute_repository_access_token_status(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::ComputeRepositoryAccessTokenStatusResponse

Baseline implementation for the compute_repository_access_token_status REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_compilation_result

def create_compilation_result(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::CompilationResult

Baseline implementation for the create_compilation_result REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_release_config

def create_release_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::ReleaseConfig

Baseline implementation for the create_release_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_repository

def create_repository(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::Repository

Baseline implementation for the create_repository REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_workflow_config

def create_workflow_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::WorkflowConfig

Baseline implementation for the create_workflow_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_workflow_invocation

def create_workflow_invocation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::WorkflowInvocation

Baseline implementation for the create_workflow_invocation REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_workspace

def create_workspace(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::Workspace

Baseline implementation for the create_workspace REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_release_config

def delete_release_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_release_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_repository

def delete_repository(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_repository REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_workflow_config

def delete_workflow_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_workflow_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_workflow_invocation

def delete_workflow_invocation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_workflow_invocation REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_workspace

def delete_workspace(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_workspace REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#fetch_file_diff

def fetch_file_diff(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::FetchFileDiffResponse

Baseline implementation for the fetch_file_diff REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#fetch_file_git_statuses

def fetch_file_git_statuses(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::FetchFileGitStatusesResponse

Baseline implementation for the fetch_file_git_statuses REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#fetch_git_ahead_behind

def fetch_git_ahead_behind(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::FetchGitAheadBehindResponse

Baseline implementation for the fetch_git_ahead_behind REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#fetch_remote_branches

def fetch_remote_branches(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::FetchRemoteBranchesResponse

Baseline implementation for the fetch_remote_branches REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#fetch_repository_history

def fetch_repository_history(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::FetchRepositoryHistoryResponse

Baseline implementation for the fetch_repository_history REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_compilation_result

def get_compilation_result(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::CompilationResult

Baseline implementation for the get_compilation_result REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_release_config

def get_release_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::ReleaseConfig

Baseline implementation for the get_release_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_repository

def get_repository(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::Repository

Baseline implementation for the get_repository REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_workflow_config

def get_workflow_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::WorkflowConfig

Baseline implementation for the get_workflow_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_workflow_invocation

def get_workflow_invocation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::WorkflowInvocation

Baseline implementation for the get_workflow_invocation REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_workspace

def get_workspace(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::Workspace

Baseline implementation for the get_workspace REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, credentials:) -> ServiceStub
Returns

#install_npm_packages

def install_npm_packages(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::InstallNpmPackagesResponse

Baseline implementation for the install_npm_packages REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_compilation_results

def list_compilation_results(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::ListCompilationResultsResponse

Baseline implementation for the list_compilation_results REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_release_configs

def list_release_configs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::ListReleaseConfigsResponse

Baseline implementation for the list_release_configs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_repositories

def list_repositories(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::ListRepositoriesResponse

Baseline implementation for the list_repositories REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_workflow_configs

def list_workflow_configs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::ListWorkflowConfigsResponse

Baseline implementation for the list_workflow_configs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_workflow_invocations

def list_workflow_invocations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::ListWorkflowInvocationsResponse

Baseline implementation for the list_workflow_invocations REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_workspaces

def list_workspaces(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::ListWorkspacesResponse

Baseline implementation for the list_workspaces REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#make_directory

def make_directory(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::MakeDirectoryResponse

Baseline implementation for the make_directory REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#move_directory

def move_directory(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::MoveDirectoryResponse

Baseline implementation for the move_directory REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#move_file

def move_file(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::MoveFileResponse

Baseline implementation for the move_file REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#pull_git_commits

def pull_git_commits(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the pull_git_commits REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#push_git_commits

def push_git_commits(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the push_git_commits REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#query_compilation_result_actions

def query_compilation_result_actions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::QueryCompilationResultActionsResponse

Baseline implementation for the query_compilation_result_actions REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#query_directory_contents

def query_directory_contents(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::QueryDirectoryContentsResponse

Baseline implementation for the query_directory_contents REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#query_repository_directory_contents

def query_repository_directory_contents(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::QueryRepositoryDirectoryContentsResponse

Baseline implementation for the query_repository_directory_contents REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#query_workflow_invocation_actions

def query_workflow_invocation_actions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::QueryWorkflowInvocationActionsResponse

Baseline implementation for the query_workflow_invocation_actions REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#read_file

def read_file(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::ReadFileResponse

Baseline implementation for the read_file REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#read_repository_file

def read_repository_file(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::ReadRepositoryFileResponse

Baseline implementation for the read_repository_file REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#remove_directory

def remove_directory(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the remove_directory REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#remove_file

def remove_file(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the remove_file REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#reset_workspace_changes

def reset_workspace_changes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the reset_workspace_changes REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_release_config

def update_release_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::ReleaseConfig

Baseline implementation for the update_release_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_repository

def update_repository(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::Repository

Baseline implementation for the update_repository REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_workflow_config

def update_workflow_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::WorkflowConfig

Baseline implementation for the update_workflow_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#write_file

def write_file(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataform::V1beta1::WriteFileResponse

Baseline implementation for the write_file REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)