试用 Google Analytics 的 MCP 服务器。从
GitHub 安装,并参阅
公告了解详情。
REST Resource: properties.bigQueryLinks
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:BigQueryLink
Google Analytics 媒体资源与 BigQuery 项目之间的关联。
JSON 表示法 |
{
"name": string,
"project": string,
"createTime": string,
"dailyExportEnabled": boolean,
"streamingExportEnabled": boolean,
"freshDailyExportEnabled": boolean,
"includeAdvertisingId": boolean,
"exportStreams": [
string
],
"excludedEvents": [
string
],
"datasetLocation": string
} |
字段 |
name |
string
仅限输出。此 BigQuery 关联的资源名称。格式:“properties/{property_id}/bigQueryLinks/{bigquery_link_id}”格式:“properties/1234/bigQueryLinks/abc567”
|
project |
string
不可变。关联的 Google Cloud 项目。创建 BigQueryLink 时,您可以使用项目编号或项目 ID 提供此资源名称。创建此资源后,返回的项目始终包含项目编号。格式:“projects/{project number}”示例:“projects/1234”
|
createTime |
string (Timestamp format)
仅限输出。关联的建立时间。 采用 RFC 3339 标准,生成的输出将始终在末尾带 Z,并使用 0、3、6 或 9 个小数位。不带“Z”的偏差时间也是可以接受的。示例:"2014-10-02T15:01:23Z" 、"2014-10-02T15:01:23.045123456Z" 或 "2014-10-02T15:01:23+05:30" 。
|
dailyExportEnabled |
boolean
如果设置为 true,则会启用将数据每日导出到关联的 Google Cloud 项目的功能。
|
streamingExportEnabled |
boolean
如果设置为 true,则会启用对关联的 Google Cloud 项目进行流式导出。
|
freshDailyExportEnabled |
boolean
如果设置为 true,则会每天向关联的 Google Cloud 项目导出最新数据。
|
includeAdvertisingId |
boolean
如果设置为 true,导出的数据将包含移动应用数据流的广告标识符。
|
exportStreams[] |
string
要导出数据的父媒体资源下的流列表。格式:properties/{property_id}/dataStreams/{stream_id} 示例:['properties/1000/dataStreams/2000']
|
excludedEvents[] |
string
要从导出内容中排除的事件名称的列表。
|
datasetLocation |
string
必需。不可变。创建的 BigQuery 数据集应位于的地理位置。如需了解受支持的位置,请参阅 https://cloud.google.com/bigquery/docs/locations。
|
方法 |
|
创建 BigQueryLink。 |
|
删除媒体资源的 BigQueryLink。 |
|
查找单个 BigQuery 关联。 |
|
列出媒体资源的 BigQuery 关联。 |
|
更新 BigQueryLink。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eBigQueryLink connects a Google Analytics 4 property to a BigQuery project for data export.\u003c/p\u003e\n"],["\u003cp\u003eIt supports daily, streaming, and fresh daily exports, with options to include advertising IDs and exclude specific events.\u003c/p\u003e\n"],["\u003cp\u003eData is exported to a BigQuery dataset in a specified geographic location.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage BigQueryLinks using methods to create, delete, get, list, and update them.\u003c/p\u003e\n"]]],["A BigQueryLink connects a Google Analytics property to a BigQuery project. Key actions include creating, deleting, getting, listing, and updating these links. The link configuration includes enabling daily, streaming, and fresh daily exports, specifying which data streams to export, and excluding specific events. It also involves setting the dataset location and deciding whether to include advertising identifiers. The link's name, linked project, and creation time are also tracked.\n"],null,["# REST Resource: properties.bigQueryLinks\n\n- [Resource: BigQueryLink](#BigQueryLink)\n - [JSON representation](#BigQueryLink.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: BigQueryLink\n----------------------\n\nA link between a Google Analytics property and BigQuery project.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"project\": string, \"createTime\": string, \"dailyExportEnabled\": boolean, \"streamingExportEnabled\": boolean, \"freshDailyExportEnabled\": boolean, \"includeAdvertisingId\": boolean, \"exportStreams\": [ string ], \"excludedEvents\": [ string ], \"datasetLocation\": string } ``` |\n\n| Fields ||\n|---------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. Resource name of this BigQuery link. Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}' Format: 'properties/1234/bigQueryLinks/abc567' |\n| `project` | `string` Immutable. The linked Google Cloud project. When creating a BigQueryLink, you may provide this resource name using either a project number or project ID. Once this resource has been created, the returned project will always have a project that contains a project number. Format: 'projects/{project number}' Example: 'projects/1234' |\n| `createTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Output only. Time when the link was created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n| `dailyExportEnabled` | `boolean` If set true, enables daily data export to the linked Google Cloud project. |\n| `streamingExportEnabled` | `boolean` If set true, enables streaming export to the linked Google Cloud project. |\n| `freshDailyExportEnabled` | `boolean` If set true, enables fresh daily export to the linked Google Cloud project. |\n| `includeAdvertisingId` | `boolean` If set true, exported data will include advertising identifiers for mobile app streams. |\n| `exportStreams[]` | `string` The list of streams under the parent property for which data will be exported. Format: properties/{property_id}/dataStreams/{stream_id} Example: \\['properties/1000/dataStreams/2000'\\] |\n| `excludedEvents[]` | `string` The list of event names that will be excluded from exports. |\n| `datasetLocation` | `string` Required. Immutable. The geographic location where the created BigQuery dataset should reside. See \u003chttps://cloud.google.com/bigquery/docs/locations\u003e for supported locations. |\n\n| Methods ------- ||\n|-------------------------------------------------------------------------------------------------|---------------------------------------|\n| ### [create](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.bigQueryLinks/create) | Creates a BigQueryLink. |\n| ### [delete](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.bigQueryLinks/delete) | Deletes a BigQueryLink on a property. |\n| ### [get](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.bigQueryLinks/get) | Lookup for a single BigQuery Link. |\n| ### [list](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.bigQueryLinks/list) | Lists BigQuery Links on a property. |\n| ### [patch](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.bigQueryLinks/patch) | Updates a BigQueryLink. |"]]