Method: properties.calculatedMetrics.delete
删除媒体资源的 CalculatedMetric。
HTTP 请求
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/calculatedMetrics/*}
网址采用 gRPC 转码语法。
路径参数
参数 |
name |
string
必需。要删除的 CalculatedMetric 的名称。格式:properties/{property_id}/calculatedMetrics/{calculatedMetricId} 示例:properties/1234/calculatedMetrics/Metric01
|
响应正文
如果成功,响应正文将为空的 JSON 对象。
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/analytics.edit
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-01-14。
[null,null,["最后更新时间 (UTC):2025-01-14。"],[[["Deletes a specific CalculatedMetric associated with a Google Analytics 4 property."],["Requires specifying the property and CalculatedMetric IDs in the request URL path."],["Employs an HTTP DELETE request with an empty body, signifying data removal intention."],["Successful deletion results in an empty response body, confirming action completion."],["Needs authorization with the 'analytics.edit' scope for permission to modify property data."]]],[]]