TimeSeries

A collection of data points that describes the time-varying values of a resource. A time series is identified by its ID. Next : 12

JSON representation
{
  "locationType": enum (LocationType),
  "location": string,
  "isSpot": boolean,
  "machineFamily": string,
  "diskType": string,
  "gpuType": string,
  "tpuType": string,
  "machineShape": {
    object (MachineShape)
  },
  "cloudResourceType": string,
  "points": [
    {
      object (Point)
    }
  ],
  "unit": string
}
Fields
locationType

enum (LocationType)

Required. The type of location that the time series is summarizing.

location

string

Optional. The location of the usage data in time series.

isSpot

boolean

Optional. The location of the usage data in time series.

machineFamily

string

The machine family for the time series values to return. Possible values include "n1" and "n2d".

diskType

string

The disk type for the time series values to return.

gpuType

string

The GPU type of the time series.

tpuType

string

The TPU type of the time series.

machineShape

object (MachineShape)

The machine shape of the time series.

cloudResourceType

string

The resource for the time series values to return. Possible values include "gce-vcpus", "gce-ram", "gce-local-ssd", "gce-persistent-disk", "gce-gpu", "gce-tpu" and "gce-vm".

points[]

object (Point)

The data points of this time series. When listing time series, points are returned in chronological order.

unit

string

The units in which the values are reported.

Point

A single data point in a time series.

JSON representation
{
  "eventTime": string,
  "value": number
}
Fields
eventTime

string (Timestamp format)

The time which the data point applies.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

value

number

The value of the data point.