Reference documentation and code samples for the Google Cloud Chronicle V1 Client class ChartSliceColor.
Slice containing the key and value for a slice in the chart
Generated from protobuf message google.cloud.chronicle.v1.DashboardChart.Visualization.Series.ChartSliceColor
Namespace
Google \ Cloud \ Chronicle \ V1 \ DashboardChart \ Visualization \ SeriesMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ key |
string
Optional. Key for the slice |
↳ value |
UserSelectedValues
Optional. Value for the slice |
getKey
Optional. Key for the slice
| Returns | |
|---|---|
| Type | Description |
string |
|
setKey
Optional. Key for the slice
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getValue
Optional. Value for the slice
| Returns | |
|---|---|
| Type | Description |
UserSelectedValues|null |
|
hasValue
clearValue
setValue
Optional. Value for the slice
| Parameter | |
|---|---|
| Name | Description |
var |
UserSelectedValues
|
| Returns | |
|---|---|
| Type | Description |
$this |
|