Full name: projects.locations.instances.nativeDashboards.duplicateChart
Duplicate chart in a dashboard.
HTTP request
POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{name}:duplicateChart Path parameters
| Parameters | |
|---|---|
name |
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 |
|---|
{ "dashboardChart": string } |
| Fields | |
|---|---|
dashboardChart |
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 |
|---|
{ "nativeDashboard": { object ( |
| Fields | |
|---|---|
nativeDashboard |
Dashboard with chart added in definition. |
dashboardChart |
Duplicated chart resource. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/chroniclehttps://www.googleapis.com/auth/chronicle.readonly
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.