blob: 6ad545d28cbb6924416d895ade4455c240579f65 [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="pagespeedonline_v5.html">PageSpeed Insights API</a> . <a href="pagespeedonline_v5.pagespeedapi.html">pagespeedapi</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070078 <code><a href="#runpagespeed">runpagespeed(utm_source=None, captchaToken=None, locale=None, url=None, category=None, strategy=None, utm_campaign=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070079<p class="firstline">Runs PageSpeed analysis on the page at the specified URL, and returns</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070080<h3>Method Details</h3>
81<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070082 <code class="details" id="runpagespeed">runpagespeed(utm_source=None, captchaToken=None, locale=None, url=None, category=None, strategy=None, utm_campaign=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -070083 <pre>Runs PageSpeed analysis on the page at the specified URL, and returns
84PageSpeed scores, a list of suggestions to make that page faster, and other
85information.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070086
87Args:
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070088 utm_source: string, Campaign source for analytics.
Bu Sun Kimd059ad82020-07-22 17:02:09 -070089 captchaToken: string, The captcha token passed when filling out a captcha.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070090 locale: string, The locale used to localize formatted results
Dan O'Mearadd494642020-05-01 07:42:23 -070091 url: string, The URL to fetch and analyze
Bu Sun Kimd059ad82020-07-22 17:02:09 -070092 category: string, A Lighthouse category to run; if none are given, only Performance category
93will be run (repeated)
Bu Sun Kim65020912020-05-20 12:08:20 -070094 strategy: string, The analysis strategy (desktop or mobile) to use, and desktop is the
95default
Bu Sun Kimd059ad82020-07-22 17:02:09 -070096 utm_campaign: string, Campaign name for analytics.
Dan O'Mearadd494642020-05-01 07:42:23 -070097 x__xgafv: string, V1 error format.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070098 Allowed values
Dan O'Mearadd494642020-05-01 07:42:23 -070099 1 - v1 error format
100 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700101
102Returns:
103 An object of the form:
104
Dan O'Mearadd494642020-05-01 07:42:23 -0700105 { # The Pagespeed API response object.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700106 &quot;originLoadingExperience&quot;: { # The CrUX loading experience object that contains CrUX data breakdowns. # Metrics of the aggregated page loading experience of the origin
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700107 &quot;origin_fallback&quot;: True or False, # True if the result is an origin fallback from a page, false otherwise.
108 &quot;overall_category&quot;: &quot;A String&quot;, # The human readable speed &quot;category&quot; of the id.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700109 &quot;initial_url&quot;: &quot;A String&quot;, # The requested URL, which may differ from the resolved &quot;id&quot;.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700110 &quot;metrics&quot;: { # The map of &lt;metrics, data&gt;.
111 &quot;a_key&quot;: { # A CrUX metric object for a single metric and form factor.
112 &quot;distributions&quot;: [ # Metric distributions. Proportions should sum up to 1.
113 { # A proportion of data in the total distribution, bucketed by a min/max
114 # percentage. Each bucket&#x27;s range is bounded by min &lt;= x &lt; max, In
115 # millisecond.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700116 &quot;min&quot;: 42, # Lower bound for a bucket&#x27;s range.
117 &quot;max&quot;: 42, # Upper bound for a bucket&#x27;s range.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700118 &quot;proportion&quot;: 3.14, # The proportion of data in this bucket.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700119 },
120 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700121 &quot;percentile&quot;: 42, # We use this field to store certain percentile value for this metric.
122 # For v4, this field contains pc50.
123 # For v5, this field contains pc90.
124 &quot;category&quot;: &quot;A String&quot;, # The category of the specific time metric.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700125 &quot;metricId&quot;: &quot;A String&quot;, # Identifies the type of the metric.
126 &quot;median&quot;: 42, # The median number of the metric, in millisecond.
127 &quot;formFactor&quot;: &quot;A String&quot;, # Identifies the form factor of the metric being collected.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700128 },
129 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700130 &quot;id&quot;: &quot;A String&quot;, # The url, pattern or origin which the metrics are on.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700131 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700132 &quot;id&quot;: &quot;A String&quot;, # Canonicalized and final URL for the document, after following page
133 # redirects (if any).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700134 &quot;lighthouseResult&quot;: { # The Lighthouse result object. # Lighthouse response for the audit url as an object.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700135 &quot;environment&quot;: { # Message containing environment configuration for a Lighthouse run. # Environment settings that were used when making this LHR.
136 &quot;networkUserAgent&quot;: &quot;A String&quot;, # The user agent string that was sent over the network.
137 &quot;benchmarkIndex&quot;: 3.14, # The benchmark index number that indicates rough device class.
138 &quot;hostUserAgent&quot;: &quot;A String&quot;, # The user agent string of the version of Chrome used.
139 },
140 &quot;runWarnings&quot;: [ # List of all run warnings in the LHR. Will always output to at least `[]`.
141 &quot;&quot;,
142 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700143 &quot;stackPacks&quot;: [ # The Stack Pack advice strings.
Dan O'Mearadd494642020-05-01 07:42:23 -0700144 { # Message containing Stack Pack information.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700145 &quot;iconDataURL&quot;: &quot;A String&quot;, # The stack pack icon data uri.
Bu Sun Kim65020912020-05-20 12:08:20 -0700146 &quot;descriptions&quot;: { # The stack pack advice strings.
147 &quot;a_key&quot;: &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700148 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700149 &quot;title&quot;: &quot;A String&quot;, # The stack pack title.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700150 &quot;id&quot;: &quot;A String&quot;, # The stack pack id.
Dan O'Mearadd494642020-05-01 07:42:23 -0700151 },
152 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700153 &quot;runtimeError&quot;: { # Message containing a runtime error config. # A top-level error message that, if present, indicates a serious enough
154 # problem that this Lighthouse result may need to be discarded.
155 &quot;message&quot;: &quot;A String&quot;, # A human readable message explaining the error code.
156 &quot;code&quot;: &quot;A String&quot;, # The enumerated Lighthouse Error code.
157 },
158 &quot;fetchTime&quot;: &quot;A String&quot;, # The time that this run was fetched.
159 &quot;userAgent&quot;: &quot;A String&quot;, # The user agent that was used to run this LHR.
160 &quot;finalUrl&quot;: &quot;A String&quot;, # The final resolved url that was audited.
161 &quot;timing&quot;: { # Message containing the performance timing data for the Lighthouse run. # Timing information for this LHR.
162 &quot;total&quot;: 3.14, # The total duration of Lighthouse&#x27;s run.
163 },
164 &quot;audits&quot;: { # Map of audits in the LHR.
165 &quot;a_key&quot;: { # An audit&#x27;s result object in a Lighthouse result.
166 &quot;details&quot;: { # Freeform details section of the audit.
167 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
168 },
169 &quot;warnings&quot;: &quot;&quot;, # Possible warnings that occurred in the audit, can be null.
170 &quot;numericValue&quot;: 3.14, # A numeric value that has a meaning specific to the audit, e.g. the number
171 # of nodes in the DOM or the timestamp of a specific load event. More
172 # information can be found in the audit details, if present.
173 &quot;scoreDisplayMode&quot;: &quot;A String&quot;, # The enumerated score display mode.
174 &quot;description&quot;: &quot;A String&quot;, # The description of the audit.
175 &quot;displayValue&quot;: &quot;A String&quot;, # The value that should be displayed on the UI for this audit.
176 &quot;explanation&quot;: &quot;A String&quot;, # An explanation of the errors in the audit.
177 &quot;title&quot;: &quot;A String&quot;, # The human readable title.
178 &quot;id&quot;: &quot;A String&quot;, # The audit&#x27;s id.
179 &quot;errorMessage&quot;: &quot;A String&quot;, # An error message from a thrown error inside the audit.
180 &quot;score&quot;: &quot;&quot;, # The score of the audit, can be null.
181 },
182 },
183 &quot;configSettings&quot;: { # Message containing the configuration settings for the Lighthouse run. # The configuration settings for this LHR.
184 &quot;channel&quot;: &quot;A String&quot;, # How Lighthouse was run, e.g. from the Chrome extension or from the npm
185 # module.
186 &quot;onlyCategories&quot;: &quot;&quot;, # List of categories of audits the run should conduct.
187 &quot;locale&quot;: &quot;A String&quot;, # The locale setting.
188 &quot;emulatedFormFactor&quot;: &quot;A String&quot;, # The form factor the emulation should use.
189 },
190 &quot;requestedUrl&quot;: &quot;A String&quot;, # The original requested url.
Bu Sun Kim65020912020-05-20 12:08:20 -0700191 &quot;categoryGroups&quot;: { # Map of category groups in the LHR.
192 &quot;a_key&quot;: { # Message containing a category
193 &quot;title&quot;: &quot;A String&quot;, # The human readable title of the group
194 &quot;description&quot;: &quot;A String&quot;, # The description of what the category is grouping
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700195 },
196 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700197 &quot;categories&quot;: { # The categories in a Lighthouse run. # Map of categories in the LHR.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700198 &quot;pwa&quot;: { # A Lighthouse category. # The Progressive-Web-App (PWA) category, containing all pwa related
199 # audits.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700200 &quot;auditRefs&quot;: [ # An array of references to all the audit members of this category.
201 { # A light reference to an audit by id, used to group and weight audits in a
202 # given category.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700203 &quot;id&quot;: &quot;A String&quot;, # The audit ref id.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700204 &quot;weight&quot;: 3.14, # The weight this audit&#x27;s score has on the overall category score.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700205 &quot;group&quot;: &quot;A String&quot;, # The category group that the audit belongs to (optional).
206 },
207 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700208 &quot;description&quot;: &quot;A String&quot;, # A more detailed description of the category and its importance.
209 &quot;id&quot;: &quot;A String&quot;, # The string identifier of the category.
210 &quot;score&quot;: &quot;&quot;, # The overall score of the category, the weighted average of all its audits.
211 # (The category&#x27;s score, can be null.)
212 &quot;title&quot;: &quot;A String&quot;, # The human-friendly name of the category.
213 &quot;manualDescription&quot;: &quot;A String&quot;, # A description for the manual audits in the category.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700214 },
215 &quot;accessibility&quot;: { # A Lighthouse category. # The accessibility category, containing all accessibility related audits.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700216 &quot;auditRefs&quot;: [ # An array of references to all the audit members of this category.
217 { # A light reference to an audit by id, used to group and weight audits in a
218 # given category.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700219 &quot;id&quot;: &quot;A String&quot;, # The audit ref id.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700220 &quot;weight&quot;: 3.14, # The weight this audit&#x27;s score has on the overall category score.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700221 &quot;group&quot;: &quot;A String&quot;, # The category group that the audit belongs to (optional).
222 },
223 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700224 &quot;description&quot;: &quot;A String&quot;, # A more detailed description of the category and its importance.
225 &quot;id&quot;: &quot;A String&quot;, # The string identifier of the category.
226 &quot;score&quot;: &quot;&quot;, # The overall score of the category, the weighted average of all its audits.
227 # (The category&#x27;s score, can be null.)
228 &quot;title&quot;: &quot;A String&quot;, # The human-friendly name of the category.
229 &quot;manualDescription&quot;: &quot;A String&quot;, # A description for the manual audits in the category.
230 },
231 &quot;performance&quot;: { # A Lighthouse category. # The performance category, containing all performance related audits.
232 &quot;auditRefs&quot;: [ # An array of references to all the audit members of this category.
233 { # A light reference to an audit by id, used to group and weight audits in a
234 # given category.
235 &quot;id&quot;: &quot;A String&quot;, # The audit ref id.
236 &quot;weight&quot;: 3.14, # The weight this audit&#x27;s score has on the overall category score.
237 &quot;group&quot;: &quot;A String&quot;, # The category group that the audit belongs to (optional).
238 },
239 ],
240 &quot;description&quot;: &quot;A String&quot;, # A more detailed description of the category and its importance.
241 &quot;id&quot;: &quot;A String&quot;, # The string identifier of the category.
242 &quot;score&quot;: &quot;&quot;, # The overall score of the category, the weighted average of all its audits.
243 # (The category&#x27;s score, can be null.)
244 &quot;title&quot;: &quot;A String&quot;, # The human-friendly name of the category.
245 &quot;manualDescription&quot;: &quot;A String&quot;, # A description for the manual audits in the category.
246 },
247 &quot;best-practices&quot;: { # A Lighthouse category. # The best practices category, containing all best practices related
248 # audits.
249 &quot;auditRefs&quot;: [ # An array of references to all the audit members of this category.
250 { # A light reference to an audit by id, used to group and weight audits in a
251 # given category.
252 &quot;id&quot;: &quot;A String&quot;, # The audit ref id.
253 &quot;weight&quot;: 3.14, # The weight this audit&#x27;s score has on the overall category score.
254 &quot;group&quot;: &quot;A String&quot;, # The category group that the audit belongs to (optional).
255 },
256 ],
257 &quot;description&quot;: &quot;A String&quot;, # A more detailed description of the category and its importance.
258 &quot;id&quot;: &quot;A String&quot;, # The string identifier of the category.
259 &quot;score&quot;: &quot;&quot;, # The overall score of the category, the weighted average of all its audits.
260 # (The category&#x27;s score, can be null.)
261 &quot;title&quot;: &quot;A String&quot;, # The human-friendly name of the category.
262 &quot;manualDescription&quot;: &quot;A String&quot;, # A description for the manual audits in the category.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700263 },
264 &quot;seo&quot;: { # A Lighthouse category. # The Search-Engine-Optimization (SEO) category, containing all seo related
265 # audits.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700266 &quot;auditRefs&quot;: [ # An array of references to all the audit members of this category.
267 { # A light reference to an audit by id, used to group and weight audits in a
268 # given category.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700269 &quot;id&quot;: &quot;A String&quot;, # The audit ref id.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700270 &quot;weight&quot;: 3.14, # The weight this audit&#x27;s score has on the overall category score.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700271 &quot;group&quot;: &quot;A String&quot;, # The category group that the audit belongs to (optional).
272 },
273 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700274 &quot;description&quot;: &quot;A String&quot;, # A more detailed description of the category and its importance.
275 &quot;id&quot;: &quot;A String&quot;, # The string identifier of the category.
276 &quot;score&quot;: &quot;&quot;, # The overall score of the category, the weighted average of all its audits.
277 # (The category&#x27;s score, can be null.)
278 &quot;title&quot;: &quot;A String&quot;, # The human-friendly name of the category.
279 &quot;manualDescription&quot;: &quot;A String&quot;, # A description for the manual audits in the category.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700280 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700281 },
282 &quot;lighthouseVersion&quot;: &quot;A String&quot;, # The lighthouse version that was used to generate this LHR.
283 &quot;i18n&quot;: { # Message containing the i18n data for the LHR - Version 1. # The internationalization strings that are required to render the LHR.
284 &quot;rendererFormattedStrings&quot;: { # Message holding the formatted strings used in the renderer. # Internationalized strings that are formatted to the locale in
285 # configSettings.
286 &quot;opportunityResourceColumnLabel&quot;: &quot;A String&quot;, # The heading for the estimated page load savings opportunity of an
287 # audit.
288 &quot;errorMissingAuditInfo&quot;: &quot;A String&quot;, # The error string shown next to an erroring audit.
289 &quot;errorLabel&quot;: &quot;A String&quot;, # The label shown next to an audit or metric that has had an error.
290 &quot;labDataTitle&quot;: &quot;A String&quot;, # The title of the lab data performance category.
291 &quot;crcLongestDurationLabel&quot;: &quot;A String&quot;, # The label for values shown in the summary of critical request chains.
292 &quot;crcInitialNavigation&quot;: &quot;A String&quot;, # The label for the initial request in a critical request chain.
293 &quot;scorescaleLabel&quot;: &quot;A String&quot;, # The label that explains the score gauges scale (0-49, 50-89, 90-100).
294 &quot;notApplicableAuditsGroupTitle&quot;: &quot;A String&quot;, # The heading shown above a list of audits that do not apply to a page.
295 &quot;passedAuditsGroupTitle&quot;: &quot;A String&quot;, # The heading that is shown above a list of audits that are passing.
296 &quot;manualAuditsGroupTitle&quot;: &quot;A String&quot;, # The heading shown above a list of audits that were not computerd in the
297 # run.
298 &quot;toplevelWarningsMessage&quot;: &quot;A String&quot;, # The label shown preceding important warnings that may have invalidated
299 # an entire report.
300 &quot;opportunitySavingsColumnLabel&quot;: &quot;A String&quot;, # The heading for the estimated page load savings of opportunity audits.
301 &quot;lsPerformanceCategoryDescription&quot;: &quot;A String&quot;, # The disclaimer shown under performance explaning that the network can
302 # vary.
303 &quot;auditGroupExpandTooltip&quot;: &quot;A String&quot;, # The tooltip text on an expandable chevron icon.
304 &quot;warningHeader&quot;: &quot;A String&quot;, # The label shown above a bulleted list of warnings.
305 &quot;varianceDisclaimer&quot;: &quot;A String&quot;, # The disclaimer shown below a performance metric value.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700306 },
307 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700308 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700309 &quot;analysisUTCTimestamp&quot;: &quot;A String&quot;, # The UTC timestamp of this analysis.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700310 &quot;version&quot;: { # The Pagespeed Version object. # The version of PageSpeed used to generate these results.
311 &quot;minor&quot;: &quot;A String&quot;, # The minor version number of PageSpeed used to generate these results.
312 &quot;major&quot;: &quot;A String&quot;, # The major version number of PageSpeed used to generate these results.
313 },
314 &quot;kind&quot;: &quot;A String&quot;, # Kind of result.
315 &quot;captchaResult&quot;: &quot;A String&quot;, # The captcha verify result
Bu Sun Kim65020912020-05-20 12:08:20 -0700316 &quot;loadingExperience&quot;: { # The CrUX loading experience object that contains CrUX data breakdowns. # Metrics of end users&#x27; page loading experience.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700317 &quot;origin_fallback&quot;: True or False, # True if the result is an origin fallback from a page, false otherwise.
318 &quot;overall_category&quot;: &quot;A String&quot;, # The human readable speed &quot;category&quot; of the id.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700319 &quot;initial_url&quot;: &quot;A String&quot;, # The requested URL, which may differ from the resolved &quot;id&quot;.
Bu Sun Kim65020912020-05-20 12:08:20 -0700320 &quot;metrics&quot;: { # The map of &lt;metrics, data&gt;.
321 &quot;a_key&quot;: { # A CrUX metric object for a single metric and form factor.
Bu Sun Kim65020912020-05-20 12:08:20 -0700322 &quot;distributions&quot;: [ # Metric distributions. Proportions should sum up to 1.
323 { # A proportion of data in the total distribution, bucketed by a min/max
324 # percentage. Each bucket&#x27;s range is bounded by min &lt;= x &lt; max, In
325 # millisecond.
Bu Sun Kim65020912020-05-20 12:08:20 -0700326 &quot;min&quot;: 42, # Lower bound for a bucket&#x27;s range.
327 &quot;max&quot;: 42, # Upper bound for a bucket&#x27;s range.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700328 &quot;proportion&quot;: 3.14, # The proportion of data in this bucket.
Bu Sun Kim65020912020-05-20 12:08:20 -0700329 },
330 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700331 &quot;percentile&quot;: 42, # We use this field to store certain percentile value for this metric.
332 # For v4, this field contains pc50.
333 # For v5, this field contains pc90.
334 &quot;category&quot;: &quot;A String&quot;, # The category of the specific time metric.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700335 &quot;metricId&quot;: &quot;A String&quot;, # Identifies the type of the metric.
336 &quot;median&quot;: 42, # The median number of the metric, in millisecond.
337 &quot;formFactor&quot;: &quot;A String&quot;, # Identifies the form factor of the metric being collected.
Bu Sun Kim65020912020-05-20 12:08:20 -0700338 },
339 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700340 &quot;id&quot;: &quot;A String&quot;, # The url, pattern or origin which the metrics are on.
Bu Sun Kim65020912020-05-20 12:08:20 -0700341 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700342 }</pre>
343</div>
344
345</body></html>