Update dependencies

This commit is contained in:
Alexander Neumann
2017-09-13 14:09:48 +02:00
parent f3b49987f8
commit fda563d606
926 changed files with 189726 additions and 98666 deletions

View File

@@ -1,37 +1,196 @@
{
"ownerDomain": "google.com",
"name": "adexperiencereport",
"batchPath": "batch",
"title": "Google Ad Experience Report API",
"ownerName": "Google",
"resources": {
"sites": {
"methods": {
"get": {
"response": {
"$ref": "SiteSummaryResponse"
},
"parameterOrder": [
"name"
],
"httpMethod": "GET",
"parameters": {
"name": {
"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,
"pattern": "^sites/[^/]+$"
}
},
"scopes": [
"https://www.googleapis.com/auth/xapi.zoo"
],
"flatPath": "v1/sites/{sitesId}",
"id": "adexperiencereport.sites.get",
"path": "v1/{+name}",
"description": "Gets a summary of the ad experience rating of a site."
}
}
},
"violatingSites": {
"methods": {
"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"
],
"flatPath": "v1/violatingSites",
"path": "v1/violatingSites",
"id": "adexperiencereport.violatingSites.list"
}
}
}
},
"parameters": {
"$.xgafv": {
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query",
"enum": [
"1",
"2"
],
"description": "V1 error format.",
"type": "string"
},
"callback": {
"description": "JSONP",
"type": "string",
"location": "query"
},
"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"
},
"access_token": {
"description": "OAuth access token.",
"type": "string",
"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": {
"description": "Pretty-print response.",
"default": "true",
"type": "boolean",
"location": "query"
},
"bearer_token": {
"location": "query",
"description": "OAuth bearer token.",
"type": "string"
},
"oauth_token": {
"location": "query",
"description": "OAuth 2.0 token for the current user.",
"type": "string"
},
"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.",
"default": "true",
"type": "boolean"
},
"fields": {
"location": "query",
"description": "Selector specifying which fields to include in a partial response.",
"type": "string"
},
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"type": "string",
"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": "",
"basePath": "",
"revision": "20170731",
"revision": "20170819",
"documentationLink": "https://developers.google.com/ad-experience-report/",
"id": "adexperiencereport:v1",
"discoveryVersion": "v1",
"version_module": "True",
"version_module": true,
"schemas": {
"ViolatingSitesResponse": {
"description": "Response message for ListViolatingSites.",
"type": "object",
"properties": {
"violatingSites": {
"description": "A list of summaries of violating sites.",
"items": {
"$ref": "SiteSummaryResponse"
},
"type": "array"
}
},
"id": "ViolatingSitesResponse"
},
"SiteSummaryResponse": {
"description": "Response message for GetSiteSummary.",
"type": "object",
"properties": {
"mobileSummary": {
"$ref": "PlatformSummary",
"description": "Summary for the mobile review of the site."
},
"reviewedSite": {
"description": "The name of the site reviewed.",
"type": "string"
},
"desktopSummary": {
"$ref": "PlatformSummary",
"description": "Summary for the desktop review of the site."
}
},
"id": "SiteSummaryResponse"
},
"PlatformSummary": {
"description": "Summary of the ad experience 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"
},
"egregiousStatus": {
"enumDescriptions": [
"Not reviewed.",
"Passing.",
"Failing."
],
"enum": [
"UNKNOWN",
"PASSING",
"FAILING"
],
"description": "The status of the site reviewed for egregious ads.",
"type": "string"
},
"betterAdsStatus": {
"enumDescriptions": [
"Not reviewed.",
@@ -48,12 +207,21 @@
"description": "The status of the site reviewed for the Better Ads Standards.",
"type": "string"
},
"region": {
"abusiveStatus": {
"description": "The status of the site reviewed for abusive ads.",
"type": "string",
"enumDescriptions": [
"Ad standard not yet defined for your region.",
"Region A.",
"Region B."
"Not reviewed.",
"Passing.",
"Failing."
],
"enum": [
"UNKNOWN",
"PASSING",
"FAILING"
]
},
"region": {
"description": "The assigned regions for the site and platform.",
"items": {
"type": "string",
@@ -63,7 +231,12 @@
"REGION_B"
]
},
"type": "array"
"type": "array",
"enumDescriptions": [
"Ad standard not yet defined for your region.",
"Region A.",
"Region B."
]
},
"enforcementTime": {
"format": "google-datetime",
@@ -95,49 +268,21 @@
"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"
}
},
"id": "PlatformSummary"
},
"ViolatingSitesResponse": {
"description": "Response message for ListViolatingSites.",
"type": "object",
"properties": {
"violatingSites": {
"description": "A list of summaries of violating sites.",
"items": {
"$ref": "SiteSummaryResponse"
},
"type": "array"
}
},
"id": "ViolatingSitesResponse"
},
"SiteSummaryResponse": {
"description": "Response message for GetSiteSummary.",
"type": "object",
"properties": {
"reviewedSite": {
"description": "The name of the site reviewed.",
"type": "string"
},
"desktopSummary": {
"$ref": "PlatformSummary",
"description": "Summary for the desktop review of the site."
},
"mobileSummary": {
"description": "Summary for the mobile review of the site.",
"$ref": "PlatformSummary"
}
},
"id": "SiteSummaryResponse"
}
},
"icons": {
"x32": "http://www.google.com/images/icons/product/search-32.gif",
"x16": "http://www.google.com/images/icons/product/search-16.gif"
},
"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"
},
"canonicalName": "Ad Experience Report",
"auth": {
"oauth2": {
@@ -148,150 +293,5 @@
}
}
},
"rootUrl": "https://adexperiencereport.googleapis.com/",
"ownerDomain": "google.com",
"name": "adexperiencereport",
"batchPath": "batch",
"title": "Google Ad Experience Report API",
"ownerName": "Google",
"resources": {
"sites": {
"methods": {
"get": {
"description": "Gets a summary of the ad experience rating of a site.",
"httpMethod": "GET",
"parameterOrder": [
"name"
],
"response": {
"$ref": "SiteSummaryResponse"
},
"scopes": [
"https://www.googleapis.com/auth/xapi.zoo"
],
"parameters": {
"name": {
"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,\nhttps%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,
"pattern": "^sites/[^/]+$",
"location": "path"
}
},
"flatPath": "v1/sites/{sitesId}",
"path": "v1/{+name}",
"id": "adexperiencereport.sites.get"
}
}
},
"violatingSites": {
"methods": {
"list": {
"description": "Lists sites with Ad Experience Report statuses of \"Failing\" or \"Warning\".",
"response": {
"$ref": "ViolatingSitesResponse"
},
"parameterOrder": [],
"httpMethod": "GET",
"scopes": [
"https://www.googleapis.com/auth/xapi.zoo"
],
"parameters": {},
"flatPath": "v1/violatingSites",
"id": "adexperiencereport.violatingSites.list",
"path": "v1/violatingSites"
}
}
}
},
"parameters": {
"$.xgafv": {
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query",
"enum": [
"1",
"2"
],
"description": "V1 error format.",
"type": "string"
},
"callback": {
"description": "JSONP",
"type": "string",
"location": "query"
},
"alt": {
"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",
"description": "Data format for response.",
"default": "json",
"enum": [
"json",
"media",
"proto"
]
},
"access_token": {
"location": "query",
"description": "OAuth access token.",
"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"
},
"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"
},
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"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.",
"default": "true",
"type": "boolean"
},
"uploadType": {
"location": "query",
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"type": "string"
},
"fields": {
"location": "query",
"description": "Selector specifying which fields to include in a partial response.",
"type": "string"
}
},
"version": "v1",
"baseUrl": "https://adexperiencereport.googleapis.com/"
"rootUrl": "https://adexperiencereport.googleapis.com/"
}

