Resource: Dashboard
Configurable dashboard
| JSON representation |
|---|
{ "name": string, "displayName": string, "rootContainer": { object ( |
| Fields | |
|---|---|
name |
Identifier. Dashboard resource name. Format: projects/{project}/locations/{location}/dashboards/{dashboard} |
displayName |
User provided display name of the dashboard. |
rootContainer |
The dashboard's root widget container. We want to display the dashboard layout in a tree-like structure, where the root container contains other widgets (containers or charts) as children. |
description |
Dashboard description |
createTime |
Output only. Dashboard creation time. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. Dashboard last update time. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
readOnly |
Output only. Whether the dashboard is read-only. All predefined dashboards are read-only and cannot be modified by the user. |
filter |
Filter applied to all charts in the dashboard. Should support scope later. |
dateRangeConfig |
Date range config applied to all charts in the dashboard. |
Container
Configurable dashboard's container. Container can contain multiple widgets.
| JSON representation |
|---|
{ "displayName": string, "widgets": [ { object ( |
| Fields | |
|---|---|
displayName |
User provided display name of the Container. |
widgets[] |
Widgets in the Container. |
description |
Container description |
containerId |
Output only. Unique ID for the container. |
filter |
Filter applied to all charts in the container. Should support scope later. |
width |
The width of the container in grid units. |
height |
The height of the container in grid units. |
dateRangeConfig |
Date range config applied to all charts in the container. |
Widget
Represents a dashboard element, could be a nested Container or Chart.
| JSON representation |
|---|
{ // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "container": { object ( |
| Fields | |
|---|---|
| The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: | |
container |
A container widget. |
chart |
A chart widget. |
chartReference |
A reference to a chart widget. Format: projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart} |
| End of mutually exclusive fields. | |
filter |
Filter applied to all charts in the container. Should support scope later. |
Methods |
|
|---|---|
|
Creates a Dashboard. |
|
Deletes a Dashboard. |
|
Gets a Dashboard. |
|
Lists Dashboards. |
|
Updates a Dashboard. |