Google Cloud Chronicle V1 Client - Class ChartConfig (0.4.0)

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

Configuration of the chart including chart reference, layout and filters.

Generated from protobuf message google.cloud.chronicle.v1.DashboardDefinition.ChartConfig

Namespace

Google \ Cloud \ Chronicle \ V1 \ DashboardDefinition

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ dashboard_chart string
↳ chart_layout ChartConfig\ChartLayout
↳ filters_ids string[]

Dashboard filters applied to the chart.

getDashboardChart

Generated from protobuf field string dashboard_chart = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {

Returns
Type Description
string

setDashboardChart

Generated from protobuf field string dashboard_chart = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {

Parameter
Name Description
var string
Returns
Type Description
$this

getChartLayout

Generated from protobuf field .google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;

Returns
Type Description
ChartConfig\ChartLayout|null

hasChartLayout

clearChartLayout

setChartLayout

Generated from protobuf field .google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;

Parameter
Name Description
var ChartConfig\ChartLayout
Returns
Type Description
$this

getFiltersIds

Dashboard filters applied to the chart.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setFiltersIds

Dashboard filters applied to the chart.

Parameter
Name Description
var string[]
Returns
Type Description
$this