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

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

Issue 2281923002: Api-roll 41: 2016-08-26 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 3 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": "Manages product items, inventory, and Merchant Center accoun ts 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": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/O5EhsLJstXG2m4UJwnBMqrlRy1k\"", 18 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/01Lp9Yk-3T3BaqOhUvIN7bFgCYw\"",
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 1902 matching lines...) Expand 10 before | Expand all | Expand 10 after
1931 }, 1931 },
1932 "path": "{merchantId}/productstatuses", 1932 "path": "{merchantId}/productstatuses",
1933 "response": { 1933 "response": {
1934 "$ref": "ProductstatusesListResponse" 1934 "$ref": "ProductstatusesListResponse"
1935 }, 1935 },
1936 "scopes": [ 1936 "scopes": [
1937 "https://www.googleapis.com/auth/content" 1937 "https://www.googleapis.com/auth/content"
1938 ] 1938 ]
1939 } 1939 }
1940 } 1940 }
1941 },
1942 "shippingsettings": {
1943 "methods": {
1944 "custombatch": {
1945 "description": "Retrieves and updates the shipping settings of multiple accounts in a single request.",
1946 "httpMethod": "POST",
1947 "id": "content.shippingsettings.custombatch",
1948 "parameters": {
1949 "dryRun": {
1950 "description": "Flag to run the request in dry-run m ode.",
1951 "location": "query",
1952 "type": "boolean"
1953 }
1954 },
1955 "path": "shippingsettings/batch",
1956 "request": {
1957 "$ref": "ShippingsettingsCustomBatchRequest"
1958 },
1959 "response": {
1960 "$ref": "ShippingsettingsCustomBatchResponse"
1961 },
1962 "scopes": [
1963 "https://www.googleapis.com/auth/content"
1964 ]
1965 },
1966 "get": {
1967 "description": "Retrieves the shipping settings of the accou nt.",
1968 "httpMethod": "GET",
1969 "id": "content.shippingsettings.get",
1970 "parameterOrder": [
1971 "merchantId",
1972 "accountId"
1973 ],
1974 "parameters": {
1975 "accountId": {
1976 "description": "The ID of the account for which to g et/update shipping settings.",
1977 "format": "uint64",
1978 "location": "path",
1979 "required": true,
1980 "type": "string"
1981 },
1982 "merchantId": {
1983 "description": "The ID of the managing account.",
1984 "format": "uint64",
1985 "location": "path",
1986 "required": true,
1987 "type": "string"
1988 }
1989 },
1990 "path": "{merchantId}/shippingsettings/{accountId}",
1991 "response": {
1992 "$ref": "ShippingSettings"
1993 },
1994 "scopes": [
1995 "https://www.googleapis.com/auth/content"
1996 ]
1997 },
1998 "getsupportedcarriers": {
1999 "description": "Retrieves supported carriers and carrier ser vices for an account.",
2000 "httpMethod": "GET",
2001 "id": "content.shippingsettings.getsupportedcarriers",
2002 "parameterOrder": [
2003 "merchantId"
2004 ],
2005 "parameters": {
2006 "merchantId": {
2007 "description": "The ID of the account for which to r etrieve the supported carriers.",
2008 "format": "uint64",
2009 "location": "path",
2010 "required": true,
2011 "type": "string"
2012 }
2013 },
2014 "path": "{merchantId}/supportedCarriers",
2015 "response": {
2016 "$ref": "ShippingsettingsGetSupportedCarriersResponse"
2017 },
2018 "scopes": [
2019 "https://www.googleapis.com/auth/content"
2020 ]
2021 },
2022 "list": {
2023 "description": "Lists the shipping settings of the sub-accou nts in your Merchant Center account.",
2024 "httpMethod": "GET",
2025 "id": "content.shippingsettings.list",
2026 "parameterOrder": [
2027 "merchantId"
2028 ],
2029 "parameters": {
2030 "maxResults": {
2031 "description": "The maximum number of shipping setti ngs to return in the response, used for paging.",
2032 "format": "uint32",
2033 "location": "query",
2034 "type": "integer"
2035 },
2036 "merchantId": {
2037 "description": "The ID of the managing account.",
2038 "format": "uint64",
2039 "location": "path",
2040 "required": true,
2041 "type": "string"
2042 },
2043 "pageToken": {
2044 "description": "The token returned by the previous r equest.",
2045 "location": "query",
2046 "type": "string"
2047 }
2048 },
2049 "path": "{merchantId}/shippingsettings",
2050 "response": {
2051 "$ref": "ShippingsettingsListResponse"
2052 },
2053 "scopes": [
2054 "https://www.googleapis.com/auth/content"
2055 ]
2056 },
2057 "patch": {
2058 "description": "Updates the shipping settings of the account . This method supports patch semantics.",
2059 "httpMethod": "PATCH",
2060 "id": "content.shippingsettings.patch",
2061 "parameterOrder": [
2062 "merchantId",
2063 "accountId"
2064 ],
2065 "parameters": {
2066 "accountId": {
2067 "description": "The ID of the account for which to g et/update shipping settings.",
2068 "format": "uint64",
2069 "location": "path",
2070 "required": true,
2071 "type": "string"
2072 },
2073 "dryRun": {
2074 "description": "Flag to run the request in dry-run m ode.",
2075 "location": "query",
2076 "type": "boolean"
2077 },
2078 "merchantId": {
2079 "description": "The ID of the managing account.",
2080 "format": "uint64",
2081 "location": "path",
2082 "required": true,
2083 "type": "string"
2084 }
2085 },
2086 "path": "{merchantId}/shippingsettings/{accountId}",
2087 "request": {
2088 "$ref": "ShippingSettings"
2089 },
2090 "response": {
2091 "$ref": "ShippingSettings"
2092 },
2093 "scopes": [
2094 "https://www.googleapis.com/auth/content"
2095 ]
2096 },
2097 "update": {
2098 "description": "Updates the shipping settings of the account .",
2099 "httpMethod": "PUT",
2100 "id": "content.shippingsettings.update",
2101 "parameterOrder": [
2102 "merchantId",
2103 "accountId"
2104 ],
2105 "parameters": {
2106 "accountId": {
2107 "description": "The ID of the account for which to g et/update shipping settings.",
2108 "format": "uint64",
2109 "location": "path",
2110 "required": true,
2111 "type": "string"
2112 },
2113 "dryRun": {
2114 "description": "Flag to run the request in dry-run m ode.",
2115 "location": "query",
2116 "type": "boolean"
2117 },
2118 "merchantId": {
2119 "description": "The ID of the managing account.",
2120 "format": "uint64",
2121 "location": "path",
2122 "required": true,
2123 "type": "string"
2124 }
2125 },
2126 "path": "{merchantId}/shippingsettings/{accountId}",
2127 "request": {
2128 "$ref": "ShippingSettings"
2129 },
2130 "response": {
2131 "$ref": "ShippingSettings"
2132 },
2133 "scopes": [
2134 "https://www.googleapis.com/auth/content"
2135 ]
2136 }
2137 }
1941 } 2138 }
1942 }, 2139 },
1943 "revision": "20160728", 2140 "revision": "20160822",
1944 "rootUrl": "https://www.googleapis.com/", 2141 "rootUrl": "https://www.googleapis.com/",
1945 "schemas": { 2142 "schemas": {
1946 "Account": { 2143 "Account": {
1947 "description": "Account data.", 2144 "description": "Account data.",
1948 "id": "Account", 2145 "id": "Account",
1949 "properties": { 2146 "properties": {
1950 "adultContent": { 2147 "adultContent": {
1951 "description": "Indicates whether the merchant sells adult c ontent.", 2148 "description": "Indicates whether the merchant sells adult c ontent.",
1952 "type": "boolean" 2149 "type": "boolean"
1953 }, 2150 },
(...skipping 1041 matching lines...) Expand 10 before | Expand all | Expand 10 after
2995 }, 3192 },
2996 "resources": { 3193 "resources": {
2997 "items": { 3194 "items": {
2998 "$ref": "AccountTax" 3195 "$ref": "AccountTax"
2999 }, 3196 },
3000 "type": "array" 3197 "type": "array"
3001 } 3198 }
3002 }, 3199 },
3003 "type": "object" 3200 "type": "object"
3004 }, 3201 },
3202 "CarrierRate": {
3203 "id": "CarrierRate",
3204 "properties": {
3205 "carrierName": {
3206 "description": "Carrier service, such as \"UPS\" or \"Fedex\ ". The list of supported carriers can be retrieved via the getSupportedCarriers method. Required.",
3207 "type": "string"
3208 },
3209 "carrierService": {
3210 "description": "Carrier service, such as \"ground\" or \"2 d ays\". The list of supported services for a carrier can be retrieved via the get SupportedCarriers method. Required.",
3211 "type": "string"
3212 },
3213 "flatAdjustment": {
3214 "$ref": "Price",
3215 "description": "Additive shipping rate modifier. Can be nega tive. For example { \"value\": \"1\", \"currency\" : \"USD\" } adds $1 to the ra te, { \"value\": \"-3\", \"currency\" : \"USD\" } removes $3 from the rate. Opti onal."
3216 },
3217 "name": {
3218 "description": "Name of the carrier rate. Must be unique per rate group. Required.",
3219 "type": "string"
3220 },
3221 "originPostalCode": {
3222 "description": "Shipping origin for this carrier rate. Requi red.",
3223 "type": "string"
3224 },
3225 "percentageAdjustment": {
3226 "description": "Multiplicative shipping rate modifier as a n umber in decimal notation. Can be negative. For example \"5.4\" increases the ra te by 5.4%, \"-3\" decreases the rate by 3%. Optional.",
3227 "type": "string"
3228 }
3229 },
3230 "type": "object"
3231 },
3232 "CarriersCarrier": {
3233 "id": "CarriersCarrier",
3234 "properties": {
3235 "country": {
3236 "description": "The CLDR country code of the carrier (e.g., \"US\"). Always present.",
3237 "type": "string"
3238 },
3239 "name": {
3240 "description": "The name of the carrier (e.g., \"UPS\"). Alw ays present.",
3241 "type": "string"
3242 },
3243 "services": {
3244 "description": "A list of supported services (e.g., \"ground \") for that carrier. Contains at least one service.",
3245 "items": {
3246 "type": "string"
3247 },
3248 "type": "array"
3249 }
3250 },
3251 "type": "object"
3252 },
3005 "Datafeed": { 3253 "Datafeed": {
3006 "description": "Datafeed data.", 3254 "description": "Datafeed data.",
3007 "id": "Datafeed", 3255 "id": "Datafeed",
3008 "properties": { 3256 "properties": {
3009 "attributeLanguage": { 3257 "attributeLanguage": {
3010 "description": "The two-letter ISO 639-1 language in which t he attributes are defined in the data feed.", 3258 "description": "The two-letter ISO 639-1 language in which t he attributes are defined in the data feed.",
3011 "type": "string" 3259 "type": "string"
3012 }, 3260 },
3013 "contentLanguage": { 3261 "contentLanguage": {
3014 "annotations": { 3262 "annotations": {
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
3438 }, 3686 },
3439 "resources": { 3687 "resources": {
3440 "items": { 3688 "items": {
3441 "$ref": "DatafeedStatus" 3689 "$ref": "DatafeedStatus"
3442 }, 3690 },
3443 "type": "array" 3691 "type": "array"
3444 } 3692 }
3445 }, 3693 },
3446 "type": "object" 3694 "type": "object"
3447 }, 3695 },
3696 "DeliveryTime": {
3697 "id": "DeliveryTime",
3698 "properties": {
3699 "maxTransitTimeInDays": {
3700 "description": "Maximum number of business days that is spen t in transit. 0 means same day delivery, 1 means next day delivery. Must be grea ter than or equal to minTransitTimeInDays. Required.",
3701 "format": "uint32",
3702 "type": "integer"
3703 },
3704 "minTransitTimeInDays": {
3705 "description": "Minimum number of business days that is spen t in transit. 0 means same day delivery, 1 means next day delivery. Required.",
3706 "format": "uint32",
3707 "type": "integer"
3708 }
3709 },
3710 "type": "object"
3711 },
3448 "Error": { 3712 "Error": {
3449 "description": "An error returned by the API.", 3713 "description": "An error returned by the API.",
3450 "id": "Error", 3714 "id": "Error",
3451 "properties": { 3715 "properties": {
3452 "domain": { 3716 "domain": {
3453 "description": "The domain of the error.", 3717 "description": "The domain of the error.",
3454 "type": "string" 3718 "type": "string"
3455 }, 3719 },
3456 "message": { 3720 "message": {
3457 "description": "A description of the error.", 3721 "description": "A description of the error.",
(...skipping 22 matching lines...) Expand all
3480 }, 3744 },
3481 "type": "array" 3745 "type": "array"
3482 }, 3746 },
3483 "message": { 3747 "message": {
3484 "description": "The message of the first error in errors.", 3748 "description": "The message of the first error in errors.",
3485 "type": "string" 3749 "type": "string"
3486 } 3750 }
3487 }, 3751 },
3488 "type": "object" 3752 "type": "object"
3489 }, 3753 },
3754 "Headers": {
3755 "description": "A non-empty list of row or column headers for a tabl e. Exactly one of prices, weights, numItems, postalCodeGroupNames, or locations must be set.",
3756 "id": "Headers",
3757 "properties": {
3758 "locations": {
3759 "description": "A list of location ID sets. Must be non-empt y. Can only be set if all other fields are not set.",
3760 "items": {
3761 "$ref": "LocationIdSet"
3762 },
3763 "type": "array"
3764 },
3765 "numberOfItems": {
3766 "description": "A list of inclusive number of items upper bo unds. The last value can be \"infinity\". For example [\"10\", \"50\", \"infinit y\"] represents the headers \"<= 10 items\", \" 50 items\". Must be non-empty. C an only be set if all other fields are not set.",
3767 "items": {
3768 "type": "string"
3769 },
3770 "type": "array"
3771 },
3772 "postalCodeGroupNames": {
3773 "description": "A list of postal group names. The last value can be \"all other locations\". Example: [\"zone 1\", \"zone 2\", \"all other l ocations\"]. The referred postal code groups must match the delivery country of the service. Must be non-empty. Can only be set if all other fields are not set. ",
3774 "items": {
3775 "type": "string"
3776 },
3777 "type": "array"
3778 },
3779 "prices": {
3780 "description": "be \"infinity\". For example [{\"value\": \" 10\", \"currency\": \"USD\"}, {\"value\": \"500\", \"currency\": \"USD\"}, {\"va lue\": \"infinity\", \"currency\": \"USD\"}] represents the headers \"<= $10\", \" $500\". All prices within a service must have the same currency. Must be non- empty. Can only be set if all other fields are not set.",
3781 "items": {
3782 "$ref": "Price"
3783 },
3784 "type": "array"
3785 },
3786 "weights": {
3787 "description": "be \"infinity\". For example [{\"value\": \" 10\", \"unit\": \"kg\"}, {\"value\": \"50\", \"unit\": \"kg\"}, {\"value\": \"in finity\", \"unit\": \"kg\"}] represents the headers \"<= 10kg\", \" 50kg\". All weights within a service must have the same unit. Must be non-empty. Can only be set if all other fields are not set.",
3788 "items": {
3789 "$ref": "Weight"
3790 },
3791 "type": "array"
3792 }
3793 },
3794 "type": "object"
3795 },
3490 "Installment": { 3796 "Installment": {
3491 "id": "Installment", 3797 "id": "Installment",
3492 "properties": { 3798 "properties": {
3493 "amount": { 3799 "amount": {
3494 "$ref": "Price", 3800 "$ref": "Price",
3495 "description": "The amount the buyer has to pay per month." 3801 "description": "The amount the buyer has to pay per month."
3496 }, 3802 },
3497 "months": { 3803 "months": {
3498 "description": "The number of installments the buyer has to pay.", 3804 "description": "The number of installments the buyer has to pay.",
3499 "format": "int64", 3805 "format": "int64",
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
3672 "id": "InventorySetResponse", 3978 "id": "InventorySetResponse",
3673 "properties": { 3979 "properties": {
3674 "kind": { 3980 "kind": {
3675 "default": "content#inventorySetResponse", 3981 "default": "content#inventorySetResponse",
3676 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"content#inventorySetResponse\".", 3982 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"content#inventorySetResponse\".",
3677 "type": "string" 3983 "type": "string"
3678 } 3984 }
3679 }, 3985 },
3680 "type": "object" 3986 "type": "object"
3681 }, 3987 },
3988 "LocationIdSet": {
3989 "id": "LocationIdSet",
3990 "properties": {
3991 "locationIds": {
3992 "description": "A non-empty list of location IDs. They must all be of the same location type (e.g., state).",
3993 "items": {
3994 "type": "string"
3995 },
3996 "type": "array"
3997 }
3998 },
3999 "type": "object"
4000 },
3682 "LoyaltyPoints": { 4001 "LoyaltyPoints": {
3683 "id": "LoyaltyPoints", 4002 "id": "LoyaltyPoints",
3684 "properties": { 4003 "properties": {
3685 "name": { 4004 "name": {
3686 "description": "Name of loyalty points program. It is recomm ended to limit the name to 12 full-width characters or 24 Roman characters.", 4005 "description": "Name of loyalty points program. It is recomm ended to limit the name to 12 full-width characters or 24 Roman characters.",
3687 "type": "string" 4006 "type": "string"
3688 }, 4007 },
3689 "pointsValue": { 4008 "pointsValue": {
3690 "description": "The retailer's loyalty points in absolute va lue.", 4009 "description": "The retailer's loyalty points in absolute va lue.",
3691 "format": "int64", 4010 "format": "int64",
(...skipping 1295 matching lines...) Expand 10 before | Expand all | Expand 10 after
4987 "type": "string" 5306 "type": "string"
4988 }, 5307 },
4989 "kind": { 5308 "kind": {
4990 "default": "content#ordersUpdateShipmentResponse", 5309 "default": "content#ordersUpdateShipmentResponse",
4991 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"content#ordersUpdateShipmentResponse\".", 5310 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"content#ordersUpdateShipmentResponse\".",
4992 "type": "string" 5311 "type": "string"
4993 } 5312 }
4994 }, 5313 },
4995 "type": "object" 5314 "type": "object"
4996 }, 5315 },
5316 "PostalCodeGroup": {
5317 "id": "PostalCodeGroup",
5318 "properties": {
5319 "country": {
5320 "description": "The CLDR territory code of the country the p ostal code group applies to. Required.",
5321 "type": "string"
5322 },
5323 "name": {
5324 "description": "The name of the postal code group, referred to in headers. Required.",
5325 "type": "string"
5326 },
5327 "postalCodeRanges": {
5328 "description": "A range of postal codes. Required.",
5329 "items": {
5330 "$ref": "PostalCodeRange"
5331 },
5332 "type": "array"
5333 }
5334 },
5335 "type": "object"
5336 },
5337 "PostalCodeRange": {
5338 "id": "PostalCodeRange",
5339 "properties": {
5340 "postalCodeRangeBegin": {
5341 "description": "A postal code or a pattern of the form prefi x* denoting the inclusive lower bound of the range defining the area. Examples v alues: \"94108\", \"9410*\", \"9*\". Required.",
5342 "type": "string"
5343 },
5344 "postalCodeRangeEnd": {
5345 "description": "A postal code or a pattern of the form prefi x* denoting the inclusive upper bound of the range defining the area. It must ha ve the same length as postalCodeRangeBegin: if postalCodeRangeBegin is a postal code then postalCodeRangeEnd must be a postal code too; if postalCodeRangeBegin is a pattern then postalCodeRangeEnd must be a pattern with the same prefix leng th. Optional: if not set, then the area is defined as being all the postal codes matching postalCodeRangeBegin.",
5346 "type": "string"
5347 }
5348 },
5349 "type": "object"
5350 },
4997 "Price": { 5351 "Price": {
4998 "id": "Price", 5352 "id": "Price",
4999 "properties": { 5353 "properties": {
5000 "currency": { 5354 "currency": {
5001 "description": "The currency of the price.", 5355 "description": "The currency of the price.",
5002 "type": "string" 5356 "type": "string"
5003 }, 5357 },
5004 "value": { 5358 "value": {
5005 "description": "The price represented as a number.", 5359 "description": "The price represented as a number.",
5006 "type": "string" 5360 "type": "string"
(...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after
5872 }, 6226 },
5873 "resources": { 6227 "resources": {
5874 "items": { 6228 "items": {
5875 "$ref": "ProductStatus" 6229 "$ref": "ProductStatus"
5876 }, 6230 },
5877 "type": "array" 6231 "type": "array"
5878 } 6232 }
5879 }, 6233 },
5880 "type": "object" 6234 "type": "object"
5881 }, 6235 },
6236 "RateGroup": {
6237 "id": "RateGroup",
6238 "properties": {
6239 "applicableShippingLabels": {
6240 "description": "A list of shipping labels defining the produ cts to which this rate group applies to. This is a disjunction: only one of the labels has to match for the rate group to apply. May only be empty for the last rate group of a service. Required.",
6241 "items": {
6242 "type": "string"
6243 },
6244 "type": "array"
6245 },
6246 "carrierRates": {
6247 "description": "A list of carrier rates that can be referred to by mainTable or singleValue.",
6248 "items": {
6249 "$ref": "CarrierRate"
6250 },
6251 "type": "array"
6252 },
6253 "mainTable": {
6254 "$ref": "Table",
6255 "description": "A table defining the rate group, when single Value is not expressive enough. Can only be set if singleValue is not set."
6256 },
6257 "singleValue": {
6258 "$ref": "Value",
6259 "description": "The value of the rate group (e.g. flat rate $10). Can only be set if mainTable and subtables are not set."
6260 },
6261 "subtables": {
6262 "description": "A list of subtables referred to by mainTable . Can only be set if mainTable is set.",
6263 "items": {
6264 "$ref": "Table"
6265 },
6266 "type": "array"
6267 }
6268 },
6269 "type": "object"
6270 },
6271 "Row": {
6272 "id": "Row",
6273 "properties": {
6274 "cells": {
6275 "description": "The list of cells that constitute the row. M ust have the same length as columnHeaders for two-dimensional tables, a length o f 1 for one-dimensional tables. Required.",
6276 "items": {
6277 "$ref": "Value"
6278 },
6279 "type": "array"
6280 }
6281 },
6282 "type": "object"
6283 },
6284 "Service": {
6285 "id": "Service",
6286 "properties": {
6287 "active": {
6288 "description": "A boolean exposing the active status of the shipping service. Required.",
6289 "type": "boolean"
6290 },
6291 "currency": {
6292 "description": "The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups.",
6293 "type": "string"
6294 },
6295 "deliveryCountry": {
6296 "description": "The CLDR territory code of the country to wh ich the service applies. Required.",
6297 "type": "string"
6298 },
6299 "deliveryTime": {
6300 "$ref": "DeliveryTime",
6301 "description": "Time spent in various aspects from order to the delivery of the product. Required."
6302 },
6303 "name": {
6304 "description": "Free-form name of the service. Must be uniqu e within target account. Required.",
6305 "type": "string"
6306 },
6307 "rateGroups": {
6308 "description": "Shipping rate group definitions. Only the la st one is allowed to have an empty applicableShippingLabels, which means \"every thing else\". The other applicableShippingLabels must not overlap.",
6309 "items": {
6310 "$ref": "RateGroup"
6311 },
6312 "type": "array"
6313 }
6314 },
6315 "type": "object"
6316 },
6317 "ShippingSettings": {
6318 "description": "The merchant account's shipping settings.",
6319 "id": "ShippingSettings",
6320 "properties": {
6321 "accountId": {
6322 "description": "The ID of the account to which these account shipping settings belong. Ignored upon update, always present in get request re sponses.",
6323 "format": "uint64",
6324 "type": "string"
6325 },
6326 "postalCodeGroups": {
6327 "description": "A list of postal code groups that can be ref erred to in services. Optional.",
6328 "items": {
6329 "$ref": "PostalCodeGroup"
6330 },
6331 "type": "array"
6332 },
6333 "services": {
6334 "description": "The target account's list of services. Optio nal.",
6335 "items": {
6336 "$ref": "Service"
6337 },
6338 "type": "array"
6339 }
6340 },
6341 "type": "object"
6342 },
6343 "ShippingsettingsCustomBatchRequest": {
6344 "id": "ShippingsettingsCustomBatchRequest",
6345 "properties": {
6346 "entries": {
6347 "description": "The request entries to be processed in the b atch.",
6348 "items": {
6349 "$ref": "ShippingsettingsCustomBatchRequestEntry"
6350 },
6351 "type": "array"
6352 }
6353 },
6354 "type": "object"
6355 },
6356 "ShippingsettingsCustomBatchRequestEntry": {
6357 "description": "A batch entry encoding a single non-batch accountshi pping request.",
6358 "id": "ShippingsettingsCustomBatchRequestEntry",
6359 "properties": {
6360 "accountId": {
6361 "description": "The ID of the account for which to get/updat e account shipping settings.",
6362 "format": "uint64",
6363 "type": "string"
6364 },
6365 "batchId": {
6366 "description": "An entry ID, unique within the batch request .",
6367 "format": "uint32",
6368 "type": "integer"
6369 },
6370 "merchantId": {
6371 "description": "The ID of the managing account.",
6372 "format": "uint64",
6373 "type": "string"
6374 },
6375 "method": {
6376 "type": "string"
6377 },
6378 "shippingSettings": {
6379 "$ref": "ShippingSettings",
6380 "description": "The account shipping settings to update. Onl y defined if the method is update."
6381 }
6382 },
6383 "type": "object"
6384 },
6385 "ShippingsettingsCustomBatchResponse": {
6386 "id": "ShippingsettingsCustomBatchResponse",
6387 "properties": {
6388 "entries": {
6389 "description": "The result of the execution of the batch req uests.",
6390 "items": {
6391 "$ref": "ShippingsettingsCustomBatchResponseEntry"
6392 },
6393 "type": "array"
6394 },
6395 "kind": {
6396 "default": "content#shippingsettingsCustomBatchResponse",
6397 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"content#shippingsettingsCustomBatchResponse\".",
6398 "type": "string"
6399 }
6400 },
6401 "type": "object"
6402 },
6403 "ShippingsettingsCustomBatchResponseEntry": {
6404 "description": "A batch entry encoding a single non-batch shipping s ettings response.",
6405 "id": "ShippingsettingsCustomBatchResponseEntry",
6406 "properties": {
6407 "batchId": {
6408 "description": "The ID of the request entry to which this en try responds.",
6409 "format": "uint32",
6410 "type": "integer"
6411 },
6412 "errors": {
6413 "$ref": "Errors",
6414 "description": "A list of errors defined if, and only if, th e request failed."
6415 },
6416 "kind": {
6417 "default": "content#shippingsettingsCustomBatchResponseEntry ",
6418 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"content#shippingsettingsCustomBatchResponseEntry\".",
6419 "type": "string"
6420 },
6421 "shippingSettings": {
6422 "$ref": "ShippingSettings",
6423 "description": "The retrieved or updated account shipping se ttings."
6424 }
6425 },
6426 "type": "object"
6427 },
6428 "ShippingsettingsGetSupportedCarriersResponse": {
6429 "id": "ShippingsettingsGetSupportedCarriersResponse",
6430 "properties": {
6431 "carriers": {
6432 "description": "A list of supported carriers. May be empty." ,
6433 "items": {
6434 "$ref": "CarriersCarrier"
6435 },
6436 "type": "array"
6437 },
6438 "kind": {
6439 "default": "content#shippingsettingsGetSupportedCarriersResp onse",
6440 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"content#shippingsettingsGetSupportedCarriersResponse\"." ,
6441 "type": "string"
6442 }
6443 },
6444 "type": "object"
6445 },
6446 "ShippingsettingsListResponse": {
6447 "id": "ShippingsettingsListResponse",
6448 "properties": {
6449 "kind": {
6450 "default": "content#shippingsettingsListResponse",
6451 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"content#shippingsettingsListResponse\".",
6452 "type": "string"
6453 },
6454 "nextPageToken": {
6455 "description": "The token for the retrieval of the next page of shipping settings.",
6456 "type": "string"
6457 },
6458 "resources": {
6459 "items": {
6460 "$ref": "ShippingSettings"
6461 },
6462 "type": "array"
6463 }
6464 },
6465 "type": "object"
6466 },
6467 "Table": {
6468 "id": "Table",
6469 "properties": {
6470 "columnHeaders": {
6471 "$ref": "Headers",
6472 "description": "Headers of the table's columns. Optional: if not set then the table has only one dimension."
6473 },
6474 "name": {
6475 "description": "Name of the table. Required for subtables, i gnored for the main table.",
6476 "type": "string"
6477 },
6478 "rowHeaders": {
6479 "$ref": "Headers",
6480 "description": "Headers of the table's rows. Required."
6481 },
6482 "rows": {
6483 "description": "The list of rows that constitute the table. Must have the same length as rowHeaders. Required.",
6484 "items": {
6485 "$ref": "Row"
6486 },
6487 "type": "array"
6488 }
6489 },
6490 "type": "object"
6491 },
5882 "TestOrder": { 6492 "TestOrder": {
5883 "id": "TestOrder", 6493 "id": "TestOrder",
5884 "properties": { 6494 "properties": {
5885 "customer": { 6495 "customer": {
5886 "$ref": "TestOrderCustomer", 6496 "$ref": "TestOrderCustomer",
5887 "annotations": { 6497 "annotations": {
5888 "required": [ 6498 "required": [
5889 "content.orders.createtestorder" 6499 "content.orders.createtestorder"
5890 ] 6500 ]
5891 }, 6501 },
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
6155 "description": "The billing address.", 6765 "description": "The billing address.",
6156 "type": "string" 6766 "type": "string"
6157 }, 6767 },
6158 "type": { 6768 "type": {
6159 "description": "The type of instrument. Note that real order s might have different values than the four values accepted by createTestOrder." , 6769 "description": "The type of instrument. Note that real order s might have different values than the four values accepted by createTestOrder." ,
6160 "type": "string" 6770 "type": "string"
6161 } 6771 }
6162 }, 6772 },
6163 "type": "object" 6773 "type": "object"
6164 }, 6774 },
6775 "Value": {
6776 "description": "The single value of a rate group or the value of a r ate group table's cell. Exactly one of noShipping, flatRate, pricePercentage, ca rrierRateName, subtableName must be set.",
6777 "id": "Value",
6778 "properties": {
6779 "carrierRateName": {
6780 "description": "The name of a carrier rate referring to a ca rrier rate defined in the same rate group. Can only be set if all other fields a re not set.",
6781 "type": "string"
6782 },
6783 "flatRate": {
6784 "$ref": "Price",
6785 "description": "A flat rate. Can only be set if all other fi elds are not set."
6786 },
6787 "noShipping": {
6788 "description": "If true, then the product can't ship. Must b e true when set, can only be set if all other fields are not set.",
6789 "type": "boolean"
6790 },
6791 "pricePercentage": {
6792 "description": "A percentage of the price represented as a n umber in decimal notation (e.g., \"5.4\"). Can only be set if all other fields a re not set.",
6793 "type": "string"
6794 },
6795 "subtableName": {
6796 "description": "The name of a subtable. Can only be set in t able cells (i.e., not for single values), and only if all other fields are not s et.",
6797 "type": "string"
6798 }
6799 },
6800 "type": "object"
6801 },
6165 "Weight": { 6802 "Weight": {
6166 "id": "Weight", 6803 "id": "Weight",
6167 "properties": { 6804 "properties": {
6168 "unit": { 6805 "unit": {
6169 "annotations": { 6806 "annotations": {
6170 "required": [ 6807 "required": [
6171 "content.accountshipping.update" 6808 "content.accountshipping.update"
6172 ] 6809 ]
6173 }, 6810 },
6174 "description": "The weight unit.", 6811 "description": "The weight unit.",
6175 "type": "string" 6812 "type": "string"
6176 }, 6813 },
6177 "value": { 6814 "value": {
6178 "annotations": { 6815 "annotations": {
6179 "required": [ 6816 "required": [
6180 "content.accountshipping.update" 6817 "content.accountshipping.update"
6181 ] 6818 ]
6182 }, 6819 },
6183 "description": "The weight represented as a number.", 6820 "description": "The weight represented as a number.",
6184 "type": "string" 6821 "type": "string"
6185 } 6822 }
6186 }, 6823 },
6187 "type": "object" 6824 "type": "object"
6188 } 6825 }
6189 }, 6826 },
6190 "servicePath": "content/v2/", 6827 "servicePath": "content/v2/",
6191 "title": "Content API for Shopping", 6828 "title": "Content API for Shopping",
6192 "version": "v2" 6829 "version": "v2"
6193 } 6830 }
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