Page Summary
-
A Chart resource provides information for a single measure, output only, and includes fields for the chart's name, type, and details.
-
The Type field specifies the kind of chart data, such as counts of active devices on a specific build or devices in a certain update stage.
-
ChartDetails contains the actual chart data within a list of ChartLine objects.
-
A ChartLine provides data for a single line in the graph, including a label, start and end times, resolution, and the data points themselves.
-
The methods available for group charts are
getandlist.
Resource: Chart
Chart information for a single measure. Output only.
| JSON representation |
|---|
{ "name": string, "type": enum ( |
| Fields | |
|---|---|
name |
The name of the report. For update reports, it is "update-" plus the full name of the OTA update. |
type |
Type of chart data. |
details |
Report details. Includes the actual data. |
Type
Type of chart data.
| Enums | |
|---|---|
TYPE_UNSPECIFIED |
Not specified. |
TYPE_ACTIVE_DEVICE_COUNTS |
Count of active devices with a given property, that is, on a specific build. |
TYPE_UPDATE_STATE_COUNTS |
Count of devices in a certain update stage, that is, downloading the update. |
ChartDetails
Chart details. Output only.
| JSON representation |
|---|
{
"chartLine": [
{
object ( |
| Fields | |
|---|---|
chartLine[] |
The chart data. |
ChartLine
Data for a single line in the graph.
| JSON representation |
|---|
{ "label": string, "startTime": string, "endTime": string, "resolutionHours": integer, "data": [ string ], "isAggregate": boolean } |
| Fields | |
|---|---|
label |
Label for this data stream. |
startTime |
Timestamp of the start of this data. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
endTime |
Timestamp of the end of this data. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
resolutionHours |
Data resolution. |
data[] |
Data corresponding to labels in the parent Report proto. data[0] is the oldest and data[end] is the most recent. |
isAggregate |
Indicates that this bucket is an aggregate of multiple smaller buckets. |
Methods |
|
|---|---|
|
Gets a group chart. |
|
Lists group charts. |