REST Resource: deployments.groups.charts

  • 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 get and list.

Resource: Chart

Chart information for a single measure. Output only.

JSON representation
{
  "name": string,
  "type": enum (Type),
  "details": {
    object (ChartDetails)
  }
}
Fields
name

string

The name of the report. For update reports, it is "update-" plus the full name of the OTA update.

type

enum (Type)

Type of chart data.

details

object (ChartDetails)

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 (ChartLine)
    }
  ]
}
Fields
chartLine[]

object (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

string

Label for this data stream.

startTime

string (Timestamp format)

Timestamp of the start of this data.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

endTime

string (Timestamp format)

Timestamp of the end of this data.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

resolutionHours

integer

Data resolution.

data[]

string (int64 format)

Data corresponding to labels in the parent Report proto. data[0] is the oldest and data[end] is the most recent.

isAggregate

boolean

Indicates that this bucket is an aggregate of multiple smaller buckets.

Methods

get

Gets a group chart.

list

Lists group charts.