v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1380629577.7 KB
projects

Creates a Chart.

post/v1/{+parent}/charts

Path parameters

parentstring required

Required. The parent resource of the chart.

Query parameters

chartIdstring

Optional. A unique ID for the new Chart. This ID will become the final component of the Chart's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.

Request body

chartType'CHART_TYPE_UNSPECIFIED' | 'SYSTEM_DEFINED' | 'USER_DEFINED'

Output only. Chart type.

descriptionstring

Chart description

filterstring

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

chartVisualizationType'CHART_VISUALIZATION_TYPE_UNSPECIFIED' | 'BAR' | 'LINE' | 'AREA' | 'PIE' | 'SCATTER' | 'TABLE' | 'SCORE_CARD' | 'SUNBURST' | 'GAUGE' | 'SANKEY'

Chart visualization type.

createTimestring google-datetime

Output only. Chart create time.

updateTimestring google-datetime

Output only. Chart last update time.

displayNamestring

User provided display name of the chart.

namestring

Identifier. Chart resource name. Format: projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart}

heightinteger

The height of the chart in grid units.

widthinteger

The width of the chart in grid units.

Response

Successful response