From d118c6b2fdb1cbce7ecfc21ae47c965263c95f13 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 19 Mar 2024 07:08:19 +0000 Subject: [PATCH] feat(content): update the api #### content:v2.1 The following keys were added: - schemas.MethodQuota.properties.method.readOnly (Total Keys: 1) - schemas.MethodQuota.properties.quotaLimit.readOnly (Total Keys: 1) - schemas.MethodQuota.properties.quotaMinuteLimit (Total Keys: 3) - schemas.MethodQuota.properties.quotaUsage.readOnly (Total Keys: 1) --- docs/dyn/content_v2_1.quotas.html | 7 ++++--- docs/dyn/content_v2_1.reports.html | 2 +- .../documents/content.v2.1.json | 21 +++++++++++++------ 3 files changed, 20 insertions(+), 10 deletions(-) diff --git a/docs/dyn/content_v2_1.quotas.html b/docs/dyn/content_v2_1.quotas.html index c7624a97651..4aaf23dc462 100644 --- a/docs/dyn/content_v2_1.quotas.html +++ b/docs/dyn/content_v2_1.quotas.html @@ -108,9 +108,10 @@

Method Details

{ # Response message for the ListMethodQuotas method. "methodQuotas": [ # The current quota usage and limits per each method. { # The quota information per method in the Content API. - "method": "A String", # The method name, for example `products.list`. Method name does not contain version because quota can be shared between different API versions of the same method. - "quotaLimit": "A String", # The current quota limit per day, meaning the maximum number of calls for the method. - "quotaUsage": "A String", # The current quota usage, meaning the number of calls already made to the method. + "method": "A String", # Output only. The method name, for example `products.list`. Method name does not contain version because quota can be shared between different API versions of the same method. + "quotaLimit": "A String", # Output only. The maximum number of calls allowed per day for the method. + "quotaMinuteLimit": "A String", # Output only. The maximum number of calls allowed per minute for the method. + "quotaUsage": "A String", # Output only. The current quota usage, meaning the number of calls already made to the method per day. Usage is reset every day at 12 PM midday UTC. }, ], "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. diff --git a/docs/dyn/content_v2_1.reports.html b/docs/dyn/content_v2_1.reports.html index cf8dac12086..8472d9e8a29 100644 --- a/docs/dyn/content_v2_1.reports.html +++ b/docs/dyn/content_v2_1.reports.html @@ -299,7 +299,7 @@

Method Details

"year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. }, }, - "topicTrends": { # Topic trends fields requested by the merchant in the query. Field values are only set if the merchant queries `TopicTrendsView`. # Topic trends fields requested by the merchant in the query. Field values are only set if the merchant queries `TopicTrendsView`. https://support.google.com/merchants/answer/13542370. + "topicTrends": { # Topic trends fields requested by the merchant in the query. Field values are only set if the merchant queries `TopicTrendsView`. Forecast data can be queried up to 13 weeks by passing a future date in the `date` field. Historical data is measured daily, and forecasted data is projected weekly. All data points are normalized based on the highest data points returned in the response. If you make separate queries with different date ranges, you might see different values for the same date in each response. The recommended way to get a trend score of a topic is `last7_days_search_interest / last{$day}_days_search_interest - 1`. You can view trends for up to eight topics at a time. # [Topic trends](https://support.google.com/merchants/answer/13542370) fields requested by the merchant in the query. Field values are only set if the merchant queries `TopicTrendsView`. "customerCountryCode": "A String", # Country trends are calculated for. Must be a two-letter country code (ISO 3166-1-alpha-2 code), for example, `“US”`. "date": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date the trend score was retrieved. "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. diff --git a/googleapiclient/discovery_cache/documents/content.v2.1.json b/googleapiclient/discovery_cache/documents/content.v2.1.json index f4bd0eee85c..8c4e251b707 100644 --- a/googleapiclient/discovery_cache/documents/content.v2.1.json +++ b/googleapiclient/discovery_cache/documents/content.v2.1.json @@ -6186,7 +6186,7 @@ } } }, -"revision": "20240310", +"revision": "20240317", "rootUrl": "https://shoppingcontent.googleapis.com/", "schemas": { "Account": { @@ -10629,17 +10629,26 @@ false "id": "MethodQuota", "properties": { "method": { -"description": "The method name, for example `products.list`. Method name does not contain version because quota can be shared between different API versions of the same method.", +"description": "Output only. The method name, for example `products.list`. Method name does not contain version because quota can be shared between different API versions of the same method.", +"readOnly": true, "type": "string" }, "quotaLimit": { -"description": "The current quota limit per day, meaning the maximum number of calls for the method.", +"description": "Output only. The maximum number of calls allowed per day for the method.", "format": "int64", +"readOnly": true, +"type": "string" +}, +"quotaMinuteLimit": { +"description": "Output only. The maximum number of calls allowed per minute for the method.", +"format": "int64", +"readOnly": true, "type": "string" }, "quotaUsage": { -"description": "The current quota usage, meaning the number of calls already made to the method.", +"description": "Output only. The current quota usage, meaning the number of calls already made to the method per day. Usage is reset every day at 12 PM midday UTC.", "format": "int64", +"readOnly": true, "type": "string" } }, @@ -16183,7 +16192,7 @@ false }, "topicTrends": { "$ref": "TopicTrends", -"description": "Topic trends fields requested by the merchant in the query. Field values are only set if the merchant queries `TopicTrendsView`. https://support.google.com/merchants/answer/13542370." +"description": "[Topic trends](https://support.google.com/merchants/answer/13542370) fields requested by the merchant in the query. Field values are only set if the merchant queries `TopicTrendsView`." } }, "type": "object" @@ -18059,7 +18068,7 @@ false "type": "object" }, "TopicTrends": { -"description": "Topic trends fields requested by the merchant in the query. Field values are only set if the merchant queries `TopicTrendsView`.", +"description": "Topic trends fields requested by the merchant in the query. Field values are only set if the merchant queries `TopicTrendsView`. Forecast data can be queried up to 13 weeks by passing a future date in the `date` field. Historical data is measured daily, and forecasted data is projected weekly. All data points are normalized based on the highest data points returned in the response. If you make separate queries with different date ranges, you might see different values for the same date in each response. The recommended way to get a trend score of a topic is `last7_days_search_interest / last{$day}_days_search_interest - 1`. You can view trends for up to eight topics at a time.", "id": "TopicTrends", "properties": { "customerCountryCode": {