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 "fields": { | 28 "upload_protocol": { |
29 "description": "Selector specifying which fields to include in a par
tial response.", | 29 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
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 }, |
33 "uploadType": { | 39 "uploadType": { |
34 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 40 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
35 "location": "query", | 41 "location": "query", |
36 "type": "string" | 42 "type": "string" |
37 }, | 43 }, |
| 44 "fields": { |
| 45 "description": "Selector specifying which fields to include in a par
tial response.", |
| 46 "location": "query", |
| 47 "type": "string" |
| 48 }, |
38 "$.xgafv": { | 49 "$.xgafv": { |
39 "description": "V1 error format.", | 50 "description": "V1 error format.", |
40 "enum": [ | 51 "enum": [ |
41 "1", | 52 "1", |
42 "2" | 53 "2" |
43 ], | 54 ], |
44 "enumDescriptions": [ | 55 "enumDescriptions": [ |
45 "v1 error format", | 56 "v1 error format", |
46 "v2 error format" | 57 "v2 error format" |
47 ], | 58 ], |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 "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.", | 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.", |
84 "location": "query", | 95 "location": "query", |
85 "type": "string" | 96 "type": "string" |
86 }, | 97 }, |
87 "pp": { | 98 "pp": { |
88 "default": "true", | 99 "default": "true", |
89 "description": "Pretty-print response.", | 100 "description": "Pretty-print response.", |
90 "location": "query", | 101 "location": "query", |
91 "type": "boolean" | 102 "type": "boolean" |
92 }, | 103 }, |
93 "oauth_token": { | |
94 "description": "OAuth 2.0 token for the current user.", | |
95 "location": "query", | |
96 "type": "string" | |
97 }, | |
98 "bearer_token": { | 104 "bearer_token": { |
99 "description": "OAuth bearer token.", | 105 "description": "OAuth bearer token.", |
100 "location": "query", | 106 "location": "query", |
101 "type": "string" | 107 "type": "string" |
102 }, | 108 }, |
103 "upload_protocol": { | 109 "oauth_token": { |
104 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 110 "description": "OAuth 2.0 token for the current user.", |
105 "location": "query", | 111 "location": "query", |
106 "type": "string" | 112 "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 "update": { |
122 "description": "Lists all the products in a Manufact
urer Center account.", | 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.", |
123 "httpMethod": "GET", | 123 "httpMethod": "PUT", |
124 "id": "manufacturers.accounts.products.list", | 124 "id": "manufacturers.accounts.products.update", |
125 "parameterOrder": [ | 125 "parameterOrder": [ |
126 "parent" | 126 "parent", |
| 127 "name" |
127 ], | 128 ], |
128 "parameters": { | 129 "parameters": { |
129 "pageToken": { | |
130 "description": "The token returned by the pr
evious request.", | |
131 "location": "query", | |
132 "type": "string" | |
133 }, | |
134 "pageSize": { | |
135 "description": "Maximum number of product st
atuses to return in the response, used for\npaging.", | |
136 "format": "int32", | |
137 "location": "query", | |
138 "type": "integer" | |
139 }, | |
140 "parent": { | 130 "parent": { |
141 "description": "Parent ID in the format `acc
ounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account
.", | 131 "description": "Parent ID in the format `acc
ounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account
.", |
142 "location": "path", | 132 "location": "path", |
143 "pattern": "^accounts/[^/]+$", | 133 "pattern": "^accounts/[^/]+$", |
144 "required": true, | 134 "required": true, |
145 "type": "string" | 135 "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" |
146 } | 143 } |
147 }, | 144 }, |
148 "path": "v1/{+parent}/products", | 145 "path": "v1/{+parent}/products/{+name}", |
| 146 "request": { |
| 147 "$ref": "Product" |
| 148 }, |
149 "response": { | 149 "response": { |
150 "$ref": "ListProductsResponse" | 150 "$ref": "Product" |
| 151 }, |
| 152 "scopes": [ |
| 153 "https://www.googleapis.com/auth/manufacturercen
ter" |
| 154 ] |
| 155 }, |
| 156 "delete": { |
| 157 "description": "Deletes the product from a Manufactu
rer Center account.", |
| 158 "httpMethod": "DELETE", |
| 159 "id": "manufacturers.accounts.products.delete", |
| 160 "parameterOrder": [ |
| 161 "parent", |
| 162 "name" |
| 163 ], |
| 164 "parameters": { |
| 165 "parent": { |
| 166 "description": "Parent ID in the format `acc
ounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account
.", |
| 167 "location": "path", |
| 168 "pattern": "^accounts/[^/]+$", |
| 169 "required": true, |
| 170 "type": "string" |
| 171 }, |
| 172 "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.", |
| 174 "location": "path", |
| 175 "pattern": "^[^/]+$", |
| 176 "required": true, |
| 177 "type": "string" |
| 178 } |
| 179 }, |
| 180 "path": "v1/{+parent}/products/{+name}", |
| 181 "response": { |
| 182 "$ref": "Empty" |
151 }, | 183 }, |
152 "scopes": [ | 184 "scopes": [ |
153 "https://www.googleapis.com/auth/manufacturercen
ter" | 185 "https://www.googleapis.com/auth/manufacturercen
ter" |
154 ] | 186 ] |
155 }, | 187 }, |
156 "get": { | 188 "get": { |
157 "description": "Gets the product from a Manufacturer
Center account, including product\nissues.", | 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.", |
158 "httpMethod": "GET", | 190 "httpMethod": "GET", |
159 "id": "manufacturers.accounts.products.get", | 191 "id": "manufacturers.accounts.products.get", |
160 "parameterOrder": [ | 192 "parameterOrder": [ |
161 "parent", | 193 "parent", |
162 "name" | 194 "name" |
163 ], | 195 ], |
164 "parameters": { | 196 "parameters": { |
| 197 "parent": { |
| 198 "description": "Parent ID in the format `acc
ounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account
.", |
| 199 "location": "path", |
| 200 "pattern": "^accounts/[^/]+$", |
| 201 "required": true, |
| 202 "type": "string" |
| 203 }, |
165 "name": { | 204 "name": { |
166 "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.", | 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.", |
167 "location": "path", | 206 "location": "path", |
168 "pattern": "^[^/]+$", | 207 "pattern": "^[^/]+$", |
169 "required": true, | 208 "required": true, |
170 "type": "string" | 209 "type": "string" |
171 }, | |
172 "parent": { | |
173 "description": "Parent ID in the format `acc
ounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account
.", | |
174 "location": "path", | |
175 "pattern": "^accounts/[^/]+$", | |
176 "required": true, | |
177 "type": "string" | |
178 } | 210 } |
179 }, | 211 }, |
180 "path": "v1/{+parent}/products/{+name}", | 212 "path": "v1/{+parent}/products/{+name}", |
181 "response": { | 213 "response": { |
182 "$ref": "Product" | 214 "$ref": "Product" |
183 }, | 215 }, |
184 "scopes": [ | 216 "scopes": [ |
185 "https://www.googleapis.com/auth/manufacturercen
ter" | 217 "https://www.googleapis.com/auth/manufacturercen
ter" |
| 218 ] |
| 219 }, |
| 220 "list": { |
| 221 "description": "Lists all the products in a Manufact
urer Center account.", |
| 222 "httpMethod": "GET", |
| 223 "id": "manufacturers.accounts.products.list", |
| 224 "parameterOrder": [ |
| 225 "parent" |
| 226 ], |
| 227 "parameters": { |
| 228 "parent": { |
| 229 "description": "Parent ID in the format `acc
ounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account
.", |
| 230 "location": "path", |
| 231 "pattern": "^accounts/[^/]+$", |
| 232 "required": true, |
| 233 "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 } |
| 246 }, |
| 247 "path": "v1/{+parent}/products", |
| 248 "response": { |
| 249 "$ref": "ListProductsResponse" |
| 250 }, |
| 251 "scopes": [ |
| 252 "https://www.googleapis.com/auth/manufacturercen
ter" |
186 ] | 253 ] |
187 } | 254 } |
188 } | 255 } |
189 } | 256 } |
190 } | 257 } |
191 } | 258 } |
192 }, | 259 }, |
193 "revision": "20170412", | 260 "revision": "20170629", |
194 "rootUrl": "https://manufacturers.googleapis.com/", | 261 "rootUrl": "https://manufacturers.googleapis.com/", |
195 "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": { |
| 333 "id": "ListProductsResponse", |
| 334 "properties": { |
| 335 "products": { |
| 336 "description": "List of the products.", |
| 337 "items": { |
| 338 "$ref": "Product" |
| 339 }, |
| 340 "type": "array" |
| 341 }, |
| 342 "nextPageToken": { |
| 343 "description": "The token for the retrieval of the next page
of product statuses.", |
| 344 "type": "string" |
| 345 } |
| 346 }, |
| 347 "type": "object" |
| 348 }, |
196 "ProductDetail": { | 349 "ProductDetail": { |
197 "description": "A product detail of the product. For more informatio
n, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.", | 350 "description": "A product detail of the product. For more informatio
n, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.", |
198 "id": "ProductDetail", | 351 "id": "ProductDetail", |
199 "properties": { | 352 "properties": { |
200 "attributeValue": { | 353 "attributeValue": { |
201 "description": "The value of the attribute.", | 354 "description": "The value of the attribute.", |
202 "type": "string" | 355 "type": "string" |
203 }, | 356 }, |
204 "sectionName": { | 357 "sectionName": { |
205 "description": "A short section name that can be reused betw
een multiple product details.", | 358 "description": "A short section name that can be reused betw
een multiple product details.", |
206 "type": "string" | 359 "type": "string" |
207 }, | 360 }, |
208 "attributeName": { | 361 "attributeName": { |
209 "description": "The name of the attribute.", | 362 "description": "The name of the attribute.", |
210 "type": "string" | 363 "type": "string" |
211 } | 364 } |
212 }, | 365 }, |
213 "type": "object" | 366 "type": "object" |
214 }, | 367 }, |
215 "Issue": { | 368 "Issue": { |
216 "description": "Product issue.", | 369 "description": "Product issue.", |
217 "id": "Issue", | 370 "id": "Issue", |
218 "properties": { | 371 "properties": { |
219 "description": { | |
220 "description": "Description of the issue.", | |
221 "type": "string" | |
222 }, | |
223 "type": { | |
224 "description": "The server-generated type of the issue, for
example,\n“INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.", | |
225 "type": "string" | |
226 }, | |
227 "attribute": { | |
228 "description": "If present, the attribute that triggered the
issue. For more information\nabout attributes, see\nhttps://support.google.com/
manufacturers/answer/6124116.", | |
229 "type": "string" | |
230 }, | |
231 "timestamp": { | 372 "timestamp": { |
232 "description": "The timestamp when this issue appeared.", | 373 "description": "The timestamp when this issue appeared.", |
233 "format": "google-datetime", | 374 "format": "google-datetime", |
234 "type": "string" | 375 "type": "string" |
235 }, | 376 }, |
236 "severity": { | 377 "severity": { |
237 "description": "The severity of the issue.", | 378 "description": "The severity of the issue.", |
238 "enum": [ | 379 "enum": [ |
239 "SEVERITY_UNSPECIFIED", | 380 "SEVERITY_UNSPECIFIED", |
240 "ERROR", | 381 "ERROR", |
241 "WARNING", | 382 "WARNING", |
242 "INFO" | 383 "INFO" |
243 ], | 384 ], |
244 "enumDescriptions": [ | 385 "enumDescriptions": [ |
245 "Unspecified severity, never used.", | 386 "Unspecified severity, never used.", |
246 "Error severity. The issue prevents the usage of the who
le item.", | 387 "Error severity. The issue prevents the usage of the who
le item.", |
247 "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.", | 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.", |
248 "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." | 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." |
249 ], | 390 ], |
250 "type": "string" | 391 "type": "string" |
| 392 }, |
| 393 "description": { |
| 394 "description": "Description of the issue.", |
| 395 "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" |
251 } | 404 } |
252 }, | 405 }, |
253 "type": "object" | 406 "type": "object" |
254 }, | 407 }, |
255 "FeatureDescription": { | 408 "FeatureDescription": { |
256 "description": "A feature description of the product. For more infor
mation, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc
.", | 409 "description": "A feature description of the product. For more infor
mation, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc
.", |
257 "id": "FeatureDescription", | 410 "id": "FeatureDescription", |
258 "properties": { | 411 "properties": { |
259 "text": { | |
260 "description": "A detailed description of the feature.", | |
261 "type": "string" | |
262 }, | |
263 "image": { | 412 "image": { |
264 "$ref": "Image", | 413 "$ref": "Image", |
265 "description": "An optional image describing the feature." | 414 "description": "An optional image describing the feature." |
266 }, | 415 }, |
267 "headline": { | 416 "headline": { |
268 "description": "A short description of the feature.", | 417 "description": "A short description of the feature.", |
269 "type": "string" | 418 "type": "string" |
| 419 }, |
| 420 "text": { |
| 421 "description": "A detailed description of the feature.", |
| 422 "type": "string" |
270 } | 423 } |
271 }, | 424 }, |
272 "type": "object" | 425 "type": "object" |
273 }, | 426 }, |
| 427 "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 `{}`.", |
| 429 "id": "Empty", |
| 430 "properties": {}, |
| 431 "type": "object" |
| 432 }, |
274 "Price": { | 433 "Price": { |
275 "description": "A price.", | 434 "description": "A price.", |
276 "id": "Price", | 435 "id": "Price", |
277 "properties": { | 436 "properties": { |
| 437 "currency": { |
| 438 "description": "The currency in which the price is denoted."
, |
| 439 "type": "string" |
| 440 }, |
278 "amount": { | 441 "amount": { |
279 "description": "The numeric value of the price.", | 442 "description": "The numeric value of the price.", |
280 "type": "string" | 443 "type": "string" |
281 }, | |
282 "currency": { | |
283 "description": "The currency in which the price is denoted."
, | |
284 "type": "string" | |
285 } | 444 } |
286 }, | 445 }, |
287 "type": "object" | 446 "type": "object" |
288 }, | 447 }, |
289 "Image": { | 448 "Image": { |
290 "description": "An image.", | 449 "description": "An image.", |
291 "id": "Image", | 450 "id": "Image", |
292 "properties": { | 451 "properties": { |
293 "status": { | 452 "status": { |
294 "description": "The status of the image.\n@OutputOnly", | 453 "description": "The status of the image.\n@OutputOnly", |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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.", | 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.", |
339 "type": "string" | 498 "type": "string" |
340 } | 499 } |
341 }, | 500 }, |
342 "type": "object" | 501 "type": "object" |
343 }, | 502 }, |
344 "Attributes": { | 503 "Attributes": { |
345 "description": "Attributes of the product. For more information, see
\nhttps://support.google.com/manufacturers/answer/6124116.", | 504 "description": "Attributes of the product. For more information, see
\nhttps://support.google.com/manufacturers/answer/6124116.", |
346 "id": "Attributes", | 505 "id": "Attributes", |
347 "properties": { | 506 "properties": { |
348 "flavor": { | 507 "featureDescription": { |
349 "description": "The flavor of the product. For more informat
ion, see\nhttps://support.google.com/manufacturers/answer/6124116#flavor.", | 508 "description": "The rich format description of the product.
For more information, see\nhttps://support.google.com/manufacturers/answer/61241
16#featuredesc.", |
| 509 "items": { |
| 510 "$ref": "FeatureDescription" |
| 511 }, |
| 512 "type": "array" |
| 513 }, |
| 514 "size": { |
| 515 "description": "The size of the product. For more informatio
n, see\nhttps://support.google.com/manufacturers/answer/6124116#size.", |
| 516 "type": "string" |
| 517 }, |
| 518 "title": { |
| 519 "description": "The title of the product. For more informati
on, see\nhttps://support.google.com/manufacturers/answer/6124116#title.", |
| 520 "type": "string" |
| 521 }, |
| 522 "count": { |
| 523 "$ref": "Count", |
| 524 "description": "The count of the product. For more informati
on, see\nhttps://support.google.com/manufacturers/answer/6124116#count." |
| 525 }, |
| 526 "brand": { |
| 527 "description": "The brand name of the product. For more info
rmation, see\nhttps://support.google.com/manufacturers/answer/6124116#brand.", |
| 528 "type": "string" |
| 529 }, |
| 530 "material": { |
| 531 "description": "The material of the product. For more inform
ation, see\nhttps://support.google.com/manufacturers/answer/6124116#material.", |
| 532 "type": "string" |
| 533 }, |
| 534 "disclosureDate": { |
| 535 "description": "The disclosure date of the product. For more
information, see\nhttps://support.google.com/manufacturers/answer/6124116#discl
osure.", |
| 536 "type": "string" |
| 537 }, |
| 538 "scent": { |
| 539 "description": "The scent of the product. For more informati
on, see\n https://support.google.com/manufacturers/answer/6124116#scent.", |
| 540 "type": "string" |
| 541 }, |
| 542 "ageGroup": { |
| 543 "description": "The target age group of the product. For mor
e information, see\nhttps://support.google.com/manufacturers/answer/6124116#ageg
roup.", |
350 "type": "string" | 544 "type": "string" |
351 }, | 545 }, |
352 "productDetail": { | 546 "productDetail": { |
353 "description": "The details of the product. For more informa
tion, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail
.", | 547 "description": "The details of the product. For more informa
tion, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail
.", |
354 "items": { | 548 "items": { |
355 "$ref": "ProductDetail" | 549 "$ref": "ProductDetail" |
356 }, | 550 }, |
357 "type": "array" | 551 "type": "array" |
358 }, | 552 }, |
359 "ageGroup": { | 553 "flavor": { |
360 "description": "The target age group of the product. For mor
e information, see\nhttps://support.google.com/manufacturers/answer/6124116#ageg
roup.", | 554 "description": "The flavor of the product. For more informat
ion, see\nhttps://support.google.com/manufacturers/answer/6124116#flavor.", |
| 555 "type": "string" |
| 556 }, |
| 557 "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.", |
361 "type": "string" | 559 "type": "string" |
362 }, | 560 }, |
363 "mpn": { | 561 "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.", | 562 "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" | 563 "type": "string" |
366 }, | 564 }, |
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": { | 565 "releaseDate": { |
372 "description": "The release date of the product. For more in
formation, see\nhttps://support.google.com/manufacturers/answer/6124116#release.
", | 566 "description": "The release date of the product. For more in
formation, see\nhttps://support.google.com/manufacturers/answer/6124116#release.
", |
373 "type": "string" | 567 "type": "string" |
374 }, | 568 }, |
375 "gtin": { | 569 "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.", | 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.", |
377 "items": { | 571 "items": { |
378 "type": "string" | 572 "type": "string" |
379 }, | 573 }, |
380 "type": "array" | 574 "type": "array" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
448 "description": "The canonical name of the product. For more
information, see\nhttps://support.google.com/manufacturers/answer/6124116#produc
tname.", | 642 "description": "The canonical name of the product. For more
information, see\nhttps://support.google.com/manufacturers/answer/6124116#produc
tname.", |
449 "type": "string" | 643 "type": "string" |
450 }, | 644 }, |
451 "sizeType": { | 645 "sizeType": { |
452 "description": "The size type of the product. For more infor
mation, see\nhttps://support.google.com/manufacturers/answer/6124116#sizetype.", | 646 "description": "The size type of the product. For more infor
mation, see\nhttps://support.google.com/manufacturers/answer/6124116#sizetype.", |
453 "type": "string" | 647 "type": "string" |
454 }, | 648 }, |
455 "suggestedRetailPrice": { | 649 "suggestedRetailPrice": { |
456 "$ref": "Price", | 650 "$ref": "Price", |
457 "description": "The suggested retail price (MSRP) of the pro
duct. For more information,\nsee https://support.google.com/manufacturers/answer
/6124116#price." | 651 "description": "The suggested retail price (MSRP) of the pro
duct. For more information,\nsee https://support.google.com/manufacturers/answer
/6124116#price." |
458 }, | |
459 "featureDescription": { | |
460 "description": "The rich format description of the product.
For more information, see\nhttps://support.google.com/manufacturers/answer/61241
16#featuredesc.", | |
461 "items": { | |
462 "$ref": "FeatureDescription" | |
463 }, | |
464 "type": "array" | |
465 }, | |
466 "size": { | |
467 "description": "The size of the product. For more informatio
n, see\nhttps://support.google.com/manufacturers/answer/6124116#size.", | |
468 "type": "string" | |
469 }, | |
470 "title": { | |
471 "description": "The title of the product. For more informati
on, see\nhttps://support.google.com/manufacturers/answer/6124116#title.", | |
472 "type": "string" | |
473 }, | |
474 "count": { | |
475 "$ref": "Count", | |
476 "description": "The count of the product. For more informati
on, see\nhttps://support.google.com/manufacturers/answer/6124116#count." | |
477 }, | |
478 "brand": { | |
479 "description": "The brand name of the product. For more info
rmation, see\nhttps://support.google.com/manufacturers/answer/6124116#brand.", | |
480 "type": "string" | |
481 }, | |
482 "disclosureDate": { | |
483 "description": "The disclosure date of the product. For more
information, see\nhttps://support.google.com/manufacturers/answer/6124116#discl
osure.", | |
484 "type": "string" | |
485 }, | |
486 "material": { | |
487 "description": "The material of the product. For more inform
ation, see\nhttps://support.google.com/manufacturers/answer/6124116#material.", | |
488 "type": "string" | |
489 }, | |
490 "scent": { | |
491 "description": "The scent of the product. For more informati
on, see\n https://support.google.com/manufacturers/answer/6124116#scent.", | |
492 "type": "string" | |
493 } | 652 } |
494 }, | 653 }, |
495 "type": "object" | 654 "type": "object" |
496 }, | 655 }, |
497 "Count": { | 656 "Count": { |
498 "description": "The number of products in a single package. For more
information, see\nhttps://support.google.com/manufacturers/answer/6124116#count
.", | 657 "description": "The number of products in a single package. For more
information, see\nhttps://support.google.com/manufacturers/answer/6124116#count
.", |
499 "id": "Count", | 658 "id": "Count", |
500 "properties": { | 659 "properties": { |
| 660 "unit": { |
| 661 "description": "The unit in which these products are counted
.", |
| 662 "type": "string" |
| 663 }, |
501 "value": { | 664 "value": { |
502 "description": "The numeric value of the number of products
in a package.", | 665 "description": "The numeric value of the number of products
in a package.", |
503 "format": "int64", | 666 "format": "int64", |
504 "type": "string" | 667 "type": "string" |
505 }, | |
506 "unit": { | |
507 "description": "The unit in which these products are counted
.", | |
508 "type": "string" | |
509 } | 668 } |
510 }, | 669 }, |
511 "type": "object" | 670 "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", | |
519 "items": { | |
520 "type": "string" | |
521 }, | |
522 "type": "array" | |
523 }, | |
524 "issues": { | |
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", | |
537 "type": "string" | |
538 }, | |
539 "uploadedAttributes": { | |
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", | |
545 "type": "string" | |
546 }, | |
547 "manuallyProvidedAttributes": { | |
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", | |
553 "type": "string" | |
554 }, | |
555 "targetCountry": { | |
556 "description": "The target country of the product as a CLDR
territory code (for example,\nUS).\n@OutputOnly", | |
557 "type": "string" | |
558 }, | |
559 "name": { | |
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", | |
561 "type": "string" | |
562 } | |
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" | |
598 } | 671 } |
599 }, | 672 }, |
600 "servicePath": "", | 673 "servicePath": "", |
601 "title": "Manufacturer Center API", | 674 "title": "Manufacturer Center API", |
602 "version": "v1" | 675 "version": "v1" |
603 } | 676 } |
OLD | NEW |