Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: discovery/googleapis/content__v2.json

Issue 1797933002: Api-roll 33: 2016-03-14 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Added resources/*/CHANGELOG.md, addresssed comments Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « discovery/googleapis/compute__v1.json ('k') | discovery/googleapis/content__v2sandbox.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/content": { 5 "https://www.googleapis.com/auth/content": {
6 "description": "Manage your product listings and accounts fo r Google Shopping" 6 "description": "Manage your product listings and accounts fo r Google Shopping"
7 } 7 }
8 } 8 }
9 } 9 }
10 }, 10 },
11 "basePath": "/content/v2/", 11 "basePath": "/content/v2/",
12 "baseUrl": "https://www.googleapis.com/content/v2/", 12 "baseUrl": "https://www.googleapis.com/content/v2/",
13 "batchPath": "batch", 13 "batchPath": "batch",
14 "canonicalName": "Shopping Content", 14 "canonicalName": "Shopping Content",
15 "description": "Manage product items, inventory, and Merchant Center account s for Google Shopping.", 15 "description": "Manages product items, inventory, and Merchant Center accoun ts for Google Shopping.",
16 "discoveryVersion": "v1", 16 "discoveryVersion": "v1",
17 "documentationLink": "https://developers.google.com/shopping-content", 17 "documentationLink": "https://developers.google.com/shopping-content",
18 "etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/WzxFI4GBYGkZGJCfKJi51ODdQOI\"", 18 "etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/YGOQd0tLCfNDIe7OT94IG7yPk3g\"",
19 "icons": { 19 "icons": {
20 "x16": "http://www.google.com/images/icons/product/search-16.gif", 20 "x16": "http://www.google.com/images/icons/product/search-16.gif",
21 "x32": "http://www.google.com/images/icons/product/search-32.gif" 21 "x32": "http://www.google.com/images/icons/product/search-32.gif"
22 }, 22 },
23 "id": "content:v2", 23 "id": "content:v2",
24 "kind": "discovery#restDescription", 24 "kind": "discovery#restDescription",
25 "name": "content", 25 "name": "content",
26 "ownerDomain": "google.com", 26 "ownerDomain": "google.com",
27 "ownerName": "Google", 27 "ownerName": "Google",
28 "parameters": { 28 "parameters": {
(...skipping 1361 matching lines...) Expand 10 before | Expand all | Expand 10 after
1390 "description": "The ID of the managing account.", 1390 "description": "The ID of the managing account.",
1391 "format": "uint64", 1391 "format": "uint64",
1392 "location": "path", 1392 "location": "path",
1393 "required": true, 1393 "required": true,
1394 "type": "string" 1394 "type": "string"
1395 }, 1395 },
1396 "templateName": { 1396 "templateName": {
1397 "description": "The name of the template to retrieve .", 1397 "description": "The name of the template to retrieve .",
1398 "enum": [ 1398 "enum": [
1399 "template1", 1399 "template1",
1400 "template1a",
1401 "template1b",
1400 "template2" 1402 "template2"
1401 ], 1403 ],
1402 "enumDescriptions": [ 1404 "enumDescriptions": [
1403 "", 1405 "",
1406 "",
1407 "",
1404 "" 1408 ""
1405 ], 1409 ],
1406 "location": "path", 1410 "location": "path",
1407 "required": true, 1411 "required": true,
1408 "type": "string" 1412 "type": "string"
1409 } 1413 }
1410 }, 1414 },
1411 "path": "{merchantId}/testordertemplates/{templateName}", 1415 "path": "{merchantId}/testordertemplates/{templateName}",
1412 "response": { 1416 "response": {
1413 "$ref": "OrdersGetTestOrderTemplateResponse" 1417 "$ref": "OrdersGetTestOrderTemplateResponse"
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
1929 "response": { 1933 "response": {
1930 "$ref": "ProductstatusesListResponse" 1934 "$ref": "ProductstatusesListResponse"
1931 }, 1935 },
1932 "scopes": [ 1936 "scopes": [
1933 "https://www.googleapis.com/auth/content" 1937 "https://www.googleapis.com/auth/content"
1934 ] 1938 ]
1935 } 1939 }
1936 } 1940 }
1937 } 1941 }
1938 }, 1942 },
1939 "revision": "20160115", 1943 "revision": "20160303",
1940 "rootUrl": "https://www.googleapis.com/", 1944 "rootUrl": "https://www.googleapis.com/",
1941 "schemas": { 1945 "schemas": {
1942 "Account": { 1946 "Account": {
1943 "description": "Account data.", 1947 "description": "Account data.",
1944 "id": "Account", 1948 "id": "Account",
1945 "properties": { 1949 "properties": {
1946 "adultContent": { 1950 "adultContent": {
1947 "description": "Indicates whether the merchant sells adult c ontent.", 1951 "description": "Indicates whether the merchant sells adult c ontent.",
1948 "type": "boolean" 1952 "type": "boolean"
1949 }, 1953 },
(...skipping 1138 matching lines...) Expand 10 before | Expand all | Expand 10 after
3088 }, 3092 },
3089 "fetchUrl": { 3093 "fetchUrl": {
3090 "description": "The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using o ne of those four protocols.", 3094 "description": "The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using o ne of those four protocols.",
3091 "type": "string" 3095 "type": "string"
3092 }, 3096 },
3093 "hour": { 3097 "hour": {
3094 "description": "The hour of the day the feed file should be fetched (0-23).", 3098 "description": "The hour of the day the feed file should be fetched (0-23).",
3095 "format": "uint32", 3099 "format": "uint32",
3096 "type": "integer" 3100 "type": "integer"
3097 }, 3101 },
3102 "minuteOfHour": {
3103 "description": "The minute of the hour the feed file should be fetched (0-59). Read-only.",
3104 "format": "uint32",
3105 "type": "integer"
3106 },
3098 "password": { 3107 "password": {
3099 "description": "An optional password for fetch_url.", 3108 "description": "An optional password for fetch_url.",
3100 "type": "string" 3109 "type": "string"
3101 }, 3110 },
3102 "timeZone": { 3111 "timeZone": {
3103 "description": "Time zone used for schedule. UTC by default. E.g., \"America/Los_Angeles\".", 3112 "description": "Time zone used for schedule. UTC by default. E.g., \"America/Los_Angeles\".",
3104 "type": "string" 3113 "type": "string"
3105 }, 3114 },
3106 "username": { 3115 "username": {
3107 "description": "An optional user name for fetch_url.", 3116 "description": "An optional user name for fetch_url.",
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
3728 "description": "The details of the payment method." 3737 "description": "The details of the payment method."
3729 }, 3738 },
3730 "paymentStatus": { 3739 "paymentStatus": {
3731 "description": "The status of the payment.", 3740 "description": "The status of the payment.",
3732 "type": "string" 3741 "type": "string"
3733 }, 3742 },
3734 "placedDate": { 3743 "placedDate": {
3735 "description": "The date when the order was placed, in ISO 8 601 format.", 3744 "description": "The date when the order was placed, in ISO 8 601 format.",
3736 "type": "string" 3745 "type": "string"
3737 }, 3746 },
3747 "promotions": {
3748 "description": "The details of the merchant provided promoti ons applied to the order. More details about the program are here.",
3749 "items": {
3750 "$ref": "OrderPromotion"
3751 },
3752 "type": "array"
3753 },
3738 "refunds": { 3754 "refunds": {
3739 "description": "Refunds for the order.", 3755 "description": "Refunds for the order.",
3740 "items": { 3756 "items": {
3741 "$ref": "OrderRefund" 3757 "$ref": "OrderRefund"
3742 }, 3758 },
3743 "type": "array" 3759 "type": "array"
3744 }, 3760 },
3745 "shipments": { 3761 "shipments": {
3746 "description": "Shipments of the order.", 3762 "description": "Shipments of the order.",
3747 "items": { 3763 "items": {
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
4159 "description": "The billing phone number.", 4175 "description": "The billing phone number.",
4160 "type": "string" 4176 "type": "string"
4161 }, 4177 },
4162 "type": { 4178 "type": {
4163 "description": "The type of instrument (VISA, Mastercard, et c).", 4179 "description": "The type of instrument (VISA, Mastercard, et c).",
4164 "type": "string" 4180 "type": "string"
4165 } 4181 }
4166 }, 4182 },
4167 "type": "object" 4183 "type": "object"
4168 }, 4184 },
4185 "OrderPromotion": {
4186 "id": "OrderPromotion",
4187 "properties": {
4188 "benefits": {
4189 "items": {
4190 "$ref": "OrderPromotionBenefit"
4191 },
4192 "type": "array"
4193 },
4194 "effectiveDates": {
4195 "description": "The date and time frame when the promotion i s active and ready for validation review. Note that the promotion live time may be delayed for a few hours due to the validation review.\nStart date and end dat e are separated by a forward slash (/). The start date is specified by the forma t (YYYY-MM-DD), followed by the letter ?T?, the time of the day when the sale st arts (in Greenwich Mean Time, GMT), followed by an expression of the time zone f or the sale. The end date is in the same format.",
4196 "type": "string"
4197 },
4198 "genericRedemptionCode": {
4199 "description": "Optional. The text code that corresponds to the promotion when applied on the retailer?s website.",
4200 "type": "string"
4201 },
4202 "id": {
4203 "description": "The unique ID of the promotion.",
4204 "type": "string"
4205 },
4206 "longTitle": {
4207 "description": "The full title of the promotion.",
4208 "type": "string"
4209 },
4210 "productApplicability": {
4211 "description": "Whether the promotion is applicable to all p roducts or only specific products.",
4212 "type": "string"
4213 },
4214 "redemptionChannel": {
4215 "description": "Indicates that the promotion is valid online .",
4216 "type": "string"
4217 }
4218 },
4219 "type": "object"
4220 },
4221 "OrderPromotionBenefit": {
4222 "id": "OrderPromotionBenefit",
4223 "properties": {
4224 "discount": {
4225 "$ref": "Price",
4226 "description": "The discount in the order price when the pro motion is applied."
4227 },
4228 "offerIds": {
4229 "description": "The OfferId(s) that were purchased in this o rder and map to this specific benefit of the promotion.",
4230 "items": {
4231 "type": "string"
4232 },
4233 "type": "array"
4234 },
4235 "subType": {
4236 "description": "Further describes the benefit of the promoti on. Note that we will expand on this enumeration as we support new promotion sub -types.",
4237 "type": "string"
4238 },
4239 "taxImpact": {
4240 "$ref": "Price",
4241 "description": "The impact on tax when the promotion is appl ied."
4242 },
4243 "type": {
4244 "description": "Describes whether the promotion applies to p roducts (e.g. 20% off) or to shipping (e.g. Free Shipping).",
4245 "type": "string"
4246 }
4247 },
4248 "type": "object"
4249 },
4169 "OrderRefund": { 4250 "OrderRefund": {
4170 "id": "OrderRefund", 4251 "id": "OrderRefund",
4171 "properties": { 4252 "properties": {
4172 "actor": { 4253 "actor": {
4173 "description": "The actor that created the refund.", 4254 "description": "The actor that created the refund.",
4174 "type": "string" 4255 "type": "string"
4175 }, 4256 },
4176 "amount": { 4257 "amount": {
4177 "$ref": "Price", 4258 "$ref": "Price",
4178 "description": "The amount that is refunded." 4259 "description": "The amount that is refunded."
(...skipping 978 matching lines...) Expand 10 before | Expand all | Expand 10 after
5157 "type": "string" 5238 "type": "string"
5158 }, 5239 },
5159 "price": { 5240 "price": {
5160 "$ref": "Price", 5241 "$ref": "Price",
5161 "description": "Price of the item." 5242 "description": "Price of the item."
5162 }, 5243 },
5163 "productType": { 5244 "productType": {
5164 "description": "Your category of the item (formatted as in p roduct feeds specification).", 5245 "description": "Your category of the item (formatted as in p roduct feeds specification).",
5165 "type": "string" 5246 "type": "string"
5166 }, 5247 },
5248 "promotionIds": {
5249 "description": "The unique ID of a promotion.",
5250 "items": {
5251 "type": "string"
5252 },
5253 "type": "array"
5254 },
5167 "salePrice": { 5255 "salePrice": {
5168 "$ref": "Price", 5256 "$ref": "Price",
5169 "description": "Advertised sale price of the item." 5257 "description": "Advertised sale price of the item."
5170 }, 5258 },
5171 "salePriceEffectiveDate": { 5259 "salePriceEffectiveDate": {
5172 "description": "Date range during which the item is on sale (see product feed specifications).", 5260 "description": "Date range during which the item is on sale (see product feed specifications).",
5173 "type": "string" 5261 "type": "string"
5174 }, 5262 },
5175 "sellOnGoogleQuantity": { 5263 "sellOnGoogleQuantity": {
5176 "description": "The quantity of the product that is reserved for sell-on-google ads.", 5264 "description": "The quantity of the product that is reserved for sell-on-google ads.",
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
5809 }, 5897 },
5810 "predefinedDeliveryAddress": { 5898 "predefinedDeliveryAddress": {
5811 "annotations": { 5899 "annotations": {
5812 "required": [ 5900 "required": [
5813 "content.orders.createtestorder" 5901 "content.orders.createtestorder"
5814 ] 5902 ]
5815 }, 5903 },
5816 "description": "Identifier of one of the predefined delivery addresses for the delivery.", 5904 "description": "Identifier of one of the predefined delivery addresses for the delivery.",
5817 "type": "string" 5905 "type": "string"
5818 }, 5906 },
5907 "promotions": {
5908 "description": "The details of the merchant provided promoti ons applied to the order. More details about the program are here.",
5909 "items": {
5910 "$ref": "OrderPromotion"
5911 },
5912 "type": "array"
5913 },
5819 "shippingCost": { 5914 "shippingCost": {
5820 "$ref": "Price", 5915 "$ref": "Price",
5821 "annotations": { 5916 "annotations": {
5822 "required": [ 5917 "required": [
5823 "content.orders.createtestorder" 5918 "content.orders.createtestorder"
5824 ] 5919 ]
5825 }, 5920 },
5826 "description": "The total cost of shipping for all items." 5921 "description": "The total cost of shipping for all items."
5827 }, 5922 },
5828 "shippingCostTax": { 5923 "shippingCostTax": {
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
6072 "type": "string" 6167 "type": "string"
6073 } 6168 }
6074 }, 6169 },
6075 "type": "object" 6170 "type": "object"
6076 } 6171 }
6077 }, 6172 },
6078 "servicePath": "content/v2/", 6173 "servicePath": "content/v2/",
6079 "title": "Content API for Shopping", 6174 "title": "Content API for Shopping",
6080 "version": "v2" 6175 "version": "v2"
6081 } 6176 }
OLDNEW
« no previous file with comments | « discovery/googleapis/compute__v1.json ('k') | discovery/googleapis/content__v2sandbox.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698