vendor: update all dependencies to latest versions
This commit is contained in:
+225
-220
@@ -1,21 +1,105 @@
|
||||
{
|
||||
"version": "v1",
|
||||
"baseUrl": "https://manufacturers.googleapis.com/",
|
||||
"kind": "discovery#restDescription",
|
||||
"description": "Public API for managing Manufacturer Center related data.",
|
||||
"servicePath": "",
|
||||
"basePath": "",
|
||||
"revision": "20170808",
|
||||
"documentationLink": "https://developers.google.com/manufacturers/",
|
||||
"revision": "20170629",
|
||||
"id": "manufacturers:v1",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": "True",
|
||||
"version_module": true,
|
||||
"schemas": {
|
||||
"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 `{}`.",
|
||||
"ListProductsResponse": {
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"id": "Empty"
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"id": "ListProductsResponse"
|
||||
},
|
||||
"ProductDetail": {
|
||||
"description": "A product detail of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"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"
|
||||
},
|
||||
"attributeValue": {
|
||||
"description": "The value of the attribute.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "ProductDetail"
|
||||
},
|
||||
"Issue": {
|
||||
"description": "Product issue.",
|
||||
"type": "object",
|
||||
"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"
|
||||
},
|
||||
"timestamp": {
|
||||
"format": "google-datetime",
|
||||
"description": "The timestamp when this issue appeared.",
|
||||
"type": "string"
|
||||
},
|
||||
"severity": {
|
||||
"description": "The severity of the issue.",
|
||||
"type": "string",
|
||||
"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."
|
||||
],
|
||||
"enum": [
|
||||
"SEVERITY_UNSPECIFIED",
|
||||
"ERROR",
|
||||
"WARNING",
|
||||
"INFO"
|
||||
]
|
||||
},
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"id": "Issue"
|
||||
},
|
||||
"FeatureDescription": {
|
||||
"description": "A feature description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"headline": {
|
||||
"description": "A short description of the feature.",
|
||||
"type": "string"
|
||||
},
|
||||
"text": {
|
||||
"description": "A detailed description of the feature.",
|
||||
"type": "string"
|
||||
},
|
||||
"image": {
|
||||
"$ref": "Image",
|
||||
"description": "An optional image describing the feature."
|
||||
}
|
||||
},
|
||||
"id": "FeatureDescription"
|
||||
},
|
||||
"Price": {
|
||||
"description": "A price.",
|
||||
@@ -32,10 +116,20 @@
|
||||
},
|
||||
"id": "Price"
|
||||
},
|
||||
"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 `{}`.",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"id": "Empty"
|
||||
},
|
||||
"Image": {
|
||||
"description": "An image.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"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": {
|
||||
"enumDescriptions": [
|
||||
"Status is unspecified. Should not be used.",
|
||||
@@ -67,8 +161,6 @@
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"description": "The type of the image, i.e., crawled or uploaded.\n@OutputOnly",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Type is unspecified. Should not be used.",
|
||||
"The image was crawled from a provided URL.",
|
||||
@@ -78,18 +170,14 @@
|
||||
"TYPE_UNSPECIFIED",
|
||||
"CRAWLED",
|
||||
"UPLOADED"
|
||||
]
|
||||
},
|
||||
"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.",
|
||||
],
|
||||
"description": "The type of the image, i.e., crawled or uploaded.\n@OutputOnly",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Image"
|
||||
},
|
||||
"Attributes": {
|
||||
"description": "Attributes of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"sizeSystem": {
|
||||
"description": "The size system of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#sizesystem.",
|
||||
@@ -155,6 +243,11 @@
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"targetAccountId": {
|
||||
"format": "int64",
|
||||
"description": "The target account id. Should only be used in the accounts of the data\npartners.",
|
||||
"type": "string"
|
||||
},
|
||||
"size": {
|
||||
"description": "The size of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#size.",
|
||||
"type": "string"
|
||||
@@ -164,8 +257,8 @@
|
||||
"type": "string"
|
||||
},
|
||||
"count": {
|
||||
"description": "The count of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#count.",
|
||||
"$ref": "Count"
|
||||
"$ref": "Count",
|
||||
"description": "The count of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#count."
|
||||
},
|
||||
"brand": {
|
||||
"description": "The brand name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#brand.",
|
||||
@@ -183,8 +276,8 @@
|
||||
"description": "The scent of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#scent.",
|
||||
"type": "string"
|
||||
},
|
||||
"flavor": {
|
||||
"description": "The flavor of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#flavor.",
|
||||
"ageGroup": {
|
||||
"description": "The target age group of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#agegroup.",
|
||||
"type": "string"
|
||||
},
|
||||
"productDetail": {
|
||||
@@ -194,8 +287,8 @@
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"ageGroup": {
|
||||
"description": "The target age group of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#agegroup.",
|
||||
"flavor": {
|
||||
"description": "The flavor of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#flavor.",
|
||||
"type": "string"
|
||||
},
|
||||
"productPageUrl": {
|
||||
@@ -210,10 +303,6 @@
|
||||
"description": "The release date of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#release.",
|
||||
"type": "string"
|
||||
},
|
||||
"itemGroupId": {
|
||||
"description": "The item group id of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#itemgroupid.",
|
||||
"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": {
|
||||
@@ -221,13 +310,17 @@
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"capacity": {
|
||||
"description": "The capacity of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#capacity.",
|
||||
"$ref": "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.",
|
||||
@@ -238,7 +331,9 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Attributes"
|
||||
"id": "Attributes",
|
||||
"description": "Attributes of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116.",
|
||||
"type": "object"
|
||||
},
|
||||
"Count": {
|
||||
"description": "The number of products in a single package. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#count.",
|
||||
@@ -257,25 +352,7 @@
|
||||
"id": "Count"
|
||||
},
|
||||
"Product": {
|
||||
"description": "Product data.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"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": {
|
||||
"description": "Attributes of the product uploaded via the Manufacturer Center API or via\nfeeds.",
|
||||
"$ref": "Attributes"
|
||||
},
|
||||
"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": {
|
||||
"description": "Attributes of the product provided manually via the Manufacturer Center UI.\n@OutputOnly",
|
||||
"$ref": "Attributes"
|
||||
@@ -305,9 +382,27 @@
|
||||
"$ref": "Issue"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"finalAttributes": {
|
||||
"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",
|
||||
"$ref": "Attributes"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"id": "Product"
|
||||
"id": "Product",
|
||||
"description": "Product data.",
|
||||
"type": "object"
|
||||
},
|
||||
"Capacity": {
|
||||
"description": "The capacity of a product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#capacity.",
|
||||
@@ -324,108 +419,13 @@
|
||||
}
|
||||
},
|
||||
"id": "Capacity"
|
||||
},
|
||||
"ListProductsResponse": {
|
||||
"type": "object",
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"id": "ListProductsResponse"
|
||||
},
|
||||
"ProductDetail": {
|
||||
"description": "A product detail of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.",
|
||||
"type": "object",
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"id": "ProductDetail"
|
||||
},
|
||||
"Issue": {
|
||||
"description": "Product issue.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"timestamp": {
|
||||
"format": "google-datetime",
|
||||
"description": "The timestamp when this issue appeared.",
|
||||
"type": "string"
|
||||
},
|
||||
"severity": {
|
||||
"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."
|
||||
],
|
||||
"enum": [
|
||||
"SEVERITY_UNSPECIFIED",
|
||||
"ERROR",
|
||||
"WARNING",
|
||||
"INFO"
|
||||
],
|
||||
"description": "The severity of the issue.",
|
||||
"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"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"id": "Issue"
|
||||
},
|
||||
"FeatureDescription": {
|
||||
"description": "A feature description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc.",
|
||||
"type": "object",
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"id": "FeatureDescription"
|
||||
}
|
||||
},
|
||||
"protocol": "rest",
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
},
|
||||
"protocol": "rest",
|
||||
"canonicalName": "Manufacturer Center",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
@@ -448,7 +448,6 @@
|
||||
"products": {
|
||||
"methods": {
|
||||
"delete": {
|
||||
"description": "Deletes the product from a Manufacturer Center account.",
|
||||
"response": {
|
||||
"$ref": "Empty"
|
||||
},
|
||||
@@ -457,34 +456,31 @@
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "DELETE",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/manufacturercenter"
|
||||
],
|
||||
"parameters": {
|
||||
"parent": {
|
||||
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^accounts/[^/]+$",
|
||||
"location": "path"
|
||||
},
|
||||
"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.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^[^/]+$",
|
||||
"location": "path"
|
||||
},
|
||||
"parent": {
|
||||
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^accounts/[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/manufacturercenter"
|
||||
],
|
||||
"flatPath": "v1/accounts/{accountsId}/products/{productsId}",
|
||||
"id": "manufacturers.accounts.products.delete",
|
||||
"path": "v1/{+parent}/products/{+name}"
|
||||
"path": "v1/{+parent}/products/{+name}",
|
||||
"description": "Deletes the product from a Manufacturer Center account."
|
||||
},
|
||||
"get": {
|
||||
"flatPath": "v1/accounts/{accountsId}/products/{productsId}",
|
||||
"id": "manufacturers.accounts.products.get",
|
||||
"path": "v1/{+parent}/products/{+name}",
|
||||
"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.",
|
||||
"response": {
|
||||
"$ref": "Product"
|
||||
},
|
||||
@@ -495,11 +491,11 @@
|
||||
"httpMethod": "GET",
|
||||
"parameters": {
|
||||
"parent": {
|
||||
"pattern": "^accounts/[^/]+$",
|
||||
"location": "path",
|
||||
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^accounts/[^/]+$",
|
||||
"location": "path"
|
||||
"required": true
|
||||
},
|
||||
"name": {
|
||||
"location": "path",
|
||||
@@ -511,21 +507,26 @@
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/manufacturercenter"
|
||||
]
|
||||
],
|
||||
"flatPath": "v1/accounts/{accountsId}/products/{productsId}",
|
||||
"id": "manufacturers.accounts.products.get",
|
||||
"path": "v1/{+parent}/products/{+name}",
|
||||
"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."
|
||||
},
|
||||
"list": {
|
||||
"description": "Lists all the products in a Manufacturer Center account.",
|
||||
"response": {
|
||||
"$ref": "ListProductsResponse"
|
||||
},
|
||||
"httpMethod": "GET",
|
||||
"parameterOrder": [
|
||||
"parent"
|
||||
],
|
||||
"httpMethod": "GET",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/manufacturercenter"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "ListProductsResponse"
|
||||
},
|
||||
"parameters": {
|
||||
"pageToken": {
|
||||
"location": "query",
|
||||
"description": "The token returned by the previous request.",
|
||||
"type": "string"
|
||||
},
|
||||
"pageSize": {
|
||||
"location": "query",
|
||||
"format": "int32",
|
||||
@@ -533,45 +534,40 @@
|
||||
"type": "integer"
|
||||
},
|
||||
"parent": {
|
||||
"pattern": "^accounts/[^/]+$",
|
||||
"location": "path",
|
||||
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^accounts/[^/]+$",
|
||||
"location": "path"
|
||||
},
|
||||
"pageToken": {
|
||||
"description": "The token returned by the previous request.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
"required": true
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/manufacturercenter"
|
||||
],
|
||||
"flatPath": "v1/accounts/{accountsId}/products",
|
||||
"path": "v1/{+parent}/products",
|
||||
"id": "manufacturers.accounts.products.list",
|
||||
"path": "v1/{+parent}/products"
|
||||
"description": "Lists all the products in a Manufacturer Center account."
|
||||
},
|
||||
"update": {
|
||||
"request": {
|
||||
"$ref": "Product"
|
||||
},
|
||||
"description": "Inserts or updates the product in a Manufacturer Center account.\n\nThe checks at upload time are minimal. All required 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 version is available.\n\nInserted or updated products first need to be processed before they can be\nretrieved. Until then, new products will be unavailable, and retrieval\nof updated products will return the original state of the product.",
|
||||
"response": {
|
||||
"$ref": "Product"
|
||||
},
|
||||
"httpMethod": "PUT",
|
||||
"parameterOrder": [
|
||||
"parent",
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "PUT",
|
||||
"response": {
|
||||
"$ref": "Product"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/manufacturercenter"
|
||||
],
|
||||
"parameters": {
|
||||
"parent": {
|
||||
"location": "path",
|
||||
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^accounts/[^/]+$",
|
||||
"location": "path"
|
||||
"pattern": "^accounts/[^/]+$"
|
||||
},
|
||||
"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.",
|
||||
@@ -582,8 +578,12 @@
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/accounts/{accountsId}/products/{productsId}",
|
||||
"path": "v1/{+parent}/products/{+name}",
|
||||
"id": "manufacturers.accounts.products.update",
|
||||
"path": "v1/{+parent}/products/{+name}"
|
||||
"request": {
|
||||
"$ref": "Product"
|
||||
},
|
||||
"description": "Inserts or updates the product in a Manufacturer Center account.\n\nThe checks at upload time are minimal. All required 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 version is available.\n\nInserted or updated products first need to be processed before they can be\nretrieved. Until then, new products will be unavailable, and retrieval\nof updated products will return the original state of the product."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -591,26 +591,26 @@
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"oauth_token": {
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"location": "query",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
"type": "boolean"
|
||||
},
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
@@ -622,23 +622,23 @@
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"callback": {
|
||||
"location": "query",
|
||||
"description": "JSONP",
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"alt": {
|
||||
"enumDescriptions": [
|
||||
@@ -657,19 +657,19 @@
|
||||
"type": "string"
|
||||
},
|
||||
"access_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token.",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"key": {
|
||||
"location": "query",
|
||||
"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.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
"type": "string"
|
||||
},
|
||||
"quotaUser": {
|
||||
"location": "query",
|
||||
"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.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"location": "query",
|
||||
@@ -677,5 +677,10 @@
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://manufacturers.googleapis.com/",
|
||||
"kind": "discovery#restDescription",
|
||||
"description": "Public API for managing Manufacturer Center related data.",
|
||||
"servicePath": ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user