Google Cloud Chronicle V1 Client - Class Legend (0.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Chronicle V1 Client class Legend.
Generated from protobuf message google.cloud.chronicle.v1.DashboardChart.Visualization.Legend
Namespace
Google \ Cloud \ Chronicle \ V1 \ DashboardChart \ Visualization
Methods
__construct
| Parameters |
| Name |
Description |
data |
array
Optional. Data for populating the Message object.
|
↳ id |
string
|
↳ show |
bool
|
↳ z_level |
int
|
↳ z |
int
|
↳ left |
int
|
↳ top |
int
|
↳ right |
int
|
↳ bottom |
int
|
↳ legend_orient |
int
|
↳ legend_align |
int
|
↳ padding |
int[]
|
getId
Generated from protobuf field string id = 1;
| Returns |
| Type |
Description |
string |
|
setId
Generated from protobuf field string id = 1;
| Parameter |
| Name |
Description |
var |
string
|
| Returns |
| Type |
Description |
$this |
|
getShow
Generated from protobuf field bool show = 2;
| Returns |
| Type |
Description |
bool |
|
setShow
Generated from protobuf field bool show = 2;
| Parameter |
| Name |
Description |
var |
bool
|
| Returns |
| Type |
Description |
$this |
|
getZLevel
Generated from protobuf field int32 z_level = 3;
| Returns |
| Type |
Description |
int |
|
setZLevel
Generated from protobuf field int32 z_level = 3;
| Parameter |
| Name |
Description |
var |
int
|
| Returns |
| Type |
Description |
$this |
|
getZ
Generated from protobuf field int32 z = 4;
| Returns |
| Type |
Description |
int |
|
setZ
Generated from protobuf field int32 z = 4;
| Parameter |
| Name |
Description |
var |
int
|
| Returns |
| Type |
Description |
$this |
|
getLeft
Generated from protobuf field int32 left = 5;
| Returns |
| Type |
Description |
int |
|
setLeft
Generated from protobuf field int32 left = 5;
| Parameter |
| Name |
Description |
var |
int
|
| Returns |
| Type |
Description |
$this |
|
getTop
Generated from protobuf field int32 top = 6;
| Returns |
| Type |
Description |
int |
|
setTop
Generated from protobuf field int32 top = 6;
| Parameter |
| Name |
Description |
var |
int
|
| Returns |
| Type |
Description |
$this |
|
getRight
Generated from protobuf field int32 right = 7;
| Returns |
| Type |
Description |
int |
|
setRight
Generated from protobuf field int32 right = 7;
| Parameter |
| Name |
Description |
var |
int
|
| Returns |
| Type |
Description |
$this |
|
getBottom
Generated from protobuf field int32 bottom = 8;
| Returns |
| Type |
Description |
int |
|
setBottom
Generated from protobuf field int32 bottom = 8;
| Parameter |
| Name |
Description |
var |
int
|
| Returns |
| Type |
Description |
$this |
|
getLegendOrient
Generated from protobuf field .google.cloud.chronicle.v1.LegendOrient legend_orient = 12;
| Returns |
| Type |
Description |
int |
|
setLegendOrient
Generated from protobuf field .google.cloud.chronicle.v1.LegendOrient legend_orient = 12;
| Parameter |
| Name |
Description |
var |
int
|
| Returns |
| Type |
Description |
$this |
|
getLegendAlign
Generated from protobuf field .google.cloud.chronicle.v1.LegendAlign legend_align = 13;
| Returns |
| Type |
Description |
int |
|
setLegendAlign
Generated from protobuf field .google.cloud.chronicle.v1.LegendAlign legend_align = 13;
| Parameter |
| Name |
Description |
var |
int
|
| Returns |
| Type |
Description |
$this |
|
getPadding
Generated from protobuf field repeated int32 padding = 11;
| Returns |
| Type |
Description |
Google\Protobuf\RepeatedField<int> |
|
setPadding
Generated from protobuf field repeated int32 padding = 11;
| Parameter |
| Name |
Description |
var |
int[]
|
| Returns |
| Type |
Description |
$this |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-01 UTC.
[null,null,["Last updated 2026-08-01 UTC."],[],[]]