Skip to content

Commit

Permalink
feat: regenerate index files
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed Oct 5, 2020
1 parent a9cb808 commit 799a348
Show file tree
Hide file tree
Showing 28 changed files with 813 additions and 1,262 deletions.
26 changes: 13 additions & 13 deletions discovery/acceleratedmobilepageurl-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"baseUrl": "https://acceleratedmobilepageurl.googleapis.com/",
"batchPath": "batch",
"canonicalName": "Acceleratedmobilepageurl",
"description": "Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given list of public URL(s).\n",
"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 Down Expand Up @@ -98,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 @@ -115,7 +115,7 @@
}
}
},
"revision": "20200511",
"revision": "20201001",
"rootUrl": "https://acceleratedmobilepageurl.googleapis.com/",
"schemas": {
"AmpUrl": {
Expand All @@ -127,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 @@ -153,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 @@ -183,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 @@ -203,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
10 changes: 1 addition & 9 deletions discovery/analyticsreporting-v4.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
}
}
},
"revision": "20200803",
"revision": "20200929",
"rootUrl": "https://analyticsreporting.googleapis.com/",
"schemas": {
"Activity": {
Expand Down Expand Up @@ -1273,14 +1273,6 @@
"properties": {
"activityTypes": {
"description": "Set of all activity types being requested. Only acvities matching these types will be returned in the response. If empty, all activies will be returned.",
"enumDescriptions": [
"ActivityType will never have this value in the response. Using this type in the request will result in an error.",
"Used when the activity resulted out of a visitor viewing a page.",
"Used when the activity resulted out of a visitor using an application on a mobile device.",
"Used to denote that a goal type activity.",
"An e-commerce transaction was performed by the visitor on the page.",
"Used when the activity is an event."
],
"items": {
"enum": [
"ACTIVITY_TYPE_UNSPECIFIED",
Expand Down
Loading

0 comments on commit 799a348

Please sign in to comment.