From 7fc7f3bfe3bcad5d2277d867982e75d86093f44e Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Wed, 21 Sep 2022 01:47:48 +0000 Subject: [PATCH] feat(analyticsadmin): update the API #### analyticsadmin:v1alpha The following keys were added: - schemas.GoogleAnalyticsAdminV1alphaAccessQuota.properties.tokensPerProjectPerHour.$ref - schemas.GoogleAnalyticsAdminV1alphaAccessQuota.properties.tokensPerProjectPerHour.description The following keys were changed: - schemas.GoogleAnalyticsAdminV1alphaAccessQuota.properties.tokensPerHour.description --- discovery/analyticsadmin-v1alpha.json | 8 ++++++-- src/apis/analyticsadmin/package.json | 2 +- src/apis/analyticsadmin/v1alpha.ts | 6 +++++- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/discovery/analyticsadmin-v1alpha.json b/discovery/analyticsadmin-v1alpha.json index 8f4b9e1037..d474cd974e 100644 --- a/discovery/analyticsadmin-v1alpha.json +++ b/discovery/analyticsadmin-v1alpha.json @@ -2802,7 +2802,7 @@ } } }, - "revision": "20220817", + "revision": "20220920", "rootUrl": "https://analyticsadmin.googleapis.com/", "schemas": { "GoogleAnalyticsAdminV1alphaAccessBetweenFilter": { @@ -3089,7 +3089,11 @@ }, "tokensPerHour": { "$ref": "GoogleAnalyticsAdminV1alphaAccessQuotaStatus", - "description": "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": "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": "GoogleAnalyticsAdminV1alphaAccessQuotaStatus", + "description": "Properties can use up to 25% of their tokens per project per hour. This amounts to 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" diff --git a/src/apis/analyticsadmin/package.json b/src/apis/analyticsadmin/package.json index e1a1dd72e6..f284f64d36 100644 --- a/src/apis/analyticsadmin/package.json +++ b/src/apis/analyticsadmin/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^5.0.1" + "googleapis-common": "^6.0.3" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/analyticsadmin/v1alpha.ts b/src/apis/analyticsadmin/v1alpha.ts index b7cc55cea9..bc03ad74ec 100644 --- a/src/apis/analyticsadmin/v1alpha.ts +++ b/src/apis/analyticsadmin/v1alpha.ts @@ -345,9 +345,13 @@ export namespace analyticsadmin_v1alpha { */ tokensPerDay?: Schema$GoogleAnalyticsAdminV1alphaAccessQuotaStatus; /** - * 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. + * 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$GoogleAnalyticsAdminV1alphaAccessQuotaStatus; + /** + * Properties can use up to 25% of their tokens per project per hour. This amounts to 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$GoogleAnalyticsAdminV1alphaAccessQuotaStatus; } /** * Current state for a particular quota group.