Index: discovery/googleapis/manufacturers__v1.json |
diff --git a/discovery/googleapis/manufacturers__v1.json b/discovery/googleapis/manufacturers__v1.json |
index 6d4ec2a414731eafda16935ec13bfb35e10dbe79..15564dec644ab0fc2cd72418b66ad5ceb8f0d87f 100644 |
--- a/discovery/googleapis/manufacturers__v1.json |
+++ b/discovery/googleapis/manufacturers__v1.json |
@@ -25,16 +25,6 @@ |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
- "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" |
- }, |
"upload_protocol": { |
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
"location": "query", |
@@ -46,13 +36,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 +100,16 @@ |
"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", |
@@ -118,8 +118,40 @@ |
"resources": { |
"products": { |
"methods": { |
+ "delete": { |
+ "description": "Deletes the product from a Manufacturer Center account.", |
+ "httpMethod": "DELETE", |
+ "id": "manufacturers.accounts.products.delete", |
+ "parameterOrder": [ |
+ "parent", |
+ "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.", |
+ "location": "path", |
+ "pattern": "^[^/]+$", |
+ "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.", |
+ "location": "path", |
+ "pattern": "^accounts/[^/]+$", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1/{+parent}/products/{+name}", |
+ "response": { |
+ "$ref": "Empty" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/manufacturercenter" |
+ ] |
+ }, |
"get": { |
- "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 to appear.", |
+ "description": "Gets the product from a Manufacturer Center account, including product\nissues.\n\nA recently updated product takes around 15 minutes to process. Changes are\nonly visible after it has been processed. While some issues may be\navailable once the product has been processed, other issues may take days\nto appear.", |
"httpMethod": "GET", |
"id": "manufacturers.accounts.products.get", |
"parameterOrder": [ |
@@ -158,6 +190,11 @@ |
"parent" |
], |
"parameters": { |
+ "pageToken": { |
+ "description": "The token returned by the previous request.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"pageSize": { |
"description": "Maximum number of product statuses to return in the response, used for\npaging.", |
"format": "int32", |
@@ -170,11 +207,6 @@ |
"pattern": "^accounts/[^/]+$", |
"required": true, |
"type": "string" |
- }, |
- "pageToken": { |
- "description": "The token returned by the previous request.", |
- "location": "query", |
- "type": "string" |
} |
}, |
"path": "v1/{+parent}/products", |
@@ -219,60 +251,28 @@ |
"scopes": [ |
"https://www.googleapis.com/auth/manufacturercenter" |
] |
- }, |
- "delete": { |
- "description": "Deletes the product from a Manufacturer Center account.", |
- "httpMethod": "DELETE", |
- "id": "manufacturers.accounts.products.delete", |
- "parameterOrder": [ |
- "parent", |
- "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.", |
- "location": "path", |
- "pattern": "^[^/]+$", |
- "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.", |
- "location": "path", |
- "pattern": "^accounts/[^/]+$", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v1/{+parent}/products/{+name}", |
- "response": { |
- "$ref": "Empty" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/manufacturercenter" |
- ] |
} |
} |
} |
} |
} |
}, |
- "revision": "20170703", |
+ "revision": "20170808", |
"rootUrl": "https://manufacturers.googleapis.com/", |
"schemas": { |
"ListProductsResponse": { |
"id": "ListProductsResponse", |
"properties": { |
+ "nextPageToken": { |
+ "description": "The token for the retrieval of the next page of product statuses.", |
+ "type": "string" |
+ }, |
"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" |
@@ -296,25 +296,6 @@ |
}, |
"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" |
- }, |
- "image": { |
- "$ref": "Image", |
- "description": "An optional image describing the feature." |
- }, |
- "headline": { |
- "description": "A short description of the feature.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
"Issue": { |
"description": "Product issue.", |
"id": "Issue", |
@@ -355,6 +336,25 @@ |
}, |
"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" |
+ }, |
+ "image": { |
+ "$ref": "Image", |
+ "description": "An optional image describing the feature." |
+ }, |
+ "headline": { |
+ "description": "A short description of the feature.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"Empty": { |
"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 it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", |
"id": "Empty", |
@@ -435,6 +435,29 @@ |
"description": "Attributes of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116.", |
"id": "Attributes", |
"properties": { |
+ "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 category of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#producttype.", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ }, |
+ "format": { |
+ "description": "The format of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#format.", |
+ "type": "string" |
+ }, |
"additionalImageLink": { |
"description": "The additional images of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#addlimage.", |
"items": { |
@@ -472,6 +495,11 @@ |
}, |
"type": "array" |
}, |
+ "targetAccountId": { |
+ "description": "The target account id. Should only be used in the accounts of the data\npartners.", |
+ "format": "int64", |
+ "type": "string" |
+ }, |
"size": { |
"description": "The size of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#size.", |
"type": "string" |
@@ -488,20 +516,16 @@ |
"description": "The brand name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#brand.", |
"type": "string" |
}, |
- "material": { |
- "description": "The material of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#material.", |
- "type": "string" |
- }, |
"disclosureDate": { |
"description": "The disclosure date of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#disclosure.", |
"type": "string" |
}, |
- "scent": { |
- "description": "The scent of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#scent.", |
+ "material": { |
+ "description": "The material of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#material.", |
"type": "string" |
}, |
- "flavor": { |
- "description": "The flavor of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#flavor.", |
+ "scent": { |
+ "description": "The scent of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#scent.", |
"type": "string" |
}, |
"productDetail": { |
@@ -511,6 +535,10 @@ |
}, |
"type": "array" |
}, |
+ "flavor": { |
+ "description": "The flavor of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#flavor.", |
+ "type": "string" |
+ }, |
"ageGroup": { |
"description": "The target age group of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#agegroup.", |
"type": "string" |
@@ -557,29 +585,6 @@ |
"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 category of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#producttype.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "format": { |
- "description": "The format of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#format.", |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -604,6 +609,14 @@ |
"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" |
@@ -641,14 +654,6 @@ |
"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" |
} |
}, |
"type": "object" |