完全限定名称

完全限定名称是区分大小写的全局唯一资源标识符,您可以将其用于 Dataplex 来引用 Google Cloud 资源和非 Google Cloud 资源。它们由一个前缀后跟用英文句点分隔的片段组成。长度上限为 4,000 个字符。

预定义格式

下表列出了从 Google Cloud 自动提取元数据时建议的预定义格式。

用反引号将包含预留字符(如冒号、点和空格)的段括起来。使用双反引号可在片段内指定反引号。

资源 形式
BigQuery
数据集 bigquery:{projectId}.{datasetId}
bigquery:{projectId}.{datasetId}.{tableId}
查看 bigquery:{projectId}.{datasetId}.{viewId}
模型 bigquery:{projectId}.{datasetId}.{modelId}
分片表 bigquery:sharded:{projectId}.{datasetId}.{tablePrefix}
例程 bigquery:routine:{projectId}.{datasetId}.{routineId}
Connection bigquery:connection:{projectId}.{location}.{connectionId}
Dataplex
数据湖 dataplex:{projectId}.{location}.{lakeId}
可用区 dataplex:{projectId}.{location}.{lakeId}.{zoneId}
dataplex:{projectId}.{location}.{lakeId}.{zoneId}.{tableId}
文件集 dataplex:{projectId}.{location}.{lakeId}.{zoneId}.{filesetId}
Dataproc Metastore
服务 dataproc_metastore:{projectId}.{location}.{instanceId}
数据库 dataproc_metastore:{projectId}.{location}.{instanceId}.{databaseId}
dataproc_metastore:{projectId}.{location}.{instanceId}.{databaseId}.{tableId}
Cloud Storage
存储桶 gcs:{bucketName}
路径 gcs:{bucketName}.{virtualPath}
Analytics Hub
交换 analytics_hub:{projectId}.{location}.{exchangeId}
清单 analytics_hub:{projectId}.{location}.{exchangeId}.{listingId}.
Spanner
实例 spanner:{projectId}.{instanceConfigId}.{instanceId}
数据库 spanner:{projectId}.{instanceConfigId}.{instanceId}.{databaseId}
spanner:{projectId}.{instanceConfigId}.{instanceId}.{databaseId}.{tableId}
查看 spanner:{projectId}.{instanceConfigId}.{instanceId}.{databaseId}.{viewId}
Bigtable
实例 bigtable:{projectId}.{instanceId}
bigtable:{projectId}.{instanceId}.{tableId}
Cloud SQL for MySQL
实例 cloudsql_mysql:{projectId}.{location}.{instanceId}
架构 cloudsql_mysql:{projectId}.{location}.{instanceId}.{schemaId}
cloudsql_mysql:{projectId}.{location}.{instanceId}.{schemaId}.{tableId}
Cloud SQL for PostgreSQL
实例 cloudsql_postgresql:{projectId}.{location}.{instanceId}
数据库 cloudsql_postgresql:{projectId}.{location}.{instanceId}.{databaseId}
架构 cloudsql_postgresql:{projectId}.{location}.{instanceId}.{databaseId}.{schemaId}
cloudsql_postgresql:{projectId}.{location}.{instanceId}.{databaseId}.{schemaId}.{tableId}
Looker
实例 looker:{instanceId}
信息中心 looker:dashboard:{instanceId}.{folderId}.{dashboardId}
探索 looker:explore:{instanceId}.{folderId}.{exploreId}
Look looker:look:{instanceId}.{folderId}.{lookId}
Vertex AI
模型 vertex_ai:model:{​​projectId}.{​​locationId}.{modelId}.{version}
数据集 vertex_ai:dataset:{​​projectId}.{​​locationId}.{datasetId}
FeatureGroup vertex_ai:featuregroup:{projectId}.{locationId}.{featureGroupId}.
FeatureOnlineStore vertex_ai:featureonlinestore:{projectId}.{locationId}.{featureOnlineStoreId}
FeatureView vertex_ai:featureonlinestore:{projectId}.{locationId}.{featureOnlineStoreId}.{FeatureViewId}
AWS S3
存储桶 s3:{bucket}
路径 s3:{bucket}.{virtualPath}
AWS Redshift
实例 redshift:{clusterId}.{region}.{port}
数据库 redshift:{clusterId}.{region}.{port}.{databaseId}
架构 redshift:{clusterId}.{region}.{port}.{databaseId}.{schemaId}
redshift:{clusterId}.{region}.{port}.{databaseId}.{schemaId}.{tableId}
AWS Athena
目录 athena:{catalogId}.{region}
数据库 athena:{catalogId}.{region}.{databaseId}
athena:{catalogId}.{region}.{databaseId}.{tableId}
Azure Blob Storage
账号 abs:{account}
容器 abs:{account}.{container}
路径 abs:{account}.{container}.{virtualPath}
Azure Cosmos DB
账号 cosmos-db:{accountName}
数据库 cosmos-db:{accountName}.{databaseId}
容器 cosmos-db:{accountName}.{databaseId}.{containerId}
Azure 数据浏览器
集群 kusto:{clusterName}.{region}
数据库 kusto:{clusterName}.{region}.{databaseId}
kusto:{clusterName}.{region}.{databaseId}.{tableId}
MySQL
实例 mysql:{dns}
架构 mysql:{dns}.{schemaId}
mysql:{dns}.{schemaId}.{tableId}
PostgreSQL
实例 postgresql:{dns}
数据库 postgresql:{dns}.{databaseId}
架构 postgresql:{dns}.{databaseId}.{schemaId}
postgresql:{dns}.{databaseId}.{schemaId}.{tableId}
Tableau
服务器 tableau:{dns}
网站 tableau:{dns}.{site}
项目 tableau:project:{dns}.{site}.{projectId}
数据源 tableau:datasource:{dns}.{site}.{projectId}.{datasourceId}
手册 tableau:workbook:{dns}.{site}.{projectId}.{workbookId}
工作表 tableau:sheet:{dns}.{site}.{projectId}.{workbookId}.{sheetId}
信息中心 tableau:dashboard:{dns}.{site}.{projectId}.{workbookId}.{dashboardId}
Apache Kafka
集群 kafka:{dns}
主题 kafka:{dns}.{topicId}
Apache Hive
实例 hive_metastore:{dns}
数据库 hive_metastore:{dns}.{database}
hive_metastore:{dns}.{database}.{table}
Oracle 数据库
实例 oracle:{dns}
数据库 oracle:{dns}.{databaseId}
架构 oracle:{dns}.{databaseId}.{schemaId}
oracle:{dns}.{databaseId}.{schemaId}.{tableId}
Microsoft SQL Server
实例 sqlserver:{dns}
数据库 sqlserver:{dns}.{databaseId}
架构 sqlserver:{dns}.{databaseId}.{schemaId}
sqlserver:{dns}.{databaseId}.{schemaId}.{tableId}
Apache Cassandra
集群 cassandra:{dns}
键空间 cassandra:{dns}.{keyspaceId}
cassandra:{dns}.{keyspaceId}.{tableId}
IBM Informix
实例 informix:{dns}
数据库 informix:{dns}.{databaseId}
架构 informix:{dns}.{databaseId}.{schemaId}
informix:{dns}.{databaseId}.{schemaId}.{tableId}
IBM DB2
实例 db2:{dns}
数据库 db2:{dns}.{databaseId}
架构 db2:{dns}.{databaseId}.{schemaId}
db2:{dns}.{databaseId}.{schemaId}.{tableId}
Trino
实例 trino:{dns}
目录 trino:{dns}.{catalogId}
架构 trino:{dns}.{catalogId}.{schemaId}
trino:{dns}.{catalogId}.{schemaId}.{tableId}
Snowflake
账号 snowflake:{accountName}
数据库 snowflake:{accountName}.{databaseId}
架构 snowflake:{accountName}.{databaseId}.{schemaId}
snowflake:{accountName}.{databaseId}.{schemaId}.{tableId}
Hadoop 分布式文件系统
实例 hdfs:{dns}
路径 hdfs:{dns}.{path}
Databricks 文件系统
实例 dbfs:{workspace}
路径 dbfs:{workspace}.{path}
通用文件系统
实例 filesystem:{dns}
路径 filesystem:{dns}.{path}
Salesforce
SObject salesforce:{environment}.{orgId}.{sobject}

自定义格式

您可以使用 custom: 前缀创建自定义完全限定名称格式。自定义格式未经过验证,可能与 Dataplex 功能不兼容。为了简化将来的迁移,请创建与预定义格式类似的自定义格式。