Skip to content

Commit 560eb5f

Browse files
chore(pagespeedonline): update the api
#### pagespeedonline:v5 The following keys were added: - resources.pagespeedapi.methods.runpagespeed.parameters.locale (Total Keys: 1) - schemas.ConfigSettings.properties.formFactor (Total Keys: 1) The following keys were changed: - resources.pagespeedapi.methods.runpagespeed (Total Keys: 1)
1 parent eddfb9e commit 560eb5f

File tree

2 files changed

+737
-727
lines changed

2 files changed

+737
-727
lines changed

docs/dyn/pagespeedonline_v5.pagespeedapi.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h2>Instance Methods</h2>
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#runpagespeed">runpagespeed(captchaToken=None, category=None, locale=None, strategy=None, url=None, utm_campaign=None, utm_source=None, x__xgafv=None)</a></code></p>
81+
<code><a href="#runpagespeed">runpagespeed(url, captchaToken=None, category=None, locale=None, strategy=None, utm_campaign=None, utm_source=None, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Runs PageSpeed analysis on the page at the specified URL, and returns PageSpeed scores, a list of suggestions to make that page faster, and other information.</p>
8383
<h3>Method Details</h3>
8484
<div class="method">
@@ -87,10 +87,11 @@ <h3>Method Details</h3>
8787
</div>
8888

8989
<div class="method">
90-
<code class="details" id="runpagespeed">runpagespeed(captchaToken=None, category=None, locale=None, strategy=None, url=None, utm_campaign=None, utm_source=None, x__xgafv=None)</code>
90+
<code class="details" id="runpagespeed">runpagespeed(url, captchaToken=None, category=None, locale=None, strategy=None, utm_campaign=None, utm_source=None, x__xgafv=None)</code>
9191
<pre>Runs PageSpeed analysis on the page at the specified URL, and returns PageSpeed scores, a list of suggestions to make that page faster, and other information.
9292

9393
Args:
94+
url: string, Required. The URL to fetch and analyze (required)
9495
captchaToken: string, The captcha token passed when filling out a captcha.
9596
category: string, A Lighthouse category to run; if none are given, only Performance category will be run (repeated)
9697
Allowed values
@@ -106,7 +107,6 @@ <h3>Method Details</h3>
106107
STRATEGY_UNSPECIFIED - UNDEFINED.
107108
DESKTOP - Fetch and analyze the URL for desktop browsers.
108109
MOBILE - Fetch and analyze the URL for mobile devices.
109-
url: string, Required. The URL to fetch and analyze
110110
utm_campaign: string, Campaign name for analytics.
111111
utm_source: string, Campaign source for analytics.
112112
x__xgafv: string, V1 error format.
@@ -220,7 +220,8 @@ <h3>Method Details</h3>
220220
},
221221
&quot;configSettings&quot;: { # Message containing the configuration settings for the Lighthouse run. # The configuration settings for this LHR.
222222
&quot;channel&quot;: &quot;A String&quot;, # How Lighthouse was run, e.g. from the Chrome extension or from the npm module.
223-
&quot;emulatedFormFactor&quot;: &quot;A String&quot;, # The form factor the emulation should use.
223+
&quot;emulatedFormFactor&quot;: &quot;A String&quot;, # The form factor the emulation should use. This field is deprecated, form_factor should be used instead.
224+
&quot;formFactor&quot;: &quot;A String&quot;, # How Lighthouse should interpret this run in regards to scoring performance metrics and skipping mobile-only tests in desktop.
224225
&quot;locale&quot;: &quot;A String&quot;, # The locale setting.
225226
&quot;onlyCategories&quot;: &quot;&quot;, # List of categories of audits the run should conduct.
226227
},

0 commit comments

Comments
 (0)