Skip to content

Commit

Permalink
feat(analyticsdata): update the API
Browse files Browse the repository at this point in the history
#### analyticsdata:v1beta

The following keys were added:
- schemas.PropertyQuota.properties.tokensPerProjectPerHour.$ref
- schemas.PropertyQuota.properties.tokensPerProjectPerHour.description

The following keys were changed:
- schemas.PropertyQuota.properties.tokensPerHour.description
  • Loading branch information
yoshi-automation authored and sofisl committed Sep 21, 2022
1 parent 7fc7f3b commit 9e17589
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions discovery/analyticsdata-v1beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@
}
}
},
"revision": "20220628",
"revision": "20220917",
"rootUrl": "https://analyticsdata.googleapis.com/",
"schemas": {
"ActiveMetricRestriction": {
Expand Down Expand Up @@ -1301,7 +1301,11 @@
},
"tokensPerHour": {
"$ref": "QuotaStatus",
"description": "Standard Analytics Properties can use up to 5,000 tokens per hour; Analytics 360 Properties can use 50,000 tokens per hour. An API request consumes a single number of tokens, and that number is deducted from both the hourly and daily quotas."
"description": "Standard Analytics Properties can use up to 5,000 tokens per hour; Analytics 360 Properties can use 50,000 tokens per hour. An API request consumes a single number of tokens, and that number is deducted from all of the hourly, daily, and per project hourly quotas."
},
"tokensPerProjectPerHour": {
"$ref": "QuotaStatus",
"description": "Analytics Properties can use up to 25% of their tokens per project per hour. This amounts to standard Analytics Properties can use up to 1,250 tokens per project per hour, and Analytics 360 Properties can use 12,500 tokens per project per hour. An API request consumes a single number of tokens, and that number is deducted from all of the hourly, daily, and per project hourly quotas."
}
},
"type": "object"
Expand Down
2 changes: 1 addition & 1 deletion src/apis/analyticsdata/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"webpack": "webpack"
},
"dependencies": {
"googleapis-common": "^5.0.1"
"googleapis-common": "^6.0.3"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.8.10",
Expand Down
6 changes: 5 additions & 1 deletion src/apis/analyticsdata/v1beta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -779,9 +779,13 @@ export namespace analyticsdata_v1beta {
*/
tokensPerDay?: Schema$QuotaStatus;
/**
* Standard Analytics Properties can use up to 5,000 tokens per hour; Analytics 360 Properties can use 50,000 tokens per hour. An API request consumes a single number of tokens, and that number is deducted from both the hourly and daily quotas.
* Standard Analytics Properties can use up to 5,000 tokens per hour; Analytics 360 Properties can use 50,000 tokens per hour. An API request consumes a single number of tokens, and that number is deducted from all of the hourly, daily, and per project hourly quotas.
*/
tokensPerHour?: Schema$QuotaStatus;
/**
* Analytics Properties can use up to 25% of their tokens per project per hour. This amounts to standard Analytics Properties can use up to 1,250 tokens per project per hour, and Analytics 360 Properties can use 12,500 tokens per project per hour. An API request consumes a single number of tokens, and that number is deducted from all of the hourly, daily, and per project hourly quotas.
*/
tokensPerProjectPerHour?: Schema$QuotaStatus;
}
/**
* Current state for a particular quota group.
Expand Down

0 comments on commit 9e17589

Please sign in to comment.