Index: discovery/googleapis/acceleratedmobilepageurl__v1.json |
diff --git a/discovery/googleapis/acceleratedmobilepageurl__v1.json b/discovery/googleapis/acceleratedmobilepageurl__v1.json |
index d1f89d2619237cf610239b8d1c2e2de4b46d2a3a..ee616431180c082006baa22234167d30cb4c77de 100644 |
--- a/discovery/googleapis/acceleratedmobilepageurl__v1.json |
+++ b/discovery/googleapis/acceleratedmobilepageurl__v1.json |
@@ -15,8 +15,8 @@ |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
- "access_token": { |
- "description": "OAuth access token.", |
+ "upload_protocol": { |
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
"location": "query", |
"type": "string" |
}, |
@@ -26,24 +26,31 @@ |
"location": "query", |
"type": "boolean" |
}, |
- "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.", |
+ "fields": { |
+ "description": "Selector specifying which fields to include in a partial response.", |
"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.", |
+ "uploadType": { |
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
"location": "query", |
"type": "string" |
}, |
- "pp": { |
- "default": "true", |
- "description": "Pretty-print response.", |
+ "$.xgafv": { |
+ "description": "V1 error format.", |
+ "enum": [ |
+ "1", |
+ "2" |
+ ], |
+ "enumDescriptions": [ |
+ "v1 error format", |
+ "v2 error format" |
+ ], |
"location": "query", |
- "type": "boolean" |
+ "type": "string" |
}, |
- "fields": { |
- "description": "Selector specifying which fields to include in a partial response.", |
+ "callback": { |
+ "description": "JSONP", |
"location": "query", |
"type": "string" |
}, |
@@ -63,41 +70,34 @@ |
"location": "query", |
"type": "string" |
}, |
- "$.xgafv": { |
- "description": "V1 error format.", |
- "enum": [ |
- "1", |
- "2" |
- ], |
- "enumDescriptions": [ |
- "v1 error format", |
- "v2 error format" |
- ], |
+ "access_token": { |
+ "description": "OAuth access token.", |
"location": "query", |
"type": "string" |
}, |
- "callback": { |
- "description": "JSONP", |
+ "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" |
}, |
- "oauth_token": { |
- "description": "OAuth 2.0 token for the current user.", |
+ "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" |
}, |
- "uploadType": { |
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
+ "pp": { |
+ "default": "true", |
+ "description": "Pretty-print response.", |
"location": "query", |
- "type": "string" |
+ "type": "boolean" |
}, |
- "bearer_token": { |
- "description": "OAuth bearer token.", |
+ "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\").", |
+ "bearer_token": { |
+ "description": "OAuth bearer token.", |
"location": "query", |
"type": "string" |
} |
@@ -123,23 +123,44 @@ |
} |
} |
}, |
- "revision": "20170119", |
+ "revision": "20170126", |
"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", |
"properties": { |
- "ampUrl": { |
- "description": "The AMP URL pointing to the publisher's web server.", |
+ "cdnAmpUrl": { |
+ "description": "The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to\nthe cached document in the Google AMP Cache.", |
"type": "string" |
}, |
"originalUrl": { |
"description": "The original non-AMP URL.", |
"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.", |
+ "ampUrl": { |
+ "description": "The AMP URL pointing to the publisher's web server.", |
"type": "string" |
} |
}, |
@@ -149,8 +170,8 @@ |
"description": "AMP URL Error resource for a requested URL that couldn't be found.", |
"id": "AmpUrlError", |
"properties": { |
- "originalUrl": { |
- "description": "The original non-AMP URL.", |
+ "errorMessage": { |
+ "description": "An optional descriptive error message.", |
"type": "string" |
}, |
"errorCode": { |
@@ -173,8 +194,8 @@ |
], |
"type": "string" |
}, |
- "errorMessage": { |
- "description": "An optional descriptive error message.", |
+ "originalUrl": { |
+ "description": "The original non-AMP URL.", |
"type": "string" |
} |
}, |
@@ -184,6 +205,13 @@ |
"description": "AMP URL request for a batch of URLs.", |
"id": "BatchGetAmpUrlsRequest", |
"properties": { |
+ "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)).", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ }, |
"lookupStrategy": { |
"description": "The lookup_strategy being requested.", |
"enum": [ |
@@ -195,34 +223,6 @@ |
"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." |
], |
"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)).", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "BatchGetAmpUrlsResponse": { |
- "description": "Batch AMP URL response.", |
- "id": "BatchGetAmpUrlsResponse", |
- "properties": { |
- "urlErrors": { |
- "description": "The errors for requested URLs that have no AMP URL.", |
- "items": { |
- "$ref": "AmpUrlError" |
- }, |
- "type": "array" |
- }, |
- "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" |
} |
}, |
"type": "object" |