Google Cloud Migration Center V1 Client - Class DataPoint (1.0.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
Name Description
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
Type Description
string

setLabel

The X-axis label for this data point.

Parameter
Name Description
var string
Returns
Type Description
$this

getValue

The Y-axis value for this data point.

Returns
Type Description
float

setValue

The Y-axis value for this data point.

Parameter
Name Description
var float
Returns
Type Description
$this