管理环境
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本文档介绍如何管理在 Dataplex 中使用数据探索功能所需的环境。
准备工作
按照探索您的数据的“准备工作”部分中的步骤操作。
在默认环境中启用或停用快速启动
您可以在默认环境中启用和停用快速会话启动。
更新默认环境以启用快速会话启动:
gcloud
gcloud dataplex environments update default --project=PROJECT_ID --lake=LAKE_ID --location=REGION --session-enable-fast-startup
更新默认环境以停用快速会话启动:
gcloud
gcloud dataplex environments update default --project=PROJECT_ID --lake=LAKE_ID</var> --location=REGION --no-session-enable-fast-startup
修改环境
在 Google Cloud 控制台中,转到 Dataplex 页面:
转到 Dataplex
转到管理视图。
选择您想要修改环境的 Dataplex 数据湖。
点击环境 (Environments) 标签页。
在环境 ID 列中,点击要修改的环境。
点击修改按钮。
向环境授予查询执行权限
如需运行查询,您必须获得环境中的 Developer 角色。
gcloud
gcloud dataplex environments add-iam-policy-binding ENV_NAME --project <P> --lake <L> --location <L> --member="user:USER" --role="roles/dataplex.developer"
后续步骤
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-06-15。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"很难理解"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"信息或示例代码不正确"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"没有我需要的信息/示例"
},{
"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":"其他"
}]