vendor: update all dependencies to latest versions

This commit is contained in:
Nick Craig-Wood
2018-01-16 13:20:59 +00:00
parent 8e83fb6fb9
commit 7d3a17725d
4878 changed files with 1974213 additions and 201199 deletions
+122 -122
View File
@@ -1,20 +1,62 @@
{
"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."
}
}
}
}
}
},
"parameters": {
"pp": {
"location": "query",
"description": "Pretty-print response.",
"type": "boolean",
"default": "true"
},
"oauth_token": {
"type": "string",
"location": "query",
"description": "OAuth 2.0 token for the current user."
},
"bearer_token": {
"description": "OAuth bearer token.",
"type": "string",
"location": "query"
},
"upload_protocol": {
"location": "query",
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"type": "string"
},
"prettyPrint": {
"location": "query",
"description": "Returns response with indentations and line breaks.",
"type": "boolean",
"default": "true"
"default": "true",
"location": "query"
},
"fields": {
"location": "query",
"description": "Selector specifying which fields to include in a partial response.",
"type": "string",
"location": "query"
"type": "string"
},
"uploadType": {
"location": "query",
@@ -22,24 +64,30 @@
"type": "string"
},
"$.xgafv": {
"enum": [
"1",
"2"
],
"description": "V1 error format.",
"type": "string",
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query"
"location": "query",
"enum": [
"1",
"2"
]
},
"callback": {
"location": "query",
"description": "JSONP",
"type": "string"
"type": "string",
"location": "query"
},
"alt": {
"enum": [
"json",
"media",
"proto"
],
"type": "string",
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
@@ -47,50 +95,39 @@
],
"location": "query",
"description": "Data format for response.",
"default": "json",
"enum": [
"json",
"media",
"proto"
],
"type": "string"
"default": "json"
},
"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"
"key": {
"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"
},
"bearer_token": {
"description": "OAuth bearer token.",
"quotaUser": {
"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"
}
},
"schemas": {
"MobileFriendlyIssue": {
"description": "Mobile-friendly issue.",
"type": "object",
"properties": {
"rule": {
"enumDescriptions": [
"Unknown rule. Sorry, we don't have any description for the rule that was\nbroken.",
"Plugins incompatible with mobile devices are being used. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#flash_usage).",
"Viewsport is not specified using the meta viewport tag. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#viewport_not_configured).",
"Viewport defined to a fixed width. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#fixed-width_viewport).",
"Content not sized to viewport. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#content_not_sized_to_viewport).",
"Font size is too small for easy reading on a small screen. [Learn More]\n(https://support.google.com/webmasters/answer/6352293#small_font_size).",
"Touch elements are too close to each other. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#touch_elements_too_close)."
],
"enum": [
"MOBILE_FRIENDLY_RULE_UNSPECIFIED",
"USES_INCOMPATIBLE_PLUGINS",
@@ -101,26 +138,26 @@
"TAP_TARGETS_TOO_CLOSE"
],
"description": "Rule violated.",
"type": "string",
"enumDescriptions": [
"Unknown rule. Sorry, we don't have any description for the rule that was\nbroken.",
"Plugins incompatible with mobile devices are being used. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#flash_usage).",
"Viewsport is not specified using the meta viewport tag. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#viewport_not_configured).",
"Viewport defined to a fixed width. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#fixed-width_viewport).",
"Content not sized to viewport. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#content_not_sized_to_viewport).",
"Font size is too small for easy reading on a small screen. [Learn More]\n(https://support.google.com/webmasters/answer/6352293#small_font_size).",
"Touch elements are too close to each other. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#touch_elements_too_close)."
]
"type": "string"
}
},
"id": "MobileFriendlyIssue",
"description": "Mobile-friendly issue.",
"type": "object"
"id": "MobileFriendlyIssue"
},
"RunMobileFriendlyTestResponse": {
"description": "Mobile-friendly test response, including mobile-friendly issues and resource\nissues.",
"type": "object",
"properties": {
"mobileFriendlyIssues": {
"type": "array",
"items": {
"$ref": "MobileFriendlyIssue"
},
"description": "List of mobile-usability issues."
},
"screenshot": {
"description": "Screenshot of the requested URL.",
"$ref": "Image"
},
"testStatus": {
"$ref": "TestStatus",
"description": "Final state of the test, can be either complete or an error."
@@ -133,60 +170,53 @@
}
},
"mobileFriendliness": {
"enum": [
"MOBILE_FRIENDLY_TEST_RESULT_UNSPECIFIED",
"MOBILE_FRIENDLY",
"NOT_MOBILE_FRIENDLY"
],
"description": "Test verdict, whether the page is mobile friendly or not.",
"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."
],
"enum": [
"MOBILE_FRIENDLY_TEST_RESULT_UNSPECIFIED",
"MOBILE_FRIENDLY",
"NOT_MOBILE_FRIENDLY"
]
},
"mobileFriendlyIssues": {
"description": "List of mobile-usability issues.",
"type": "array",
"items": {
"$ref": "MobileFriendlyIssue"
}
},
"screenshot": {
"$ref": "Image",
"description": "Screenshot of the requested URL."
}
},
"id": "RunMobileFriendlyTestResponse"
},
"ResourceIssue": {
"description": "Information about a resource with issue.",
"type": "object",
"properties": {
"blockedResource": {
"description": "Describes a blocked resource issue.",
"$ref": "BlockedResource"
"$ref": "BlockedResource",
"description": "Describes a blocked resource issue."
}
},
"id": "ResourceIssue"
"id": "ResourceIssue",
"description": "Information about a resource with issue."
},
"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": {
"url": {
"description": "URL of the blocked resource.",
"type": "string"
}
},
"id": "BlockedResource"
},
"TestStatus": {
"properties": {
"status": {
"enum": [
"TEST_STATUS_UNSPECIFIED",
"COMPLETE",
"INTERNAL_ERROR",
"PAGE_UNREACHABLE"
],
"description": "Status of the test.",
"type": "string",
"enumDescriptions": [
@@ -194,12 +224,6 @@
"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": {
@@ -207,7 +231,9 @@
"type": "string"
}
},
"id": "TestStatus"
"id": "TestStatus",
"description": "Final state of the test, including error details if necessary.",
"type": "object"
},
"RunMobileFriendlyTestRequest": {
"properties": {
@@ -241,52 +267,26 @@
"type": "object"
}
},
"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",
"version": "v1",
"baseUrl": "https://searchconsole.googleapis.com/",
"canonicalName": "Search Console",
"kind": "discovery#restDescription",
"description": "Provides tools for running validation tests against single URLs",
"servicePath": "",
"description": "Provides tools for running validation tests against single URLs",
"rootUrl": "https://searchconsole.googleapis.com/",
"basePath": "",
"ownerDomain": "google.com",
"name": "searchconsole",
"batchPath": "batch",
"id": "searchconsole:v1",
"revision": "20180114",
"documentationLink": "https://developers.google.com/webmaster-tools/search-console-api/",
"revision": "20170927",
"id": "searchconsole:v1",
"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."
}
}
}
}
}
}
"ownerName": "Google"
}
+15 -15
View File
@@ -113,8 +113,8 @@ type BlockedResource struct {
}
func (s *BlockedResource) MarshalJSON() ([]byte, error) {
type noMethod BlockedResource
raw := noMethod(*s)
type NoMethod BlockedResource
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -146,8 +146,8 @@ type Image struct {
}
func (s *Image) MarshalJSON() ([]byte, error) {
type noMethod Image
raw := noMethod(*s)
type NoMethod Image
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -207,8 +207,8 @@ type MobileFriendlyIssue struct {
}
func (s *MobileFriendlyIssue) MarshalJSON() ([]byte, error) {
type noMethod MobileFriendlyIssue
raw := noMethod(*s)
type NoMethod MobileFriendlyIssue
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -236,8 +236,8 @@ type ResourceIssue struct {
}
func (s *ResourceIssue) MarshalJSON() ([]byte, error) {
type noMethod ResourceIssue
raw := noMethod(*s)
type NoMethod ResourceIssue
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -269,8 +269,8 @@ type RunMobileFriendlyTestRequest struct {
}
func (s *RunMobileFriendlyTestRequest) MarshalJSON() ([]byte, error) {
type noMethod RunMobileFriendlyTestRequest
raw := noMethod(*s)
type NoMethod RunMobileFriendlyTestRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -324,8 +324,8 @@ type RunMobileFriendlyTestResponse struct {
}
func (s *RunMobileFriendlyTestResponse) MarshalJSON() ([]byte, error) {
type noMethod RunMobileFriendlyTestResponse
raw := noMethod(*s)
type NoMethod RunMobileFriendlyTestResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -369,8 +369,8 @@ type TestStatus struct {
}
func (s *TestStatus) MarshalJSON() ([]byte, error) {
type noMethod TestStatus
raw := noMethod(*s)
type NoMethod TestStatus
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -469,7 +469,7 @@ func (c *UrlTestingToolsMobileFriendlyTestRunCall) Do(opts ...googleapi.CallOpti
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil