Google Cloud Migration Center V1 Client - Class DataPoint (0.1.0)

Reference documentation and code samples for the Google Cloud Migration Center V1 Client class DataPoint.

Describes a single data point in the Chart.

Generated from protobuf message google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPoint

Namespace

Google \ Cloud \ MigrationCenter \ V1 \ ReportSummary \ ChartData

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ label string

The X-axis label for this data point.

↳ value float

The Y-axis value for this data point.

getLabel

The X-axis label for this data point.

Returns
TypeDescription
string

setLabel

The X-axis label for this data point.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValue

The Y-axis value for this data point.

Returns
TypeDescription
float

setValue

The Y-axis value for this data point.

Parameter
NameDescription
var float
Returns
TypeDescription
$this