Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class TimeSeries.
A collection of data points that describes the time-varying values of a resource. A time series is identified by its ID.
Next : 13
Generated from protobuf message google.cloud.capacityplanner.v1beta.TimeSeries
Namespace
Google \ Cloud \ CapacityPlanner \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ location_type
int
Required. The type of location that the time series is summarizing.
↳ location
string
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
string
The machine family for the time series values to return. Possible values include "n1" and "n2d".
↳ disk_type
string
The disk type for the time series values to return.
↳ confidential_mode
bool
Optional. The confidential mode for disk.
↳ gpu_type
string
The GPU type of the time series.
↳ tpu_type
string
The TPU type of the time series.
↳ machine_shape
↳ cloud_resource_type
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
array< 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.
getLocationType
Required. The type of location that the time series is summarizing.
setLocationType
Required. The type of location that the time series is summarizing.
$this
getLocation
Optional. The location of the usage data in time series.
string
setLocation
Optional. The location of the usage data in time series.
var
string
$this
getIsSpot
Optional. The location of the usage data in time series.
bool
setIsSpot
Optional. The location of the usage data in time series.
var
bool
$this
getMachineFamily
The machine family for the time series values to return. Possible values include "n1" and "n2d".
string
setMachineFamily
The machine family for the time series values to return. Possible values include "n1" and "n2d".
var
string
$this
getDiskType
The disk type for the time series values to return.
string
setDiskType
The disk type for the time series values to return.
var
string
$this
getConfidentialMode
Optional. The confidential mode for disk.
bool
setConfidentialMode
Optional. The confidential mode for disk.
var
bool
$this
getGpuType
The GPU type of the time series.
string
setGpuType
The GPU type of the time series.
var
string
$this
getTpuType
The TPU type of the time series.
string
setTpuType
The TPU type of the time series.
var
string
$this
getMachineShape
The machine shape of the time series.
hasMachineShape
clearMachineShape
setMachineShape
The machine shape of the time series.
$this
getCloudResourceType
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".
string
setCloudResourceType
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".
var
string
$this
getPoints
The data points of this time series. When listing time series, points are returned in chronological order.
setPoints
The data points of this time series. When listing time series, points are returned in chronological order.
$this
getUnit
The units in which the values are reported.
string
setUnit
The units in which the values are reported.
var
string
$this

