Class: Google::Apis::DataformV1::DataformService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::DataformV1::DataformService
- Defined in:
- lib/google/apis/dataform_v1/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_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Empty
Starts asynchronous cancellation on a long-running operation.
-
#cancel_workflow_invocation(name, cancel_workflow_invocation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::CancelWorkflowInvocationResponse
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::DataformV1::CommitRepositoryChangesResponse
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::DataformV1::CommitWorkspaceChangesResponse
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::DataformV1::ComputeRepositoryAccessTokenStatusResponse
Computes a Repository's Git access token status.
-
#create_project_location_folder(parent, folder_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Folder
Creates a new Folder in a given project and location.
-
#create_project_location_repository(parent, repository_object = nil, repository_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::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::DataformV1::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::DataformV1::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::DataformV1::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::DataformV1::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::DataformV1::Workspace
Creates a new Workspace in a given Repository.
-
#create_project_location_team_folder(parent, team_folder_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::TeamFolder
Creates a new TeamFolder in a given project and location.
-
#delete_project_location_folder(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Empty
Deletes a single Folder.
-
#delete_project_location_folder_tree(name, delete_folder_tree_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Operation
Deletes a Folder with its contents (Folders, Repositories, Workspaces, ReleaseConfigs, and WorkflowConfigs).
-
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Empty
Deletes a long-running operation.
-
#delete_project_location_repository(name, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Empty
Deletes a single Repository.
-
#delete_project_location_repository_release_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Empty
Deletes a single ReleaseConfig.
-
#delete_project_location_repository_workflow_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Empty
Deletes a single WorkflowConfig.
-
#delete_project_location_repository_workflow_invocation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Empty
Deletes a single WorkflowInvocation.
-
#delete_project_location_repository_workspace(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Empty
Deletes a single Workspace.
-
#delete_project_location_team_folder(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Empty
Deletes a single TeamFolder.
-
#delete_project_location_team_folder_tree(name, delete_team_folder_tree_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Operation
Deletes a TeamFolder with its contents (Folders, Repositories, Workspaces, ReleaseConfigs, and WorkflowConfigs).
-
#fetch_project_location_repository_history(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::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::DataformV1::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::DataformV1::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::DataformV1::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::DataformV1::FetchGitAheadBehindResponse
Fetches Git ahead/behind against a remote branch.
-
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Location
Gets information about a location.
-
#get_project_location_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Config
Get default config for a given project and location.
-
#get_project_location_folder(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Folder
Fetches a single Folder.
-
#get_project_location_folder_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Operation
Gets the latest state of a long-running operation.
-
#get_project_location_repository(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Repository
Fetches a single Repository.
-
#get_project_location_repository_compilation_result(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::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::DataformV1::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::DataformV1::ReleaseConfig
Fetches a single ReleaseConfig.
-
#get_project_location_repository_workflow_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::WorkflowConfig
Fetches a single WorkflowConfig.
-
#get_project_location_repository_workflow_invocation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::WorkflowInvocation
Fetches a single WorkflowInvocation.
-
#get_project_location_repository_workspace(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::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::DataformV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_team_folder(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::TeamFolder
Fetches a single TeamFolder.
-
#get_project_location_team_folder_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::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::DataformV1::InstallNpmPackagesResponse
Installs dependency NPM packages (inside a Workspace).
-
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::ListOperationsResponse
Lists operations that match the specified filter in the request.
-
#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::DataformV1::ListRepositoriesResponse
Lists Repositories in a given project and location.
-
#list_project_location_repository_compilation_results(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::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::DataformV1::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::DataformV1::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::DataformV1::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::DataformV1::ListWorkspacesResponse
Lists Workspaces in a given Repository.
-
#list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::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::DataformV1::MakeDirectoryResponse
Creates a directory inside a Workspace.
-
#move_folder(name, move_folder_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Operation
Moves a Folder to a new Folder, TeamFolder, or the root location.
-
#move_repository(name, move_repository_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Operation
Moves a Repository to a new location.
-
#move_workspace_directory(workspace, move_directory_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::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::DataformV1::MoveFileResponse
Moves a file (inside a Workspace) to a new location.
-
#patch_project_location_folder(name, folder_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Folder
Updates a single Folder.
-
#patch_project_location_repository(name, repository_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::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::DataformV1::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::DataformV1::WorkflowConfig
Updates a single WorkflowConfig.
-
#patch_project_location_team_folder(name, team_folder_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::TeamFolder
Updates a single TeamFolder.
-
#pull_workspace_git_commits(name, pull_git_commits_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::PullGitCommitsResponse
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::DataformV1::PushGitCommitsResponse
Pushes Git commits from a Workspace to the Repository's remote.
-
#query_project_location_folder_folder_contents(folder, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::QueryFolderContentsResponse
Returns the contents of a given Folder.
-
#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::DataformV1::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::DataformV1::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::DataformV1::QueryWorkflowInvocationActionsResponse
Returns WorkflowInvocationActions in a given WorkflowInvocation.
-
#query_project_location_repository_workspace_directory_contents(workspace, page_size: nil, page_token: nil, path: nil, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::QueryDirectoryContentsResponse
Returns the contents of a given Workspace directory.
-
#query_project_location_team_folder_contents(team_folder, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::QueryTeamFolderContentsResponse
Returns the contents of a given TeamFolder.
-
#query_project_location_user_root_contents(location, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::QueryUserRootContentsResponse
Returns the contents of a caller's root folder in a given location.
-
#read_project_location_repository_file(name, commit_sha: nil, path: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::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::DataformV1::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::DataformV1::RemoveDirectoryResponse
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::DataformV1::RemoveFileResponse
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::DataformV1::ResetWorkspaceChangesResponse
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::DataformV1::SearchFilesResponse
Finds the contents of a given Workspace directory by filter.
-
#search_project_location_team_folders(location, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::SearchTeamFoldersResponse
Returns all TeamFolders in a given location that the caller has access to and match the provided filter.
-
#set_folder_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::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::DataformV1::Policy
Sets the access control policy on the specified resource.
-
#set_team_folder_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::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::DataformV1::Policy
Sets the access control policy on the specified resource.
-
#test_folder_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::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::DataformV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_team_folder_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::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::DataformV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#update_project_location_config(name, config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Config
Update default config for a given project and location.
-
#write_workspace_file(workspace, write_file_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::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_v1/service.rb', line 48 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', client_name: 'google-apis-dataform_v1', client_version: Google::Apis::DataformV1::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_v1/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_v1/service.rb', line 46 def quota_user @quota_user end |
Instance Method Details
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Empty
Starts asynchronous cancellation on a long-running operation. The server makes
a best effort to cancel the operation, but success is not guaranteed. If the
server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
Clients can use Operations.GetOperation or other methods to check whether the
cancellation succeeded or whether the operation completed despite cancellation.
On successful cancellation, the operation is not deleted; instead, it becomes
an operation with an Operation.error value with a google.rpc.Status.code of 1
, corresponding to Code.CANCELLED.
666 667 668 669 670 671 672 673 674 675 676 |
# File 'lib/google/apis/dataform_v1/service.rb', line 666 def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:cancel', ) command.request_representation = Google::Apis::DataformV1::CancelOperationRequest::Representation command.request_object = cancel_operation_request_object command.response_representation = Google::Apis::DataformV1::Empty::Representation command.response_class = Google::Apis::DataformV1::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 |
#cancel_workflow_invocation(name, cancel_workflow_invocation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::CancelWorkflowInvocationResponse
Requests cancellation of a running WorkflowInvocation.
1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1915 def cancel_workflow_invocation(name, cancel_workflow_invocation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:cancel', ) command.request_representation = Google::Apis::DataformV1::CancelWorkflowInvocationRequest::Representation command.request_object = cancel_workflow_invocation_request_object command.response_representation = Google::Apis::DataformV1::CancelWorkflowInvocationResponse::Representation command.response_class = Google::Apis::DataformV1::CancelWorkflowInvocationResponse 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::DataformV1::CommitRepositoryChangesResponse
Applies a Git commit to a Repository. The Repository must not have a value for
git_remote_settings.url.
813 814 815 816 817 818 819 820 821 822 823 |
# File 'lib/google/apis/dataform_v1/service.rb', line 813 def commit_repository_changes(name, commit_repository_changes_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:commit', ) command.request_representation = Google::Apis::DataformV1::CommitRepositoryChangesRequest::Representation command.request_object = commit_repository_changes_request_object command.response_representation = Google::Apis::DataformV1::CommitRepositoryChangesResponse::Representation command.response_class = Google::Apis::DataformV1::CommitRepositoryChangesResponse 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::DataformV1::CommitWorkspaceChangesResponse
Applies a Git commit for uncommitted files in a Workspace.
2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2133 def commit_workspace_changes(name, commit_workspace_changes_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:commit', ) command.request_representation = Google::Apis::DataformV1::CommitWorkspaceChangesRequest::Representation command.request_object = commit_workspace_changes_request_object command.response_representation = Google::Apis::DataformV1::CommitWorkspaceChangesResponse::Representation command.response_class = Google::Apis::DataformV1::CommitWorkspaceChangesResponse 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::DataformV1::ComputeRepositoryAccessTokenStatusResponse
Computes a Repository's Git access token status.
845 846 847 848 849 850 851 852 853 |
# File 'lib/google/apis/dataform_v1/service.rb', line 845 def compute_project_location_repository_access_token_status(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}:computeAccessTokenStatus', ) command.response_representation = Google::Apis::DataformV1::ComputeRepositoryAccessTokenStatusResponse::Representation command.response_class = Google::Apis::DataformV1::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_folder(parent, folder_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Folder
Creates a new Folder in a given project and location.
286 287 288 289 290 291 292 293 294 295 296 |
# File 'lib/google/apis/dataform_v1/service.rb', line 286 def create_project_location_folder(parent, folder_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/folders', ) command.request_representation = Google::Apis::DataformV1::Folder::Representation command.request_object = folder_object command.response_representation = Google::Apis::DataformV1::Folder::Representation command.response_class = Google::Apis::DataformV1::Folder 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(parent, repository_object = nil, repository_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Repository
Creates a new Repository in a given project and location.
880 881 882 883 884 885 886 887 888 889 890 891 |
# File 'lib/google/apis/dataform_v1/service.rb', line 880 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, 'v1/{+parent}/repositories', ) command.request_representation = Google::Apis::DataformV1::Repository::Representation command.request_object = repository_object command.response_representation = Google::Apis::DataformV1::Repository::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::CompilationResult
Creates a new CompilationResult in a given project and location.
1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1389 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, 'v1/{+parent}/compilationResults', ) command.request_representation = Google::Apis::DataformV1::CompilationResult::Representation command.request_object = compilation_result_object command.response_representation = Google::Apis::DataformV1::CompilationResult::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::ReleaseConfig
Creates a new ReleaseConfig in a given Repository.
1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1555 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, 'v1/{+parent}/releaseConfigs', ) command.request_representation = Google::Apis::DataformV1::ReleaseConfig::Representation command.request_object = release_config_object command.response_representation = Google::Apis::DataformV1::ReleaseConfig::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::WorkflowConfig
Creates a new WorkflowConfig in a given Repository.
1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1739 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, 'v1/{+parent}/workflowConfigs', ) command.request_representation = Google::Apis::DataformV1::WorkflowConfig::Representation command.request_object = workflow_config_object command.response_representation = Google::Apis::DataformV1::WorkflowConfig::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::WorkflowInvocation
Creates a new WorkflowInvocation in a given Repository.
1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1949 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, 'v1/{+parent}/workflowInvocations', ) command.request_representation = Google::Apis::DataformV1::WorkflowInvocation::Representation command.request_object = workflow_invocation_object command.response_representation = Google::Apis::DataformV1::WorkflowInvocation::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::Workspace
Creates a new Workspace in a given Repository.
2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2170 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, 'v1/{+parent}/workspaces', ) command.request_representation = Google::Apis::DataformV1::Workspace::Representation command.request_object = workspace_object command.response_representation = Google::Apis::DataformV1::Workspace::Representation command.response_class = Google::Apis::DataformV1::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 |
#create_project_location_team_folder(parent, team_folder_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::TeamFolder
Creates a new TeamFolder in a given project and location.
3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 |
# File 'lib/google/apis/dataform_v1/service.rb', line 3000 def create_project_location_team_folder(parent, team_folder_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/teamFolders', ) command.request_representation = Google::Apis::DataformV1::TeamFolder::Representation command.request_object = team_folder_object command.response_representation = Google::Apis::DataformV1::TeamFolder::Representation command.response_class = Google::Apis::DataformV1::TeamFolder 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 |
#delete_project_location_folder(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Empty
Deletes a single Folder.
318 319 320 321 322 323 324 325 326 |
# File 'lib/google/apis/dataform_v1/service.rb', line 318 def delete_project_location_folder(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::DataformV1::Empty::Representation command.response_class = Google::Apis::DataformV1::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_folder_tree(name, delete_folder_tree_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Operation
Deletes a Folder with its contents (Folders, Repositories, Workspaces, ReleaseConfigs, and WorkflowConfigs).
351 352 353 354 355 356 357 358 359 360 361 |
# File 'lib/google/apis/dataform_v1/service.rb', line 351 def delete_project_location_folder_tree(name, delete_folder_tree_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:deleteTree', ) command.request_representation = Google::Apis::DataformV1::DeleteFolderTreeRequest::Representation command.request_object = delete_folder_tree_request_object command.response_representation = Google::Apis::DataformV1::Operation::Representation command.response_class = Google::Apis::DataformV1::Operation 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_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Empty
Deletes a long-running operation. This method indicates that the client is no
longer interested in the operation result. It does not cancel the operation.
If the server doesn't support this method, it returns google.rpc.Code.
UNIMPLEMENTED.
701 702 703 704 705 706 707 708 709 |
# File 'lib/google/apis/dataform_v1/service.rb', line 701 def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::DataformV1::Empty::Representation command.response_class = Google::Apis::DataformV1::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(name, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Empty
Deletes a single Repository.
920 921 922 923 924 925 926 927 928 929 |
# File 'lib/google/apis/dataform_v1/service.rb', line 920 def delete_project_location_repository(name, force: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::DataformV1::Empty::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::Empty
Deletes a single ReleaseConfig.
1589 1590 1591 1592 1593 1594 1595 1596 1597 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1589 def delete_project_location_repository_release_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::DataformV1::Empty::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::Empty
Deletes a single WorkflowConfig.
1772 1773 1774 1775 1776 1777 1778 1779 1780 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1772 def delete_project_location_repository_workflow_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::DataformV1::Empty::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::Empty
Deletes a single WorkflowInvocation.
1981 1982 1983 1984 1985 1986 1987 1988 1989 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1981 def delete_project_location_repository_workflow_invocation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::DataformV1::Empty::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::Empty
Deletes a single Workspace.
2203 2204 2205 2206 2207 2208 2209 2210 2211 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2203 def delete_project_location_repository_workspace(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::DataformV1::Empty::Representation command.response_class = Google::Apis::DataformV1::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_team_folder(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Empty
Deletes a single TeamFolder.
3032 3033 3034 3035 3036 3037 3038 3039 3040 |
# File 'lib/google/apis/dataform_v1/service.rb', line 3032 def delete_project_location_team_folder(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::DataformV1::Empty::Representation command.response_class = Google::Apis::DataformV1::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_team_folder_tree(name, delete_team_folder_tree_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Operation
Deletes a TeamFolder with its contents (Folders, Repositories, Workspaces, ReleaseConfigs, and WorkflowConfigs).
3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 |
# File 'lib/google/apis/dataform_v1/service.rb', line 3065 def delete_project_location_team_folder_tree(name, delete_team_folder_tree_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:deleteTree', ) command.request_representation = Google::Apis::DataformV1::DeleteTeamFolderTreeRequest::Representation command.request_object = delete_team_folder_tree_request_object command.response_representation = Google::Apis::DataformV1::Operation::Representation command.response_class = Google::Apis::DataformV1::Operation 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::DataformV1::FetchRepositoryHistoryResponse
Fetches a Repository's history of commits. The Repository must not have a
value for git_remote_settings.url.
961 962 963 964 965 966 967 968 969 970 971 |
# File 'lib/google/apis/dataform_v1/service.rb', line 961 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, 'v1/{+name}:fetchHistory', ) command.response_representation = Google::Apis::DataformV1::FetchRepositoryHistoryResponse::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::FetchRemoteBranchesResponse
Fetches a Repository's remote branches.
993 994 995 996 997 998 999 1000 1001 |
# File 'lib/google/apis/dataform_v1/service.rb', line 993 def fetch_project_location_repository_remote_branches(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}:fetchRemoteBranches', ) command.response_representation = Google::Apis::DataformV1::FetchRemoteBranchesResponse::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::FetchFileDiffResponse
Fetches Git diff for an uncommitted file in a Workspace.
2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2236 def fetch_project_location_repository_workspace_file_diff(workspace, path: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+workspace}:fetchFileDiff', ) command.response_representation = Google::Apis::DataformV1::FetchFileDiffResponse::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::FetchFileGitStatusesResponse
Fetches Git statuses for the files in a Workspace.
2267 2268 2269 2270 2271 2272 2273 2274 2275 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2267 def fetch_project_location_repository_workspace_file_git_statuses(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}:fetchFileGitStatuses', ) command.response_representation = Google::Apis::DataformV1::FetchFileGitStatusesResponse::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::FetchGitAheadBehindResponse
Fetches Git ahead/behind against a remote branch.
2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2301 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, 'v1/{+name}:fetchGitAheadBehind', ) command.response_representation = Google::Apis::DataformV1::FetchGitAheadBehindResponse::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::Location
Gets information about a location.
75 76 77 78 79 80 81 82 83 |
# File 'lib/google/apis/dataform_v1/service.rb', line 75 def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::DataformV1::Location::Representation command.response_class = Google::Apis::DataformV1::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_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Config
Get default config for a given project and location.
105 106 107 108 109 110 111 112 113 |
# File 'lib/google/apis/dataform_v1/service.rb', line 105 def get_project_location_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::DataformV1::Config::Representation command.response_class = Google::Apis::DataformV1::Config 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_folder(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Folder
Fetches a single Folder.
383 384 385 386 387 388 389 390 391 |
# File 'lib/google/apis/dataform_v1/service.rb', line 383 def get_project_location_folder(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::DataformV1::Folder::Representation command.response_class = Google::Apis::DataformV1::Folder 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_folder_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
427 428 429 430 431 432 433 434 435 436 |
# File 'lib/google/apis/dataform_v1/service.rb', line 427 def get_project_location_folder_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::DataformV1::Policy::Representation command.response_class = Google::Apis::DataformV1::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_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Operation
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
732 733 734 735 736 737 738 739 740 |
# File 'lib/google/apis/dataform_v1/service.rb', line 732 def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::DataformV1::Operation::Representation command.response_class = Google::Apis::DataformV1::Operation 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::DataformV1::Repository
Fetches a single Repository.
1023 1024 1025 1026 1027 1028 1029 1030 1031 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1023 def get_project_location_repository(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::DataformV1::Repository::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::CompilationResult
Fetches a single CompilationResult.
1422 1423 1424 1425 1426 1427 1428 1429 1430 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1422 def get_project_location_repository_compilation_result(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::DataformV1::CompilationResult::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1067 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, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::DataformV1::Policy::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::ReleaseConfig
Fetches a single ReleaseConfig.
1620 1621 1622 1623 1624 1625 1626 1627 1628 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1620 def get_project_location_repository_release_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::DataformV1::ReleaseConfig::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::WorkflowConfig
Fetches a single WorkflowConfig.
1802 1803 1804 1805 1806 1807 1808 1809 1810 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1802 def get_project_location_repository_workflow_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::DataformV1::WorkflowConfig::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::WorkflowInvocation
Fetches a single WorkflowInvocation.
2011 2012 2013 2014 2015 2016 2017 2018 2019 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2011 def get_project_location_repository_workflow_invocation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::DataformV1::WorkflowInvocation::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::Workspace
Fetches a single Workspace.
2332 2333 2334 2335 2336 2337 2338 2339 2340 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2332 def get_project_location_repository_workspace(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::DataformV1::Workspace::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2376 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, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::DataformV1::Policy::Representation command.response_class = Google::Apis::DataformV1::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_team_folder(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::TeamFolder
Fetches a single TeamFolder.
3097 3098 3099 3100 3101 3102 3103 3104 3105 |
# File 'lib/google/apis/dataform_v1/service.rb', line 3097 def get_project_location_team_folder(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::DataformV1::TeamFolder::Representation command.response_class = Google::Apis::DataformV1::TeamFolder 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_team_folder_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 |
# File 'lib/google/apis/dataform_v1/service.rb', line 3141 def get_project_location_team_folder_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::DataformV1::Policy::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::InstallNpmPackagesResponse
Installs dependency NPM packages (inside a Workspace).
2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2408 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, 'v1/{+workspace}:installNpmPackages', ) command.request_representation = Google::Apis::DataformV1::InstallNpmPackagesRequest::Representation command.request_object = install_npm_packages_request_object command.response_representation = Google::Apis::DataformV1::InstallNpmPackagesResponse::Representation command.response_class = Google::Apis::DataformV1::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_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::ListOperationsResponse
Lists operations that match the specified filter in the request. If the server
doesn't support this method, it returns UNIMPLEMENTED.
777 778 779 780 781 782 783 784 785 786 787 788 789 |
# File 'lib/google/apis/dataform_v1/service.rb', line 777 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/operations', ) command.response_representation = Google::Apis::DataformV1::ListOperationsResponse::Representation command.response_class = Google::Apis::DataformV1::ListOperationsResponse 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.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::DataformV1::ListRepositoriesResponse
Lists Repositories in a given project and location. Note: This method can return repositories not shown in the Dataform UI.
1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1116 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, 'v1/{+parent}/repositories', ) command.response_representation = Google::Apis::DataformV1::ListRepositoriesResponse::Representation command.response_class = Google::Apis::DataformV1::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, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::ListCompilationResultsResponse
Lists CompilationResults in a given Repository.
1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1469 def list_project_location_repository_compilation_results(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, 'v1/{+parent}/compilationResults', ) command.response_representation = Google::Apis::DataformV1::ListCompilationResultsResponse::Representation command.response_class = Google::Apis::DataformV1::ListCompilationResultsResponse 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_release_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::ListReleaseConfigsResponse
Lists ReleaseConfigs in a given Repository.
1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1662 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, 'v1/{+parent}/releaseConfigs', ) command.response_representation = Google::Apis::DataformV1::ListReleaseConfigsResponse::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::ListWorkflowConfigsResponse
Lists WorkflowConfigs in a given Repository.
1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1842 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, 'v1/{+parent}/workflowConfigs', ) command.response_representation = Google::Apis::DataformV1::ListWorkflowConfigsResponse::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::ListWorkflowInvocationsResponse
Lists WorkflowInvocations in a given Repository.
2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2057 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, 'v1/{+parent}/workflowInvocations', ) command.response_representation = Google::Apis::DataformV1::ListWorkflowInvocationsResponse::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::ListWorkspacesResponse
Lists Workspaces in a given Repository.
2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2456 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, 'v1/{+parent}/workspaces', ) command.response_representation = Google::Apis::DataformV1::ListWorkspacesResponse::Representation command.response_class = Google::Apis::DataformV1::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, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::ListLocationsResponse
Lists information about the supported locations for this service. This method
lists locations based on the resource scope provided in the
ListLocationsRequest.name field: * Global locations: If name is empty,
the method lists the public locations available to all projects. * Project-
specific locations: If name follows the format projects/project`, the
method lists locations visible to that specific project. This includes public,
private, or other project-specific locations enabled for the project. For gRPC
and client library implementations, the resource name is passed as thename`
field. For direct service calls, the resource name is incorporated into the
request path based on the specific service implementation and version.
157 158 159 160 161 162 163 164 165 166 167 168 169 |
# File 'lib/google/apis/dataform_v1/service.rb', line 157 def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/locations', ) command.response_representation = Google::Apis::DataformV1::ListLocationsResponse::Representation command.response_class = Google::Apis::DataformV1::ListLocationsResponse command.params['name'] = name unless name.nil? command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.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::DataformV1::MakeDirectoryResponse
Creates a directory inside a Workspace.
2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2491 def make_workspace_directory(workspace, make_directory_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+workspace}:makeDirectory', ) command.request_representation = Google::Apis::DataformV1::MakeDirectoryRequest::Representation command.request_object = make_directory_request_object command.response_representation = Google::Apis::DataformV1::MakeDirectoryResponse::Representation command.response_class = Google::Apis::DataformV1::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_folder(name, move_folder_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Operation
Moves a Folder to a new Folder, TeamFolder, or the root location.
459 460 461 462 463 464 465 466 467 468 469 |
# File 'lib/google/apis/dataform_v1/service.rb', line 459 def move_folder(name, move_folder_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:move', ) command.request_representation = Google::Apis::DataformV1::MoveFolderRequest::Representation command.request_object = move_folder_request_object command.response_representation = Google::Apis::DataformV1::Operation::Representation command.response_class = Google::Apis::DataformV1::Operation 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 |
#move_repository(name, move_repository_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Operation
Moves a Repository to a new location.
1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1151 def move_repository(name, move_repository_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:move', ) command.request_representation = Google::Apis::DataformV1::MoveRepositoryRequest::Representation command.request_object = move_repository_request_object command.response_representation = Google::Apis::DataformV1::Operation::Representation command.response_class = Google::Apis::DataformV1::Operation 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 |
#move_workspace_directory(workspace, move_directory_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::MoveDirectoryResponse
Moves a directory (inside a Workspace), and all of its contents, to a new location.
2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2525 def move_workspace_directory(workspace, move_directory_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+workspace}:moveDirectory', ) command.request_representation = Google::Apis::DataformV1::MoveDirectoryRequest::Representation command.request_object = move_directory_request_object command.response_representation = Google::Apis::DataformV1::MoveDirectoryResponse::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::MoveFileResponse
Moves a file (inside a Workspace) to a new location.
2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2558 def move_workspace_file(workspace, move_file_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+workspace}:moveFile', ) command.request_representation = Google::Apis::DataformV1::MoveFileRequest::Representation command.request_object = move_file_request_object command.response_representation = Google::Apis::DataformV1::MoveFileResponse::Representation command.response_class = Google::Apis::DataformV1::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_folder(name, folder_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Folder
Updates a single Folder.
497 498 499 500 501 502 503 504 505 506 507 508 |
# File 'lib/google/apis/dataform_v1/service.rb', line 497 def patch_project_location_folder(name, folder_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::DataformV1::Folder::Representation command.request_object = folder_object command.response_representation = Google::Apis::DataformV1::Folder::Representation command.response_class = Google::Apis::DataformV1::Folder 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(name, repository_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Repository
Updates a single Repository. Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated as a
bad request, and when the field_mask is omitted, the request is treated as a
full update on all modifiable fields.
1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1190 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, 'v1/{+name}', ) command.request_representation = Google::Apis::DataformV1::Repository::Representation command.request_object = repository_object command.response_representation = Google::Apis::DataformV1::Repository::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::ReleaseConfig
Updates a single ReleaseConfig. Note: This method does not fully
implement AIP/134. The wildcard entry (*) is
treated as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1701 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, 'v1/{+name}', ) command.request_representation = Google::Apis::DataformV1::ReleaseConfig::Representation command.request_object = release_config_object command.response_representation = Google::Apis::DataformV1::ReleaseConfig::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::WorkflowConfig
Updates a single WorkflowConfig. Note: This method does not fully
implement AIP/134. The wildcard entry (*) is
treated as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1881 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, 'v1/{+name}', ) command.request_representation = Google::Apis::DataformV1::WorkflowConfig::Representation command.request_object = workflow_config_object command.response_representation = Google::Apis::DataformV1::WorkflowConfig::Representation command.response_class = Google::Apis::DataformV1::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 |
#patch_project_location_team_folder(name, team_folder_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::TeamFolder
Updates a single TeamFolder.
3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 |
# File 'lib/google/apis/dataform_v1/service.rb', line 3176 def patch_project_location_team_folder(name, team_folder_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::DataformV1::TeamFolder::Representation command.request_object = team_folder_object command.response_representation = Google::Apis::DataformV1::TeamFolder::Representation command.response_class = Google::Apis::DataformV1::TeamFolder 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::DataformV1::PullGitCommitsResponse
Pulls Git commits from the Repository's remote into a Workspace.
2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2591 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, 'v1/{+name}:pull', ) command.request_representation = Google::Apis::DataformV1::PullGitCommitsRequest::Representation command.request_object = pull_git_commits_request_object command.response_representation = Google::Apis::DataformV1::PullGitCommitsResponse::Representation command.response_class = Google::Apis::DataformV1::PullGitCommitsResponse 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::DataformV1::PushGitCommitsResponse
Pushes Git commits from a Workspace to the Repository's remote.
2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2624 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, 'v1/{+name}:push', ) command.request_representation = Google::Apis::DataformV1::PushGitCommitsRequest::Representation command.request_object = push_git_commits_request_object command.response_representation = Google::Apis::DataformV1::PushGitCommitsResponse::Representation command.response_class = Google::Apis::DataformV1::PushGitCommitsResponse 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_folder_folder_contents(folder, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::QueryFolderContentsResponse
Returns the contents of a given Folder.
548 549 550 551 552 553 554 555 556 557 558 559 560 |
# File 'lib/google/apis/dataform_v1/service.rb', line 548 def query_project_location_folder_folder_contents(folder, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+folder}:queryFolderContents', ) command.response_representation = Google::Apis::DataformV1::QueryFolderContentsResponse::Representation command.response_class = Google::Apis::DataformV1::QueryFolderContentsResponse command.params['folder'] = folder unless folder.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 |
#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::DataformV1::QueryCompilationResultActionsResponse
Returns CompilationResultActions in a given CompilationResult.
1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1515 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, 'v1/{+name}:query', ) command.response_representation = Google::Apis::DataformV1::QueryCompilationResultActionsResponse::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::QueryRepositoryDirectoryContentsResponse
Returns the contents of a given Repository directory. The Repository must not
have a value for git_remote_settings.url.
1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1239 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, 'v1/{+name}:queryDirectoryContents', ) command.response_representation = Google::Apis::DataformV1::QueryRepositoryDirectoryContentsResponse::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::QueryWorkflowInvocationActionsResponse
Returns WorkflowInvocationActions in a given WorkflowInvocation.
2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2100 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, 'v1/{+name}:query', ) command.response_representation = Google::Apis::DataformV1::QueryWorkflowInvocationActionsResponse::Representation command.response_class = Google::Apis::DataformV1::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, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::QueryDirectoryContentsResponse
Returns the contents of a given Workspace directory.
2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2672 def query_project_location_repository_workspace_directory_contents(workspace, page_size: nil, page_token: nil, path: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+workspace}:queryDirectoryContents', ) command.response_representation = Google::Apis::DataformV1::QueryDirectoryContentsResponse::Representation command.response_class = Google::Apis::DataformV1::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['view'] = view unless view.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_team_folder_contents(team_folder, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::QueryTeamFolderContentsResponse
Returns the contents of a given TeamFolder.
3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 |
# File 'lib/google/apis/dataform_v1/service.rb', line 3227 def query_project_location_team_folder_contents(team_folder, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+teamFolder}:queryContents', ) command.response_representation = Google::Apis::DataformV1::QueryTeamFolderContentsResponse::Representation command.response_class = Google::Apis::DataformV1::QueryTeamFolderContentsResponse command.params['teamFolder'] = team_folder unless team_folder.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 |
#query_project_location_user_root_contents(location, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::QueryUserRootContentsResponse
Returns the contents of a caller's root folder in a given location. The root folder contains all resources that are created by the user and not contained in any other folder.
211 212 213 214 215 216 217 218 219 220 221 222 223 |
# File 'lib/google/apis/dataform_v1/service.rb', line 211 def query_project_location_user_root_contents(location, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+location}:queryUserRootContents', ) command.response_representation = Google::Apis::DataformV1::QueryUserRootContentsResponse::Representation command.response_class = Google::Apis::DataformV1::QueryUserRootContentsResponse command.params['location'] = location unless location.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 |
#read_project_location_repository_file(name, commit_sha: nil, path: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::ReadRepositoryFileResponse
Returns the contents of a file (inside a Repository). The Repository must not
have a value for git_remote_settings.url.
1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1279 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, 'v1/{+name}:readFile', ) command.response_representation = Google::Apis::DataformV1::ReadRepositoryFileResponse::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::ReadFileResponse
Returns the contents of a file (inside a Workspace).
2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2712 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, 'v1/{+workspace}:readFile', ) command.response_representation = Google::Apis::DataformV1::ReadFileResponse::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::RemoveDirectoryResponse
Deletes a directory (inside a Workspace) and all of its contents.
2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2745 def remove_workspace_directory(workspace, remove_directory_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+workspace}:removeDirectory', ) command.request_representation = Google::Apis::DataformV1::RemoveDirectoryRequest::Representation command.request_object = remove_directory_request_object command.response_representation = Google::Apis::DataformV1::RemoveDirectoryResponse::Representation command.response_class = Google::Apis::DataformV1::RemoveDirectoryResponse 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::DataformV1::RemoveFileResponse
Deletes a file (inside a Workspace).
2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2778 def remove_workspace_file(workspace, remove_file_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+workspace}:removeFile', ) command.request_representation = Google::Apis::DataformV1::RemoveFileRequest::Representation command.request_object = remove_file_request_object command.response_representation = Google::Apis::DataformV1::RemoveFileResponse::Representation command.response_class = Google::Apis::DataformV1::RemoveFileResponse 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::DataformV1::ResetWorkspaceChangesResponse
Performs a Git reset for uncommitted files in a Workspace.
2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2811 def reset_workspace_changes(name, reset_workspace_changes_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:reset', ) command.request_representation = Google::Apis::DataformV1::ResetWorkspaceChangesRequest::Representation command.request_object = reset_workspace_changes_request_object command.response_representation = Google::Apis::DataformV1::ResetWorkspaceChangesResponse::Representation command.response_class = Google::Apis::DataformV1::ResetWorkspaceChangesResponse 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::DataformV1::SearchFilesResponse
Finds the contents of a given Workspace directory by filter.
2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2856 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, 'v1/{+workspace}:searchFiles', ) command.response_representation = Google::Apis::DataformV1::SearchFilesResponse::Representation command.response_class = Google::Apis::DataformV1::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 |
#search_project_location_team_folders(location, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::SearchTeamFoldersResponse
Returns all TeamFolders in a given location that the caller has access to and match the provided filter.
3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 |
# File 'lib/google/apis/dataform_v1/service.rb', line 3280 def search_project_location_team_folders(location, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+location}/teamFolders:search', ) command.response_representation = Google::Apis::DataformV1::SearchTeamFoldersResponse::Representation command.response_class = Google::Apis::DataformV1::SearchTeamFoldersResponse command.params['location'] = location unless location.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 |
#set_folder_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
587 588 589 590 591 592 593 594 595 596 597 |
# File 'lib/google/apis/dataform_v1/service.rb', line 587 def set_folder_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::DataformV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::DataformV1::Policy::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1316 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, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::DataformV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::DataformV1::Policy::Representation command.response_class = Google::Apis::DataformV1::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_team_folder_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 |
# File 'lib/google/apis/dataform_v1/service.rb', line 3319 def set_team_folder_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::DataformV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::DataformV1::Policy::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2894 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, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::DataformV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::DataformV1::Policy::Representation command.response_class = Google::Apis::DataformV1::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_folder_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::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.
626 627 628 629 630 631 632 633 634 635 636 |
# File 'lib/google/apis/dataform_v1/service.rb', line 626 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::DataformV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DataformV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::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.
1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 |
# File 'lib/google/apis/dataform_v1/service.rb', line 1355 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::DataformV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DataformV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::DataformV1::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_team_folder_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::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.
3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 |
# File 'lib/google/apis/dataform_v1/service.rb', line 3358 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::DataformV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DataformV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::DataformV1::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::DataformV1::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.
2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2933 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::DataformV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DataformV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::DataformV1::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 |
#update_project_location_config(name, config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::Config
Update default config for a given project and location. Note: This method
does not fully implement AIP/134. The wildcard
entry (*) is treated as a bad request, and when the field_mask is omitted,
the request is treated as a full update on all modifiable fields.
251 252 253 254 255 256 257 258 259 260 261 262 |
# File 'lib/google/apis/dataform_v1/service.rb', line 251 def update_project_location_config(name, config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::DataformV1::Config::Representation command.request_object = config_object command.response_representation = Google::Apis::DataformV1::Config::Representation command.response_class = Google::Apis::DataformV1::Config 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 |
#write_workspace_file(workspace, write_file_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DataformV1::WriteFileResponse
Writes to a file (inside a Workspace).
2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 |
# File 'lib/google/apis/dataform_v1/service.rb', line 2966 def write_workspace_file(workspace, write_file_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+workspace}:writeFile', ) command.request_representation = Google::Apis::DataformV1::WriteFileRequest::Representation command.request_object = write_file_request_object command.response_representation = Google::Apis::DataformV1::WriteFileResponse::Representation command.response_class = Google::Apis::DataformV1::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 |