# Class TimeSeries (0.5.0)

0.5.0 (latest) 0.4.0 0.3.0 0.2.0 0.1.0

    TimeSeries(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `location_type` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-capacityplanner/latest/google.cloud.capacityplanner_v1beta.types.TimeSeries.LocationType` Required. The type of location that the time series is summarizing. |
| `location` | `str` Optional. The location of the usage data in time series. |
| `is_spot` | `bool` Optional. The location of the usage data in time series. |
| `machine_family` | `str` The machine family for the time series values to return. Possible values include "n1" and "n2d". |
| `disk_type` | `str` The disk type for the time series values to return. |
| `confidential_mode` | `bool` Optional. The confidential mode for disk. |
| `gpu_type` | `str` The GPU type of the time series. |
| `tpu_type` | `str` The TPU type of the time series. |
| `machine_shape` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-capacityplanner/latest/google.cloud.capacityplanner_v1beta.types.MachineShape` The machine shape of the time series. |
| `cloud_resource_type` | `str` 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` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-capacityplanner/latest/google.cloud.capacityplanner_v1beta.types.Point]` The data points of this time series. When listing time series, points are returned in chronological order. |
| `unit` | `str` The units in which the values are reported. |

## Classes

### LocationType

    LocationType(value)

The type of location that the time series is summarizing.