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

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

Issue 2987103002: Api-Roll 52: 2017-07-31 (Closed)
Patch Set: Created 3 years, 4 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/logging__v2.json ('k') | discovery/googleapis/ml__v1.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/manufacturercenter": { 5 "https://www.googleapis.com/auth/manufacturercenter": {
6 "description": "Manage your product listings for Google Manu facturer Center" 6 "description": "Manage your product listings for Google Manu facturer Center"
7 } 7 }
8 } 8 }
9 } 9 }
10 }, 10 },
11 "basePath": "", 11 "basePath": "",
12 "baseUrl": "https://manufacturers.googleapis.com/", 12 "baseUrl": "https://manufacturers.googleapis.com/",
13 "batchPath": "batch", 13 "batchPath": "batch",
14 "canonicalName": "Manufacturer Center", 14 "canonicalName": "Manufacturer Center",
15 "description": "Public API for managing Manufacturer Center related data.", 15 "description": "Public API for managing Manufacturer Center related data.",
16 "discoveryVersion": "v1", 16 "discoveryVersion": "v1",
17 "documentationLink": "https://developers.google.com/manufacturers/", 17 "documentationLink": "https://developers.google.com/manufacturers/",
18 "icons": { 18 "icons": {
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", 19 "x16": "http://www.google.com/images/icons/product/search-16.gif",
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" 20 "x32": "http://www.google.com/images/icons/product/search-32.gif"
21 }, 21 },
22 "id": "manufacturers:v1", 22 "id": "manufacturers:v1",
23 "kind": "discovery#restDescription", 23 "kind": "discovery#restDescription",
24 "name": "manufacturers", 24 "name": "manufacturers",
25 "ownerDomain": "google.com", 25 "ownerDomain": "google.com",
26 "ownerName": "Google", 26 "ownerName": "Google",
27 "parameters": { 27 "parameters": {
28 "bearer_token": {
29 "description": "OAuth bearer token.",
30 "location": "query",
31 "type": "string"
32 },
33 "oauth_token": {
34 "description": "OAuth 2.0 token for the current user.",
35 "location": "query",
36 "type": "string"
37 },
28 "upload_protocol": { 38 "upload_protocol": {
29 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 39 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
30 "location": "query", 40 "location": "query",
31 "type": "string" 41 "type": "string"
32 }, 42 },
33 "prettyPrint": { 43 "prettyPrint": {
34 "default": "true", 44 "default": "true",
35 "description": "Returns response with indentations and line breaks." , 45 "description": "Returns response with indentations and line breaks." ,
36 "location": "query", 46 "location": "query",
37 "type": "boolean" 47 "type": "boolean"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 "proto" 83 "proto"
74 ], 84 ],
75 "enumDescriptions": [ 85 "enumDescriptions": [
76 "Responses with Content-Type of application/json", 86 "Responses with Content-Type of application/json",
77 "Media download with context-dependent Content-Type", 87 "Media download with context-dependent Content-Type",
78 "Responses with Content-Type of application/x-protobuf" 88 "Responses with Content-Type of application/x-protobuf"
79 ], 89 ],
80 "location": "query", 90 "location": "query",
81 "type": "string" 91 "type": "string"
82 }, 92 },
93 "access_token": {
94 "description": "OAuth access token.",
95 "location": "query",
96 "type": "string"
97 },
83 "key": { 98 "key": {
84 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.", 99 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
85 "location": "query", 100 "location": "query",
86 "type": "string" 101 "type": "string"
87 }, 102 },
88 "access_token": {
89 "description": "OAuth access token.",
90 "location": "query",
91 "type": "string"
92 },
93 "quotaUser": { 103 "quotaUser": {
94 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.", 104 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
95 "location": "query", 105 "location": "query",
96 "type": "string" 106 "type": "string"
97 }, 107 },
98 "pp": { 108 "pp": {
99 "default": "true", 109 "default": "true",
100 "description": "Pretty-print response.", 110 "description": "Pretty-print response.",
101 "location": "query", 111 "location": "query",
102 "type": "boolean" 112 "type": "boolean"
103 },
104 "bearer_token": {
105 "description": "OAuth bearer token.",
106 "location": "query",
107 "type": "string"
108 },
109 "oauth_token": {
110 "description": "OAuth 2.0 token for the current user.",
111 "location": "query",
112 "type": "string"
113 } 113 }
114 }, 114 },
115 "protocol": "rest", 115 "protocol": "rest",
116 "resources": { 116 "resources": {
117 "accounts": { 117 "accounts": {
118 "resources": { 118 "resources": {
119 "products": { 119 "products": {
120 "methods": { 120 "methods": {
121 "update": { 121 "get": {
122 "description": "Inserts or updates the product in a Manufacturer Center account.\n\nThe checks at upload time are minimal. All requi red attributes need to be\npresent for a product to be valid. Issues may show up later\nafter the API has accepted an update for a product and it is possible to \noverwrite an existing valid product with an invalid product. To detect\nthis, you should retrieve the product and check it for issues once the\nupdated versio n is available.\n\nInserted or updated products first need to be processed befor e they can be\nretrieved. Until then, new products will be unavailable, and retr ieval\nof updated products will return the original state of the product.", 122 "description": "Gets the product from a Manufacturer Center account, including product\nissues.\n\nA recently updated product takes some time to be processed before any\nchanges are visible. While some issues may be available once the product\nhas been processed, other issues may take days t o appear.",
123 "httpMethod": "PUT", 123 "httpMethod": "GET",
124 "id": "manufacturers.accounts.products.update", 124 "id": "manufacturers.accounts.products.get",
125 "parameterOrder": [ 125 "parameterOrder": [
126 "parent", 126 "parent",
127 "name" 127 "name"
128 ], 128 ],
129 "parameters": { 129 "parameters": {
130 "name": {
131 "description": "Name in the format `{target_ country}:{content_language}:{product_id}`.\n\n`target_country` - The target co untry of the product as a CLDR territory\n code (for example , US).\n\n`content_language` - The content language of the product as a two-lett er\n ISO 639-1 language code (for example, en).\n\n`product_ id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id.",
132 "location": "path",
133 "pattern": "^[^/]+$",
134 "required": true,
135 "type": "string"
136 },
130 "parent": { 137 "parent": {
131 "description": "Parent ID in the format `acc ounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account .", 138 "description": "Parent ID in the format `acc ounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account .",
132 "location": "path", 139 "location": "path",
133 "pattern": "^accounts/[^/]+$", 140 "pattern": "^accounts/[^/]+$",
134 "required": true, 141 "required": true,
135 "type": "string" 142 "type": "string"
136 },
137 "name": {
138 "description": "Name in the format `{target_ country}:{content_language}:{product_id}`.\n\n`target_country` - The target co untry of the product as a CLDR territory\n code (for example , US).\n\n`content_language` - The content language of the product as a two-lett er\n ISO 639-1 language code (for example, en).\n\n`product_ id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id.",
139 "location": "path",
140 "pattern": "^[^/]+$",
141 "required": true,
142 "type": "string"
143 } 143 }
144 }, 144 },
145 "path": "v1/{+parent}/products/{+name}", 145 "path": "v1/{+parent}/products/{+name}",
146 "request": {
147 "$ref": "Product"
148 },
149 "response": { 146 "response": {
150 "$ref": "Product" 147 "$ref": "Product"
151 }, 148 },
152 "scopes": [ 149 "scopes": [
153 "https://www.googleapis.com/auth/manufacturercen ter" 150 "https://www.googleapis.com/auth/manufacturercen ter"
154 ] 151 ]
155 }, 152 },
156 "delete": { 153 "list": {
157 "description": "Deletes the product from a Manufactu rer Center account.", 154 "description": "Lists all the products in a Manufact urer Center account.",
158 "httpMethod": "DELETE", 155 "httpMethod": "GET",
159 "id": "manufacturers.accounts.products.delete", 156 "id": "manufacturers.accounts.products.list",
160 "parameterOrder": [ 157 "parameterOrder": [
161 "parent", 158 "parent"
162 "name"
163 ], 159 ],
164 "parameters": { 160 "parameters": {
161 "pageSize": {
162 "description": "Maximum number of product st atuses to return in the response, used for\npaging.",
163 "format": "int32",
164 "location": "query",
165 "type": "integer"
166 },
165 "parent": { 167 "parent": {
166 "description": "Parent ID in the format `acc ounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account .", 168 "description": "Parent ID in the format `acc ounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account .",
167 "location": "path", 169 "location": "path",
168 "pattern": "^accounts/[^/]+$", 170 "pattern": "^accounts/[^/]+$",
169 "required": true, 171 "required": true,
170 "type": "string" 172 "type": "string"
171 }, 173 },
174 "pageToken": {
175 "description": "The token returned by the pr evious request.",
176 "location": "query",
177 "type": "string"
178 }
179 },
180 "path": "v1/{+parent}/products",
181 "response": {
182 "$ref": "ListProductsResponse"
183 },
184 "scopes": [
185 "https://www.googleapis.com/auth/manufacturercen ter"
186 ]
187 },
188 "update": {
189 "description": "Inserts or updates the product in a Manufacturer Center account.\n\nThe checks at upload time are minimal. All requi red attributes need to be\npresent for a product to be valid. Issues may show up later\nafter the API has accepted an update for a product and it is possible to \noverwrite an existing valid product with an invalid product. To detect\nthis, you should retrieve the product and check it for issues once the\nupdated versio n is available.\n\nInserted or updated products first need to be processed befor e they can be\nretrieved. Until then, new products will be unavailable, and retr ieval\nof updated products will return the original state of the product.",
190 "httpMethod": "PUT",
191 "id": "manufacturers.accounts.products.update",
192 "parameterOrder": [
193 "parent",
194 "name"
195 ],
196 "parameters": {
172 "name": { 197 "name": {
173 "description": "Name in the format `{target_ country}:{content_language}:{product_id}`.\n\n`target_country` - The target co untry of the product as a CLDR territory\n code (for example , US).\n\n`content_language` - The content language of the product as a two-lett er\n ISO 639-1 language code (for example, en).\n\n`product_ id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id.", 198 "description": "Name in the format `{target_ country}:{content_language}:{product_id}`.\n\n`target_country` - The target co untry of the product as a CLDR territory\n code (for example , US).\n\n`content_language` - The content language of the product as a two-lett er\n ISO 639-1 language code (for example, en).\n\n`product_ id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id.",
174 "location": "path", 199 "location": "path",
175 "pattern": "^[^/]+$", 200 "pattern": "^[^/]+$",
176 "required": true, 201 "required": true,
177 "type": "string" 202 "type": "string"
178 } 203 },
179 },
180 "path": "v1/{+parent}/products/{+name}",
181 "response": {
182 "$ref": "Empty"
183 },
184 "scopes": [
185 "https://www.googleapis.com/auth/manufacturercen ter"
186 ]
187 },
188 "get": {
189 "description": "Gets the product from a Manufacturer Center account, including product\nissues.\n\nA recently updated product takes some time to be processed before any\nchanges are visible. While some issues may be available once the product\nhas been processed, other issues may take days t o appear.",
190 "httpMethod": "GET",
191 "id": "manufacturers.accounts.products.get",
192 "parameterOrder": [
193 "parent",
194 "name"
195 ],
196 "parameters": {
197 "parent": { 204 "parent": {
198 "description": "Parent ID in the format `acc ounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account .", 205 "description": "Parent ID in the format `acc ounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account .",
199 "location": "path", 206 "location": "path",
200 "pattern": "^accounts/[^/]+$", 207 "pattern": "^accounts/[^/]+$",
201 "required": true, 208 "required": true,
202 "type": "string" 209 "type": "string"
203 },
204 "name": {
205 "description": "Name in the format `{target_ country}:{content_language}:{product_id}`.\n\n`target_country` - The target co untry of the product as a CLDR territory\n code (for example , US).\n\n`content_language` - The content language of the product as a two-lett er\n ISO 639-1 language code (for example, en).\n\n`product_ id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id.",
206 "location": "path",
207 "pattern": "^[^/]+$",
208 "required": true,
209 "type": "string"
210 } 210 }
211 }, 211 },
212 "path": "v1/{+parent}/products/{+name}", 212 "path": "v1/{+parent}/products/{+name}",
213 "request": {
214 "$ref": "Product"
215 },
213 "response": { 216 "response": {
214 "$ref": "Product" 217 "$ref": "Product"
215 }, 218 },
216 "scopes": [ 219 "scopes": [
217 "https://www.googleapis.com/auth/manufacturercen ter" 220 "https://www.googleapis.com/auth/manufacturercen ter"
218 ] 221 ]
219 }, 222 },
220 "list": { 223 "delete": {
221 "description": "Lists all the products in a Manufact urer Center account.", 224 "description": "Deletes the product from a Manufactu rer Center account.",
222 "httpMethod": "GET", 225 "httpMethod": "DELETE",
223 "id": "manufacturers.accounts.products.list", 226 "id": "manufacturers.accounts.products.delete",
224 "parameterOrder": [ 227 "parameterOrder": [
225 "parent" 228 "parent",
229 "name"
226 ], 230 ],
227 "parameters": { 231 "parameters": {
232 "name": {
233 "description": "Name in the format `{target_ country}:{content_language}:{product_id}`.\n\n`target_country` - The target co untry of the product as a CLDR territory\n code (for example , US).\n\n`content_language` - The content language of the product as a two-lett er\n ISO 639-1 language code (for example, en).\n\n`product_ id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id.",
234 "location": "path",
235 "pattern": "^[^/]+$",
236 "required": true,
237 "type": "string"
238 },
228 "parent": { 239 "parent": {
229 "description": "Parent ID in the format `acc ounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account .", 240 "description": "Parent ID in the format `acc ounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account .",
230 "location": "path", 241 "location": "path",
231 "pattern": "^accounts/[^/]+$", 242 "pattern": "^accounts/[^/]+$",
232 "required": true, 243 "required": true,
233 "type": "string" 244 "type": "string"
234 },
235 "pageToken": {
236 "description": "The token returned by the pr evious request.",
237 "location": "query",
238 "type": "string"
239 },
240 "pageSize": {
241 "description": "Maximum number of product st atuses to return in the response, used for\npaging.",
242 "format": "int32",
243 "location": "query",
244 "type": "integer"
245 } 245 }
246 }, 246 },
247 "path": "v1/{+parent}/products", 247 "path": "v1/{+parent}/products/{+name}",
248 "response": { 248 "response": {
249 "$ref": "ListProductsResponse" 249 "$ref": "Empty"
250 }, 250 },
251 "scopes": [ 251 "scopes": [
252 "https://www.googleapis.com/auth/manufacturercen ter" 252 "https://www.googleapis.com/auth/manufacturercen ter"
253 ] 253 ]
254 } 254 }
255 } 255 }
256 } 256 }
257 } 257 }
258 } 258 }
259 }, 259 },
260 "revision": "20170629", 260 "revision": "20170703",
261 "rootUrl": "https://manufacturers.googleapis.com/", 261 "rootUrl": "https://manufacturers.googleapis.com/",
262 "schemas": { 262 "schemas": {
263 "Product": {
264 "description": "Product data.",
265 "id": "Product",
266 "properties": {
267 "issues": {
268 "description": "A server-generated list of issues associated with the product.\n@OutputOnly",
269 "items": {
270 "$ref": "Issue"
271 },
272 "type": "array"
273 },
274 "manuallyDeletedAttributes": {
275 "description": "Names of the attributes of the product delet ed manually via the\nManufacturer Center UI.\n@OutputOnly",
276 "items": {
277 "type": "string"
278 },
279 "type": "array"
280 },
281 "finalAttributes": {
282 "$ref": "Attributes",
283 "description": "Final attributes of the product. The final a ttributes are obtained by\noverriding the uploaded attributes with the manually provided and deleted\nattributes. Google systems only process, evaluate, review, and/or use final\nattributes.\n@OutputOnly"
284 },
285 "productId": {
286 "description": "The ID of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly",
287 "type": "string"
288 },
289 "uploadedAttributes": {
290 "$ref": "Attributes",
291 "description": "Attributes of the product uploaded via the M anufacturer Center API or via\nfeeds."
292 },
293 "parent": {
294 "description": "Parent ID in the format `accounts/{account_i d}`.\n\n`account_id` - The ID of the Manufacturer Center account.\n@OutputOnly",
295 "type": "string"
296 },
297 "manuallyProvidedAttributes": {
298 "$ref": "Attributes",
299 "description": "Attributes of the product provided manually via the Manufacturer Center UI.\n@OutputOnly"
300 },
301 "contentLanguage": {
302 "description": "The content language of the product as a two -letter ISO 639-1 language code\n(for example, en).\n@OutputOnly",
303 "type": "string"
304 },
305 "targetCountry": {
306 "description": "The target country of the product as a CLDR territory code (for example,\nUS).\n@OutputOnly",
307 "type": "string"
308 },
309 "name": {
310 "description": "Name in the format `{target_country}:{conten t_language}:{product_id}`.\n\n`target_country` - The target country of the pro duct as a CLDR territory\n code (for example, US).\n\n`conte nt_language` - The content language of the product as a two-letter\n ISO 639-1 language code (for example, en).\n\n`product_id` - The ID of the product. For more information, see\n https://suppo rt.google.com/manufacturers/answer/6124116#id.\n@OutputOnly",
311 "type": "string"
312 }
313 },
314 "type": "object"
315 },
316 "Capacity": {
317 "description": "The capacity of a product. For more information, see \nhttps://support.google.com/manufacturers/answer/6124116#capacity.",
318 "id": "Capacity",
319 "properties": {
320 "unit": {
321 "description": "The unit of the capacity, i.e., MB, GB, or T B.",
322 "type": "string"
323 },
324 "value": {
325 "description": "The numeric value of the capacity.",
326 "format": "int64",
327 "type": "string"
328 }
329 },
330 "type": "object"
331 },
332 "ListProductsResponse": { 263 "ListProductsResponse": {
333 "id": "ListProductsResponse", 264 "id": "ListProductsResponse",
334 "properties": { 265 "properties": {
335 "products": { 266 "products": {
336 "description": "List of the products.", 267 "description": "List of the products.",
337 "items": { 268 "items": {
338 "$ref": "Product" 269 "$ref": "Product"
339 }, 270 },
340 "type": "array" 271 "type": "array"
341 }, 272 },
342 "nextPageToken": { 273 "nextPageToken": {
343 "description": "The token for the retrieval of the next page of product statuses.", 274 "description": "The token for the retrieval of the next page of product statuses.",
344 "type": "string" 275 "type": "string"
345 } 276 }
346 }, 277 },
347 "type": "object" 278 "type": "object"
348 }, 279 },
349 "ProductDetail": { 280 "ProductDetail": {
350 "description": "A product detail of the product. For more informatio n, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.", 281 "description": "A product detail of the product. For more informatio n, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.",
351 "id": "ProductDetail", 282 "id": "ProductDetail",
352 "properties": { 283 "properties": {
284 "attributeName": {
285 "description": "The name of the attribute.",
286 "type": "string"
287 },
353 "attributeValue": { 288 "attributeValue": {
354 "description": "The value of the attribute.", 289 "description": "The value of the attribute.",
355 "type": "string" 290 "type": "string"
356 }, 291 },
357 "sectionName": { 292 "sectionName": {
358 "description": "A short section name that can be reused betw een multiple product details.", 293 "description": "A short section name that can be reused betw een multiple product details.",
359 "type": "string" 294 "type": "string"
295 }
296 },
297 "type": "object"
298 },
299 "FeatureDescription": {
300 "description": "A feature description of the product. For more infor mation, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc .",
301 "id": "FeatureDescription",
302 "properties": {
303 "text": {
304 "description": "A detailed description of the feature.",
305 "type": "string"
360 }, 306 },
361 "attributeName": { 307 "image": {
362 "description": "The name of the attribute.", 308 "$ref": "Image",
309 "description": "An optional image describing the feature."
310 },
311 "headline": {
312 "description": "A short description of the feature.",
363 "type": "string" 313 "type": "string"
364 } 314 }
365 }, 315 },
366 "type": "object" 316 "type": "object"
367 }, 317 },
368 "Issue": { 318 "Issue": {
369 "description": "Product issue.", 319 "description": "Product issue.",
370 "id": "Issue", 320 "id": "Issue",
371 "properties": { 321 "properties": {
322 "type": {
323 "description": "The server-generated type of the issue, for example,\n“INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.",
324 "type": "string"
325 },
326 "attribute": {
327 "description": "If present, the attribute that triggered the issue. For more information\nabout attributes, see\nhttps://support.google.com/ manufacturers/answer/6124116.",
328 "type": "string"
329 },
372 "timestamp": { 330 "timestamp": {
373 "description": "The timestamp when this issue appeared.", 331 "description": "The timestamp when this issue appeared.",
374 "format": "google-datetime", 332 "format": "google-datetime",
375 "type": "string" 333 "type": "string"
376 }, 334 },
377 "severity": { 335 "severity": {
378 "description": "The severity of the issue.", 336 "description": "The severity of the issue.",
379 "enum": [ 337 "enum": [
380 "SEVERITY_UNSPECIFIED", 338 "SEVERITY_UNSPECIFIED",
381 "ERROR", 339 "ERROR",
382 "WARNING", 340 "WARNING",
383 "INFO" 341 "INFO"
384 ], 342 ],
385 "enumDescriptions": [ 343 "enumDescriptions": [
386 "Unspecified severity, never used.", 344 "Unspecified severity, never used.",
387 "Error severity. The issue prevents the usage of the who le item.", 345 "Error severity. The issue prevents the usage of the who le item.",
388 "Warning severity. The issue is either one that prevents the usage of the\nattribute that triggered it or one that will soon prevent the usage of\nthe whole item.", 346 "Warning severity. The issue is either one that prevents the usage of the\nattribute that triggered it or one that will soon prevent the usage of\nthe whole item.",
389 "Info severity. The issue is one that doesn't require im mediate attention.\nIt is, for example, used to communicate which attributes are still\npending review." 347 "Info severity. The issue is one that doesn't require im mediate attention.\nIt is, for example, used to communicate which attributes are still\npending review."
390 ], 348 ],
391 "type": "string" 349 "type": "string"
392 }, 350 },
393 "description": { 351 "description": {
394 "description": "Description of the issue.", 352 "description": "Description of the issue.",
395 "type": "string" 353 "type": "string"
396 },
397 "type": {
398 "description": "The server-generated type of the issue, for example,\n“INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.",
399 "type": "string"
400 },
401 "attribute": {
402 "description": "If present, the attribute that triggered the issue. For more information\nabout attributes, see\nhttps://support.google.com/ manufacturers/answer/6124116.",
403 "type": "string"
404 } 354 }
405 }, 355 },
406 "type": "object" 356 "type": "object"
407 },
408 "FeatureDescription": {
409 "description": "A feature description of the product. For more infor mation, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc .",
410 "id": "FeatureDescription",
411 "properties": {
412 "image": {
413 "$ref": "Image",
414 "description": "An optional image describing the feature."
415 },
416 "headline": {
417 "description": "A short description of the feature.",
418 "type": "string"
419 },
420 "text": {
421 "description": "A detailed description of the feature.",
422 "type": "string"
423 }
424 },
425 "type": "object"
426 }, 357 },
427 "Empty": { 358 "Empty": {
428 "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use i t as the request\nor the response type of an API method. For instance:\n\n se rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty );\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", 359 "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use i t as the request\nor the response type of an API method. For instance:\n\n se rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty );\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
429 "id": "Empty", 360 "id": "Empty",
430 "properties": {}, 361 "properties": {},
431 "type": "object" 362 "type": "object"
432 }, 363 },
433 "Price": { 364 "Price": {
434 "description": "A price.", 365 "description": "A price.",
435 "id": "Price", 366 "id": "Price",
436 "properties": { 367 "properties": {
368 "amount": {
369 "description": "The numeric value of the price.",
370 "type": "string"
371 },
437 "currency": { 372 "currency": {
438 "description": "The currency in which the price is denoted." , 373 "description": "The currency in which the price is denoted." ,
439 "type": "string" 374 "type": "string"
440 },
441 "amount": {
442 "description": "The numeric value of the price.",
443 "type": "string"
444 } 375 }
445 }, 376 },
446 "type": "object" 377 "type": "object"
447 }, 378 },
448 "Image": { 379 "Image": {
449 "description": "An image.", 380 "description": "An image.",
450 "id": "Image", 381 "id": "Image",
451 "properties": { 382 "properties": {
383 "type": {
384 "description": "The type of the image, i.e., crawled or uplo aded.\n@OutputOnly",
385 "enum": [
386 "TYPE_UNSPECIFIED",
387 "CRAWLED",
388 "UPLOADED"
389 ],
390 "enumDescriptions": [
391 "Type is unspecified. Should not be used.",
392 "The image was crawled from a provided URL.",
393 "The image was uploaded."
394 ],
395 "type": "string"
396 },
397 "imageUrl": {
398 "description": "The URL of the image. For crawled images, th is is the provided URL. For\nuploaded images, this is a serving URL from Google if the image has been\nprocessed successfully.",
399 "type": "string"
400 },
452 "status": { 401 "status": {
453 "description": "The status of the image.\n@OutputOnly", 402 "description": "The status of the image.\n@OutputOnly",
454 "enum": [ 403 "enum": [
455 "STATUS_UNSPECIFIED", 404 "STATUS_UNSPECIFIED",
456 "PENDING_PROCESSING", 405 "PENDING_PROCESSING",
457 "PENDING_CRAWL", 406 "PENDING_CRAWL",
458 "OK", 407 "OK",
459 "ROBOTED", 408 "ROBOTED",
460 "XROBOTED", 409 "XROBOTED",
461 "CRAWL_ERROR", 410 "CRAWL_ERROR",
462 "PROCESSING_ERROR", 411 "PROCESSING_ERROR",
463 "DECODING_ERROR", 412 "DECODING_ERROR",
464 "TOO_BIG", 413 "TOO_BIG",
465 "CRAWL_SKIPPED" 414 "CRAWL_SKIPPED"
466 ], 415 ],
467 "enumDescriptions": [ 416 "enumDescriptions": [
468 "Status is unspecified. Should not be used.", 417 "Status is unspecified. Should not be used.",
469 "Image was uploaded and is being processed.", 418 "Image was uploaded and is being processed.",
470 "The image crawl is still pending.", 419 "The image crawl is still pending.",
471 "The image was processed and it meets the requirements." , 420 "The image was processed and it meets the requirements." ,
472 "The image URL is protected by robots.txt file and canno t be crawled.", 421 "The image URL is protected by robots.txt file and canno t be crawled.",
473 "The image URL is protected by X-Robots-Tag and cannot b e crawled.", 422 "The image URL is protected by X-Robots-Tag and cannot b e crawled.",
474 "There was an error while crawling the image.", 423 "There was an error while crawling the image.",
475 "The image cannot be processed.", 424 "The image cannot be processed.",
476 "The image cannot be decoded.", 425 "The image cannot be decoded.",
477 "The image is too big.", 426 "The image is too big.",
478 "The image was manually overridden and will not be crawl ed." 427 "The image was manually overridden and will not be crawl ed."
479 ], 428 ],
480 "type": "string" 429 "type": "string"
481 },
482 "type": {
483 "description": "The type of the image, i.e., crawled or uplo aded.\n@OutputOnly",
484 "enum": [
485 "TYPE_UNSPECIFIED",
486 "CRAWLED",
487 "UPLOADED"
488 ],
489 "enumDescriptions": [
490 "Type is unspecified. Should not be used.",
491 "The image was crawled from a provided URL.",
492 "The image was uploaded."
493 ],
494 "type": "string"
495 },
496 "imageUrl": {
497 "description": "The URL of the image. For crawled images, th is is the provided URL. For\nuploaded images, this is a serving URL from Google if the image has been\nprocessed successfully.",
498 "type": "string"
499 } 430 }
500 }, 431 },
501 "type": "object" 432 "type": "object"
502 }, 433 },
503 "Attributes": { 434 "Attributes": {
504 "description": "Attributes of the product. For more information, see \nhttps://support.google.com/manufacturers/answer/6124116.", 435 "description": "Attributes of the product. For more information, see \nhttps://support.google.com/manufacturers/answer/6124116.",
505 "id": "Attributes", 436 "id": "Attributes",
506 "properties": { 437 "properties": {
438 "additionalImageLink": {
439 "description": "The additional images of the product. For mo re information, see\nhttps://support.google.com/manufacturers/answer/6124116#add limage.",
440 "items": {
441 "$ref": "Image"
442 },
443 "type": "array"
444 },
445 "videoLink": {
446 "description": "The videos of the product. For more informat ion, see\nhttps://support.google.com/manufacturers/answer/6124116#video.",
447 "items": {
448 "type": "string"
449 },
450 "type": "array"
451 },
452 "color": {
453 "description": "The color of the product. For more informati on, see\nhttps://support.google.com/manufacturers/answer/6124116#color.",
454 "type": "string"
455 },
456 "productName": {
457 "description": "The canonical name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#produc tname.",
458 "type": "string"
459 },
460 "sizeType": {
461 "description": "The size type of the product. For more infor mation, see\nhttps://support.google.com/manufacturers/answer/6124116#sizetype.",
462 "type": "string"
463 },
464 "suggestedRetailPrice": {
465 "$ref": "Price",
466 "description": "The suggested retail price (MSRP) of the pro duct. For more information,\nsee https://support.google.com/manufacturers/answer /6124116#price."
467 },
507 "featureDescription": { 468 "featureDescription": {
508 "description": "The rich format description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/61241 16#featuredesc.", 469 "description": "The rich format description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/61241 16#featuredesc.",
509 "items": { 470 "items": {
510 "$ref": "FeatureDescription" 471 "$ref": "FeatureDescription"
511 }, 472 },
512 "type": "array" 473 "type": "array"
513 }, 474 },
514 "size": { 475 "size": {
515 "description": "The size of the product. For more informatio n, see\nhttps://support.google.com/manufacturers/answer/6124116#size.", 476 "description": "The size of the product. For more informatio n, see\nhttps://support.google.com/manufacturers/answer/6124116#size.",
516 "type": "string" 477 "type": "string"
(...skipping 15 matching lines...) Expand all
532 "type": "string" 493 "type": "string"
533 }, 494 },
534 "disclosureDate": { 495 "disclosureDate": {
535 "description": "The disclosure date of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#discl osure.", 496 "description": "The disclosure date of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#discl osure.",
536 "type": "string" 497 "type": "string"
537 }, 498 },
538 "scent": { 499 "scent": {
539 "description": "The scent of the product. For more informati on, see\n https://support.google.com/manufacturers/answer/6124116#scent.", 500 "description": "The scent of the product. For more informati on, see\n https://support.google.com/manufacturers/answer/6124116#scent.",
540 "type": "string" 501 "type": "string"
541 }, 502 },
542 "ageGroup": { 503 "flavor": {
543 "description": "The target age group of the product. For mor e information, see\nhttps://support.google.com/manufacturers/answer/6124116#ageg roup.", 504 "description": "The flavor of the product. For more informat ion, see\nhttps://support.google.com/manufacturers/answer/6124116#flavor.",
544 "type": "string" 505 "type": "string"
545 }, 506 },
546 "productDetail": { 507 "productDetail": {
547 "description": "The details of the product. For more informa tion, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail .", 508 "description": "The details of the product. For more informa tion, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail .",
548 "items": { 509 "items": {
549 "$ref": "ProductDetail" 510 "$ref": "ProductDetail"
550 }, 511 },
551 "type": "array" 512 "type": "array"
552 }, 513 },
553 "flavor": { 514 "ageGroup": {
554 "description": "The flavor of the product. For more informat ion, see\nhttps://support.google.com/manufacturers/answer/6124116#flavor.", 515 "description": "The target age group of the product. For mor e information, see\nhttps://support.google.com/manufacturers/answer/6124116#ageg roup.",
555 "type": "string" 516 "type": "string"
556 }, 517 },
557 "productPageUrl": { 518 "productPageUrl": {
558 "description": "The URL of the detail page of the product. F or more information, see\nhttps://support.google.com/manufacturers/answer/612411 6#productpage.", 519 "description": "The URL of the detail page of the product. F or more information, see\nhttps://support.google.com/manufacturers/answer/612411 6#productpage.",
559 "type": "string" 520 "type": "string"
560 }, 521 },
561 "mpn": { 522 "mpn": {
562 "description": "The Manufacturer Part Number (MPN) of the pr oduct. For more information,\nsee https://support.google.com/manufacturers/answe r/6124116#mpn.", 523 "description": "The Manufacturer Part Number (MPN) of the pr oduct. For more information,\nsee https://support.google.com/manufacturers/answe r/6124116#mpn.",
563 "type": "string" 524 "type": "string"
564 }, 525 },
565 "releaseDate": { 526 "releaseDate": {
566 "description": "The release date of the product. For more in formation, see\nhttps://support.google.com/manufacturers/answer/6124116#release. ", 527 "description": "The release date of the product. For more in formation, see\nhttps://support.google.com/manufacturers/answer/6124116#release. ",
567 "type": "string" 528 "type": "string"
568 }, 529 },
530 "itemGroupId": {
531 "description": "The item group id of the product. For more i nformation, see\nhttps://support.google.com/manufacturers/answer/6124116#itemgro upid.",
532 "type": "string"
533 },
569 "gtin": { 534 "gtin": {
570 "description": "The Global Trade Item Number (GTIN) of the p roduct. For more information,\nsee https://support.google.com/manufacturers/answ er/6124116#gtin.", 535 "description": "The Global Trade Item Number (GTIN) of the p roduct. For more information,\nsee https://support.google.com/manufacturers/answ er/6124116#gtin.",
571 "items": { 536 "items": {
572 "type": "string" 537 "type": "string"
573 }, 538 },
574 "type": "array" 539 "type": "array"
575 }, 540 },
576 "itemGroupId": {
577 "description": "The item group id of the product. For more i nformation, see\nhttps://support.google.com/manufacturers/answer/6124116#itemgro upid.",
578 "type": "string"
579 },
580 "productLine": { 541 "productLine": {
581 "description": "The name of the group of products related to the product. For more\ninformation, see\nhttps://support.google.com/manufacture rs/answer/6124116#productline.", 542 "description": "The name of the group of products related to the product. For more\ninformation, see\nhttps://support.google.com/manufacture rs/answer/6124116#productline.",
582 "type": "string" 543 "type": "string"
583 }, 544 },
584 "capacity": { 545 "capacity": {
585 "$ref": "Capacity", 546 "$ref": "Capacity",
586 "description": "The capacity of the product. For more inform ation, see\nhttps://support.google.com/manufacturers/answer/6124116#capacity." 547 "description": "The capacity of the product. For more inform ation, see\nhttps://support.google.com/manufacturers/answer/6124116#capacity."
587 }, 548 },
588 "description": { 549 "description": {
589 "description": "The description of the product. For more inf ormation, see\nhttps://support.google.com/manufacturers/answer/6124116#descripti on.", 550 "description": "The description of the product. For more inf ormation, see\nhttps://support.google.com/manufacturers/answer/6124116#descripti on.",
(...skipping 22 matching lines...) Expand all
612 "productType": { 573 "productType": {
613 "description": "The category of the product. For more inform ation, see\nhttps://support.google.com/manufacturers/answer/6124116#producttype. ", 574 "description": "The category of the product. For more inform ation, see\nhttps://support.google.com/manufacturers/answer/6124116#producttype. ",
614 "items": { 575 "items": {
615 "type": "string" 576 "type": "string"
616 }, 577 },
617 "type": "array" 578 "type": "array"
618 }, 579 },
619 "format": { 580 "format": {
620 "description": "The format of the product. For more informat ion, see\nhttps://support.google.com/manufacturers/answer/6124116#format.", 581 "description": "The format of the product. For more informat ion, see\nhttps://support.google.com/manufacturers/answer/6124116#format.",
621 "type": "string" 582 "type": "string"
622 },
623 "additionalImageLink": {
624 "description": "The additional images of the product. For mo re information, see\nhttps://support.google.com/manufacturers/answer/6124116#add limage.",
625 "items": {
626 "$ref": "Image"
627 },
628 "type": "array"
629 },
630 "videoLink": {
631 "description": "The videos of the product. For more informat ion, see\nhttps://support.google.com/manufacturers/answer/6124116#video.",
632 "items": {
633 "type": "string"
634 },
635 "type": "array"
636 },
637 "color": {
638 "description": "The color of the product. For more informati on, see\nhttps://support.google.com/manufacturers/answer/6124116#color.",
639 "type": "string"
640 },
641 "productName": {
642 "description": "The canonical name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#produc tname.",
643 "type": "string"
644 },
645 "sizeType": {
646 "description": "The size type of the product. For more infor mation, see\nhttps://support.google.com/manufacturers/answer/6124116#sizetype.",
647 "type": "string"
648 },
649 "suggestedRetailPrice": {
650 "$ref": "Price",
651 "description": "The suggested retail price (MSRP) of the pro duct. For more information,\nsee https://support.google.com/manufacturers/answer /6124116#price."
652 } 583 }
653 }, 584 },
654 "type": "object" 585 "type": "object"
655 }, 586 },
656 "Count": { 587 "Count": {
657 "description": "The number of products in a single package. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#count .", 588 "description": "The number of products in a single package. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#count .",
658 "id": "Count", 589 "id": "Count",
659 "properties": { 590 "properties": {
660 "unit": { 591 "unit": {
661 "description": "The unit in which these products are counted .", 592 "description": "The unit in which these products are counted .",
662 "type": "string" 593 "type": "string"
663 }, 594 },
664 "value": { 595 "value": {
665 "description": "The numeric value of the number of products in a package.", 596 "description": "The numeric value of the number of products in a package.",
666 "format": "int64", 597 "format": "int64",
667 "type": "string" 598 "type": "string"
668 } 599 }
600 },
601 "type": "object"
602 },
603 "Product": {
604 "description": "Product data.",
605 "id": "Product",
606 "properties": {
607 "manuallyProvidedAttributes": {
608 "$ref": "Attributes",
609 "description": "Attributes of the product provided manually via the Manufacturer Center UI.\n@OutputOnly"
610 },
611 "targetCountry": {
612 "description": "The target country of the product as a CLDR territory code (for example,\nUS).\n@OutputOnly",
613 "type": "string"
614 },
615 "contentLanguage": {
616 "description": "The content language of the product as a two -letter ISO 639-1 language code\n(for example, en).\n@OutputOnly",
617 "type": "string"
618 },
619 "name": {
620 "description": "Name in the format `{target_country}:{conten t_language}:{product_id}`.\n\n`target_country` - The target country of the pro duct as a CLDR territory\n code (for example, US).\n\n`conte nt_language` - The content language of the product as a two-letter\n ISO 639-1 language code (for example, en).\n\n`product_id` - The ID of the product. For more information, see\n https://suppo rt.google.com/manufacturers/answer/6124116#id.\n@OutputOnly",
621 "type": "string"
622 },
623 "issues": {
624 "description": "A server-generated list of issues associated with the product.\n@OutputOnly",
625 "items": {
626 "$ref": "Issue"
627 },
628 "type": "array"
629 },
630 "manuallyDeletedAttributes": {
631 "description": "Names of the attributes of the product delet ed manually via the\nManufacturer Center UI.\n@OutputOnly",
632 "items": {
633 "type": "string"
634 },
635 "type": "array"
636 },
637 "finalAttributes": {
638 "$ref": "Attributes",
639 "description": "Final attributes of the product. The final a ttributes are obtained by\noverriding the uploaded attributes with the manually provided and deleted\nattributes. Google systems only process, evaluate, review, and/or use final\nattributes.\n@OutputOnly"
640 },
641 "productId": {
642 "description": "The ID of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly",
643 "type": "string"
644 },
645 "uploadedAttributes": {
646 "$ref": "Attributes",
647 "description": "Attributes of the product uploaded via the M anufacturer Center API or via\nfeeds."
648 },
649 "parent": {
650 "description": "Parent ID in the format `accounts/{account_i d}`.\n\n`account_id` - The ID of the Manufacturer Center account.\n@OutputOnly",
651 "type": "string"
652 }
653 },
654 "type": "object"
655 },
656 "Capacity": {
657 "description": "The capacity of a product. For more information, see \nhttps://support.google.com/manufacturers/answer/6124116#capacity.",
658 "id": "Capacity",
659 "properties": {
660 "unit": {
661 "description": "The unit of the capacity, i.e., MB, GB, or T B.",
662 "type": "string"
663 },
664 "value": {
665 "description": "The numeric value of the capacity.",
666 "format": "int64",
667 "type": "string"
668 }
669 }, 669 },
670 "type": "object" 670 "type": "object"
671 } 671 }
672 }, 672 },
673 "servicePath": "", 673 "servicePath": "",
674 "title": "Manufacturer Center API", 674 "title": "Manufacturer Center API",
675 "version": "v1" 675 "version": "v1"
676 } 676 }
OLDNEW
« no previous file with comments | « discovery/googleapis/logging__v2.json ('k') | discovery/googleapis/ml__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698