管理环境
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本文档介绍如何管理使用 Dataplex 中的数据探索功能所需的环境。
准备工作
按照“探索您的数据”的“准备工作”部分中的步骤操作。
在默认环境中启用或停用快速启动功能
您可以在默认环境中启用和停用快速会话启动功能。
在默认环境中启用快速会话启动:
gcloud
gcloud dataplex environments update default --project=PROJECT_ID --lake=LAKE_ID --location=LOCATION --session-enable-fast-startup
在默认环境中停用快速会话启动:
gcloud
gcloud dataplex environments update default --project=PROJECT_ID --lake=LAKE_ID --location=LOCATION --no-session-enable-fast-startup
修改环境
在 Google Cloud 控制台中,转到 Dataplex 页面:
进入 Dataplex
进入管理视图。
选择要修改环境的 Dataplex 数据湖。
点击环境 (Environments) 标签页。
在环境 ID 列中,点击您要修改的环境。
点击修改按钮。
向环境授予查询执行权限
如需运行查询,您必须获得环境的 Developer 角色。
gcloud
gcloud dataplex environments add-iam-policy-binding ENVIRONMENT_NAME --project PROJECT_ID --lake LAKE_ID --location LOCATION --member="user:USER" --role="roles/dataplex.developer"
后续步骤
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-02-10。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]