vendor: update all dependencies to latest versions

This commit is contained in:
Nick Craig-Wood
2017-09-30 15:27:27 +01:00
parent 911d121bb9
commit b017fcfe9a
3048 changed files with 537055 additions and 189679 deletions
+100 -114
View File
@@ -1,6 +1,4 @@
{
"discoveryVersion": "v1",
"version_module": "True",
"schemas": {
"ViolatingSitesResponse": {
"description": "Response message for ListViolatingSites.",
@@ -20,6 +18,10 @@
"description": "Response message for GetSiteSummary.",
"type": "object",
"properties": {
"mobileSummary": {
"description": "Summary for the mobile review of the site.",
"$ref": "PlatformSummary"
},
"reviewedSite": {
"description": "The name of the site reviewed.",
"type": "string"
@@ -27,19 +29,24 @@
"desktopSummary": {
"description": "Summary for the desktop review of the site.",
"$ref": "PlatformSummary"
},
"mobileSummary": {
"$ref": "PlatformSummary",
"description": "Summary for the mobile review of the site."
}
},
"id": "SiteSummaryResponse"
},
"PlatformSummary": {
"description": "Summary of the ads rating of a site for a specific platform.",
"type": "object",
"properties": {
"lastChangeTime": {
"format": "google-datetime",
"description": "The last time that the site changed status.",
"type": "string"
},
"betterAdsStatus": {
"enum": [
"UNKNOWN",
"PASSING",
"WARNING",
"FAILING"
],
"description": "The status of the site reviewed for the Better Ads Standards.",
"type": "string",
"enumDescriptions": [
@@ -47,19 +54,8 @@
"Passing.",
"Warning.",
"Failing."
],
"enum": [
"UNKNOWN",
"PASSING",
"WARNING",
"FAILING"
]
},
"enforcementTime": {
"format": "google-datetime",
"description": "The date on which ad filtering begins.",
"type": "string"
},
"region": {
"enumDescriptions": [
"Ad standard not yet defined for your region.",
@@ -68,18 +64,21 @@
],
"description": "The assigned regions for the site and platform.",
"items": {
"type": "string",
"enum": [
"REGION_UNKNOWN",
"REGION_A",
"REGION_B"
]
],
"type": "string"
},
"type": "array"
},
"enforcementTime": {
"format": "google-datetime",
"description": "The date on which ad filtering begins.",
"type": "string"
},
"filterStatus": {
"description": "The ad filtering status of the site.",
"type": "string",
"enumDescriptions": [
"N/A.",
"Ad filtering is on.",
@@ -93,7 +92,9 @@
"OFF",
"PAUSED",
"PENDING"
]
],
"description": "The ad filtering status of the site.",
"type": "string"
},
"underReview": {
"description": "Whether the site is currently under review.",
@@ -102,35 +103,18 @@
"reportUrl": {
"description": "A link that leads to a full ad experience report.",
"type": "string"
},
"lastChangeTime": {
"format": "google-datetime",
"description": "The last time that the site changed status.",
"type": "string"
},
"egregiousStatus": {
"enumDescriptions": [
"Not reviewed.",
"Passing.",
"Failing."
],
"enum": [
"UNKNOWN",
"PASSING",
"FAILING"
],
"description": "The status of the site reviewed for egregious ads.",
"type": "string"
}
},
"id": "PlatformSummary"
"id": "PlatformSummary",
"description": "Summary of the ad experience rating of a site for a specific platform.",
"type": "object"
}
},
"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",
"icons": {
"x32": "http://www.google.com/images/icons/product/search-32.gif",
"x16": "http://www.google.com/images/icons/product/search-16.gif"
},
"canonicalName": "Ad Experience Report",
"auth": {
"oauth2": {
@@ -148,94 +132,90 @@
"title": "Google Ad Experience Report API",
"ownerName": "Google",
"resources": {
"sites": {
"methods": {
"get": {
"description": "Gets a summary of the ads rating of a site.",
"httpMethod": "GET",
"parameterOrder": [
"name"
],
"response": {
"$ref": "SiteSummaryResponse"
},
"scopes": [
"https://www.googleapis.com/auth/xapi.zoo"
],
"parameters": {
"name": {
"location": "path",
"description": "The required site name. It should be a site property registered in Search\nConsole. The server will return an error of BAD_REQUEST if this field is\nnot filled in.",
"type": "string",
"required": true,
"pattern": "^sites/[^/]+$"
}
},
"flatPath": "v1/sites/{sitesId}",
"path": "v1/{+name}",
"id": "adexperiencereport.sites.get"
}
}
},
"violatingSites": {
"methods": {
"list": {
"flatPath": "v1/violatingSites",
"path": "v1/violatingSites",
"id": "adexperiencereport.violatingSites.list",
"description": "Lists sites with Ad Experience Report statuses of \"Failing\" or \"Warning\".",
"httpMethod": "GET",
"parameterOrder": [],
"response": {
"$ref": "ViolatingSitesResponse"
},
"parameters": {},
"scopes": [
"https://www.googleapis.com/auth/xapi.zoo"
]
],
"parameters": {},
"flatPath": "v1/violatingSites",
"path": "v1/violatingSites",
"id": "adexperiencereport.violatingSites.list",
"description": "Lists sites with Ad Experience Report statuses of \"Failing\" or \"Warning\"."
}
}
},
"sites": {
"methods": {
"get": {
"description": "Gets a summary of the ad experience rating of a site.",
"response": {
"$ref": "SiteSummaryResponse"
},
"parameterOrder": [
"name"
],
"httpMethod": "GET",
"scopes": [
"https://www.googleapis.com/auth/xapi.zoo"
],
"parameters": {
"name": {
"pattern": "^sites/[^/]+$",
"location": "path",
"description": "The required site name. It should be the site property whose ad experiences\nmay have been reviewed, and it should be URL-encoded. For example,\nsites/https%3A%2F%2Fwww.google.com. The server will return an error of\nBAD_REQUEST if this field is not filled in. Note that if the site property\nis not yet verified in Search Console, the reportUrl field returned by the\nAPI will lead to the verification page, prompting the user to go through\nthat process before they can gain access to the Ad Experience Report.",
"type": "string",
"required": true
}
},
"flatPath": "v1/sites/{sitesId}",
"id": "adexperiencereport.sites.get",
"path": "v1/{+name}"
}
}
}
},
"parameters": {
"pp": {
"description": "Pretty-print response.",
"default": "true",
"type": "boolean",
"location": "query"
},
"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": {
"location": "query",
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"type": "string",
"location": "query"
"type": "string"
},
"prettyPrint": {
"location": "query",
"description": "Returns response with indentations and line breaks.",
"default": "true",
"type": "boolean",
"type": "boolean"
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"type": "string",
"location": "query"
},
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"type": "string",
"location": "query"
},
"fields": {
"location": "query",
"description": "Selector specifying which fields to include in a partial response.",
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"type": "string"
},
"$.xgafv": {
"description": "V1 error format.",
"type": "string",
"enumDescriptions": [
"v1 error format",
"v2 error format"
@@ -244,14 +224,12 @@
"enum": [
"1",
"2"
],
"description": "V1 error format.",
"type": "string"
]
},
"callback": {
"location": "query",
"description": "JSONP",
"type": "string"
"type": "string",
"location": "query"
},
"alt": {
"enum": [
@@ -270,9 +248,9 @@
"default": "json"
},
"access_token": {
"location": "query",
"description": "OAuth access token.",
"type": "string"
"type": "string",
"location": "query"
},
"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.",
@@ -280,18 +258,26 @@
"location": "query"
},
"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"
"type": "string",
"location": "query"
},
"pp": {
"description": "Pretty-print response.",
"default": "true",
"type": "boolean",
"location": "query"
}
},
"version": "v1",
"baseUrl": "https://adexperiencereport.googleapis.com/",
"kind": "discovery#restDescription",
"description": "View Ad Experience Report data, and get a list of sites that have a significant number of annoying ads.",
"servicePath": "",
"kind": "discovery#restDescription",
"basePath": "",
"id": "adexperiencereport:v1",
"documentationLink": "https://developers.google.com/ad-experience-report/",
"revision": "20170628",
"id": "adexperiencereport:v1"
"revision": "20170918",
"discoveryVersion": "v1",
"version_module": true
}
@@ -96,8 +96,8 @@ type ViolatingSitesService struct {
s *Service
}
// PlatformSummary: Summary of the ads rating of a site for a specific
// platform.
// PlatformSummary: Summary of the ad experience rating of a site for a
// specific platform.
type PlatformSummary struct {
// BetterAdsStatus: The status of the site reviewed for the Better Ads
// Standards.
@@ -109,14 +109,6 @@ type PlatformSummary struct {
// "FAILING" - Failing.
BetterAdsStatus string `json:"betterAdsStatus,omitempty"`
// EgregiousStatus: The status of the site reviewed for egregious ads.
//
// Possible values:
// "UNKNOWN" - Not reviewed.
// "PASSING" - Passing.
// "FAILING" - Failing.
EgregiousStatus string `json:"egregiousStatus,omitempty"`
// EnforcementTime: The date on which ad filtering begins.
EnforcementTime string `json:"enforcementTime,omitempty"`
@@ -254,7 +246,7 @@ type SitesGetCall struct {
header_ http.Header
}
// Get: Gets a summary of the ads rating of a site.
// Get: Gets a summary of the ad experience rating of a site.
func (r *SitesService) Get(name string) *SitesGetCall {
c := &SitesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -355,7 +347,7 @@ func (c *SitesGetCall) Do(opts ...googleapi.CallOption) (*SiteSummaryResponse, e
}
return ret, nil
// {
// "description": "Gets a summary of the ads rating of a site.",
// "description": "Gets a summary of the ad experience rating of a site.",
// "flatPath": "v1/sites/{sitesId}",
// "httpMethod": "GET",
// "id": "adexperiencereport.sites.get",
@@ -364,7 +356,7 @@ func (c *SitesGetCall) Do(opts ...googleapi.CallOption) (*SiteSummaryResponse, e
// ],
// "parameters": {
// "name": {
// "description": "The required site name. It should be a site property registered in Search\nConsole. The server will return an error of BAD_REQUEST if this field is\nnot filled in.",
// "description": "The required site name. It should be the site property whose ad experiences\nmay have been reviewed, and it should be URL-encoded. For example,\nsites/https%3A%2F%2Fwww.google.com. The server will return an error of\nBAD_REQUEST if this field is not filled in. Note that if the site property\nis not yet verified in Search Console, the reportUrl field returned by the\nAPI will lead to the verification page, prompting the user to go through\nthat process before they can gain access to the Ad Experience Report.",
// "location": "path",
// "pattern": "^sites/[^/]+$",
// "required": true,