Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the model, regenerate, and related changes #167

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion examples/src/Example/Sheets.hs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ exampleAppendValue sheetID range val = do
lgr <- newLogger Debug stdout
env <- newEnv <&> (envLogger .~ lgr) . (envScopes .~ spreadsheetsScope)
runResourceT . runGoogle env $
send (svaValueInputOption .~ Just "USER_ENTERED" $ spreadsheetsValuesAppend
send (svaValueInputOption .~ Just SVAVIOUserEntered $ spreadsheetsValuesAppend
sheetID
( vrMajorDimension .~ Just VRMDRows $ vrValues .~ val $ vrRange .~ Just range $ valueRange)
range )
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
{
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/xapi.zoo": {
"description": "Test scope for access to the Zoo service"
}
}
}
},
"basePath": "",
"baseUrl": "https://abusiveexperiencereport.googleapis.com/",
"batchPath": "batch",
Expand All @@ -22,6 +13,7 @@
},
"id": "abusiveexperiencereport:v1",
"kind": "discovery#restDescription",
"mtlsRootUrl": "https://abusiveexperiencereport.mtls.googleapis.com/",
"name": "abusiveexperiencereport",
"ownerDomain": "google.com",
"ownerName": "Google",
Expand Down Expand Up @@ -107,7 +99,7 @@
"sites": {
"methods": {
"get": {
"description": "Gets a summary of the abusive experience rating of a site.",
"description": "Gets a site's Abusive Experience Report summary.",
"flatPath": "v1/sites/{sitesId}",
"httpMethod": "GET",
"id": "abusiveexperiencereport.sites.get",
Expand All @@ -116,7 +108,7 @@
],
"parameters": {
"name": {
"description": "The required site name. This is the site property whose abusive\nexperiences have been reviewed, and it must 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\nreturned by the API will lead to the verification page, prompting the user\nto go through that process before they can gain access to the Abusive\nExperience Report.",
"description": "Required. The name of the site whose summary to get, e.g. `sites/http%3A%2F%2Fwww.google.com%2F`. Format: `sites/{site}`",
"location": "path",
"pattern": "^sites/[^/]+$",
"required": true,
Expand All @@ -126,17 +118,14 @@
"path": "v1/{+name}",
"response": {
"$ref": "SiteSummaryResponse"
},
"scopes": [
"https://www.googleapis.com/auth/xapi.zoo"
]
}
}
}
},
"violatingSites": {
"methods": {
"list": {
"description": "Lists sites with Abusive Experience Report statuses of \"Failing\".",
"description": "Lists sites that are failing in the Abusive Experience Report.",
"flatPath": "v1/violatingSites",
"httpMethod": "GET",
"id": "abusiveexperiencereport.violatingSites.list",
Expand All @@ -145,23 +134,20 @@
"path": "v1/violatingSites",
"response": {
"$ref": "ViolatingSitesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/xapi.zoo"
]
}
}
}
}
},
"revision": "20181017",
"revision": "20200803",
"rootUrl": "https://abusiveexperiencereport.googleapis.com/",
"schemas": {
"SiteSummaryResponse": {
"description": "Response message for GetSiteSummary.",
"id": "SiteSummaryResponse",
"properties": {
"abusiveStatus": {
"description": "The status of the site reviewed for the abusive experiences.",
"description": "The site's Abusive Experience Report status.",
"enum": [
"UNKNOWN",
"PASSING",
Expand All @@ -175,12 +161,12 @@
"type": "string"
},
"enforcementTime": {
"description": "The date on which enforcement begins.",
"description": "The time at which [enforcement](https://support.google.com/webtools/answer/7538608) against the site began or will begin. Not set when the filter_status is OFF.",
"format": "google-datetime",
"type": "string"
},
"filterStatus": {
"description": "The abusive experience enforcement status of the site.",
"description": "The site's [enforcement status](https://support.google.com/webtools/answer/7538608).",
"enum": [
"UNKNOWN",
"ON",
Expand All @@ -190,24 +176,24 @@
],
"enumDescriptions": [
"N/A.",
"Ad filtering is on.",
"Ad filtering is off.",
"Ad filtering is paused.",
"Ad filtering is pending."
"Enforcement is on.",
"Enforcement is off.",
"Enforcement is paused.",
"Enforcement is pending."
],
"type": "string"
},
"lastChangeTime": {
"description": "The last time that the site changed status.",
"description": "The time at which the site's status last changed.",
"format": "google-datetime",
"type": "string"
},
"reportUrl": {
"description": "A link that leads to a full abusive experience report.",
"description": "A link to the full Abusive Experience Report for the site. Not set in ViolatingSitesResponse. Note that you must complete the [Search Console verification process](https://support.google.com/webmasters/answer/9008080) for the site before you can access the full report.",
"type": "string"
},
"reviewedSite": {
"description": "The name of the site reviewed.",
"description": "The name of the reviewed site, e.g. `google.com`.",
"type": "string"
},
"underReview": {
Expand All @@ -222,7 +208,7 @@
"id": "ViolatingSitesResponse",
"properties": {
"violatingSites": {
"description": "A list of summaries of violating sites.",
"description": "The list of violating sites.",
"items": {
"$ref": "SiteSummaryResponse"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"basePath": "",
"baseUrl": "https://acceleratedmobilepageurl.googleapis.com/",
"batchPath": "batch",
"description": "Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given list of public URL(s).\n",
"canonicalName": "Acceleratedmobilepageurl",
"description": "Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given list of public URL(s). ",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/amp/cache/",
"icons": {
Expand All @@ -11,6 +12,7 @@
},
"id": "acceleratedmobilepageurl:v1",
"kind": "discovery#restDescription",
"mtlsRootUrl": "https://acceleratedmobilepageurl.mtls.googleapis.com/",
"name": "acceleratedmobilepageurl",
"ownerDomain": "google.com",
"ownerName": "Google",
Expand Down Expand Up @@ -96,7 +98,7 @@
"ampUrls": {
"methods": {
"batchGet": {
"description": "Returns AMP URL(s) and equivalent\n[AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format).",
"description": "Returns AMP URL(s) and equivalent [AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format).",
"flatPath": "v1/ampUrls:batchGet",
"httpMethod": "POST",
"id": "acceleratedmobilepageurl.ampUrls.batchGet",
Expand All @@ -113,7 +115,7 @@
}
}
},
"revision": "20180612",
"revision": "20200916",
"rootUrl": "https://acceleratedmobilepageurl.googleapis.com/",
"schemas": {
"AmpUrl": {
Expand All @@ -125,7 +127,7 @@
"type": "string"
},
"cdnAmpUrl": {
"description": "The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to\nthe cached document in the Google AMP Cache.",
"description": "The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to the cached document in the Google AMP Cache.",
"type": "string"
},
"originalUrl": {
Expand All @@ -151,11 +153,11 @@
],
"enumDescriptions": [
"Not specified error.",
"Indicates the requested URL is not found in the index, possibly because\nit's unable to be found, not able to be accessed by Googlebot, or some\nother error.",
"Indicates no AMP URL has been found that corresponds to the requested\nURL.",
"Indicates some kind of application error occurred at the server.\nClient advised to retry.",
"DEPRECATED: Indicates the requested URL is a valid AMP URL. This is a\nnon-error state, should not be relied upon as a sign of success or\nfailure. It will be removed in future versions of the API.",
"Indicates that an AMP URL has been found that corresponds to the request\nURL, but it is not valid AMP HTML."
"Indicates the requested URL is not found in the index, possibly because it's unable to be found, not able to be accessed by Googlebot, or some other error.",
"Indicates no AMP URL has been found that corresponds to the requested URL.",
"Indicates some kind of application error occurred at the server. Client advised to retry.",
"DEPRECATED: Indicates the requested URL is a valid AMP URL. This is a non-error state, should not be relied upon as a sign of success or failure. It will be removed in future versions of the API.",
"Indicates that an AMP URL has been found that corresponds to the request URL, but it is not valid AMP HTML."
],
"type": "string"
},
Expand All @@ -181,13 +183,13 @@
"IN_INDEX_DOC"
],
"enumDescriptions": [
"FETCH_LIVE_DOC strategy involves live document fetch of URLs not found in\nthe index. Any request URL not found in the index is crawled in realtime\nto validate if there is a corresponding AMP URL. This strategy has higher\ncoverage but with extra latency introduced by realtime crawling. This is\nthe default strategy. Applications using this strategy should set higher\nHTTP timeouts of the API calls.",
"IN_INDEX_DOC strategy skips fetching live documents of URL(s) not found\nin index. For applications which need low latency use of IN_INDEX_DOC\nstrategy is recommended."
"FETCH_LIVE_DOC strategy involves live document fetch of URLs not found in the index. Any request URL not found in the index is crawled in realtime to validate if there is a corresponding AMP URL. This strategy has higher coverage but with extra latency introduced by realtime crawling. This is the default strategy. Applications using this strategy should set higher HTTP timeouts of the API calls.",
"IN_INDEX_DOC strategy skips fetching live documents of URL(s) not found in index. For applications which need low latency use of IN_INDEX_DOC strategy is recommended."
],
"type": "string"
},
"urls": {
"description": "List of URLs to look up for the paired AMP URLs.\nThe URLs are case-sensitive. Up to 50 URLs per lookup\n(see [Usage Limits](/amp/cache/reference/limits)).",
"description": "List of URLs to look up for the paired AMP URLs. The URLs are case-sensitive. Up to 50 URLs per lookup (see [Usage Limits](/amp/cache/reference/limits)).",
"items": {
"type": "string"
},
Expand All @@ -201,7 +203,7 @@
"id": "BatchGetAmpUrlsResponse",
"properties": {
"ampUrls": {
"description": "For each URL in BatchAmpUrlsRequest, the URL response. The response might\nnot be in the same order as URLs in the batch request.\nIf BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated\nonly once.",
"description": "For each URL in BatchAmpUrlsRequest, the URL response. The response might not be in the same order as URLs in the batch request. If BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated only once.",
"items": {
"$ref": "AmpUrl"
},
Expand Down
Loading