From dec68449c980f0ea8477af25f8b86fa4844657ad Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Thu, 11 Jun 2020 04:36:18 -0700 Subject: [PATCH] feat(pagespeedonline): update the API #### pagespeedonline:v5 The following keys were added: - schemas.PagespeedApiLoadingExperienceV5.properties.origin_fallback.description - schemas.PagespeedApiLoadingExperienceV5.properties.origin_fallback.type --- discovery/pagespeedonline-v5.json | 6 +++++- src/apis/pagespeedonline/v5.ts | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/discovery/pagespeedonline-v5.json b/discovery/pagespeedonline-v5.json index b2198f804d1..efbb2c21e7d 100644 --- a/discovery/pagespeedonline-v5.json +++ b/discovery/pagespeedonline-v5.json @@ -174,7 +174,7 @@ } } }, - "revision": "20200318", + "revision": "20200608", "rootUrl": "https://pagespeedonline.googleapis.com/", "schemas": { "AuditRefs": { @@ -503,6 +503,10 @@ "description": "The map of .", "type": "object" }, + "origin_fallback": { + "description": "True if the result is an origin fallback from a page, false otherwise.", + "type": "boolean" + }, "overall_category": { "description": "The human readable speed \"category\" of the id.", "type": "string" diff --git a/src/apis/pagespeedonline/v5.ts b/src/apis/pagespeedonline/v5.ts index 768f6ba7a72..b4c1e0ada3f 100644 --- a/src/apis/pagespeedonline/v5.ts +++ b/src/apis/pagespeedonline/v5.ts @@ -405,6 +405,10 @@ export namespace pagespeedonline_v5 { * The map of <metrics, data>. */ metrics?: {[key: string]: Schema$UserPageLoadMetricV5} | null; + /** + * True if the result is an origin fallback from a page, false otherwise. + */ + origin_fallback?: boolean | null; /** * The human readable speed "category" of the id. */