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

Unified Diff: discovery/googleapis/manufacturers__v1.json

Issue 2779563003: Api-roll 47: 2017-03-27 (Closed)
Patch Set: Created 3 years, 9 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/mirror__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 4753104ae575b039559c333c7e747afb1637f7d1..67d0cab39091b71fdc2d412f50354b108e7386f1 100644
--- a/discovery/googleapis/manufacturers__v1.json
+++ b/discovery/googleapis/manufacturers__v1.json
@@ -25,27 +25,6 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "access_token": {
- "description": "OAuth access token.",
- "location": "query",
- "type": "string"
- },
- "key": {
- "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
- "location": "query",
- "type": "string"
- },
- "quotaUser": {
- "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
- "location": "query",
- "type": "string"
- },
- "pp": {
- "default": "true",
- "description": "Pretty-print response.",
- "location": "query",
- "type": "boolean"
- },
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"location": "query",
@@ -67,13 +46,13 @@
"location": "query",
"type": "boolean"
},
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
@@ -110,6 +89,27 @@
],
"location": "query",
"type": "string"
+ },
+ "key": {
+ "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
+ "location": "query",
+ "type": "string"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "quotaUser": {
+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "pp": {
+ "default": "true",
+ "description": "Pretty-print response.",
+ "location": "query",
+ "type": "boolean"
}
},
"protocol": "rest",
@@ -126,6 +126,13 @@
"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",
@@ -136,13 +143,6 @@
"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",
@@ -162,17 +162,17 @@
"name"
],
"parameters": {
- "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.",
+ "parent": {
+ "description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
"location": "path",
- "pattern": "^[^/]+$",
+ "pattern": "^accounts/[^/]+$",
"required": true,
"type": "string"
},
- "parent": {
- "description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
+ "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.",
"location": "path",
- "pattern": "^accounts/[^/]+$",
+ "pattern": "^[^/]+$",
"required": true,
"type": "string"
}
@@ -190,17 +190,66 @@
}
}
},
- "revision": "20161028",
+ "revision": "20170322",
"rootUrl": "https://manufacturers.googleapis.com/",
"schemas": {
+ "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",
+ "properties": {
+ "attributeValue": {
+ "description": "The value of the attribute.",
+ "type": "string"
+ },
+ "sectionName": {
+ "description": "A short section name that can be reused between multiple product details.",
+ "type": "string"
+ },
+ "attributeName": {
+ "description": "The name of the attribute.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Issue": {
"description": "Product issue.",
"id": "Issue",
"properties": {
+ "description": {
+ "description": "Description of the issue.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The server-generated type of the issue, for example,\n“INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.",
+ "type": "string"
+ },
"attribute": {
"description": "If present, the attribute that triggered the issue. For more information\nabout attributes, see\nhttps://support.google.com/manufacturers/answer/6124116.",
"type": "string"
},
+ "timestamp": {
+ "description": "The timestamp when this issue appeared.",
+ "format": "google-datetime",
+ "type": "string"
+ },
"severity": {
"description": "The severity of the issue.",
"enum": [
@@ -216,75 +265,177 @@
"Info severity. The issue is one that doesn't require immediate attention.\nIt is, for example, used to communicate which attributes are still\npending review."
],
"type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "FeatureDescription": {
+ "description": "A feature description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc.",
+ "id": "FeatureDescription",
+ "properties": {
+ "text": {
+ "description": "A detailed description of the feature.",
+ "type": "string"
},
- "description": {
- "description": "Description of the issue.",
+ "image": {
+ "$ref": "Image",
+ "description": "An optional image describing the feature."
+ },
+ "headline": {
+ "description": "A short description of the feature.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Price": {
+ "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"
+ }
+ },
+ "type": "object"
+ },
+ "Image": {
+ "description": "An image.",
+ "id": "Image",
+ "properties": {
+ "status": {
+ "description": "The status of the image.\n@OutputOnly",
+ "enum": [
+ "STATUS_UNSPECIFIED",
+ "PENDING_PROCESSING",
+ "PENDING_CRAWL",
+ "OK",
+ "ROBOTED",
+ "XROBOTED",
+ "CRAWL_ERROR",
+ "PROCESSING_ERROR",
+ "DECODING_ERROR",
+ "TOO_BIG",
+ "CRAWL_SKIPPED"
+ ],
+ "enumDescriptions": [
+ "Status is unspecified. Should not be used.",
+ "Image was uploaded and is being processed.",
+ "The image crawl is still pending.",
+ "The image was processed and it meets the requirements.",
+ "The image URL is protected by robots.txt file and cannot be crawled.",
+ "The image URL is protected by X-Robots-Tag and cannot be crawled.",
+ "There was an error while crawling the image.",
+ "The image cannot be processed.",
+ "The image cannot be decoded.",
+ "The image is too big.",
+ "The image was manually overridden and will not be crawled."
+ ],
"type": "string"
},
"type": {
- "description": "The server-generated type of the issue, for example,\n“INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.",
+ "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"
},
- "Product": {
- "description": "Product data.",
- "id": "Product",
+ "Attributes": {
+ "description": "Attributes of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116.",
+ "id": "Attributes",
"properties": {
- "issues": {
- "description": "A server-generated list of issues associated with the product.\n@OutputOnly",
- "items": {
- "$ref": "Issue"
- },
- "type": "array"
+ "productName": {
+ "description": "The canonical name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productname.",
+ "type": "string"
},
- "manuallyDeletedAttributes": {
- "description": "Names of the attributes of the product deleted manually via the\nManufacturer Center UI.\n@OutputOnly",
+ "sizeType": {
+ "description": "The size type of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#sizetype.",
+ "type": "string"
+ },
+ "suggestedRetailPrice": {
+ "$ref": "Price",
+ "description": "The suggested retail price (MSRP) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#price."
+ },
+ "featureDescription": {
+ "description": "The rich format description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc.",
"items": {
- "type": "string"
+ "$ref": "FeatureDescription"
},
"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"
+ "size": {
+ "description": "The size of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#size.",
+ "type": "string"
},
- "productId": {
- "description": "The ID of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly",
+ "title": {
+ "description": "The title of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#title.",
"type": "string"
},
- "uploadedAttributes": {
- "$ref": "Attributes",
- "description": "Attributes of the product uploaded via the Manufacturer Center API or via\nfeeds."
+ "count": {
+ "$ref": "Count",
+ "description": "The count of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#count."
},
- "parent": {
- "description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.\n@OutputOnly",
+ "brand": {
+ "description": "The brand name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#brand.",
"type": "string"
},
- "manuallyProvidedAttributes": {
- "$ref": "Attributes",
- "description": "Attributes of the product provided manually via the Manufacturer Center UI.\n@OutputOnly"
+ "disclosureDate": {
+ "description": "The disclosure date of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#disclosure.",
+ "type": "string"
},
- "contentLanguage": {
- "description": "The content language of the product as a two-letter ISO 639-1 language code\n(for example, en).\n@OutputOnly",
+ "material": {
+ "description": "The material of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#material.",
"type": "string"
},
- "targetCountry": {
- "description": "The target country of the product as a CLDR territory code (for example,\nUS).\n@OutputOnly",
+ "scent": {
+ "description": "The scent of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#scent.",
"type": "string"
},
- "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",
+ "ageGroup": {
+ "description": "The target age group of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#agegroup.",
"type": "string"
- }
- },
- "type": "object"
- },
- "Attributes": {
- "description": "Attributes of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116.",
- "id": "Attributes",
- "properties": {
+ },
+ "productDetail": {
+ "description": "The details of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.",
+ "items": {
+ "$ref": "ProductDetail"
+ },
+ "type": "array"
+ },
+ "flavor": {
+ "description": "The flavor of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#flavor.",
+ "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"
+ },
+ "mpn": {
+ "description": "The Manufacturer Part Number (MPN) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#mpn.",
+ "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": {
"description": "The Global Trade Item Number (GTIN) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#gtin.",
"items": {
@@ -292,52 +443,154 @@
},
"type": "array"
},
- "title": {
- "description": "The title of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#title.",
+ "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"
},
- "brand": {
- "description": "The brand name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#brand.",
+ "capacity": {
+ "$ref": "Capacity",
+ "description": "The capacity of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#capacity."
+ },
+ "description": {
+ "description": "The description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#description.",
"type": "string"
},
- "productName": {
- "description": "The canonical name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productname.",
+ "gender": {
+ "description": "The target gender of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#gender.",
+ "type": "string"
+ },
+ "sizeSystem": {
+ "description": "The size system of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#sizesystem.",
+ "type": "string"
+ },
+ "theme": {
+ "description": "The theme of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#theme.",
"type": "string"
},
+ "pattern": {
+ "description": "The pattern of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#pattern.",
+ "type": "string"
+ },
+ "imageLink": {
+ "$ref": "Image",
+ "description": "The image of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#image."
+ },
"productType": {
- "description": "The manufacturer's category of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#producttype.",
+ "description": "The category of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#producttype.",
"items": {
"type": "string"
},
"type": "array"
},
- "mpn": {
- "description": "The Manufacturer Part Number (MPN) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#mpn.",
+ "format": {
+ "description": "The format of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#format.",
"type": "string"
},
- "productPageUrl": {
- "description": "The URL of the manufacturer's detail page of the product. For more\ninformation, see\nhttps://support.google.com/manufacturers/answer/6124116#productpage.",
+ "additionalImageLink": {
+ "description": "The additional images of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#addlimage.",
+ "items": {
+ "$ref": "Image"
+ },
+ "type": "array"
+ },
+ "videoLink": {
+ "description": "The videos of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#video.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "color": {
+ "description": "The color of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#color.",
"type": "string"
}
},
"type": "object"
},
- "ListProductsResponse": {
- "id": "ListProductsResponse",
+ "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": {
- "products": {
- "description": "List of the products.",
+ "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": {
+ "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"
+ },
+ "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": "Product"
+ "$ref": "Issue"
},
"type": "array"
},
- "nextPageToken": {
- "description": "The token for the retrieval of the next page of product statuses.",
+ "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"
+ }
+ },
+ "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"
}
},
« no previous file with comments | « discovery/googleapis/logging__v2.json ('k') | discovery/googleapis/mirror__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698