Full name: projects.locations.instances.nativeDashboards.duplicateChart
Duplicate chart in a dashboard.
HTTP request
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
{"dashboardChart": string}
Fields
dashboardChart
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:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eThis endpoint, \u003ccode\u003eprojects.locations.instances.nativeDashboards.duplicateChart\u003c/code\u003e, is used to duplicate a chart within a specified dashboard, identified by its \u003ccode\u003ename\u003c/code\u003e in the format: \u003ccode\u003eprojects/{project}/locations/{region}/instances/{instance}/nativeDashboards/{dashboard}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires a JSON object with a \u003ccode\u003edashboard_chart\u003c/code\u003e field that represents the name of the chart to be duplicated.\u003c/p\u003e\n"],["\u003cp\u003eThe successful response returns a JSON object containing the updated \u003ccode\u003enative_dashboard\u003c/code\u003e and the duplicated \u003ccode\u003edashboard_chart\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eTo use this endpoint, you need the \u003ccode\u003echronicle.nativeDashboards.update\u003c/code\u003e IAM permission on the specified \u003ccode\u003ename\u003c/code\u003e resource and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]