Method: projects.locations.instances.nativeDashboards.duplicateChart

Duplicate chart in a dashboard.

HTTP request

POST https://chronicle.googleapis.com/v1alpha/{name=projects/*/locations/*/instances/*/nativeDashboards/*}:duplicateChart

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The dashboard name that involves chart duplication. Format: projects/{project}/locations/{region}/instances/{instance}/nativeDashboards/{dashboard}

Request body

The request body contains data with the following structure:

JSON representation
{
  "dashboard_chart": string
}
Fields
dashboard_chart

string

Required. The dashboard chart name to duplicate.

Response body

Response message for duplicating chart in a dashboard.

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

JSON representation
{
  "native_dashboard": {
    object (NativeDashboard)
  },
  "dashboard_chart": {
    object (DashboardChart)
  }
}
Fields
native_dashboard

object (NativeDashboard)

Dashboard with chart added in definition.

dashboard_chart

object (DashboardChart)

Duplicated 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.