Capacity Planner V1BETA API - Class Google::Cloud::CapacityPlanner::V1beta::TimeSeries (v0.2.0)

Reference documentation and code samples for the Capacity Planner V1BETA API class Google::Cloud::CapacityPlanner::V1beta::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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cloud_resource_type

def cloud_resource_type() -> ::String
Returns
  • (::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".

#cloud_resource_type=

def cloud_resource_type=(value) -> ::String
Parameter
  • value (::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".
Returns
  • (::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".

#confidential_mode

def confidential_mode() -> ::Boolean
Returns
  • (::Boolean) — Optional. The confidential mode for disk.

#confidential_mode=

def confidential_mode=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. The confidential mode for disk.
Returns
  • (::Boolean) — Optional. The confidential mode for disk.

#disk_type

def disk_type() -> ::String
Returns
  • (::String) — The disk type for the time series values to return.

#disk_type=

def disk_type=(value) -> ::String
Parameter
  • value (::String) — The disk type for the time series values to return.
Returns
  • (::String) — The disk type for the time series values to return.

#gpu_type

def gpu_type() -> ::String
Returns
  • (::String) — The GPU type of the time series.

#gpu_type=

def gpu_type=(value) -> ::String
Parameter
  • value (::String) — The GPU type of the time series.
Returns
  • (::String) — The GPU type of the time series.

#is_spot

def is_spot() -> ::Boolean
Returns
  • (::Boolean) — Optional. The location of the usage data in time series.

#is_spot=

def is_spot=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. The location of the usage data in time series.
Returns
  • (::Boolean) — Optional. The location of the usage data in time series.

#location

def location() -> ::String
Returns
  • (::String) — Optional. The location of the usage data in time series.

#location=

def location=(value) -> ::String
Parameter
  • value (::String) — Optional. The location of the usage data in time series.
Returns
  • (::String) — Optional. The location of the usage data in time series.

#location_type

def location_type() -> ::Google::Cloud::CapacityPlanner::V1beta::TimeSeries::LocationType
Returns

#location_type=

def location_type=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::TimeSeries::LocationType
Parameter
Returns

#machine_family

def machine_family() -> ::String
Returns
  • (::String) — The machine family for the time series values to return. Possible values include "n1" and "n2d".

#machine_family=

def machine_family=(value) -> ::String
Parameter
  • value (::String) — The machine family for the time series values to return. Possible values include "n1" and "n2d".
Returns
  • (::String) — The machine family for the time series values to return. Possible values include "n1" and "n2d".

#machine_shape

def machine_shape() -> ::Google::Cloud::CapacityPlanner::V1beta::MachineShape
Returns

#machine_shape=

def machine_shape=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::MachineShape
Parameter
Returns

#points

def points() -> ::Array<::Google::Cloud::CapacityPlanner::V1beta::Point>
Returns

#points=

def points=(value) -> ::Array<::Google::Cloud::CapacityPlanner::V1beta::Point>
Parameter
Returns

#tpu_type

def tpu_type() -> ::String
Returns
  • (::String) — The TPU type of the time series.

#tpu_type=

def tpu_type=(value) -> ::String
Parameter
  • value (::String) — The TPU type of the time series.
Returns
  • (::String) — The TPU type of the time series.

#unit

def unit() -> ::String
Returns
  • (::String) — The units in which the values are reported.

#unit=

def unit=(value) -> ::String
Parameter
  • value (::String) — The units in which the values are reported.
Returns
  • (::String) — The units in which the values are reported.