2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-14 17:24:10 +00:00
restic/vendor/google.golang.org/api/manufacturers/v1/manufacturers-api.json

690 lines
29 KiB
JSON
Raw Normal View History

2017-08-05 18:17:15 +00:00
{
"baseUrl": "https://manufacturers.googleapis.com/",
"kind": "discovery#restDescription",
"description": "Public API for managing Manufacturer Center related data.",
"servicePath": "",
"basePath": "",
2017-09-21 15:48:45 +00:00
"id": "manufacturers:v1",
"revision": "20171011",
"documentationLink": "https://developers.google.com/manufacturers/",
2017-08-05 18:17:15 +00:00
"discoveryVersion": "v1",
2017-09-13 12:09:48 +00:00
"version_module": true,
2017-08-05 18:17:15 +00:00
"schemas": {
"Product": {
"description": "Product data.",
2017-09-13 12:09:48 +00:00
"type": "object",
"properties": {
"manuallyDeletedAttributes": {
"description": "Names of the attributes of the product deleted manually via the\nManufacturer Center UI.\n@OutputOnly",
"type": "array",
"items": {
"type": "string"
}
},
"issues": {
"description": "A server-generated list of issues associated with the product.\n@OutputOnly",
"type": "array",
"items": {
"$ref": "Issue"
}
},
"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."
},
"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"
}
},
"id": "Product"
},
"Capacity": {
"description": "The capacity of a product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#capacity.",
"type": "object",
"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.",
2017-10-22 08:07:36 +00:00
"type": "string"
}
},
"id": "Capacity"
},
"ListProductsResponse": {
"type": "object",
"properties": {
"products": {
"description": "List of the products.",
"type": "array",
"items": {
"$ref": "Product"
}
2017-10-22 08:07:36 +00:00
},
"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": {
2017-09-13 12:09:48 +00:00
"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"
2017-09-13 12:09:48 +00:00
}
},
"id": "ProductDetail"
},
2017-10-22 08:07:36 +00:00
"FeatureDescription": {
"description": "A feature description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc.",
"type": "object",
2017-08-05 18:17:15 +00:00
"properties": {
2017-10-22 08:07:36 +00:00
"text": {
"description": "A detailed description of the feature.",
2017-09-13 12:09:48 +00:00
"type": "string"
},
2017-10-22 08:07:36 +00:00
"image": {
"description": "An optional image describing the feature.",
"$ref": "Image"
},
"headline": {
"description": "A short description of the feature.",
"type": "string"
2017-10-22 08:07:36 +00:00
}
},
"id": "FeatureDescription"
2017-10-22 08:07:36 +00:00
},
"Issue": {
"description": "Product issue.",
"type": "object",
"properties": {
"timestamp": {
"description": "The timestamp when this issue appeared.",
"format": "google-datetime",
"type": "string"
},
2017-09-13 12:09:48 +00:00
"severity": {
2017-08-05 18:17:15 +00:00
"enumDescriptions": [
2017-09-13 12:09:48 +00:00
"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."
2017-08-05 18:17:15 +00:00
],
"enum": [
2017-09-13 12:09:48 +00:00
"SEVERITY_UNSPECIFIED",
"ERROR",
"WARNING",
"INFO"
2017-10-22 08:07:36 +00:00
],
"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.",
2017-08-05 18:17:15 +00:00
"type": "string"
2017-09-21 15:48:45 +00:00
},
2017-10-22 08:07:36 +00:00
"attribute": {
"description": "If present, the attribute that triggered the issue. For more information\nabout attributes, see\nhttps://support.google.com/manufacturers/answer/6124116.",
2017-09-21 15:48:45 +00:00
"type": "string"
}
},
2017-10-22 08:07:36 +00:00
"id": "Issue"
2017-09-21 15:48:45 +00:00
},
2017-09-13 12:09:48 +00:00
"Price": {
"description": "A price.",
"type": "object",
"properties": {
"amount": {
"description": "The numeric value of the price.",
2017-08-05 18:17:15 +00:00
"type": "string"
},
2017-09-13 12:09:48 +00:00
"currency": {
"description": "The currency in which the price is denoted.",
"type": "string"
}
},
"id": "Price"
},
"Empty": {
2017-10-22 08:07:36 +00:00
"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"
},
2017-09-13 12:09:48 +00:00
"Image": {
"description": "An image.",
"type": "object",
"properties": {
2017-08-05 18:17:15 +00:00
"status": {
"enumDescriptions": [
2017-10-22 08:07:36 +00:00
"The image status is unspecified. Should not be used.",
"The image was uploaded and is being processed.",
2017-08-05 18:17:15 +00:00
"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.",
2017-10-22 08:07:36 +00:00
"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."
2017-08-05 18:17:15 +00:00
],
"enum": [
"STATUS_UNSPECIFIED",
"PENDING_PROCESSING",
"PENDING_CRAWL",
"OK",
"ROBOTED",
"XROBOTED",
"CRAWL_ERROR",
"PROCESSING_ERROR",
"DECODING_ERROR",
"TOO_BIG",
2017-10-22 08:07:36 +00:00
"CRAWL_SKIPPED",
"HOSTLOADED",
"HTTP_404"
],
"description": "The status of the image.\n@OutputOnly",
"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.",
"The image was uploaded."
],
"enum": [
"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.",
"type": "string"
2017-08-05 18:17:15 +00:00
}
},
"id": "Image"
},
"Attributes": {
"description": "Attributes of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116.",
"type": "object",
2017-08-05 18:17:15 +00:00
"properties": {
"ageGroup": {
"description": "The target age group of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#agegroup.",
"type": "string"
},
"productDetail": {
"description": "The details of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.",
"type": "array",
"items": {
"$ref": "ProductDetail"
}
},
"flavor": {
"description": "The flavor of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#flavor.",
"type": "string"
},
2017-10-22 08:07:36 +00:00
"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"
},
"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.",
"type": "array",
"items": {
"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": {
"$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"
},
"gender": {
"description": "The target gender of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#gender.",
"type": "string"
2017-10-22 08:07:36 +00:00
},
"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.",
"type": "array",
2017-10-22 08:07:36 +00:00
"items": {
"type": "string"
}
2017-10-22 08:07:36 +00:00
},
"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.",
"type": "array",
2017-10-22 08:07:36 +00:00
"items": {
"$ref": "Image"
}
2017-10-22 08:07:36 +00:00
},
"videoLink": {
"description": "The videos of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#video.",
"type": "array",
2017-10-22 08:07:36 +00:00
"items": {
"type": "string"
}
2017-10-22 08:07:36 +00:00
},
"color": {
"description": "The color of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#color.",
"type": "string"
2017-08-05 18:17:15 +00:00
},
"productName": {
"description": "The canonical name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productname.",
2017-08-05 18:17:15 +00:00
"type": "string"
},
"sizeType": {
"description": "The size type of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#sizetype.",
2017-08-05 18:17:15 +00:00
"type": "string"
},
"suggestedRetailPrice": {
"description": "The suggested retail price (MSRP) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#price.",
"$ref": "Price"
2017-08-05 18:17:15 +00:00
},
"featureDescription": {
"description": "The rich format description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc.",
"type": "array",
2017-09-13 12:09:48 +00:00
"items": {
"$ref": "FeatureDescription"
}
},
"size": {
"description": "The size of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#size.",
"type": "string"
},
"title": {
"description": "The title of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#title.",
"type": "string"
},
"count": {
"description": "The count of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#count.",
"$ref": "Count"
},
"brand": {
"description": "The brand name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#brand.",
"type": "string"
2017-10-22 08:07:36 +00:00
},
"material": {
"description": "The material of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#material.",
"type": "string"
2017-10-22 08:07:36 +00:00
},
"disclosureDate": {
"description": "The disclosure date of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#disclosure.",
2017-10-22 08:07:36 +00:00
"type": "string"
},
"scent": {
"description": "The scent of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#scent.",
2017-10-22 08:07:36 +00:00
"type": "string"
2017-08-05 18:17:15 +00:00
}
},
"id": "Attributes"
2017-08-05 18:17:15 +00:00
},
"Count": {
"description": "The number of products in a single package. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#count.",
2017-09-13 12:09:48 +00:00
"type": "object",
2017-08-05 18:17:15 +00:00
"properties": {
"value": {
"description": "The numeric value of the number of products in a package.",
2017-08-05 18:17:15 +00:00
"format": "int64",
2017-10-22 08:07:36 +00:00
"type": "string"
},
"unit": {
"description": "The unit in which these products are counted.",
"type": "string"
2017-10-22 08:07:36 +00:00
}
},
"id": "Count"
2017-08-05 18:17:15 +00:00
}
},
"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",
2017-08-05 18:17:15 +00:00
"canonicalName": "Manufacturer Center",
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/manufacturercenter": {
"description": "Manage your product listings for Google Manufacturer Center"
}
}
}
},
"rootUrl": "https://manufacturers.googleapis.com/",
"ownerDomain": "google.com",
"name": "manufacturers",
"batchPath": "batch",
"title": "Manufacturer Center API",
"ownerName": "Google",
"resources": {
"accounts": {
"resources": {
"products": {
"methods": {
"list": {
"description": "Lists all the products in a Manufacturer Center account.",
"httpMethod": "GET",
2017-09-21 15:48:45 +00:00
"parameterOrder": [
"parent"
2017-09-21 15:48:45 +00:00
],
"response": {
"$ref": "ListProductsResponse"
},
2017-09-21 15:48:45 +00:00
"parameters": {
"pageToken": {
"description": "The token returned by the previous request.",
"type": "string",
"location": "query"
},
"pageSize": {
"location": "query",
"description": "Maximum number of product statuses to return in the response, used for\npaging.",
"format": "int32",
"type": "integer"
},
"parent": {
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
"required": true,
"type": "string",
"pattern": "^accounts/[^/]+$",
"location": "path"
2017-09-21 15:48:45 +00:00
}
},
2017-10-22 08:07:36 +00:00
"scopes": [
"https://www.googleapis.com/auth/manufacturercenter"
],
"flatPath": "v1/accounts/{accountsId}/products",
"id": "manufacturers.accounts.products.list",
"path": "v1/{+parent}/products"
2017-09-21 15:48:45 +00:00
},
2017-08-05 18:17:15 +00:00
"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.",
2017-08-05 18:17:15 +00:00
"response": {
"$ref": "Product"
},
2017-09-13 12:09:48 +00:00
"parameterOrder": [
"parent",
"name"
2017-08-05 18:17:15 +00:00
],
"httpMethod": "GET",
"scopes": [
"https://www.googleapis.com/auth/manufacturercenter"
],
2017-08-05 18:17:15 +00:00
"parameters": {
2017-10-22 08:07:36 +00:00
"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.",
"required": true,
"type": "string",
"pattern": "^[^/]+$",
"location": "path"
},
2017-10-22 08:07:36 +00:00
"parent": {
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
"required": true,
2017-08-05 18:17:15 +00:00
"type": "string",
"pattern": "^accounts/[^/]+$",
"location": "path"
2017-08-05 18:17:15 +00:00
}
},
"flatPath": "v1/accounts/{accountsId}/products/{productsId}",
"path": "v1/{+parent}/products/{+name}",
"id": "manufacturers.accounts.products.get"
2017-08-05 18:17:15 +00:00
},
"update": {
"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"
},
"response": {
"$ref": "Product"
},
2017-10-22 08:07:36 +00:00
"parameterOrder": [
"parent",
"name"
],
"httpMethod": "PUT",
"scopes": [
"https://www.googleapis.com/auth/manufacturercenter"
2017-10-22 08:07:36 +00:00
],
2017-08-05 18:17:15 +00:00
"parameters": {
"parent": {
"location": "path",
2017-09-13 12:09:48 +00:00
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
"required": true,
2017-08-05 18:17:15 +00:00
"type": "string",
"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.",
2017-10-22 08:07:36 +00:00
"required": true,
"type": "string",
"pattern": "^[^/]+$",
2017-10-22 08:07:36 +00:00
"location": "path"
2017-08-05 18:17:15 +00:00
}
},
"flatPath": "v1/accounts/{accountsId}/products/{productsId}",
"path": "v1/{+parent}/products/{+name}",
"id": "manufacturers.accounts.products.update"
2017-09-13 12:09:48 +00:00
},
"delete": {
"description": "Deletes the product from a Manufacturer Center account.",
"response": {
"$ref": "Empty"
},
2017-10-22 08:07:36 +00:00
"parameterOrder": [
"parent",
"name"
2017-09-21 15:48:45 +00:00
],
"httpMethod": "DELETE",
"scopes": [
"https://www.googleapis.com/auth/manufacturercenter"
],
2017-08-05 18:17:15 +00:00
"parameters": {
"parent": {
2017-09-13 12:09:48 +00:00
"location": "path",
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
"required": true,
2017-08-05 18:17:15 +00:00
"type": "string",
"pattern": "^accounts/[^/]+$"
2017-08-05 18:17:15 +00:00
},
"name": {
2017-10-22 08:07:36 +00:00
"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.",
"required": true,
2017-08-05 18:17:15 +00:00
"type": "string",
"pattern": "^[^/]+$"
2017-08-05 18:17:15 +00:00
}
},
"flatPath": "v1/accounts/{accountsId}/products/{productsId}",
2017-10-22 08:07:36 +00:00
"path": "v1/{+parent}/products/{+name}",
"id": "manufacturers.accounts.products.delete"
2017-08-05 18:17:15 +00:00
}
}
}
}
}
},
"parameters": {
2017-09-13 12:09:48 +00:00
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
2017-10-22 08:07:36 +00:00
"type": "string",
"location": "query"
2017-09-21 15:48:45 +00:00
},
"fields": {
2017-10-22 08:07:36 +00:00
"location": "query",
2017-09-21 15:48:45 +00:00
"description": "Selector specifying which fields to include in a partial response.",
2017-10-22 08:07:36 +00:00
"type": "string"
2017-08-05 18:17:15 +00:00
},
"$.xgafv": {
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query",
"enum": [
"1",
"2"
],
2017-09-21 15:48:45 +00:00
"description": "V1 error format.",
"type": "string"
2017-09-13 12:09:48 +00:00
},
"callback": {
"description": "JSONP",
"type": "string",
"location": "query"
2017-08-05 18:17:15 +00:00
},
"alt": {
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query",
"description": "Data format for response.",
"default": "json",
"enum": [
"json",
"media",
"proto"
],
"type": "string"
2017-08-05 18:17:15 +00:00
},
2017-09-13 12:09:48 +00:00
"access_token": {
"location": "query",
2017-09-13 12:09:48 +00:00
"description": "OAuth access token.",
"type": "string"
2017-08-05 18:17:15 +00:00
},
2017-09-21 15:48:45 +00:00
"key": {
"location": "query",
2017-09-21 15:48:45 +00:00
"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.",
"type": "boolean",
"default": "true"
},
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"type": "string",
"location": "query"
},
"bearer_token": {
"location": "query",
"description": "OAuth bearer token.",
"type": "string"
},
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
2017-10-22 08:07:36 +00:00
"type": "string",
"location": "query"
},
"prettyPrint": {
"description": "Returns response with indentations and line breaks.",
"type": "boolean",
"default": "true",
"location": "query"
2017-08-05 18:17:15 +00:00
}
2017-09-13 12:09:48 +00:00
},
"version": "v1"
2017-08-05 18:17:15 +00:00
}