gooddata_sdk.catalog.workspace.service.CatalogWorkspaceService
- class gooddata_sdk.catalog.workspace.service.CatalogWorkspaceService(api_client: gooddata_sdk.client.GoodDataApiClient)
Bases:
gooddata_sdk.catalog.catalog_service_base.CatalogServiceBase
- __init__(api_client: gooddata_sdk.client.GoodDataApiClient) None
Methods
__init__
(api_client)create_or_update
(workspace)delete_workspace
(workspace_id)This method is implemented according to our implementation of delete workspace, which returns HTTP 204 no matter if the workspace_id exists.
get_declarative_workspace
(workspace_id)get_declarative_workspaces
()get_organization
()get_workspace
(workspace_id)Gets workspace content and returns it as CatalogWorkspace object.
layout_organization_folder
(layout_root_path)list_workspaces
()load_and_put_declarative_workspaces
([...])load_declarative_workspaces
([layout_root_path])put_declarative_workspace
(workspace_id, ...)put_declarative_workspaces
(workspace)store_declarative_workspaces
([layout_root_path])Attributes
organization_id
- delete_workspace(workspace_id: str) None
This method is implemented according to our implementation of delete workspace, which returns HTTP 204 no matter if the workspace_id exists.
- get_workspace(workspace_id: str) gooddata_sdk.catalog.workspace.entity_model.workspace.CatalogWorkspace
Gets workspace content and returns it as CatalogWorkspace object. :param workspace_id: An input string parameter of workspace id. :return: CatalogWorkspace object containing structure of workspace.