Skip to content

Commit

Permalink
feat(content): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Mar 19, 2024
1 parent 8f58e90 commit d118c6b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 10 deletions.
7 changes: 4 additions & 3 deletions docs/dyn/content_v2_1.quotas.html
Expand Up @@ -108,9 +108,10 @@ <h3>Method Details</h3>
{ # Response message for the ListMethodQuotas method.
&quot;methodQuotas&quot;: [ # The current quota usage and limits per each method.
{ # The quota information per method in the Content API.
&quot;method&quot;: &quot;A String&quot;, # 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.
&quot;quotaLimit&quot;: &quot;A String&quot;, # The current quota limit per day, meaning the maximum number of calls for the method.
&quot;quotaUsage&quot;: &quot;A String&quot;, # The current quota usage, meaning the number of calls already made to the method.
&quot;method&quot;: &quot;A String&quot;, # 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.
&quot;quotaLimit&quot;: &quot;A String&quot;, # Output only. The maximum number of calls allowed per day for the method.
&quot;quotaMinuteLimit&quot;: &quot;A String&quot;, # Output only. The maximum number of calls allowed per minute for the method.
&quot;quotaUsage&quot;: &quot;A String&quot;, # 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.
},
],
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
Expand Down
2 changes: 1 addition & 1 deletion docs/dyn/content_v2_1.reports.html
Expand Up @@ -299,7 +299,7 @@ <h3>Method Details</h3>
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
},
&quot;topicTrends&quot;: { # 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.
&quot;topicTrends&quot;: { # 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`.
&quot;customerCountryCode&quot;: &quot;A String&quot;, # Country trends are calculated for. Must be a two-letter country code (ISO 3166-1-alpha-2 code), for example, `鈥淯S鈥漙.
&quot;date&quot;: { # 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.
&quot;day&quot;: 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&#x27;t significant.
Expand Down
21 changes: 15 additions & 6 deletions googleapiclient/discovery_cache/documents/content.v2.1.json
Expand Up @@ -6186,7 +6186,7 @@
}
}
},
"revision": "20240310",
"revision": "20240317",
"rootUrl": "https://shoppingcontent.googleapis.com/",
"schemas": {
"Account": {
Expand Down Expand Up @@ -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"
}
},
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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": {
Expand Down

0 comments on commit d118c6b

Please sign in to comment.