Google Cloud Chronicle V1 Client - Class Encode (0.4.0)

Reference documentation and code samples for the Google Cloud Chronicle V1 Client class Encode.

Generated from protobuf message google.cloud.chronicle.v1.DashboardChart.Visualization.Series.Encode

Namespace

Google \ Cloud \ Chronicle \ V1 \ DashboardChart \ Visualization \ Series

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ x string
↳ y string
↳ value string

For some type of series that are not in any coordinate system, like 'pie'

↳ item_name string

This is useful in charts like 'pie', where data item name can be displayed in legend.

getX

Generated from protobuf field string x = 1;

Returns
Type Description
string

setX

Generated from protobuf field string x = 1;

Parameter
Name Description
var string
Returns
Type Description
$this

getY

Generated from protobuf field string y = 2;

Returns
Type Description
string

setY

Generated from protobuf field string y = 2;

Parameter
Name Description
var string
Returns
Type Description
$this

getValue

For some type of series that are not in any coordinate system, like 'pie'

Returns
Type Description
string

setValue

For some type of series that are not in any coordinate system, like 'pie'

Parameter
Name Description
var string
Returns
Type Description
$this

getItemName

This is useful in charts like 'pie', where data item name can be displayed in legend.

Returns
Type Description
string

setItemName

This is useful in charts like 'pie', where data item name can be displayed in legend.

Parameter
Name Description
var string
Returns
Type Description
$this