Update vendored dependencies
This includes github.com/kurin/blazer 0.2.0, which resolves #1291
This commit is contained in:
parent
ba23d24dd1
commit
61cb1cc6f8
1044 changed files with 203022 additions and 97709 deletions
352
vendor/google.golang.org/api/searchconsole/v1/searchconsole-api.json
generated
vendored
352
vendor/google.golang.org/api/searchconsole/v1/searchconsole-api.json
generated
vendored
|
@ -1,80 +1,9 @@
|
|||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"description": "Provides tools for running validation tests against single URLs",
|
||||
"servicePath": "",
|
||||
"rootUrl": "https://searchconsole.googleapis.com/",
|
||||
"basePath": "",
|
||||
"ownerDomain": "google.com",
|
||||
"name": "searchconsole",
|
||||
"batchPath": "batch",
|
||||
"id": "searchconsole:v1",
|
||||
"documentationLink": "https://developers.google.com/webmaster-tools/search-console-api/",
|
||||
"revision": "20170915",
|
||||
"title": "Google Search Console URL Testing Tools API",
|
||||
"ownerName": "Google",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": true,
|
||||
"resources": {
|
||||
"urlTestingTools": {
|
||||
"resources": {
|
||||
"mobileFriendlyTest": {
|
||||
"methods": {
|
||||
"run": {
|
||||
"request": {
|
||||
"$ref": "RunMobileFriendlyTestRequest"
|
||||
},
|
||||
"description": "Runs Mobile-Friendly Test for a given URL.",
|
||||
"httpMethod": "POST",
|
||||
"parameterOrder": [],
|
||||
"response": {
|
||||
"$ref": "RunMobileFriendlyTestResponse"
|
||||
},
|
||||
"parameters": {},
|
||||
"flatPath": "v1/urlTestingTools/mobileFriendlyTest:run",
|
||||
"id": "searchconsole.urlTestingTools.mobileFriendlyTest.run",
|
||||
"path": "v1/urlTestingTools/mobileFriendlyTest:run"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"access_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token.",
|
||||
"type": "string"
|
||||
},
|
||||
"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.",
|
||||
"type": "boolean",
|
||||
"default": "true"
|
||||
},
|
||||
"bearer_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string"
|
||||
},
|
||||
"oauth_token": {
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user."
|
||||
},
|
||||
"upload_protocol": {
|
||||
"location": "query",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
"type": "string"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"location": "query",
|
||||
|
@ -83,34 +12,40 @@
|
|||
"default": "true"
|
||||
},
|
||||
"fields": {
|
||||
"location": "query",
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query"
|
||||
},
|
||||
"callback": {
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
]
|
||||
"description": "JSONP",
|
||||
"type": "string"
|
||||
},
|
||||
"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": [
|
||||
|
@ -118,88 +53,42 @@
|
|||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"access_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token.",
|
||||
"type": "string"
|
||||
},
|
||||
"key": {
|
||||
"type": "string",
|
||||
"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."
|
||||
},
|
||||
"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": {
|
||||
"description": "Pretty-print response.",
|
||||
"type": "boolean",
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
},
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string",
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"schemas": {
|
||||
"BlockedResource": {
|
||||
"properties": {
|
||||
"url": {
|
||||
"description": "URL of the blocked resource.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "BlockedResource",
|
||||
"description": "Blocked resource.",
|
||||
"type": "object"
|
||||
},
|
||||
"TestStatus": {
|
||||
"description": "Final state of the test, including error details if necessary.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"enumDescriptions": [
|
||||
"Internal error when running this test. Please try running the test again.",
|
||||
"Inspection has completed without errors.",
|
||||
"Inspection terminated in an error state. This indicates a problem in\nGoogle's infrastructure, not a user error. Please try again later.",
|
||||
"Google can not access the URL because of a user error such as a robots.txt\nblockage, a 403 or 500 code etc. Please make sure that the URL provided is\naccessible by Googlebot and is not password protected."
|
||||
],
|
||||
"enum": [
|
||||
"TEST_STATUS_UNSPECIFIED",
|
||||
"COMPLETE",
|
||||
"INTERNAL_ERROR",
|
||||
"PAGE_UNREACHABLE"
|
||||
],
|
||||
"description": "Status of the test.",
|
||||
"type": "string"
|
||||
},
|
||||
"details": {
|
||||
"description": "Error details if applicable.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "TestStatus"
|
||||
},
|
||||
"Image": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"mimeType": {
|
||||
"description": "The mime-type of the image data.",
|
||||
"type": "string"
|
||||
},
|
||||
"data": {
|
||||
"description": "Image data in format determined by the mime type. Currently, the format\nwill always be \"image/png\", but this might change in the future.",
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Image",
|
||||
"description": "Describe image data."
|
||||
},
|
||||
"RunMobileFriendlyTestRequest": {
|
||||
"id": "RunMobileFriendlyTestRequest",
|
||||
"description": "Mobile-friendly test request.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
"description": "URL for inspection.",
|
||||
"type": "string"
|
||||
},
|
||||
"requestScreenshot": {
|
||||
"description": "Whether or not screenshot is requested. Default is false.",
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"MobileFriendlyIssue": {
|
||||
"description": "Mobile-friendly issue.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"rule": {
|
||||
"enum": [
|
||||
|
@ -224,15 +113,17 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"id": "MobileFriendlyIssue"
|
||||
"id": "MobileFriendlyIssue",
|
||||
"description": "Mobile-friendly issue.",
|
||||
"type": "object"
|
||||
},
|
||||
"RunMobileFriendlyTestResponse": {
|
||||
"description": "Mobile-friendly test response, including mobile-friendly issues and resource\nissues.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"testStatus": {
|
||||
"description": "Final state of the test, can be either complete or an error.",
|
||||
"$ref": "TestStatus"
|
||||
"$ref": "TestStatus",
|
||||
"description": "Final state of the test, can be either complete or an error."
|
||||
},
|
||||
"resourceIssues": {
|
||||
"description": "Information about embedded resources issues.",
|
||||
|
@ -242,18 +133,18 @@
|
|||
}
|
||||
},
|
||||
"mobileFriendliness": {
|
||||
"enumDescriptions": [
|
||||
"Internal error when running this test. Please try running the test again.",
|
||||
"The page is mobile friendly.",
|
||||
"The page is not mobile friendly."
|
||||
],
|
||||
"enum": [
|
||||
"MOBILE_FRIENDLY_TEST_RESULT_UNSPECIFIED",
|
||||
"MOBILE_FRIENDLY",
|
||||
"NOT_MOBILE_FRIENDLY"
|
||||
],
|
||||
"description": "Test verdict, whether the page is mobile friendly or not.",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Internal error when running this test. Please try running the test again.",
|
||||
"The page is mobile friendly.",
|
||||
"The page is not mobile friendly."
|
||||
]
|
||||
},
|
||||
"mobileFriendlyIssues": {
|
||||
"description": "List of mobile-usability issues.",
|
||||
|
@ -270,14 +161,83 @@
|
|||
"id": "RunMobileFriendlyTestResponse"
|
||||
},
|
||||
"ResourceIssue": {
|
||||
"description": "Information about a resource with issue.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"blockedResource": {
|
||||
"$ref": "BlockedResource",
|
||||
"description": "Describes a blocked resource issue."
|
||||
"description": "Describes a blocked resource issue.",
|
||||
"$ref": "BlockedResource"
|
||||
}
|
||||
},
|
||||
"id": "ResourceIssue",
|
||||
"description": "Information about a resource with issue.",
|
||||
"id": "ResourceIssue"
|
||||
},
|
||||
"BlockedResource": {
|
||||
"properties": {
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "URL of the blocked resource."
|
||||
}
|
||||
},
|
||||
"id": "BlockedResource",
|
||||
"description": "Blocked resource.",
|
||||
"type": "object"
|
||||
},
|
||||
"TestStatus": {
|
||||
"description": "Final state of the test, including error details if necessary.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"description": "Status of the test.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Internal error when running this test. Please try running the test again.",
|
||||
"Inspection has completed without errors.",
|
||||
"Inspection terminated in an error state. This indicates a problem in\nGoogle's infrastructure, not a user error. Please try again later.",
|
||||
"Google can not access the URL because of a user error such as a robots.txt\nblockage, a 403 or 500 code etc. Please make sure that the URL provided is\naccessible by Googlebot and is not password protected."
|
||||
],
|
||||
"enum": [
|
||||
"TEST_STATUS_UNSPECIFIED",
|
||||
"COMPLETE",
|
||||
"INTERNAL_ERROR",
|
||||
"PAGE_UNREACHABLE"
|
||||
]
|
||||
},
|
||||
"details": {
|
||||
"description": "Error details if applicable.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "TestStatus"
|
||||
},
|
||||
"RunMobileFriendlyTestRequest": {
|
||||
"properties": {
|
||||
"url": {
|
||||
"description": "URL for inspection.",
|
||||
"type": "string"
|
||||
},
|
||||
"requestScreenshot": {
|
||||
"description": "Whether or not screenshot is requested. Default is false.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"id": "RunMobileFriendlyTestRequest",
|
||||
"description": "Mobile-friendly test request.",
|
||||
"type": "object"
|
||||
},
|
||||
"Image": {
|
||||
"properties": {
|
||||
"mimeType": {
|
||||
"description": "The mime-type of the image data.",
|
||||
"type": "string"
|
||||
},
|
||||
"data": {
|
||||
"description": "Image data in format determined by the mime type. Currently, the format\nwill always be \"image/png\", but this might change in the future.",
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Image",
|
||||
"description": "Describe image data.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
|
@ -288,5 +248,45 @@
|
|||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://searchconsole.googleapis.com/",
|
||||
"canonicalName": "Search Console"
|
||||
"canonicalName": "Search Console",
|
||||
"kind": "discovery#restDescription",
|
||||
"description": "Provides tools for running validation tests against single URLs",
|
||||
"servicePath": "",
|
||||
"rootUrl": "https://searchconsole.googleapis.com/",
|
||||
"basePath": "",
|
||||
"ownerDomain": "google.com",
|
||||
"name": "searchconsole",
|
||||
"batchPath": "batch",
|
||||
"id": "searchconsole:v1",
|
||||
"documentationLink": "https://developers.google.com/webmaster-tools/search-console-api/",
|
||||
"revision": "20170927",
|
||||
"title": "Google Search Console URL Testing Tools API",
|
||||
"ownerName": "Google",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": true,
|
||||
"resources": {
|
||||
"urlTestingTools": {
|
||||
"resources": {
|
||||
"mobileFriendlyTest": {
|
||||
"methods": {
|
||||
"run": {
|
||||
"httpMethod": "POST",
|
||||
"parameterOrder": [],
|
||||
"response": {
|
||||
"$ref": "RunMobileFriendlyTestResponse"
|
||||
},
|
||||
"parameters": {},
|
||||
"flatPath": "v1/urlTestingTools/mobileFriendlyTest:run",
|
||||
"id": "searchconsole.urlTestingTools.mobileFriendlyTest.run",
|
||||
"path": "v1/urlTestingTools/mobileFriendlyTest:run",
|
||||
"request": {
|
||||
"$ref": "RunMobileFriendlyTestRequest"
|
||||
},
|
||||
"description": "Runs Mobile-Friendly Test for a given URL."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue