Skip to content

Commit c858ef4

Browse files
committed
regenerate all
Change-Id: I129f1d51328863f4ad08a412f91c027f7e6a39a6 Reviewed-on: https://code-review.googlesource.com/12831 Reviewed-by: Ross Light <[email protected]>
1 parent 6b6c96b commit c858ef4

File tree

89 files changed

+59075
-60657
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+59075
-60657
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,85 @@
11
{
2-
"name": "acceleratedmobilepageurl",
3-
"batchPath": "batch",
4-
"documentationLink": "https://developers.google.com/amp/cache/",
5-
"id": "acceleratedmobilepageurl:v1",
6-
"revision": "20170504",
7-
"title": "Accelerated Mobile Pages (AMP) URL API",
8-
"ownerName": "Google",
92
"discoveryVersion": "v1",
3+
"ownerName": "Google",
104
"version_module": "True",
115
"resources": {
126
"ampUrls": {
137
"methods": {
148
"batchGet": {
15-
"description": "Returns AMP URL(s) and equivalent\n[AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format).",
16-
"request": {
17-
"$ref": "BatchGetAmpUrlsRequest"
18-
},
19-
"httpMethod": "POST",
20-
"parameterOrder": [],
219
"response": {
2210
"$ref": "BatchGetAmpUrlsResponse"
2311
},
12+
"parameterOrder": [],
13+
"httpMethod": "POST",
2414
"parameters": {},
2515
"flatPath": "v1/ampUrls:batchGet",
16+
"path": "v1/ampUrls:batchGet",
2617
"id": "acceleratedmobilepageurl.ampUrls.batchGet",
27-
"path": "v1/ampUrls:batchGet"
18+
"request": {
19+
"$ref": "BatchGetAmpUrlsRequest"
20+
},
21+
"description": "Returns AMP URL(s) and equivalent\n[AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format)."
2822
}
2923
}
3024
}
3125
},
3226
"parameters": {
33-
"fields": {
27+
"pp": {
28+
"location": "query",
29+
"description": "Pretty-print response.",
30+
"type": "boolean",
31+
"default": "true"
32+
},
33+
"bearer_token": {
34+
"location": "query",
35+
"description": "OAuth bearer token.",
36+
"type": "string"
37+
},
38+
"oauth_token": {
39+
"location": "query",
40+
"description": "OAuth 2.0 token for the current user.",
41+
"type": "string"
42+
},
43+
"upload_protocol": {
44+
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
3445
"type": "string",
46+
"location": "query"
47+
},
48+
"prettyPrint": {
49+
"description": "Returns response with indentations and line breaks.",
50+
"type": "boolean",
51+
"default": "true",
52+
"location": "query"
53+
},
54+
"fields": {
3555
"location": "query",
36-
"description": "Selector specifying which fields to include in a partial response."
56+
"description": "Selector specifying which fields to include in a partial response.",
57+
"type": "string"
3758
},
3859
"uploadType": {
3960
"location": "query",
4061
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
4162
"type": "string"
4263
},
64+
"callback": {
65+
"description": "JSONP",
66+
"type": "string",
67+
"location": "query"
68+
},
4369
"$.xgafv": {
44-
"enumDescriptions": [
45-
"v1 error format",
46-
"v2 error format"
47-
],
48-
"location": "query",
4970
"enum": [
5071
"1",
5172
"2"
5273
],
5374
"description": "V1 error format.",
54-
"type": "string"
55-
},
56-
"callback": {
57-
"location": "query",
58-
"description": "JSONP",
59-
"type": "string"
75+
"type": "string",
76+
"enumDescriptions": [
77+
"v1 error format",
78+
"v2 error format"
79+
],
80+
"location": "query"
6081
},
6182
"alt": {
62-
"type": "string",
6383
"enumDescriptions": [
6484
"Responses with Content-Type of application/json",
6585
"Media download with context-dependent Content-Type",
@@ -72,55 +92,27 @@
7292
"json",
7393
"media",
7494
"proto"
75-
]
95+
],
96+
"type": "string"
7697
},
7798
"access_token": {
78-
"type": "string",
7999
"location": "query",
80-
"description": "OAuth access token."
100+
"description": "OAuth access token.",
101+
"type": "string"
81102
},
82103
"key": {
104+
"location": "query",
83105
"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.",
84-
"type": "string",
85-
"location": "query"
106+
"type": "string"
86107
},
87108
"quotaUser": {
109+
"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.",
88110
"type": "string",
89-
"location": "query",
90-
"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."
91-
},
92-
"pp": {
93-
"location": "query",
94-
"description": "Pretty-print response.",
95-
"type": "boolean",
96-
"default": "true"
97-
},
98-
"oauth_token": {
99-
"location": "query",
100-
"description": "OAuth 2.0 token for the current user.",
101-
"type": "string"
102-
},
103-
"bearer_token": {
104-
"location": "query",
105-
"description": "OAuth bearer token.",
106-
"type": "string"
107-
},
108-
"upload_protocol": {
109-
"location": "query",
110-
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
111-
"type": "string"
112-
},
113-
"prettyPrint": {
114-
"location": "query",
115-
"description": "Returns response with indentations and line breaks.",
116-
"type": "boolean",
117-
"default": "true"
111+
"location": "query"
118112
}
119113
},
120114
"schemas": {
121115
"BatchGetAmpUrlsResponse": {
122-
"description": "Batch AMP URL response.",
123-
"type": "object",
124116
"properties": {
125117
"ampUrls": {
126118
"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.",
@@ -137,7 +129,9 @@
137129
}
138130
}
139131
},
140-
"id": "BatchGetAmpUrlsResponse"
132+
"id": "BatchGetAmpUrlsResponse",
133+
"description": "Batch AMP URL response.",
134+
"type": "object"
141135
},
142136
"AmpUrl": {
143137
"description": "AMP URL response for a requested URL.",
@@ -159,10 +153,14 @@
159153
"id": "AmpUrl"
160154
},
161155
"AmpUrlError": {
156+
"description": "AMP URL Error resource for a requested URL that couldn't be found.",
157+
"type": "object",
162158
"properties": {
159+
"errorMessage": {
160+
"description": "An optional descriptive error message.",
161+
"type": "string"
162+
},
163163
"errorCode": {
164-
"description": "The error code of an API call.",
165-
"type": "string",
166164
"enumDescriptions": [
167165
"Not specified error.",
168166
"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.",
@@ -178,25 +176,29 @@
178176
"APPLICATION_ERROR",
179177
"URL_IS_VALID_AMP",
180178
"URL_IS_INVALID_AMP"
181-
]
179+
],
180+
"description": "The error code of an API call.",
181+
"type": "string"
182182
},
183183
"originalUrl": {
184184
"description": "The original non-AMP URL.",
185185
"type": "string"
186-
},
187-
"errorMessage": {
188-
"description": "An optional descriptive error message.",
189-
"type": "string"
190186
}
191187
},
192-
"id": "AmpUrlError",
193-
"description": "AMP URL Error resource for a requested URL that couldn't be found.",
194-
"type": "object"
188+
"id": "AmpUrlError"
195189
},
196190
"BatchGetAmpUrlsRequest": {
197191
"type": "object",
198192
"properties": {
193+
"urls": {
194+
"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)).",
195+
"type": "array",
196+
"items": {
197+
"type": "string"
198+
}
199+
},
199200
"lookupStrategy": {
201+
"type": "string",
200202
"enumDescriptions": [
201203
"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.",
202204
"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."
@@ -205,32 +207,30 @@
205207
"FETCH_LIVE_DOC",
206208
"IN_INDEX_DOC"
207209
],
208-
"description": "The lookup_strategy being requested.",
209-
"type": "string"
210-
},
211-
"urls": {
212-
"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)).",
213-
"type": "array",
214-
"items": {
215-
"type": "string"
216-
}
210+
"description": "The lookup_strategy being requested."
217211
}
218212
},
219213
"id": "BatchGetAmpUrlsRequest",
220214
"description": "AMP URL request for a batch of URLs."
221215
}
222216
},
217+
"protocol": "rest",
223218
"icons": {
224219
"x32": "http://www.google.com/images/icons/product/search-32.gif",
225220
"x16": "http://www.google.com/images/icons/product/search-16.gif"
226221
},
227-
"protocol": "rest",
228222
"version": "v1",
229223
"baseUrl": "https://acceleratedmobilepageurl.googleapis.com/",
230224
"kind": "discovery#restDescription",
231225
"description": "Retrieves the list of AMP URL (and equivalent AMP Cache URL) for a given list of public URL(s).\n",
232226
"servicePath": "",
233227
"rootUrl": "https://acceleratedmobilepageurl.googleapis.com/",
234228
"basePath": "",
235-
"ownerDomain": "google.com"
229+
"ownerDomain": "google.com",
230+
"name": "acceleratedmobilepageurl",
231+
"batchPath": "batch",
232+
"revision": "20170504",
233+
"documentationLink": "https://developers.google.com/amp/cache/",
234+
"id": "acceleratedmobilepageurl:v1",
235+
"title": "Accelerated Mobile Pages (AMP) URL API"
236236
}

0 commit comments

Comments
 (0)