OLD | NEW |
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 "upload_protocol": { | 28 "fields": { |
29 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 29 "description": "Selector specifying which fields to include in a par
tial response.", |
30 "location": "query", | 30 "location": "query", |
31 "type": "string" | 31 "type": "string" |
32 }, | 32 }, |
33 "prettyPrint": { | |
34 "default": "true", | |
35 "description": "Returns response with indentations and line breaks."
, | |
36 "location": "query", | |
37 "type": "boolean" | |
38 }, | |
39 "uploadType": { | 33 "uploadType": { |
40 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 34 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
41 "location": "query", | 35 "location": "query", |
42 "type": "string" | 36 "type": "string" |
43 }, | 37 }, |
44 "fields": { | |
45 "description": "Selector specifying which fields to include in a par
tial response.", | |
46 "location": "query", | |
47 "type": "string" | |
48 }, | |
49 "$.xgafv": { | 38 "$.xgafv": { |
50 "description": "V1 error format.", | 39 "description": "V1 error format.", |
51 "enum": [ | 40 "enum": [ |
52 "1", | 41 "1", |
53 "2" | 42 "2" |
54 ], | 43 ], |
55 "enumDescriptions": [ | 44 "enumDescriptions": [ |
56 "v1 error format", | 45 "v1 error format", |
57 "v2 error format" | 46 "v2 error format" |
58 ], | 47 ], |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 }, | 92 }, |
104 "oauth_token": { | 93 "oauth_token": { |
105 "description": "OAuth 2.0 token for the current user.", | 94 "description": "OAuth 2.0 token for the current user.", |
106 "location": "query", | 95 "location": "query", |
107 "type": "string" | 96 "type": "string" |
108 }, | 97 }, |
109 "bearer_token": { | 98 "bearer_token": { |
110 "description": "OAuth bearer token.", | 99 "description": "OAuth bearer token.", |
111 "location": "query", | 100 "location": "query", |
112 "type": "string" | 101 "type": "string" |
| 102 }, |
| 103 "upload_protocol": { |
| 104 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 105 "location": "query", |
| 106 "type": "string" |
| 107 }, |
| 108 "prettyPrint": { |
| 109 "default": "true", |
| 110 "description": "Returns response with indentations and line breaks."
, |
| 111 "location": "query", |
| 112 "type": "boolean" |
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 "list": { | 121 "list": { |
122 "description": "Lists all the products in a Manufact
urer Center account.", | 122 "description": "Lists all the products in a Manufact
urer Center account.", |
123 "httpMethod": "GET", | 123 "httpMethod": "GET", |
124 "id": "manufacturers.accounts.products.list", | 124 "id": "manufacturers.accounts.products.list", |
125 "parameterOrder": [ | 125 "parameterOrder": [ |
126 "parent" | 126 "parent" |
127 ], | 127 ], |
128 "parameters": { | 128 "parameters": { |
129 "parent": { | |
130 "description": "Parent ID in the format `acc
ounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account
.", | |
131 "location": "path", | |
132 "pattern": "^accounts/[^/]+$", | |
133 "required": true, | |
134 "type": "string" | |
135 }, | |
136 "pageToken": { | 129 "pageToken": { |
137 "description": "The token returned by the pr
evious request.", | 130 "description": "The token returned by the pr
evious request.", |
138 "location": "query", | 131 "location": "query", |
139 "type": "string" | 132 "type": "string" |
140 }, | 133 }, |
141 "pageSize": { | 134 "pageSize": { |
142 "description": "Maximum number of product st
atuses to return in the response, used for\npaging.", | 135 "description": "Maximum number of product st
atuses to return in the response, used for\npaging.", |
143 "format": "int32", | 136 "format": "int32", |
144 "location": "query", | 137 "location": "query", |
145 "type": "integer" | 138 "type": "integer" |
| 139 }, |
| 140 "parent": { |
| 141 "description": "Parent ID in the format `acc
ounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account
.", |
| 142 "location": "path", |
| 143 "pattern": "^accounts/[^/]+$", |
| 144 "required": true, |
| 145 "type": "string" |
146 } | 146 } |
147 }, | 147 }, |
148 "path": "v1/{+parent}/products", | 148 "path": "v1/{+parent}/products", |
149 "response": { | 149 "response": { |
150 "$ref": "ListProductsResponse" | 150 "$ref": "ListProductsResponse" |
151 }, | 151 }, |
152 "scopes": [ | 152 "scopes": [ |
153 "https://www.googleapis.com/auth/manufacturercen
ter" | 153 "https://www.googleapis.com/auth/manufacturercen
ter" |
154 ] | 154 ] |
155 }, | 155 }, |
(...skipping 30 matching lines...) Expand all Loading... |
186 ] | 186 ] |
187 } | 187 } |
188 } | 188 } |
189 } | 189 } |
190 } | 190 } |
191 } | 191 } |
192 }, | 192 }, |
193 "revision": "20170412", | 193 "revision": "20170412", |
194 "rootUrl": "https://manufacturers.googleapis.com/", | 194 "rootUrl": "https://manufacturers.googleapis.com/", |
195 "schemas": { | 195 "schemas": { |
196 "Count": { | |
197 "description": "The number of products in a single package. For more
information, see\nhttps://support.google.com/manufacturers/answer/6124116#count
.", | |
198 "id": "Count", | |
199 "properties": { | |
200 "value": { | |
201 "description": "The numeric value of the number of products
in a package.", | |
202 "format": "int64", | |
203 "type": "string" | |
204 }, | |
205 "unit": { | |
206 "description": "The unit in which these products are counted
.", | |
207 "type": "string" | |
208 } | |
209 }, | |
210 "type": "object" | |
211 }, | |
212 "Product": { | |
213 "description": "Product data.", | |
214 "id": "Product", | |
215 "properties": { | |
216 "name": { | |
217 "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", | |
218 "type": "string" | |
219 }, | |
220 "issues": { | |
221 "description": "A server-generated list of issues associated
with the product.\n@OutputOnly", | |
222 "items": { | |
223 "$ref": "Issue" | |
224 }, | |
225 "type": "array" | |
226 }, | |
227 "manuallyDeletedAttributes": { | |
228 "description": "Names of the attributes of the product delet
ed manually via the\nManufacturer Center UI.\n@OutputOnly", | |
229 "items": { | |
230 "type": "string" | |
231 }, | |
232 "type": "array" | |
233 }, | |
234 "finalAttributes": { | |
235 "$ref": "Attributes", | |
236 "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" | |
237 }, | |
238 "productId": { | |
239 "description": "The ID of the product. For more information,
see\nhttps://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly", | |
240 "type": "string" | |
241 }, | |
242 "uploadedAttributes": { | |
243 "$ref": "Attributes", | |
244 "description": "Attributes of the product uploaded via the M
anufacturer Center API or via\nfeeds." | |
245 }, | |
246 "parent": { | |
247 "description": "Parent ID in the format `accounts/{account_i
d}`.\n\n`account_id` - The ID of the Manufacturer Center account.\n@OutputOnly", | |
248 "type": "string" | |
249 }, | |
250 "manuallyProvidedAttributes": { | |
251 "$ref": "Attributes", | |
252 "description": "Attributes of the product provided manually
via the Manufacturer Center UI.\n@OutputOnly" | |
253 }, | |
254 "contentLanguage": { | |
255 "description": "The content language of the product as a two
-letter ISO 639-1 language code\n(for example, en).\n@OutputOnly", | |
256 "type": "string" | |
257 }, | |
258 "targetCountry": { | |
259 "description": "The target country of the product as a CLDR
territory code (for example,\nUS).\n@OutputOnly", | |
260 "type": "string" | |
261 } | |
262 }, | |
263 "type": "object" | |
264 }, | |
265 "Capacity": { | |
266 "description": "The capacity of a product. For more information, see
\nhttps://support.google.com/manufacturers/answer/6124116#capacity.", | |
267 "id": "Capacity", | |
268 "properties": { | |
269 "value": { | |
270 "description": "The numeric value of the capacity.", | |
271 "format": "int64", | |
272 "type": "string" | |
273 }, | |
274 "unit": { | |
275 "description": "The unit of the capacity, i.e., MB, GB, or T
B.", | |
276 "type": "string" | |
277 } | |
278 }, | |
279 "type": "object" | |
280 }, | |
281 "ListProductsResponse": { | |
282 "id": "ListProductsResponse", | |
283 "properties": { | |
284 "products": { | |
285 "description": "List of the products.", | |
286 "items": { | |
287 "$ref": "Product" | |
288 }, | |
289 "type": "array" | |
290 }, | |
291 "nextPageToken": { | |
292 "description": "The token for the retrieval of the next page
of product statuses.", | |
293 "type": "string" | |
294 } | |
295 }, | |
296 "type": "object" | |
297 }, | |
298 "ProductDetail": { | 196 "ProductDetail": { |
299 "description": "A product detail of the product. For more informatio
n, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.", | 197 "description": "A product detail of the product. For more informatio
n, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.", |
300 "id": "ProductDetail", | 198 "id": "ProductDetail", |
301 "properties": { | 199 "properties": { |
302 "attributeValue": { | 200 "attributeValue": { |
303 "description": "The value of the attribute.", | 201 "description": "The value of the attribute.", |
304 "type": "string" | 202 "type": "string" |
305 }, | 203 }, |
306 "sectionName": { | 204 "sectionName": { |
307 "description": "A short section name that can be reused betw
een multiple product details.", | 205 "description": "A short section name that can be reused betw
een multiple product details.", |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 ], | 249 ], |
352 "type": "string" | 250 "type": "string" |
353 } | 251 } |
354 }, | 252 }, |
355 "type": "object" | 253 "type": "object" |
356 }, | 254 }, |
357 "FeatureDescription": { | 255 "FeatureDescription": { |
358 "description": "A feature description of the product. For more infor
mation, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc
.", | 256 "description": "A feature description of the product. For more infor
mation, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc
.", |
359 "id": "FeatureDescription", | 257 "id": "FeatureDescription", |
360 "properties": { | 258 "properties": { |
361 "headline": { | |
362 "description": "A short description of the feature.", | |
363 "type": "string" | |
364 }, | |
365 "text": { | 259 "text": { |
366 "description": "A detailed description of the feature.", | 260 "description": "A detailed description of the feature.", |
367 "type": "string" | 261 "type": "string" |
368 }, | 262 }, |
369 "image": { | 263 "image": { |
370 "$ref": "Image", | 264 "$ref": "Image", |
371 "description": "An optional image describing the feature." | 265 "description": "An optional image describing the feature." |
| 266 }, |
| 267 "headline": { |
| 268 "description": "A short description of the feature.", |
| 269 "type": "string" |
372 } | 270 } |
373 }, | 271 }, |
374 "type": "object" | 272 "type": "object" |
375 }, | 273 }, |
376 "Price": { | 274 "Price": { |
377 "description": "A price.", | 275 "description": "A price.", |
378 "id": "Price", | 276 "id": "Price", |
379 "properties": { | 277 "properties": { |
| 278 "amount": { |
| 279 "description": "The numeric value of the price.", |
| 280 "type": "string" |
| 281 }, |
380 "currency": { | 282 "currency": { |
381 "description": "The currency in which the price is denoted."
, | 283 "description": "The currency in which the price is denoted."
, |
382 "type": "string" | 284 "type": "string" |
383 }, | |
384 "amount": { | |
385 "description": "The numeric value of the price.", | |
386 "type": "string" | |
387 } | 285 } |
388 }, | 286 }, |
389 "type": "object" | 287 "type": "object" |
390 }, | 288 }, |
391 "Image": { | 289 "Image": { |
392 "description": "An image.", | 290 "description": "An image.", |
393 "id": "Image", | 291 "id": "Image", |
394 "properties": { | 292 "properties": { |
395 "type": { | |
396 "description": "The type of the image, i.e., crawled or uplo
aded.\n@OutputOnly", | |
397 "enum": [ | |
398 "TYPE_UNSPECIFIED", | |
399 "CRAWLED", | |
400 "UPLOADED" | |
401 ], | |
402 "enumDescriptions": [ | |
403 "Type is unspecified. Should not be used.", | |
404 "The image was crawled from a provided URL.", | |
405 "The image was uploaded." | |
406 ], | |
407 "type": "string" | |
408 }, | |
409 "imageUrl": { | |
410 "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.", | |
411 "type": "string" | |
412 }, | |
413 "status": { | 293 "status": { |
414 "description": "The status of the image.\n@OutputOnly", | 294 "description": "The status of the image.\n@OutputOnly", |
415 "enum": [ | 295 "enum": [ |
416 "STATUS_UNSPECIFIED", | 296 "STATUS_UNSPECIFIED", |
417 "PENDING_PROCESSING", | 297 "PENDING_PROCESSING", |
418 "PENDING_CRAWL", | 298 "PENDING_CRAWL", |
419 "OK", | 299 "OK", |
420 "ROBOTED", | 300 "ROBOTED", |
421 "XROBOTED", | 301 "XROBOTED", |
422 "CRAWL_ERROR", | 302 "CRAWL_ERROR", |
423 "PROCESSING_ERROR", | 303 "PROCESSING_ERROR", |
424 "DECODING_ERROR", | 304 "DECODING_ERROR", |
425 "TOO_BIG", | 305 "TOO_BIG", |
426 "CRAWL_SKIPPED" | 306 "CRAWL_SKIPPED" |
427 ], | 307 ], |
428 "enumDescriptions": [ | 308 "enumDescriptions": [ |
429 "Status is unspecified. Should not be used.", | 309 "Status is unspecified. Should not be used.", |
430 "Image was uploaded and is being processed.", | 310 "Image was uploaded and is being processed.", |
431 "The image crawl is still pending.", | 311 "The image crawl is still pending.", |
432 "The image was processed and it meets the requirements."
, | 312 "The image was processed and it meets the requirements."
, |
433 "The image URL is protected by robots.txt file and canno
t be crawled.", | 313 "The image URL is protected by robots.txt file and canno
t be crawled.", |
434 "The image URL is protected by X-Robots-Tag and cannot b
e crawled.", | 314 "The image URL is protected by X-Robots-Tag and cannot b
e crawled.", |
435 "There was an error while crawling the image.", | 315 "There was an error while crawling the image.", |
436 "The image cannot be processed.", | 316 "The image cannot be processed.", |
437 "The image cannot be decoded.", | 317 "The image cannot be decoded.", |
438 "The image is too big.", | 318 "The image is too big.", |
439 "The image was manually overridden and will not be crawl
ed." | 319 "The image was manually overridden and will not be crawl
ed." |
440 ], | 320 ], |
441 "type": "string" | 321 "type": "string" |
| 322 }, |
| 323 "type": { |
| 324 "description": "The type of the image, i.e., crawled or uplo
aded.\n@OutputOnly", |
| 325 "enum": [ |
| 326 "TYPE_UNSPECIFIED", |
| 327 "CRAWLED", |
| 328 "UPLOADED" |
| 329 ], |
| 330 "enumDescriptions": [ |
| 331 "Type is unspecified. Should not be used.", |
| 332 "The image was crawled from a provided URL.", |
| 333 "The image was uploaded." |
| 334 ], |
| 335 "type": "string" |
| 336 }, |
| 337 "imageUrl": { |
| 338 "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.", |
| 339 "type": "string" |
442 } | 340 } |
443 }, | 341 }, |
444 "type": "object" | 342 "type": "object" |
445 }, | 343 }, |
446 "Attributes": { | 344 "Attributes": { |
447 "description": "Attributes of the product. For more information, see
\nhttps://support.google.com/manufacturers/answer/6124116.", | 345 "description": "Attributes of the product. For more information, see
\nhttps://support.google.com/manufacturers/answer/6124116.", |
448 "id": "Attributes", | 346 "id": "Attributes", |
449 "properties": { | 347 "properties": { |
450 "itemGroupId": { | 348 "flavor": { |
451 "description": "The item group id of the product. For more i
nformation, see\nhttps://support.google.com/manufacturers/answer/6124116#itemgro
upid.", | 349 "description": "The flavor of the product. For more informat
ion, see\nhttps://support.google.com/manufacturers/answer/6124116#flavor.", |
| 350 "type": "string" |
| 351 }, |
| 352 "productDetail": { |
| 353 "description": "The details of the product. For more informa
tion, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail
.", |
| 354 "items": { |
| 355 "$ref": "ProductDetail" |
| 356 }, |
| 357 "type": "array" |
| 358 }, |
| 359 "ageGroup": { |
| 360 "description": "The target age group of the product. For mor
e information, see\nhttps://support.google.com/manufacturers/answer/6124116#ageg
roup.", |
| 361 "type": "string" |
| 362 }, |
| 363 "mpn": { |
| 364 "description": "The Manufacturer Part Number (MPN) of the pr
oduct. For more information,\nsee https://support.google.com/manufacturers/answe
r/6124116#mpn.", |
| 365 "type": "string" |
| 366 }, |
| 367 "productPageUrl": { |
| 368 "description": "The URL of the detail page of the product. F
or more information, see\nhttps://support.google.com/manufacturers/answer/612411
6#productpage.", |
| 369 "type": "string" |
| 370 }, |
| 371 "releaseDate": { |
| 372 "description": "The release date of the product. For more in
formation, see\nhttps://support.google.com/manufacturers/answer/6124116#release.
", |
452 "type": "string" | 373 "type": "string" |
453 }, | 374 }, |
454 "gtin": { | 375 "gtin": { |
455 "description": "The Global Trade Item Number (GTIN) of the p
roduct. For more information,\nsee https://support.google.com/manufacturers/answ
er/6124116#gtin.", | 376 "description": "The Global Trade Item Number (GTIN) of the p
roduct. For more information,\nsee https://support.google.com/manufacturers/answ
er/6124116#gtin.", |
456 "items": { | 377 "items": { |
457 "type": "string" | 378 "type": "string" |
458 }, | 379 }, |
459 "type": "array" | 380 "type": "array" |
460 }, | 381 }, |
| 382 "itemGroupId": { |
| 383 "description": "The item group id of the product. For more i
nformation, see\nhttps://support.google.com/manufacturers/answer/6124116#itemgro
upid.", |
| 384 "type": "string" |
| 385 }, |
461 "productLine": { | 386 "productLine": { |
462 "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.", | 387 "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.", |
463 "type": "string" | 388 "type": "string" |
464 }, | 389 }, |
465 "capacity": { | 390 "capacity": { |
466 "$ref": "Capacity", | 391 "$ref": "Capacity", |
467 "description": "The capacity of the product. For more inform
ation, see\nhttps://support.google.com/manufacturers/answer/6124116#capacity." | 392 "description": "The capacity of the product. For more inform
ation, see\nhttps://support.google.com/manufacturers/answer/6124116#capacity." |
468 }, | 393 }, |
469 "description": { | 394 "description": { |
470 "description": "The description of the product. For more inf
ormation, see\nhttps://support.google.com/manufacturers/answer/6124116#descripti
on.", | 395 "description": "The description of the product. For more inf
ormation, see\nhttps://support.google.com/manufacturers/answer/6124116#descripti
on.", |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
558 "description": "The disclosure date of the product. For more
information, see\nhttps://support.google.com/manufacturers/answer/6124116#discl
osure.", | 483 "description": "The disclosure date of the product. For more
information, see\nhttps://support.google.com/manufacturers/answer/6124116#discl
osure.", |
559 "type": "string" | 484 "type": "string" |
560 }, | 485 }, |
561 "material": { | 486 "material": { |
562 "description": "The material of the product. For more inform
ation, see\nhttps://support.google.com/manufacturers/answer/6124116#material.", | 487 "description": "The material of the product. For more inform
ation, see\nhttps://support.google.com/manufacturers/answer/6124116#material.", |
563 "type": "string" | 488 "type": "string" |
564 }, | 489 }, |
565 "scent": { | 490 "scent": { |
566 "description": "The scent of the product. For more informati
on, see\n https://support.google.com/manufacturers/answer/6124116#scent.", | 491 "description": "The scent of the product. For more informati
on, see\n https://support.google.com/manufacturers/answer/6124116#scent.", |
567 "type": "string" | 492 "type": "string" |
| 493 } |
| 494 }, |
| 495 "type": "object" |
| 496 }, |
| 497 "Count": { |
| 498 "description": "The number of products in a single package. For more
information, see\nhttps://support.google.com/manufacturers/answer/6124116#count
.", |
| 499 "id": "Count", |
| 500 "properties": { |
| 501 "value": { |
| 502 "description": "The numeric value of the number of products
in a package.", |
| 503 "format": "int64", |
| 504 "type": "string" |
568 }, | 505 }, |
569 "productDetail": { | 506 "unit": { |
570 "description": "The details of the product. For more informa
tion, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail
.", | 507 "description": "The unit in which these products are counted
.", |
| 508 "type": "string" |
| 509 } |
| 510 }, |
| 511 "type": "object" |
| 512 }, |
| 513 "Product": { |
| 514 "description": "Product data.", |
| 515 "id": "Product", |
| 516 "properties": { |
| 517 "manuallyDeletedAttributes": { |
| 518 "description": "Names of the attributes of the product delet
ed manually via the\nManufacturer Center UI.\n@OutputOnly", |
571 "items": { | 519 "items": { |
572 "$ref": "ProductDetail" | 520 "type": "string" |
573 }, | 521 }, |
574 "type": "array" | 522 "type": "array" |
575 }, | 523 }, |
576 "ageGroup": { | 524 "issues": { |
577 "description": "The target age group of the product. For mor
e information, see\nhttps://support.google.com/manufacturers/answer/6124116#ageg
roup.", | 525 "description": "A server-generated list of issues associated
with the product.\n@OutputOnly", |
| 526 "items": { |
| 527 "$ref": "Issue" |
| 528 }, |
| 529 "type": "array" |
| 530 }, |
| 531 "finalAttributes": { |
| 532 "$ref": "Attributes", |
| 533 "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" |
| 534 }, |
| 535 "productId": { |
| 536 "description": "The ID of the product. For more information,
see\nhttps://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly", |
578 "type": "string" | 537 "type": "string" |
579 }, | 538 }, |
580 "flavor": { | 539 "uploadedAttributes": { |
581 "description": "The flavor of the product. For more informat
ion, see\nhttps://support.google.com/manufacturers/answer/6124116#flavor.", | 540 "$ref": "Attributes", |
| 541 "description": "Attributes of the product uploaded via the M
anufacturer Center API or via\nfeeds." |
| 542 }, |
| 543 "parent": { |
| 544 "description": "Parent ID in the format `accounts/{account_i
d}`.\n\n`account_id` - The ID of the Manufacturer Center account.\n@OutputOnly", |
582 "type": "string" | 545 "type": "string" |
583 }, | 546 }, |
584 "mpn": { | 547 "manuallyProvidedAttributes": { |
585 "description": "The Manufacturer Part Number (MPN) of the pr
oduct. For more information,\nsee https://support.google.com/manufacturers/answe
r/6124116#mpn.", | 548 "$ref": "Attributes", |
| 549 "description": "Attributes of the product provided manually
via the Manufacturer Center UI.\n@OutputOnly" |
| 550 }, |
| 551 "contentLanguage": { |
| 552 "description": "The content language of the product as a two
-letter ISO 639-1 language code\n(for example, en).\n@OutputOnly", |
586 "type": "string" | 553 "type": "string" |
587 }, | 554 }, |
588 "productPageUrl": { | 555 "targetCountry": { |
589 "description": "The URL of the detail page of the product. F
or more information, see\nhttps://support.google.com/manufacturers/answer/612411
6#productpage.", | 556 "description": "The target country of the product as a CLDR
territory code (for example,\nUS).\n@OutputOnly", |
590 "type": "string" | 557 "type": "string" |
591 }, | 558 }, |
592 "releaseDate": { | 559 "name": { |
593 "description": "The release date of the product. For more in
formation, see\nhttps://support.google.com/manufacturers/answer/6124116#release.
", | 560 "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", |
594 "type": "string" | 561 "type": "string" |
595 } | 562 } |
596 }, | 563 }, |
| 564 "type": "object" |
| 565 }, |
| 566 "Capacity": { |
| 567 "description": "The capacity of a product. For more information, see
\nhttps://support.google.com/manufacturers/answer/6124116#capacity.", |
| 568 "id": "Capacity", |
| 569 "properties": { |
| 570 "value": { |
| 571 "description": "The numeric value of the capacity.", |
| 572 "format": "int64", |
| 573 "type": "string" |
| 574 }, |
| 575 "unit": { |
| 576 "description": "The unit of the capacity, i.e., MB, GB, or T
B.", |
| 577 "type": "string" |
| 578 } |
| 579 }, |
| 580 "type": "object" |
| 581 }, |
| 582 "ListProductsResponse": { |
| 583 "id": "ListProductsResponse", |
| 584 "properties": { |
| 585 "products": { |
| 586 "description": "List of the products.", |
| 587 "items": { |
| 588 "$ref": "Product" |
| 589 }, |
| 590 "type": "array" |
| 591 }, |
| 592 "nextPageToken": { |
| 593 "description": "The token for the retrieval of the next page
of product statuses.", |
| 594 "type": "string" |
| 595 } |
| 596 }, |
597 "type": "object" | 597 "type": "object" |
598 } | 598 } |
599 }, | 599 }, |
600 "servicePath": "", | 600 "servicePath": "", |
601 "title": "Manufacturer Center API", | 601 "title": "Manufacturer Center API", |
602 "version": "v1" | 602 "version": "v1" |
603 } | 603 } |
OLD | NEW |