Class: Google::Apis::DataformV1beta1::DataformService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::DataformV1beta1::DataformService
- Defined in:
- lib/google/apis/dataform_v1beta1/service.rb
Overview
Dataform API
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#cancel_workflow_invocation(name, cancel_workflow_invocation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Requests cancellation of a running WorkflowInvocation.
-
#commit_repository_changes(name, commit_repository_changes_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Applies a Git commit to a Repository.
-
#commit_workspace_changes(name, commit_workspace_changes_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Applies a Git commit for uncommitted files in a Workspace.
-
#create_project_location_repository(parent, repository_object = nil, repository_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Repository
Creates a new Repository in a given project and location.
-
#create_project_location_repository_compilation_result(parent, compilation_result_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::CompilationResult
Creates a new CompilationResult in a given project and location.
-
#create_project_location_repository_release_config(parent, release_config_object = nil, release_config_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ReleaseConfig
Creates a new ReleaseConfig in a given Repository.
-
#create_project_location_repository_workflow_config(parent, workflow_config_object = nil, workflow_config_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::WorkflowConfig
Creates a new WorkflowConfig in a given Repository.
-
#create_project_location_repository_workflow_invocation(parent, workflow_invocation_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::WorkflowInvocation
Creates a new WorkflowInvocation in a given Repository.
-
#create_project_location_repository_workspace(parent, workspace_object = nil, workspace_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Workspace
Creates a new Workspace in a given Repository.
-
#delete_project_location_repository(name, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Deletes a single Repository.
-
#delete_project_location_repository_release_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Deletes a single ReleaseConfig.
-
#delete_project_location_repository_workflow_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Deletes a single WorkflowConfig.
-
#delete_project_location_repository_workflow_invocation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Deletes a single WorkflowInvocation.
-
#delete_project_location_repository_workspace(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Deletes a single Workspace.
-
#fetch_project_location_repository_history(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::FetchRepositoryHistoryResponse
Fetches a Repository's history of changes.
-
#fetch_project_location_repository_remote_branches(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::FetchRemoteBranchesResponse
Fetches a Repository's remote branches.
-
#fetch_project_location_repository_workspace_file_diff(workspace, path: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::FetchFileDiffResponse
Fetches Git diff for an uncommitted file in a Workspace.
-
#fetch_project_location_repository_workspace_file_git_statuses(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::FetchFileGitStatusesResponse
Fetches Git statuses for the files in a Workspace.
-
#fetch_project_location_repository_workspace_git_ahead_behind(name, remote_branch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::FetchGitAheadBehindResponse
Fetches Git ahead/behind against a remote branch.
-
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Location
Gets information about a location.
-
#get_project_location_repository(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Repository
Fetches a single Repository.
-
#get_project_location_repository_compilation_result(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::CompilationResult
Fetches a single CompilationResult.
-
#get_project_location_repository_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Policy
Gets the access control policy for a resource.
-
#get_project_location_repository_release_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ReleaseConfig
Fetches a single ReleaseConfig.
-
#get_project_location_repository_workflow_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::WorkflowConfig
Fetches a single WorkflowConfig.
-
#get_project_location_repository_workflow_invocation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::WorkflowInvocation
Fetches a single WorkflowInvocation.
-
#get_project_location_repository_workspace(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Workspace
Fetches a single Workspace.
-
#get_project_location_repository_workspace_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Policy
Gets the access control policy for a resource.
-
#initialize ⇒ DataformService
constructor
A new instance of DataformService.
-
#install_workspace_npm_packages(workspace, install_npm_packages_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::InstallNpmPackagesResponse
Installs dependency NPM packages (inside a Workspace).
-
#list_project_location_repositories(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ListRepositoriesResponse
Lists Repositories in a given project and location.
-
#list_project_location_repository_compilation_results(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ListCompilationResultsResponse
Lists CompilationResults in a given Repository.
-
#list_project_location_repository_release_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ListReleaseConfigsResponse
Lists ReleaseConfigs in a given Repository.
-
#list_project_location_repository_workflow_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ListWorkflowConfigsResponse
Lists WorkflowConfigs in a given Repository.
-
#list_project_location_repository_workflow_invocations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ListWorkflowInvocationsResponse
Lists WorkflowInvocations in a given Repository.
-
#list_project_location_repository_workspaces(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ListWorkspacesResponse
Lists Workspaces in a given Repository.
-
#list_project_locations(name, filter: nil, include_unrevealed_locations: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ListLocationsResponse
Lists information about the supported locations for this service.
-
#make_workspace_directory(workspace, make_directory_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::MakeDirectoryResponse
Creates a directory inside a Workspace.
-
#move_workspace_directory(workspace, move_directory_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::MoveDirectoryResponse
Moves a directory (inside a Workspace), and all of its contents, to a new location.
-
#move_workspace_file(workspace, move_file_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::MoveFileResponse
Moves a file (inside a Workspace) to a new location.
-
#patch_project_location_repository(name, repository_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Repository
Updates a single Repository.
-
#patch_project_location_repository_release_config(name, release_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ReleaseConfig
Updates a single ReleaseConfig.
-
#patch_project_location_repository_workflow_config(name, workflow_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::WorkflowConfig
Updates a single WorkflowConfig.
-
#pull_workspace_git_commits(name, pull_git_commits_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Pulls Git commits from the Repository's remote into a Workspace.
-
#push_workspace_git_commits(name, push_git_commits_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Pushes Git commits from a Workspace to the Repository's remote.
-
#query_project_location_repository_compilation_result(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::QueryCompilationResultActionsResponse
Returns CompilationResultActions in a given CompilationResult.
-
#query_project_location_repository_directory_contents(name, commit_sha: nil, page_size: nil, page_token: nil, path: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::QueryRepositoryDirectoryContentsResponse
Returns the contents of a given Repository directory.
-
#query_project_location_repository_workflow_invocation(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::QueryWorkflowInvocationActionsResponse
Returns WorkflowInvocationActions in a given WorkflowInvocation.
-
#query_project_location_repository_workspace_directory_contents(workspace, page_size: nil, page_token: nil, path: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::QueryDirectoryContentsResponse
Returns the contents of a given Workspace directory.
-
#read_project_location_repository_file(name, commit_sha: nil, path: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ReadRepositoryFileResponse
Returns the contents of a file (inside a Repository).
-
#read_project_location_repository_workspace_file(workspace, path: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ReadFileResponse
Returns the contents of a file (inside a Workspace).
-
#remove_workspace_directory(workspace, remove_directory_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Deletes a directory (inside a Workspace) and all of its contents.
-
#remove_workspace_file(workspace, remove_file_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Deletes a file (inside a Workspace).
-
#reset_workspace_changes(name, reset_workspace_changes_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Performs a Git reset for uncommitted files in a Workspace.
-
#set_repository_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Policy
Sets the access control policy on the specified resource.
-
#set_workspace_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Policy
Sets the access control policy on the specified resource.
-
#test_repository_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_workspace_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#write_workspace_file(workspace, write_file_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::WriteFileResponse
Writes to a file (inside a Workspace).
Constructor Details
#initialize ⇒ DataformService
Returns a new instance of DataformService.
45 46 47 48 49 50 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 45 def initialize super('https://dataform.googleapis.com/', '', client_name: 'google-apis-dataform_v1beta1', client_version: Google::Apis::DataformV1beta1::GEM_VERSION) @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
38 39 40 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 38 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
43 44 45 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 43 def quota_user @quota_user end |
Instance Method Details
#cancel_workflow_invocation(name, cancel_workflow_invocation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Requests cancellation of a running WorkflowInvocation.
1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1158 def cancel_workflow_invocation(name, cancel_workflow_invocation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:cancel', ) command.request_representation = Google::Apis::DataformV1beta1::CancelWorkflowInvocationRequest::Representation command.request_object = cancel_workflow_invocation_request_object command.response_representation = Google::Apis::DataformV1beta1::Empty::Representation command.response_class = Google::Apis::DataformV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#commit_repository_changes(name, commit_repository_changes_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Applies a Git commit to a Repository. The Repository must not have a value for
git_remote_settings.url.
150 151 152 153 154 155 156 157 158 159 160 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 150 def commit_repository_changes(name, commit_repository_changes_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:commit', ) command.request_representation = Google::Apis::DataformV1beta1::CommitRepositoryChangesRequest::Representation command.request_object = commit_repository_changes_request_object command.response_representation = Google::Apis::DataformV1beta1::Empty::Representation command.response_class = Google::Apis::DataformV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#commit_workspace_changes(name, commit_workspace_changes_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Applies a Git commit for uncommitted files in a Workspace.
1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1376 def commit_workspace_changes(name, commit_workspace_changes_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:commit', ) command.request_representation = Google::Apis::DataformV1beta1::CommitWorkspaceChangesRequest::Representation command.request_object = commit_workspace_changes_request_object command.response_representation = Google::Apis::DataformV1beta1::Empty::Representation command.response_class = Google::Apis::DataformV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_repository(parent, repository_object = nil, repository_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Repository
Creates a new Repository in a given project and location.
187 188 189 190 191 192 193 194 195 196 197 198 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 187 def create_project_location_repository(parent, repository_object = nil, repository_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/repositories', ) command.request_representation = Google::Apis::DataformV1beta1::Repository::Representation command.request_object = repository_object command.response_representation = Google::Apis::DataformV1beta1::Repository::Representation command.response_class = Google::Apis::DataformV1beta1::Repository command.params['parent'] = parent unless parent.nil? command.query['repositoryId'] = repository_id unless repository_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_repository_compilation_result(parent, compilation_result_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::CompilationResult
Creates a new CompilationResult in a given project and location.
654 655 656 657 658 659 660 661 662 663 664 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 654 def create_project_location_repository_compilation_result(parent, compilation_result_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/compilationResults', ) command.request_representation = Google::Apis::DataformV1beta1::CompilationResult::Representation command.request_object = compilation_result_object command.response_representation = Google::Apis::DataformV1beta1::CompilationResult::Representation command.response_class = Google::Apis::DataformV1beta1::CompilationResult command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_repository_release_config(parent, release_config_object = nil, release_config_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ReleaseConfig
Creates a new ReleaseConfig in a given Repository.
808 809 810 811 812 813 814 815 816 817 818 819 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 808 def create_project_location_repository_release_config(parent, release_config_object = nil, release_config_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/releaseConfigs', ) command.request_representation = Google::Apis::DataformV1beta1::ReleaseConfig::Representation command.request_object = release_config_object command.response_representation = Google::Apis::DataformV1beta1::ReleaseConfig::Representation command.response_class = Google::Apis::DataformV1beta1::ReleaseConfig command.params['parent'] = parent unless parent.nil? command.query['releaseConfigId'] = release_config_id unless release_config_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_repository_workflow_config(parent, workflow_config_object = nil, workflow_config_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::WorkflowConfig
Creates a new WorkflowConfig in a given Repository.
985 986 987 988 989 990 991 992 993 994 995 996 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 985 def create_project_location_repository_workflow_config(parent, workflow_config_object = nil, workflow_config_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/workflowConfigs', ) command.request_representation = Google::Apis::DataformV1beta1::WorkflowConfig::Representation command.request_object = workflow_config_object command.response_representation = Google::Apis::DataformV1beta1::WorkflowConfig::Representation command.response_class = Google::Apis::DataformV1beta1::WorkflowConfig command.params['parent'] = parent unless parent.nil? command.query['workflowConfigId'] = workflow_config_id unless workflow_config_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_repository_workflow_invocation(parent, workflow_invocation_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::WorkflowInvocation
Creates a new WorkflowInvocation in a given Repository.
1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1192 def create_project_location_repository_workflow_invocation(parent, workflow_invocation_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/workflowInvocations', ) command.request_representation = Google::Apis::DataformV1beta1::WorkflowInvocation::Representation command.request_object = workflow_invocation_object command.response_representation = Google::Apis::DataformV1beta1::WorkflowInvocation::Representation command.response_class = Google::Apis::DataformV1beta1::WorkflowInvocation command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_repository_workspace(parent, workspace_object = nil, workspace_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Workspace
Creates a new Workspace in a given Repository.
1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1413 def create_project_location_repository_workspace(parent, workspace_object = nil, workspace_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/workspaces', ) command.request_representation = Google::Apis::DataformV1beta1::Workspace::Representation command.request_object = workspace_object command.response_representation = Google::Apis::DataformV1beta1::Workspace::Representation command.response_class = Google::Apis::DataformV1beta1::Workspace command.params['parent'] = parent unless parent.nil? command.query['workspaceId'] = workspace_id unless workspace_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_repository(name, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Deletes a single Repository.
224 225 226 227 228 229 230 231 232 233 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 224 def delete_project_location_repository(name, force: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DataformV1beta1::Empty::Representation command.response_class = Google::Apis::DataformV1beta1::Empty command.params['name'] = name unless name.nil? command.query['force'] = force unless force.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_repository_release_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Deletes a single ReleaseConfig.
841 842 843 844 845 846 847 848 849 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 841 def delete_project_location_repository_release_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DataformV1beta1::Empty::Representation command.response_class = Google::Apis::DataformV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_repository_workflow_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Deletes a single WorkflowConfig.
1018 1019 1020 1021 1022 1023 1024 1025 1026 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1018 def delete_project_location_repository_workflow_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DataformV1beta1::Empty::Representation command.response_class = Google::Apis::DataformV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_repository_workflow_invocation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Deletes a single WorkflowInvocation.
1224 1225 1226 1227 1228 1229 1230 1231 1232 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1224 def delete_project_location_repository_workflow_invocation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DataformV1beta1::Empty::Representation command.response_class = Google::Apis::DataformV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_repository_workspace(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Deletes a single Workspace.
1446 1447 1448 1449 1450 1451 1452 1453 1454 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1446 def delete_project_location_repository_workspace(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DataformV1beta1::Empty::Representation command.response_class = Google::Apis::DataformV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#fetch_project_location_repository_history(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::FetchRepositoryHistoryResponse
Fetches a Repository's history of changes. The Repository must not have a
value for git_remote_settings.url.
264 265 266 267 268 269 270 271 272 273 274 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 264 def fetch_project_location_repository_history(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}:fetchHistory', ) command.response_representation = Google::Apis::DataformV1beta1::FetchRepositoryHistoryResponse::Representation command.response_class = Google::Apis::DataformV1beta1::FetchRepositoryHistoryResponse command.params['name'] = name unless name.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#fetch_project_location_repository_remote_branches(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::FetchRemoteBranchesResponse
Fetches a Repository's remote branches.
296 297 298 299 300 301 302 303 304 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 296 def fetch_project_location_repository_remote_branches(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}:fetchRemoteBranches', ) command.response_representation = Google::Apis::DataformV1beta1::FetchRemoteBranchesResponse::Representation command.response_class = Google::Apis::DataformV1beta1::FetchRemoteBranchesResponse command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#fetch_project_location_repository_workspace_file_diff(workspace, path: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::FetchFileDiffResponse
Fetches Git diff for an uncommitted file in a Workspace.
1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1479 def fetch_project_location_repository_workspace_file_diff(workspace, path: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+workspace}:fetchFileDiff', ) command.response_representation = Google::Apis::DataformV1beta1::FetchFileDiffResponse::Representation command.response_class = Google::Apis::DataformV1beta1::FetchFileDiffResponse command.params['workspace'] = workspace unless workspace.nil? command.query['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#fetch_project_location_repository_workspace_file_git_statuses(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::FetchFileGitStatusesResponse
Fetches Git statuses for the files in a Workspace.
1510 1511 1512 1513 1514 1515 1516 1517 1518 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1510 def fetch_project_location_repository_workspace_file_git_statuses(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}:fetchFileGitStatuses', ) command.response_representation = Google::Apis::DataformV1beta1::FetchFileGitStatusesResponse::Representation command.response_class = Google::Apis::DataformV1beta1::FetchFileGitStatusesResponse command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#fetch_project_location_repository_workspace_git_ahead_behind(name, remote_branch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::FetchGitAheadBehindResponse
Fetches Git ahead/behind against a remote branch.
1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1544 def fetch_project_location_repository_workspace_git_ahead_behind(name, remote_branch: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}:fetchGitAheadBehind', ) command.response_representation = Google::Apis::DataformV1beta1::FetchGitAheadBehindResponse::Representation command.response_class = Google::Apis::DataformV1beta1::FetchGitAheadBehindResponse command.params['name'] = name unless name.nil? command.query['remoteBranch'] = remote_branch unless remote_branch.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Location
Gets information about a location.
72 73 74 75 76 77 78 79 80 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 72 def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DataformV1beta1::Location::Representation command.response_class = Google::Apis::DataformV1beta1::Location command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_repository(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Repository
Fetches a single Repository.
326 327 328 329 330 331 332 333 334 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 326 def get_project_location_repository(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DataformV1beta1::Repository::Representation command.response_class = Google::Apis::DataformV1beta1::Repository command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_repository_compilation_result(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::CompilationResult
Fetches a single CompilationResult.
686 687 688 689 690 691 692 693 694 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 686 def get_project_location_repository_compilation_result(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DataformV1beta1::CompilationResult::Representation command.response_class = Google::Apis::DataformV1beta1::CompilationResult command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_repository_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
370 371 372 373 374 375 376 377 378 379 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 370 def get_project_location_repository_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::DataformV1beta1::Policy::Representation command.response_class = Google::Apis::DataformV1beta1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_repository_release_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ReleaseConfig
Fetches a single ReleaseConfig.
871 872 873 874 875 876 877 878 879 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 871 def get_project_location_repository_release_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DataformV1beta1::ReleaseConfig::Representation command.response_class = Google::Apis::DataformV1beta1::ReleaseConfig command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_repository_workflow_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::WorkflowConfig
Fetches a single WorkflowConfig.
1048 1049 1050 1051 1052 1053 1054 1055 1056 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1048 def get_project_location_repository_workflow_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DataformV1beta1::WorkflowConfig::Representation command.response_class = Google::Apis::DataformV1beta1::WorkflowConfig command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_repository_workflow_invocation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::WorkflowInvocation
Fetches a single WorkflowInvocation.
1254 1255 1256 1257 1258 1259 1260 1261 1262 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1254 def get_project_location_repository_workflow_invocation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DataformV1beta1::WorkflowInvocation::Representation command.response_class = Google::Apis::DataformV1beta1::WorkflowInvocation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_repository_workspace(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Workspace
Fetches a single Workspace.
1575 1576 1577 1578 1579 1580 1581 1582 1583 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1575 def get_project_location_repository_workspace(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DataformV1beta1::Workspace::Representation command.response_class = Google::Apis::DataformV1beta1::Workspace command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_repository_workspace_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1619 def get_project_location_repository_workspace_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::DataformV1beta1::Policy::Representation command.response_class = Google::Apis::DataformV1beta1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#install_workspace_npm_packages(workspace, install_npm_packages_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::InstallNpmPackagesResponse
Installs dependency NPM packages (inside a Workspace).
1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1651 def install_workspace_npm_packages(workspace, install_npm_packages_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+workspace}:installNpmPackages', ) command.request_representation = Google::Apis::DataformV1beta1::InstallNpmPackagesRequest::Representation command.request_object = install_npm_packages_request_object command.response_representation = Google::Apis::DataformV1beta1::InstallNpmPackagesResponse::Representation command.response_class = Google::Apis::DataformV1beta1::InstallNpmPackagesResponse command.params['workspace'] = workspace unless workspace.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_repositories(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ListRepositoriesResponse
Lists Repositories in a given project and location.
417 418 419 420 421 422 423 424 425 426 427 428 429 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 417 def list_project_location_repositories(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/repositories', ) command.response_representation = Google::Apis::DataformV1beta1::ListRepositoriesResponse::Representation command.response_class = Google::Apis::DataformV1beta1::ListRepositoriesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_repository_compilation_results(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ListCompilationResultsResponse
Lists CompilationResults in a given Repository.
726 727 728 729 730 731 732 733 734 735 736 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 726 def list_project_location_repository_compilation_results(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/compilationResults', ) command.response_representation = Google::Apis::DataformV1beta1::ListCompilationResultsResponse::Representation command.response_class = Google::Apis::DataformV1beta1::ListCompilationResultsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_repository_release_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ListReleaseConfigsResponse
Lists ReleaseConfigs in a given Repository.
911 912 913 914 915 916 917 918 919 920 921 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 911 def list_project_location_repository_release_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/releaseConfigs', ) command.response_representation = Google::Apis::DataformV1beta1::ListReleaseConfigsResponse::Representation command.response_class = Google::Apis::DataformV1beta1::ListReleaseConfigsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_repository_workflow_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ListWorkflowConfigsResponse
Lists WorkflowConfigs in a given Repository.
1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1088 def list_project_location_repository_workflow_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/workflowConfigs', ) command.response_representation = Google::Apis::DataformV1beta1::ListWorkflowConfigsResponse::Representation command.response_class = Google::Apis::DataformV1beta1::ListWorkflowConfigsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_repository_workflow_invocations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ListWorkflowInvocationsResponse
Lists WorkflowInvocations in a given Repository.
1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1300 def list_project_location_repository_workflow_invocations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/workflowInvocations', ) command.response_representation = Google::Apis::DataformV1beta1::ListWorkflowInvocationsResponse::Representation command.response_class = Google::Apis::DataformV1beta1::ListWorkflowInvocationsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_repository_workspaces(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ListWorkspacesResponse
Lists Workspaces in a given Repository.
1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1698 def list_project_location_repository_workspaces(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/workspaces', ) command.response_representation = Google::Apis::DataformV1beta1::ListWorkspacesResponse::Representation command.response_class = Google::Apis::DataformV1beta1::ListWorkspacesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_locations(name, filter: nil, include_unrevealed_locations: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ListLocationsResponse
Lists information about the supported locations for this service.
114 115 116 117 118 119 120 121 122 123 124 125 126 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 114 def list_project_locations(name, filter: nil, include_unrevealed_locations: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}/locations', ) command.response_representation = Google::Apis::DataformV1beta1::ListLocationsResponse::Representation command.response_class = Google::Apis::DataformV1beta1::ListLocationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['includeUnrevealedLocations'] = include_unrevealed_locations unless include_unrevealed_locations.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#make_workspace_directory(workspace, make_directory_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::MakeDirectoryResponse
Creates a directory inside a Workspace.
1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1733 def make_workspace_directory(workspace, make_directory_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+workspace}:makeDirectory', ) command.request_representation = Google::Apis::DataformV1beta1::MakeDirectoryRequest::Representation command.request_object = make_directory_request_object command.response_representation = Google::Apis::DataformV1beta1::MakeDirectoryResponse::Representation command.response_class = Google::Apis::DataformV1beta1::MakeDirectoryResponse command.params['workspace'] = workspace unless workspace.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#move_workspace_directory(workspace, move_directory_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::MoveDirectoryResponse
Moves a directory (inside a Workspace), and all of its contents, to a new location.
1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1767 def move_workspace_directory(workspace, move_directory_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+workspace}:moveDirectory', ) command.request_representation = Google::Apis::DataformV1beta1::MoveDirectoryRequest::Representation command.request_object = move_directory_request_object command.response_representation = Google::Apis::DataformV1beta1::MoveDirectoryResponse::Representation command.response_class = Google::Apis::DataformV1beta1::MoveDirectoryResponse command.params['workspace'] = workspace unless workspace.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#move_workspace_file(workspace, move_file_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::MoveFileResponse
Moves a file (inside a Workspace) to a new location.
1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1800 def move_workspace_file(workspace, move_file_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+workspace}:moveFile', ) command.request_representation = Google::Apis::DataformV1beta1::MoveFileRequest::Representation command.request_object = move_file_request_object command.response_representation = Google::Apis::DataformV1beta1::MoveFileResponse::Representation command.response_class = Google::Apis::DataformV1beta1::MoveFileResponse command.params['workspace'] = workspace unless workspace.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_repository(name, repository_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Repository
Updates a single Repository.
455 456 457 458 459 460 461 462 463 464 465 466 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 455 def patch_project_location_repository(name, repository_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::DataformV1beta1::Repository::Representation command.request_object = repository_object command.response_representation = Google::Apis::DataformV1beta1::Repository::Representation command.response_class = Google::Apis::DataformV1beta1::Repository command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_repository_release_config(name, release_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ReleaseConfig
Updates a single ReleaseConfig.
947 948 949 950 951 952 953 954 955 956 957 958 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 947 def patch_project_location_repository_release_config(name, release_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::DataformV1beta1::ReleaseConfig::Representation command.request_object = release_config_object command.response_representation = Google::Apis::DataformV1beta1::ReleaseConfig::Representation command.response_class = Google::Apis::DataformV1beta1::ReleaseConfig command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_repository_workflow_config(name, workflow_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::WorkflowConfig
Updates a single WorkflowConfig.
1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1124 def patch_project_location_repository_workflow_config(name, workflow_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::DataformV1beta1::WorkflowConfig::Representation command.request_object = workflow_config_object command.response_representation = Google::Apis::DataformV1beta1::WorkflowConfig::Representation command.response_class = Google::Apis::DataformV1beta1::WorkflowConfig command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#pull_workspace_git_commits(name, pull_git_commits_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Pulls Git commits from the Repository's remote into a Workspace.
1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1833 def pull_workspace_git_commits(name, pull_git_commits_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:pull', ) command.request_representation = Google::Apis::DataformV1beta1::PullGitCommitsRequest::Representation command.request_object = pull_git_commits_request_object command.response_representation = Google::Apis::DataformV1beta1::Empty::Representation command.response_class = Google::Apis::DataformV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#push_workspace_git_commits(name, push_git_commits_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Pushes Git commits from a Workspace to the Repository's remote.
1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1866 def push_workspace_git_commits(name, push_git_commits_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:push', ) command.request_representation = Google::Apis::DataformV1beta1::PushGitCommitsRequest::Representation command.request_object = push_git_commits_request_object command.response_representation = Google::Apis::DataformV1beta1::Empty::Representation command.response_class = Google::Apis::DataformV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#query_project_location_repository_compilation_result(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::QueryCompilationResultActionsResponse
Returns CompilationResultActions in a given CompilationResult.
770 771 772 773 774 775 776 777 778 779 780 781 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 770 def query_project_location_repository_compilation_result(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}:query', ) command.response_representation = Google::Apis::DataformV1beta1::QueryCompilationResultActionsResponse::Representation command.response_class = Google::Apis::DataformV1beta1::QueryCompilationResultActionsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#query_project_location_repository_directory_contents(name, commit_sha: nil, page_size: nil, page_token: nil, path: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::QueryRepositoryDirectoryContentsResponse
Returns the contents of a given Repository directory. The Repository must not
have a value for git_remote_settings.url.
504 505 506 507 508 509 510 511 512 513 514 515 516 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 504 def query_project_location_repository_directory_contents(name, commit_sha: nil, page_size: nil, page_token: nil, path: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}:queryDirectoryContents', ) command.response_representation = Google::Apis::DataformV1beta1::QueryRepositoryDirectoryContentsResponse::Representation command.response_class = Google::Apis::DataformV1beta1::QueryRepositoryDirectoryContentsResponse command.params['name'] = name unless name.nil? command.query['commitSha'] = commit_sha unless commit_sha.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#query_project_location_repository_workflow_invocation(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::QueryWorkflowInvocationActionsResponse
Returns WorkflowInvocationActions in a given WorkflowInvocation.
1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1343 def query_project_location_repository_workflow_invocation(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}:query', ) command.response_representation = Google::Apis::DataformV1beta1::QueryWorkflowInvocationActionsResponse::Representation command.response_class = Google::Apis::DataformV1beta1::QueryWorkflowInvocationActionsResponse command.params['name'] = name unless name.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#query_project_location_repository_workspace_directory_contents(workspace, page_size: nil, page_token: nil, path: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::QueryDirectoryContentsResponse
Returns the contents of a given Workspace directory.
1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1909 def query_project_location_repository_workspace_directory_contents(workspace, page_size: nil, page_token: nil, path: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+workspace}:queryDirectoryContents', ) command.response_representation = Google::Apis::DataformV1beta1::QueryDirectoryContentsResponse::Representation command.response_class = Google::Apis::DataformV1beta1::QueryDirectoryContentsResponse command.params['workspace'] = workspace unless workspace.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#read_project_location_repository_file(name, commit_sha: nil, path: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ReadRepositoryFileResponse
Returns the contents of a file (inside a Repository). The Repository must not
have a value for git_remote_settings.url.
544 545 546 547 548 549 550 551 552 553 554 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 544 def read_project_location_repository_file(name, commit_sha: nil, path: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}:readFile', ) command.response_representation = Google::Apis::DataformV1beta1::ReadRepositoryFileResponse::Representation command.response_class = Google::Apis::DataformV1beta1::ReadRepositoryFileResponse command.params['name'] = name unless name.nil? command.query['commitSha'] = commit_sha unless commit_sha.nil? command.query['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#read_project_location_repository_workspace_file(workspace, path: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ReadFileResponse
Returns the contents of a file (inside a Workspace).
1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1945 def read_project_location_repository_workspace_file(workspace, path: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+workspace}:readFile', ) command.response_representation = Google::Apis::DataformV1beta1::ReadFileResponse::Representation command.response_class = Google::Apis::DataformV1beta1::ReadFileResponse command.params['workspace'] = workspace unless workspace.nil? command.query['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#remove_workspace_directory(workspace, remove_directory_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Deletes a directory (inside a Workspace) and all of its contents.
1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1977 def remove_workspace_directory(workspace, remove_directory_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+workspace}:removeDirectory', ) command.request_representation = Google::Apis::DataformV1beta1::RemoveDirectoryRequest::Representation command.request_object = remove_directory_request_object command.response_representation = Google::Apis::DataformV1beta1::Empty::Representation command.response_class = Google::Apis::DataformV1beta1::Empty command.params['workspace'] = workspace unless workspace.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#remove_workspace_file(workspace, remove_file_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Deletes a file (inside a Workspace).
2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 2010 def remove_workspace_file(workspace, remove_file_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+workspace}:removeFile', ) command.request_representation = Google::Apis::DataformV1beta1::RemoveFileRequest::Representation command.request_object = remove_file_request_object command.response_representation = Google::Apis::DataformV1beta1::Empty::Representation command.response_class = Google::Apis::DataformV1beta1::Empty command.params['workspace'] = workspace unless workspace.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#reset_workspace_changes(name, reset_workspace_changes_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Empty
Performs a Git reset for uncommitted files in a Workspace.
2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 2043 def reset_workspace_changes(name, reset_workspace_changes_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:reset', ) command.request_representation = Google::Apis::DataformV1beta1::ResetWorkspaceChangesRequest::Representation command.request_object = reset_workspace_changes_request_object command.response_representation = Google::Apis::DataformV1beta1::Empty::Representation command.response_class = Google::Apis::DataformV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_repository_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
581 582 583 584 585 586 587 588 589 590 591 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 581 def set_repository_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::DataformV1beta1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::DataformV1beta1::Policy::Representation command.response_class = Google::Apis::DataformV1beta1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_workspace_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 2080 def set_workspace_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::DataformV1beta1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::DataformV1beta1::Policy::Representation command.response_class = Google::Apis::DataformV1beta1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_repository_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::TestIamPermissionsResponse
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.
620 621 622 623 624 625 626 627 628 629 630 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 620 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::DataformV1beta1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DataformV1beta1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::DataformV1beta1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_workspace_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::TestIamPermissionsResponse
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.
2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 2119 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::DataformV1beta1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DataformV1beta1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::DataformV1beta1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#write_workspace_file(workspace, write_file_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::WriteFileResponse
Writes to a file (inside a Workspace).
2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 2152 def write_workspace_file(workspace, write_file_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+workspace}:writeFile', ) command.request_representation = Google::Apis::DataformV1beta1::WriteFileRequest::Representation command.request_object = write_file_request_object command.response_representation = Google::Apis::DataformV1beta1::WriteFileResponse::Representation command.response_class = Google::Apis::DataformV1beta1::WriteFileResponse command.params['workspace'] = workspace unless workspace.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |