Upadte vendored dependencies

This commit is contained in:
Alexander Neumann
2017-10-22 10:07:36 +02:00
parent 315b7f282f
commit 8d37b723ca
380 changed files with 136541 additions and 78532 deletions

View File

@@ -1,32 +1,18 @@
{
"basePath": "",
"revision": "20170808",
"documentationLink": "https://developers.google.com/manufacturers/",
"revision": "20171011",
"id": "manufacturers:v1",
"discoveryVersion": "v1",
"version_module": true,
"schemas": {
"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"
@@ -34,30 +20,34 @@
"attributeName": {
"description": "The name of the attribute.",
"type": "string"
},
"attributeValue": {
"description": "The value of the attribute.",
"type": "string"
}
},
"id": "ProductDetail"
},
"FeatureDescription": {
"properties": {
"headline": {
"description": "A short description of the feature.",
"type": "string"
},
"text": {
"description": "A detailed description of the feature.",
"type": "string"
},
"image": {
"description": "An optional image describing the feature.",
"$ref": "Image"
}
},
"id": "FeatureDescription",
"description": "A feature description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc.",
"type": "object"
},
"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.",
@@ -69,7 +59,9 @@
"ERROR",
"WARNING",
"INFO"
]
],
"description": "The severity of the issue.",
"type": "string"
},
"description": {
"description": "Description of the issue.",
@@ -78,29 +70,19 @@
"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": {
"format": "google-datetime",
"description": "The timestamp when this issue appeared.",
"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.",
"type": "object",
@@ -117,23 +99,37 @@
"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"
"id": "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"
},
"Image": {
"description": "An image.",
"type": "object",
"properties": {
"type": {
"enum": [
"TYPE_UNSPECIFIED",
"CRAWLED",
"UPLOADED"
],
"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.",
"The image was 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.",
"type": "string"
},
"status": {
"enumDescriptions": [
"Status is unspecified. Should not be used.",
"Image was uploaded and is being processed.",
"The image status is unspecified. Should not be used.",
"The 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.",
@@ -142,7 +138,9 @@
"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."
"The image was manually overridden and will not be crawled.",
"The image crawl was postponed to avoid overloading the host.",
"The image URL returned a \"404 Not Found\" error."
],
"enum": [
"STATUS_UNSPECIFIED",
@@ -155,75 +153,18 @@
"PROCESSING_ERROR",
"DECODING_ERROR",
"TOO_BIG",
"CRAWL_SKIPPED"
"CRAWL_SKIPPED",
"HOSTLOADED",
"HTTP_404"
],
"description": "The status of the image.\n@OutputOnly",
"type": "string"
},
"type": {
"enumDescriptions": [
"Type is unspecified. Should not be used.",
"The image was crawled from a provided URL.",
"The image was uploaded."
],
"enum": [
"TYPE_UNSPECIFIED",
"CRAWLED",
"UPLOADED"
],
"description": "The type of the image, i.e., crawled or uploaded.\n@OutputOnly",
"type": "string"
}
},
"id": "Image"
},
"Attributes": {
"properties": {
"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"
},
"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"
},
"productName": {
"description": "The canonical name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productname.",
"type": "string"
@@ -243,11 +184,6 @@
},
"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"
@@ -264,14 +200,14 @@
"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"
},
"material": {
"description": "The material of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#material.",
"type": "string"
},
"scent": {
"description": "The scent of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#scent.",
"type": "string"
@@ -291,14 +227,14 @@
"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"
},
"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"
@@ -329,6 +265,55 @@
"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"
},
"targetClientId": {
"description": "The target client id. Should only be used in the accounts of the data\npartners.",
"type": "string"
},
"pattern": {
"description": "The pattern of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#pattern.",
"type": "string"
},
"imageLink": {
"description": "The image of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#image.",
"$ref": "Image"
},
"productType": {
"description": "The type or 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": {
"$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"
}
},
"id": "Attributes",
@@ -336,8 +321,6 @@
"type": "object"
},
"Count": {
"description": "The number of products in a single package. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#count.",
"type": "object",
"properties": {
"unit": {
"description": "The unit in which these products are counted.",
@@ -349,33 +332,16 @@
"type": "string"
}
},
"id": "Count"
"id": "Count",
"description": "The number of products in a single package. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#count.",
"type": "object"
},
"Product": {
"properties": {
"manuallyProvidedAttributes": {
"description": "Attributes of the product provided manually via the Manufacturer Center UI.\n@OutputOnly",
"$ref": "Attributes"
},
"targetCountry": {
"description": "The target country of the product as a CLDR territory code (for example,\nUS).\n@OutputOnly",
"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",
"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"
},
"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": {
@@ -383,6 +349,13 @@
},
"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": {
"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"
@@ -398,6 +371,18 @@
"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"
},
"targetCountry": {
"description": "The target country of the product as a CLDR territory code (for example,\nUS).\n@OutputOnly",
"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",
"type": "string"
}
},
"id": "Product",
@@ -419,6 +404,23 @@
}
},
"id": "Capacity"
},
"ListProductsResponse": {
"type": "object",
"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"
}
},
"id": "ListProductsResponse"
}
},
"protocol": "rest",
@@ -456,31 +458,32 @@
"name"
],
"httpMethod": "DELETE",
"scopes": [
"https://www.googleapis.com/auth/manufacturercenter"
],
"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.",
"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"
},
"name": {
"pattern": "^[^/]+$",
"location": "path",
"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
}
},
"scopes": [
"https://www.googleapis.com/auth/manufacturercenter"
],
"flatPath": "v1/accounts/{accountsId}/products/{productsId}",
"id": "manufacturers.accounts.products.delete",
"path": "v1/{+parent}/products/{+name}",
"description": "Deletes the product from a Manufacturer Center account."
},
"get": {
"httpMethod": "GET",
"response": {
"$ref": "Product"
},
@@ -488,44 +491,46 @@
"parent",
"name"
],
"httpMethod": "GET",
"parameters": {
"name": {
"pattern": "^[^/]+$",
"location": "path",
"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
},
"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
},
"name": {
"location": "path",
"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": "^[^/]+$"
}
},
"scopes": [
"https://www.googleapis.com/auth/manufacturercenter"
],
"flatPath": "v1/accounts/{accountsId}/products/{productsId}",
"id": "manufacturers.accounts.products.get",
"path": "v1/{+parent}/products/{+name}",
"id": "manufacturers.accounts.products.get",
"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": {
"httpMethod": "GET",
"parameterOrder": [
"parent"
],
"id": "manufacturers.accounts.products.list",
"path": "v1/{+parent}/products",
"description": "Lists all the products in a Manufacturer Center account.",
"response": {
"$ref": "ListProductsResponse"
},
"parameterOrder": [
"parent"
],
"httpMethod": "GET",
"parameters": {
"pageToken": {
"location": "query",
"description": "The token returned by the previous request.",
"type": "string"
"type": "string",
"location": "query"
},
"pageSize": {
"location": "query",
@@ -533,6 +538,36 @@
"description": "Maximum number of product statuses to return in the response, used for\npaging.",
"type": "integer"
},
"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"
},
"update": {
"response": {
"$ref": "Product"
},
"parameterOrder": [
"parent",
"name"
],
"httpMethod": "PUT",
"parameters": {
"name": {
"pattern": "^[^/]+$",
"location": "path",
"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
},
"parent": {
"pattern": "^accounts/[^/]+$",
"location": "path",
@@ -544,46 +579,13 @@
"scopes": [
"https://www.googleapis.com/auth/manufacturercenter"
],
"flatPath": "v1/accounts/{accountsId}/products",
"path": "v1/{+parent}/products",
"id": "manufacturers.accounts.products.list",
"description": "Lists all the products in a Manufacturer Center account."
},
"update": {
"httpMethod": "PUT",
"parameterOrder": [
"parent",
"name"
],
"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/[^/]+$"
},
"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"
}
},
"flatPath": "v1/accounts/{accountsId}/products/{productsId}",
"path": "v1/{+parent}/products/{+name}",
"id": "manufacturers.accounts.products.update",
"path": "v1/{+parent}/products/{+name}",
"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.",
"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,15 +593,26 @@
}
},
"parameters": {
"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"
},
"pp": {
"location": "query",
"description": "Pretty-print response.",
"default": "true",
"type": "boolean"
},
"bearer_token": {
"location": "query",
"description": "OAuth bearer token.",
"type": "string",
"location": "query"
"type": "string"
},
"oauth_token": {
"location": "query",
"description": "OAuth 2.0 token for the current user.",
"type": "string",
"location": "query"
"type": "string"
},
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
@@ -613,15 +626,15 @@
"type": "boolean"
},
"uploadType": {
"location": "query",
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"type": "string"
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"type": "string",
"location": "query"
},
"fields": {
"location": "query",
"description": "Selector specifying which fields to include in a partial response.",
"type": "string"
},
"$.xgafv": {
"enum": [
"1",
@@ -641,6 +654,12 @@
"location": "query"
},
"alt": {
"enum": [
"json",
"media",
"proto"
],
"type": "string",
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
@@ -648,13 +667,7 @@
],
"location": "query",
"description": "Data format for response.",
"default": "json",
"enum": [
"json",
"media",
"proto"
],
"type": "string"
"default": "json"
},
"access_token": {
"description": "OAuth access token.",
@@ -662,25 +675,15 @@
"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"
},
"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"
},
"pp": {
"location": "query",
"description": "Pretty-print response.",
"default": "true",
"type": "boolean"
"type": "string",
"location": "query"
}
},
"version": "v1",
"baseUrl": "https://manufacturers.googleapis.com/",
"kind": "discovery#restDescription",
"servicePath": "",
"description": "Public API for managing Manufacturer Center related data.",
"servicePath": ""
"kind": "discovery#restDescription",
"basePath": ""
}

View File

@@ -224,7 +224,8 @@ type Attributes struct {
// e.
ProductPageUrl string `json:"productPageUrl,omitempty"`
// ProductType: The category of the product. For more information,
// ProductType: The type or category of the product. For more
// information,
// see
// https://support.google.com/manufacturers/answer/6124116#producttyp
// e.
@@ -260,10 +261,10 @@ type Attributes struct {
// see https://support.google.com/manufacturers/answer/6124116#price.
SuggestedRetailPrice *Price `json:"suggestedRetailPrice,omitempty"`
// TargetAccountId: The target account id. Should only be used in the
// TargetClientId: The target client id. Should only be used in the
// accounts of the data
// partners.
TargetAccountId int64 `json:"targetAccountId,omitempty,string"`
TargetClientId string `json:"targetClientId,omitempty"`
// Theme: The theme of the product. For more information,
// see
@@ -440,8 +441,10 @@ type Image struct {
// @OutputOnly
//
// Possible values:
// "STATUS_UNSPECIFIED" - Status is unspecified. Should not be used.
// "PENDING_PROCESSING" - Image was uploaded and is being processed.
// "STATUS_UNSPECIFIED" - The image status is unspecified. Should not
// be used.
// "PENDING_PROCESSING" - The image was uploaded and is being
// processed.
// "PENDING_CRAWL" - The image crawl is still pending.
// "OK" - The image was processed and it meets the requirements.
// "ROBOTED" - The image URL is protected by robots.txt file and
@@ -454,6 +457,9 @@ type Image struct {
// "TOO_BIG" - The image is too big.
// "CRAWL_SKIPPED" - The image was manually overridden and will not be
// crawled.
// "HOSTLOADED" - The image crawl was postponed to avoid overloading
// the host.
// "HTTP_404" - The image URL returned a "404 Not Found" error.
Status string `json:"status,omitempty"`
// Type: The type of the image, i.e., crawled or uploaded.