Method: properties.getPropertyQuotasSnapshot
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
获取给定媒体资源按配额类别划分的所有配额。这会从配额最多的类别中扣除 1 个房源配额。
HTTP 请求
GET https://analyticsdata.googleapis.com/v1alpha/{name=properties/*/propertyQuotasSnapshot}
网址采用 gRPC 转码语法。
路径参数
参数 |
name |
string
必需。响应中会列出此媒体资源的配额。格式:properties/{property}/propertyQuotasSnapshot
|
响应正文
按配额类别整理的所有媒体资源配额的当前状态。
如果成功,响应正文将包含结构如下的数据:
字段 |
name |
string
标识符。媒体资源配额快照资源名称。
|
corePropertyQuota |
object (PropertyQuota )
核心媒体资源令牌的媒体资源配额
|
realtimePropertyQuota |
object (PropertyQuota )
实时媒体资源令牌的媒体资源配额
|
funnelPropertyQuota |
object (PropertyQuota )
漏斗媒体资源令牌的媒体资源配额
|
授权范围
需要以下 OAuth 范围之一:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-22。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2024-11-22。"],[[["Retrieves property quota information for a given Google Analytics 4 property, organized by quota category (core, realtime, funnel)."],["Uses an HTTP GET request with the property ID specified in the URL path."],["Returns a JSON response containing the current state of all property quotas, including their respective remaining tokens."],["Requires authorization with either \"analytics.readonly\" or \"analytics\" scope."],["This action consumes 1 property quota from the category with the most remaining quota upon execution."]]],[]]