Method: dashboards.copy

Full name: projects.locations.instances.dashboards.copy

Copy a dashboard of one type to a dashbooard of another type. Predefined dashboards cannot be the destination type.

HTTP request

POST https://chronicle.googleapis.com/v1alpha/{name}:copy

Path parameters

Parameters
name

string

Required. Source dashboard name.

Request body

The request body contains data with the following structure:

JSON representation
{
  "destination": {
    object (CreateDashboardRequest)
  }
}
Fields
destination

object (CreateDashboardRequest)

Required. Create request for the destination dashboard. Must specify dashboard type.

Response body

If successful, the response body contains an instance of Dashboard.

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.dashboards.copy

For more information, see the IAM documentation.

CreateDashboardRequest

Request message for creating a dashboard.

JSON representation
{
  "parent": string,
  "dashboard": {
    object (Dashboard)
  }
}
Fields
parent

string

Required. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{region}/instances/{instance}

dashboard

object (Dashboard)

Required. The dashboard to create.