Index: discovery/googleapis/manufacturers__v1.json |
diff --git a/discovery/googleapis/manufacturers__v1.json b/discovery/googleapis/manufacturers__v1.json |
index 48776e9a6019ad570737a465113f95d93cdeb463..4753104ae575b039559c333c7e747afb1637f7d1 100644 |
--- a/discovery/googleapis/manufacturers__v1.json |
+++ b/discovery/googleapis/manufacturers__v1.json |
@@ -25,6 +25,37 @@ |
"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", |
+ "type": "string" |
+ }, |
+ "bearer_token": { |
+ "description": "OAuth bearer token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"upload_protocol": { |
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
"location": "query", |
@@ -46,11 +77,6 @@ |
"location": "query", |
"type": "string" |
}, |
- "callback": { |
- "description": "JSONP", |
- "location": "query", |
- "type": "string" |
- }, |
"$.xgafv": { |
"description": "V1 error format.", |
"enum": [ |
@@ -64,6 +90,11 @@ |
"location": "query", |
"type": "string" |
}, |
+ "callback": { |
+ "description": "JSONP", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"alt": { |
"default": "json", |
"description": "Data format for response.", |
@@ -79,37 +110,6 @@ |
], |
"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" |
- }, |
- "bearer_token": { |
- "description": "OAuth bearer token.", |
- "location": "query", |
- "type": "string" |
- }, |
- "oauth_token": { |
- "description": "OAuth 2.0 token for the current user.", |
- "location": "query", |
- "type": "string" |
} |
}, |
"protocol": "rest", |
@@ -193,10 +193,67 @@ |
"revision": "20161028", |
"rootUrl": "https://manufacturers.googleapis.com/", |
"schemas": { |
+ "Issue": { |
+ "description": "Product issue.", |
+ "id": "Issue", |
+ "properties": { |
+ "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" |
+ }, |
+ "severity": { |
+ "description": "The severity of the issue.", |
+ "enum": [ |
+ "SEVERITY_UNSPECIFIED", |
+ "ERROR", |
+ "WARNING", |
+ "INFO" |
+ ], |
+ "enumDescriptions": [ |
+ "Unspecified severity, never used.", |
+ "Error severity. The issue prevents the usage of the whole item.", |
+ "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.", |
+ "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" |
+ }, |
+ "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" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"Product": { |
"description": "Product data.", |
"id": "Product", |
"properties": { |
+ "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." |
@@ -220,28 +277,6 @@ |
"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" |
- }, |
- "manuallyDeletedAttributes": { |
- "description": "Names of the attributes of the product deleted manually via the\nManufacturer Center UI.\n@OutputOnly", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "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" |
} |
}, |
"type": "object" |
@@ -250,14 +285,6 @@ |
"description": "Attributes of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116.", |
"id": "Attributes", |
"properties": { |
- "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 manufacturer's detail page of the product. For more\ninformation, see\nhttps://support.google.com/manufacturers/answer/6124116#productpage.", |
- "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": { |
@@ -287,6 +314,14 @@ |
"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.", |
+ "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.", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -307,41 +342,6 @@ |
} |
}, |
"type": "object" |
- }, |
- "Issue": { |
- "description": "Product issue.", |
- "id": "Issue", |
- "properties": { |
- "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" |
- }, |
- "severity": { |
- "description": "The severity of the issue.", |
- "enum": [ |
- "SEVERITY_UNSPECIFIED", |
- "ERROR", |
- "WARNING", |
- "INFO" |
- ], |
- "enumDescriptions": [ |
- "Unspecified severity, never used.", |
- "Error severity. The issue prevents the usage of the whole item.", |
- "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.", |
- "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" |
- }, |
- "description": { |
- "description": "Description of the issue.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
} |
}, |
"servicePath": "", |