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

Unified Diff: discovery/googleapis/manufacturers__v1.json

Issue 2936613002: Api-Roll 50: 2017-06-12 (Closed)
Patch Set: Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « discovery/googleapis/logging__v2.json ('k') | discovery/googleapis/ml__v1.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: discovery/googleapis/manufacturers__v1.json
diff --git a/discovery/googleapis/manufacturers__v1.json b/discovery/googleapis/manufacturers__v1.json
index 6253dd2bea009155068ff609b93f82115536e62f..be7bdcd44b552d6ec5d5b66e81f2ad4f03fb1085 100644
--- a/discovery/googleapis/manufacturers__v1.json
+++ b/discovery/googleapis/manufacturers__v1.json
@@ -25,27 +25,16 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "upload_protocol": {
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
- "location": "query",
- "type": "string"
- },
"$.xgafv": {
"description": "V1 error format.",
"enum": [
@@ -110,6 +99,17 @@
"description": "OAuth bearer token.",
"location": "query",
"type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
}
},
"protocol": "rest",
@@ -126,13 +126,6 @@
"parent"
],
"parameters": {
- "parent": {
- "description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
- "location": "path",
- "pattern": "^accounts/[^/]+$",
- "required": true,
- "type": "string"
- },
"pageToken": {
"description": "The token returned by the previous request.",
"location": "query",
@@ -143,6 +136,13 @@
"format": "int32",
"location": "query",
"type": "integer"
+ },
+ "parent": {
+ "description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
+ "location": "path",
+ "pattern": "^accounts/[^/]+$",
+ "required": true,
+ "type": "string"
}
},
"path": "v1/{+parent}/products",
@@ -193,108 +193,6 @@
"revision": "20170412",
"rootUrl": "https://manufacturers.googleapis.com/",
"schemas": {
- "Count": {
- "description": "The number of products in a single package. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#count.",
- "id": "Count",
- "properties": {
- "value": {
- "description": "The numeric value of the number of products in a package.",
- "format": "int64",
- "type": "string"
- },
- "unit": {
- "description": "The unit in which these products are counted.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Product": {
- "description": "Product data.",
- "id": "Product",
- "properties": {
- "name": {
- "description": "Name in the format `{target_country}:{content_language}:{product_id}`.\n\n`target_country` - The target country 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-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://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly",
- "type": "string"
- },
- "issues": {
- "description": "A server-generated list of issues associated with the product.\n@OutputOnly",
- "items": {
- "$ref": "Issue"
- },
- "type": "array"
- },
- "manuallyDeletedAttributes": {
- "description": "Names of the attributes of the product deleted manually via the\nManufacturer Center UI.\n@OutputOnly",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "finalAttributes": {
- "$ref": "Attributes",
- "description": "Final attributes of the product. The final attributes 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"
- },
- "productId": {
- "description": "The ID of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly",
- "type": "string"
- },
- "uploadedAttributes": {
- "$ref": "Attributes",
- "description": "Attributes of the product uploaded via the Manufacturer Center API or via\nfeeds."
- },
- "parent": {
- "description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.\n@OutputOnly",
- "type": "string"
- },
- "manuallyProvidedAttributes": {
- "$ref": "Attributes",
- "description": "Attributes of the product provided manually via the Manufacturer Center UI.\n@OutputOnly"
- },
- "contentLanguage": {
- "description": "The content language of the product as a two-letter ISO 639-1 language code\n(for example, en).\n@OutputOnly",
- "type": "string"
- },
- "targetCountry": {
- "description": "The target country of the product as a CLDR territory code (for example,\nUS).\n@OutputOnly",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Capacity": {
- "description": "The capacity of a product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#capacity.",
- "id": "Capacity",
- "properties": {
- "value": {
- "description": "The numeric value of the capacity.",
- "format": "int64",
- "type": "string"
- },
- "unit": {
- "description": "The unit of the capacity, i.e., MB, GB, or TB.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListProductsResponse": {
- "id": "ListProductsResponse",
- "properties": {
- "products": {
- "description": "List of the products.",
- "items": {
- "$ref": "Product"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "The token for the retrieval of the next page of product statuses.",
- "type": "string"
- }
- },
- "type": "object"
- },
"ProductDetail": {
"description": "A product detail of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.",
"id": "ProductDetail",
@@ -358,10 +256,6 @@
"description": "A feature description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc.",
"id": "FeatureDescription",
"properties": {
- "headline": {
- "description": "A short description of the feature.",
- "type": "string"
- },
"text": {
"description": "A detailed description of the feature.",
"type": "string"
@@ -369,6 +263,10 @@
"image": {
"$ref": "Image",
"description": "An optional image describing the feature."
+ },
+ "headline": {
+ "description": "A short description of the feature.",
+ "type": "string"
}
},
"type": "object"
@@ -377,13 +275,13 @@
"description": "A price.",
"id": "Price",
"properties": {
- "currency": {
- "description": "The currency in which the price is denoted.",
- "type": "string"
- },
"amount": {
"description": "The numeric value of the price.",
"type": "string"
+ },
+ "currency": {
+ "description": "The currency in which the price is denoted.",
+ "type": "string"
}
},
"type": "object"
@@ -392,24 +290,6 @@
"description": "An image.",
"id": "Image",
"properties": {
- "type": {
- "description": "The type of the image, i.e., crawled or uploaded.\n@OutputOnly",
- "enum": [
- "TYPE_UNSPECIFIED",
- "CRAWLED",
- "UPLOADED"
- ],
- "enumDescriptions": [
- "Type is unspecified. Should not be used.",
- "The image was crawled from a provided URL.",
- "The image was uploaded."
- ],
- "type": "string"
- },
- "imageUrl": {
- "description": "The URL of the image. For crawled images, this is the provided URL. For\nuploaded images, this is a serving URL from Google if the image has been\nprocessed successfully.",
- "type": "string"
- },
"status": {
"description": "The status of the image.\n@OutputOnly",
"enum": [
@@ -439,6 +319,24 @@
"The image was manually overridden and will not be crawled."
],
"type": "string"
+ },
+ "type": {
+ "description": "The type of the image, i.e., crawled or uploaded.\n@OutputOnly",
+ "enum": [
+ "TYPE_UNSPECIFIED",
+ "CRAWLED",
+ "UPLOADED"
+ ],
+ "enumDescriptions": [
+ "Type is unspecified. Should not be used.",
+ "The image was crawled from a provided URL.",
+ "The image was uploaded."
+ ],
+ "type": "string"
+ },
+ "imageUrl": {
+ "description": "The URL of the image. For crawled images, this is the provided URL. For\nuploaded images, this is a serving URL from Google if the image has been\nprocessed successfully.",
+ "type": "string"
}
},
"type": "object"
@@ -447,8 +345,31 @@
"description": "Attributes of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116.",
"id": "Attributes",
"properties": {
- "itemGroupId": {
- "description": "The item group id of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#itemgroupid.",
+ "flavor": {
+ "description": "The flavor of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#flavor.",
+ "type": "string"
+ },
+ "productDetail": {
+ "description": "The details of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.",
+ "items": {
+ "$ref": "ProductDetail"
+ },
+ "type": "array"
+ },
+ "ageGroup": {
+ "description": "The target age group of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#agegroup.",
+ "type": "string"
+ },
+ "mpn": {
+ "description": "The Manufacturer Part Number (MPN) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#mpn.",
+ "type": "string"
+ },
+ "productPageUrl": {
+ "description": "The URL of the detail page of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productpage.",
+ "type": "string"
+ },
+ "releaseDate": {
+ "description": "The release date of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#release.",
"type": "string"
},
"gtin": {
@@ -458,6 +379,10 @@
},
"type": "array"
},
+ "itemGroupId": {
+ "description": "The item group id of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#itemgroupid.",
+ "type": "string"
+ },
"productLine": {
"description": "The name of the group of products related to the product. For more\ninformation, see\nhttps://support.google.com/manufacturers/answer/6124116#productline.",
"type": "string"
@@ -565,32 +490,107 @@
"scent": {
"description": "The scent of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#scent.",
"type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Count": {
+ "description": "The number of products in a single package. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#count.",
+ "id": "Count",
+ "properties": {
+ "value": {
+ "description": "The numeric value of the number of products in a package.",
+ "format": "int64",
+ "type": "string"
},
- "productDetail": {
- "description": "The details of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.",
+ "unit": {
+ "description": "The unit in which these products are counted.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Product": {
+ "description": "Product data.",
+ "id": "Product",
+ "properties": {
+ "manuallyDeletedAttributes": {
+ "description": "Names of the attributes of the product deleted manually via the\nManufacturer Center UI.\n@OutputOnly",
"items": {
- "$ref": "ProductDetail"
+ "type": "string"
},
"type": "array"
},
- "ageGroup": {
- "description": "The target age group of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#agegroup.",
+ "issues": {
+ "description": "A server-generated list of issues associated with the product.\n@OutputOnly",
+ "items": {
+ "$ref": "Issue"
+ },
+ "type": "array"
+ },
+ "finalAttributes": {
+ "$ref": "Attributes",
+ "description": "Final attributes of the product. The final attributes 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"
+ },
+ "productId": {
+ "description": "The ID of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly",
"type": "string"
},
- "flavor": {
- "description": "The flavor of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#flavor.",
+ "uploadedAttributes": {
+ "$ref": "Attributes",
+ "description": "Attributes of the product uploaded via the Manufacturer Center API or via\nfeeds."
+ },
+ "parent": {
+ "description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.\n@OutputOnly",
"type": "string"
},
- "mpn": {
- "description": "The Manufacturer Part Number (MPN) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#mpn.",
+ "manuallyProvidedAttributes": {
+ "$ref": "Attributes",
+ "description": "Attributes of the product provided manually via the Manufacturer Center UI.\n@OutputOnly"
+ },
+ "contentLanguage": {
+ "description": "The content language of the product as a two-letter ISO 639-1 language code\n(for example, en).\n@OutputOnly",
"type": "string"
},
- "productPageUrl": {
- "description": "The URL of the detail page of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productpage.",
+ "targetCountry": {
+ "description": "The target country of the product as a CLDR territory code (for example,\nUS).\n@OutputOnly",
"type": "string"
},
- "releaseDate": {
- "description": "The release date of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#release.",
+ "name": {
+ "description": "Name in the format `{target_country}:{content_language}:{product_id}`.\n\n`target_country` - The target country 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-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://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Capacity": {
+ "description": "The capacity of a product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#capacity.",
+ "id": "Capacity",
+ "properties": {
+ "value": {
+ "description": "The numeric value of the capacity.",
+ "format": "int64",
+ "type": "string"
+ },
+ "unit": {
+ "description": "The unit of the capacity, i.e., MB, GB, or TB.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListProductsResponse": {
+ "id": "ListProductsResponse",
+ "properties": {
+ "products": {
+ "description": "List of the products.",
+ "items": {
+ "$ref": "Product"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "The token for the retrieval of the next page of product statuses.",
"type": "string"
}
},
« 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