Method: nativeDashboards.editChart

Full name: projects.locations.instances.nativeDashboards.editChart

Edit chart in a dashboard.

HTTP request


POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{name}:editChart

Path parameters

Parameters
name

string

Required. The dashboard name to edit chart in. Format: projects/{project}/locations/{region}/instances/{instance}/nativeDashboards/{dashboard}

Request body

The request body contains data with the following structure:

JSON representation
{
  "dashboardQuery": {
    object (DashboardQuery)
  },
  "dashboardChart": {
    object (DashboardChart)
  },
  "editMask": string,
  "languageFeatures": [
    enum (LanguageFeature)
  ]
}
Fields
dashboardQuery

object (DashboardQuery)

Optional. Query for the edited chart.

dashboardChart

object (DashboardChart)

Optional. Edited chart.

editMask

string (FieldMask format)

Required. The list of fields to edit for chart and query. Supported paths in chart are - dashboardChart.display_name dashboardChart.description dashboardChart.chart_datasource.data_sources dashboardChart.visualization dashboardChart.visualization.button dashboardChart.visualization.markdown dashboardChart.drill_down_config Supported paths in query are - dashboardQuery.query dashboardQuery.input

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

languageFeatures[]

enum (LanguageFeature)

Optional. Language Features present in the query.

Response body

Response message for editing chart in a dashboard.

If successful, the response body contains data with the following structure:

JSON representation
{
  "nativeDashboard": {
    object (NativeDashboard)
  },
  "dashboardChart": {
    object (DashboardChart)
  }
}
Fields
nativeDashboard

object (NativeDashboard)

Edited dashboard.

dashboardChart

object (DashboardChart)

Edited chart resource.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • chronicle.nativeDashboards.update

For more information, see the IAM documentation.