Index: discovery/googleapis/acceleratedmobilepageurl__v1.json |
diff --git a/discovery/googleapis/acceleratedmobilepageurl__v1.json b/discovery/googleapis/acceleratedmobilepageurl__v1.json |
index 68edd054e27c4e223d0c1e8af28edeb2fa5ce517..7150e7cfff6f0ca26f1de58bf1bfa80ebb7752ed 100644 |
--- a/discovery/googleapis/acceleratedmobilepageurl__v1.json |
+++ b/discovery/googleapis/acceleratedmobilepageurl__v1.json |
@@ -15,6 +15,27 @@ |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
+ "quotaUser": { |
+ "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.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "pp": { |
+ "default": "true", |
+ "description": "Pretty-print response.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
+ "bearer_token": { |
+ "description": "OAuth bearer token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "oauth_token": { |
+ "description": "OAuth 2.0 token for the current user.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"upload_protocol": { |
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
"location": "query", |
@@ -26,13 +47,13 @@ |
"location": "query", |
"type": "boolean" |
}, |
- "uploadType": { |
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
+ "fields": { |
+ "description": "Selector specifying which fields to include in a partial response.", |
"location": "query", |
"type": "string" |
}, |
- "fields": { |
- "description": "Selector specifying which fields to include in a partial response.", |
+ "uploadType": { |
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
"location": "query", |
"type": "string" |
}, |
@@ -70,34 +91,13 @@ |
"location": "query", |
"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.", |
- "location": "query", |
- "type": "string" |
- }, |
"access_token": { |
"description": "OAuth access token.", |
"location": "query", |
"type": "string" |
}, |
- "quotaUser": { |
- "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.", |
- "location": "query", |
- "type": "string" |
- }, |
- "pp": { |
- "default": "true", |
- "description": "Pretty-print response.", |
- "location": "query", |
- "type": "boolean" |
- }, |
- "bearer_token": { |
- "description": "OAuth bearer token.", |
- "location": "query", |
- "type": "string" |
- }, |
- "oauth_token": { |
- "description": "OAuth 2.0 token for the current user.", |
+ "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.", |
"location": "query", |
"type": "string" |
} |
@@ -126,6 +126,27 @@ |
"revision": "20170504", |
"rootUrl": "https://acceleratedmobilepageurl.googleapis.com/", |
"schemas": { |
+ "BatchGetAmpUrlsResponse": { |
+ "description": "Batch AMP URL response.", |
+ "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.", |
+ "items": { |
+ "$ref": "AmpUrl" |
+ }, |
+ "type": "array" |
+ }, |
+ "urlErrors": { |
+ "description": "The errors for requested URLs that have no AMP URL.", |
+ "items": { |
+ "$ref": "AmpUrlError" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"AmpUrl": { |
"description": "AMP URL response for a requested URL.", |
"id": "AmpUrl", |
@@ -149,6 +170,10 @@ |
"description": "AMP URL Error resource for a requested URL that couldn't be found.", |
"id": "AmpUrlError", |
"properties": { |
+ "errorMessage": { |
+ "description": "An optional descriptive error message.", |
+ "type": "string" |
+ }, |
"errorCode": { |
"description": "The error code of an API call.", |
"enum": [ |
@@ -172,10 +197,6 @@ |
"originalUrl": { |
"description": "The original non-AMP URL.", |
"type": "string" |
- }, |
- "errorMessage": { |
- "description": "An optional descriptive error message.", |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -205,27 +226,6 @@ |
} |
}, |
"type": "object" |
- }, |
- "BatchGetAmpUrlsResponse": { |
- "description": "Batch AMP URL response.", |
- "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.", |
- "items": { |
- "$ref": "AmpUrl" |
- }, |
- "type": "array" |
- }, |
- "urlErrors": { |
- "description": "The errors for requested URLs that have no AMP URL.", |
- "items": { |
- "$ref": "AmpUrlError" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
} |
}, |
"servicePath": "", |