View File

@@ -99,6 +99,14 @@ type ViolatingSitesService struct {
// PlatformSummary: Summary of the ad experience rating of a site for a
// specific platform.
type PlatformSummary struct {
// AbusiveStatus: The status of the site reviewed for abusive ads.
//
// Possible values:
// "UNKNOWN" - Not reviewed.
// "PASSING" - Passing.
// "FAILING" - Failing.
AbusiveStatus string `json:"abusiveStatus,omitempty"`
// BetterAdsStatus: The status of the site reviewed for the Better Ads
// Standards.
//
@@ -109,14 +117,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"`
@@ -147,7 +147,7 @@ type PlatformSummary struct {
// UnderReview: Whether the site is currently under review.
UnderReview bool `json:"underReview,omitempty"`
// ForceSendFields is a list of field names (e.g. "BetterAdsStatus") to
// ForceSendFields is a list of field names (e.g. "AbusiveStatus") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
@@ -155,13 +155,12 @@ type PlatformSummary struct {
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "BetterAdsStatus") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
// NullFields is a list of field names (e.g. "AbusiveStatus") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
@@ -364,7 +363,7 @@ func (c *SitesGetCall) Do(opts ...googleapi.CallOption) (*SiteSummaryResponse, e
// ],
// "parameters": {
// "name": {
// "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,\nhttps%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.",
// "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,