|
4455 | 4455 | "promotions": {
|
4456 | 4456 | "methods": {
|
4457 | 4457 | "create": {
|
4458 |
| - "description": "Inserts a promotion for your Merchant Center account. If the promotion already exists, then it updates the promotion instead.", |
| 4458 | + "description": "Inserts a promotion for your Merchant Center account. If the promotion already exists, then it updates the promotion instead. To [end or delete] (https://developers.google.com/shopping-content/guides/promotions#end_a_promotion) a promotion update the time period of the promotion to a time that has already passed.", |
4459 | 4459 | "flatPath": "{merchantId}/promotions",
|
4460 | 4460 | "httpMethod": "POST",
|
4461 | 4461 | "id": "content.promotions.create",
|
|
4573 | 4573 | }
|
4574 | 4574 | }
|
4575 | 4575 | },
|
| 4576 | + "quotas": { |
| 4577 | + "methods": { |
| 4578 | + "list": { |
| 4579 | + "description": "Lists the quota limit and quota usage per method for your Merchant Center account.", |
| 4580 | + "flatPath": "{merchantId}/quotas", |
| 4581 | + "httpMethod": "GET", |
| 4582 | + "id": "content.quotas.list", |
| 4583 | + "parameterOrder": [ |
| 4584 | + "merchantId" |
| 4585 | + ], |
| 4586 | + "parameters": { |
| 4587 | + "merchantId": { |
| 4588 | + "description": "Required. The ID of the account that has quota. This account must be an admin.", |
| 4589 | + "format": "int64", |
| 4590 | + "location": "path", |
| 4591 | + "required": true, |
| 4592 | + "type": "string" |
| 4593 | + }, |
| 4594 | + "pageSize": { |
| 4595 | + "description": "The maximum number of quotas to return in the response, used for paging. Defaults to 500; values above 1000 will be coerced to 1000.", |
| 4596 | + "format": "int32", |
| 4597 | + "location": "query", |
| 4598 | + "type": "integer" |
| 4599 | + }, |
| 4600 | + "pageToken": { |
| 4601 | + "description": "Token (if provided) to retrieve the subsequent page. All other parameters must match the original call that provided the page token.", |
| 4602 | + "location": "query", |
| 4603 | + "type": "string" |
| 4604 | + } |
| 4605 | + }, |
| 4606 | + "path": "{merchantId}/quotas", |
| 4607 | + "response": { |
| 4608 | + "$ref": "ListMethodQuotasResponse" |
| 4609 | + }, |
| 4610 | + "scopes": [ |
| 4611 | + "https://www.googleapis.com/auth/content" |
| 4612 | + ] |
| 4613 | + } |
| 4614 | + } |
| 4615 | + }, |
4576 | 4616 | "regionalinventory": {
|
4577 | 4617 | "methods": {
|
4578 | 4618 | "custombatch": {
|
|
5908 | 5948 | }
|
5909 | 5949 | }
|
5910 | 5950 | },
|
5911 |
| - "revision": "20221013", |
| 5951 | + "revision": "20221024", |
5912 | 5952 | "rootUrl": "https://shoppingcontent.googleapis.com/",
|
5913 | 5953 | "schemas": {
|
5914 | 5954 | "Account": {
|
|
9126 | 9166 | },
|
9127 | 9167 | "type": "object"
|
9128 | 9168 | },
|
| 9169 | + "ListMethodQuotasResponse": { |
| 9170 | + "description": "Response message for the ListMethodQuotas method.", |
| 9171 | + "id": "ListMethodQuotasResponse", |
| 9172 | + "properties": { |
| 9173 | + "methodQuotas": { |
| 9174 | + "description": "The current quota usage and limits per each method.", |
| 9175 | + "items": { |
| 9176 | + "$ref": "MethodQuota" |
| 9177 | + }, |
| 9178 | + "type": "array" |
| 9179 | + }, |
| 9180 | + "nextPageToken": { |
| 9181 | + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", |
| 9182 | + "type": "string" |
| 9183 | + } |
| 9184 | + }, |
| 9185 | + "type": "object" |
| 9186 | + }, |
9129 | 9187 | "ListRegionsResponse": {
|
9130 | 9188 | "description": "Response message for the `ListRegions` method.",
|
9131 | 9189 | "id": "ListRegionsResponse",
|
|
9487 | 9545 | },
|
9488 | 9546 | "type": "object"
|
9489 | 9547 | },
|
| 9548 | + "MethodQuota": { |
| 9549 | + "description": "The quota information per method in the Content API.", |
| 9550 | + "id": "MethodQuota", |
| 9551 | + "properties": { |
| 9552 | + "method": { |
| 9553 | + "description": "The method name, for example \u201cproducts.list\u201d. Method name does not contain version because quota can be shared between different API versions of the same method.", |
| 9554 | + "type": "string" |
| 9555 | + }, |
| 9556 | + "quotaLimit": { |
| 9557 | + "description": "The current quota limit, for example the maximum number of calls for the method.", |
| 9558 | + "format": "int64", |
| 9559 | + "type": "string" |
| 9560 | + }, |
| 9561 | + "quotaUsage": { |
| 9562 | + "description": "The current quota usage, for example the number of calls for the method.", |
| 9563 | + "format": "int64", |
| 9564 | + "type": "string" |
| 9565 | + } |
| 9566 | + }, |
| 9567 | + "type": "object" |
| 9568 | + }, |
9490 | 9569 | "Metrics": {
|
9491 | 9570 | "description": "Performance metrics. Values are only set for metrics requested explicitly in the request's search query.",
|
9492 | 9571 | "id": "Metrics",
|
|
13298 | 13377 | "type": "object"
|
13299 | 13378 | },
|
13300 | 13379 | "ProductView": {
|
13301 |
| - "description": "Product fields. Values are only set for fields requested explicitly in the request's search query.", |
| 13380 | + "description": "Product fields. Values are only set for fields requested explicitly in the request's search query. Available only to selected merchants. Submit the [interest form](https://forms.gle/7Uy8htzAN8oNokz9A) to request access.", |
13302 | 13381 | "id": "ProductView",
|
13303 | 13382 | "properties": {
|
13304 | 13383 | "aggregatedDestinationStatus": {
|
|
14281 | 14360 | },
|
14282 | 14361 | "productView": {
|
14283 | 14362 | "$ref": "ProductView",
|
14284 |
| - "description": "Product fields requested by the merchant in the query. Field values are only set if the merchant queries `ProductView`. `product_view` field is available only to allowlisted users who can query the `ProductView` table." |
| 14363 | + "description": "Product fields requested by the merchant in the query. Field values are only set if the merchant queries `ProductView`. Available only to selected merchants. Submit the [interest form](https://forms.gle/7Uy8htzAN8oNokz9A) to request access." |
14285 | 14364 | },
|
14286 | 14365 | "segments": {
|
14287 | 14366 | "$ref": "Segments",
|
|
0 commit comments