REST Resource: projects.locations.dashboards

Resource: Dashboard

Configurable dashboard

JSON representation
{
  "name": string,
  "displayName": string,
  "rootContainer": {
    object (Container)
  },
  "description": string,
  "createTime": string,
  "updateTime": string,
  "readOnly": boolean,
  "filter": string,
  "dateRangeConfig": {
    object (DateRangeConfig)
  }
}
Fields
name

string

Identifier. Dashboard resource name. Format: projects/{project}/locations/{location}/dashboards/{dashboard}

displayName

string

User provided display name of the dashboard.

rootContainer

object (Container)

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

string

Dashboard description

createTime

string (Timestamp format)

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: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

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: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

readOnly

boolean

Output only. Whether the dashboard is read-only. All predefined dashboards are read-only and cannot be modified by the user.

filter

string

Filter applied to all charts in the dashboard. Should support scope later.

dateRangeConfig

object (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 (Widget)
    }
  ],
  "description": string,
  "containerId": string,
  "filter": string,
  "width": integer,
  "height": integer,
  "dateRangeConfig": {
    object (DateRangeConfig)
  }
}
Fields
displayName

string

User provided display name of the Container.

widgets[]

object (Widget)

Widgets in the Container.

description

string

Container description

containerId

string

Output only. Unique ID for the container.

filter

string

Filter applied to all charts in the container. Should support scope later.

width

integer

The width of the container in grid units.

height

integer

The height of the container in grid units.

dateRangeConfig

object (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 (Container)
  },
  "chart": {
    object (Chart)
  },
  "chartReference": string
  // End of mutually exclusive fields.
  "filter": string
}
Fields
The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
container

object (Container)

A container widget.

chart

object (Chart)

A chart widget.

chartReference

string

A reference to a chart widget. Format: projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart}

End of mutually exclusive fields.
filter

string

Filter applied to all charts in the container. Should support scope later.

Methods

create

Creates a Dashboard.

delete

Deletes a Dashboard.

get

Gets a Dashboard.

list

Lists Dashboards.

patch

Updates a Dashboard.