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
Service to develop, version control, and operationalize SQL pipelines in BigQuery.
Constant Summary collapse
- DEFAULT_ENDPOINT_TEMPLATE =
"https://dataform.$UNIVERSE_DOMAIN$/"
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.
-
#compute_project_location_repository_access_token_status(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ComputeRepositoryAccessTokenStatusResponse
Computes a Repository's Git access token status.
-
#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 commits.
-
#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_collection_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(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, 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, revision: 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.
-
#search_project_location_repository_workspace_files(workspace, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::SearchFilesResponse
Finds the contents of a given Workspace directory by filter.
-
#set_collection_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_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_collection_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_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.
48 49 50 51 52 53 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 48 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', 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.
41 42 43 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 41 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.
46 47 48 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 46 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.
1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1310 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.
271 272 273 274 275 276 277 278 279 280 281 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 271 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.
1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1528 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 |
#compute_project_location_repository_access_token_status(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ComputeRepositoryAccessTokenStatusResponse
Computes a Repository's Git access token status.
303 304 305 306 307 308 309 310 311 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 303 def compute_project_location_repository_access_token_status(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}:computeAccessTokenStatus', ) command.response_representation = Google::Apis::DataformV1beta1::ComputeRepositoryAccessTokenStatusResponse::Representation command.response_class = Google::Apis::DataformV1beta1::ComputeRepositoryAccessTokenStatusResponse 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.
338 339 340 341 342 343 344 345 346 347 348 349 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 338 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.
806 807 808 809 810 811 812 813 814 815 816 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 806 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.
960 961 962 963 964 965 966 967 968 969 970 971 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 960 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.
1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1137 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.
1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1344 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.
1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1565 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.
375 376 377 378 379 380 381 382 383 384 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 375 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.
993 994 995 996 997 998 999 1000 1001 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 993 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.
1170 1171 1172 1173 1174 1175 1176 1177 1178 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1170 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.
1376 1377 1378 1379 1380 1381 1382 1383 1384 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1376 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.
1598 1599 1600 1601 1602 1603 1604 1605 1606 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1598 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 commits. The Repository must not have a
value for git_remote_settings.url.
416 417 418 419 420 421 422 423 424 425 426 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 416 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.
448 449 450 451 452 453 454 455 456 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 448 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.
1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1631 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.
1662 1663 1664 1665 1666 1667 1668 1669 1670 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1662 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.
1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1696 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.
75 76 77 78 79 80 81 82 83 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 75 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_collection_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.
162 163 164 165 166 167 168 169 170 171 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 162 def get_project_location_collection_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(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::Repository
Fetches a single Repository.
478 479 480 481 482 483 484 485 486 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 478 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.
838 839 840 841 842 843 844 845 846 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 838 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.
522 523 524 525 526 527 528 529 530 531 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 522 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.
1023 1024 1025 1026 1027 1028 1029 1030 1031 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1023 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.
1200 1201 1202 1203 1204 1205 1206 1207 1208 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1200 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.
1406 1407 1408 1409 1410 1411 1412 1413 1414 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1406 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.
1727 1728 1729 1730 1731 1732 1733 1734 1735 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1727 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.
1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1771 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).
1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1803 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.
569 570 571 572 573 574 575 576 577 578 579 580 581 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 569 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.
878 879 880 881 882 883 884 885 886 887 888 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 878 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.
1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1063 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.
1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1240 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.
1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1452 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.
1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1850 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, 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.
115 116 117 118 119 120 121 122 123 124 125 126 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 115 def list_project_locations(name, filter: 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['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.
1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1885 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.
1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1919 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.
1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1952 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.
607 608 609 610 611 612 613 614 615 616 617 618 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 607 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.
1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1099 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.
1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1276 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.
1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1985 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.
2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 2018 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.
922 923 924 925 926 927 928 929 930 931 932 933 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 922 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.
656 657 658 659 660 661 662 663 664 665 666 667 668 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 656 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.
1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 1495 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.
2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 2061 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.
696 697 698 699 700 701 702 703 704 705 706 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 696 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, revision: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::ReadFileResponse
Returns the contents of a file (inside a Workspace).
2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 2100 def read_project_location_repository_workspace_file(workspace, path: nil, revision: 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['revision'] = revision unless revision.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.
2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 2133 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).
2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 2166 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.
2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 2199 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 |
#search_project_location_repository_workspace_files(workspace, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1beta1::SearchFilesResponse
Finds the contents of a given Workspace directory by filter.
2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 2244 def search_project_location_repository_workspace_files(workspace, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+workspace}:searchFiles', ) command.response_representation = Google::Apis::DataformV1beta1::SearchFilesResponse::Representation command.response_class = Google::Apis::DataformV1beta1::SearchFilesResponse command.params['workspace'] = workspace unless workspace.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 |
#set_collection_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.
198 199 200 201 202 203 204 205 206 207 208 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 198 def set_collection_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_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.
733 734 735 736 737 738 739 740 741 742 743 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 733 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.
2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 2282 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_collection_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.
237 238 239 240 241 242 243 244 245 246 247 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 237 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_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.
772 773 774 775 776 777 778 779 780 781 782 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 772 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.
2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 2321 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).
2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 |
# File 'lib/google/apis/dataform_v1beta1/service.rb', line 2354 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 |