- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- ImportNativeDashboardsInlineSource
- ImportExportStatus
Full name: projects.locations.instances.nativeDashboards.import
Imports the dashboards.
HTTP request
POST https://chronicle.googleapis.com/v1alpha/{parent}/nativeDashboards:import
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{region}/instances/{instance} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"source": {
object ( |
Fields | |
---|---|
source |
Required. The data will imported from this proto. |
Response body
Response message for importing dashboards.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"results": [
{
object ( |
Fields | |
---|---|
results[] |
Output only. Represents the status of an import operation for multiple dashboards. Each dashboard's import status is tracked. A status of OK indicates the dashboard was ready for import. Otherwise, an appropriate error code and message are provided. Importantly, the import process is all-or-nothing: if even one dashboard fails to import, the entire import operation is aborted, and none of the dashboards are imported. The order of the statuses will be the same as in the import request. |
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 parent
resource:
chronicle.nativeDashboards.create
For more information, see the IAM documentation.
ImportNativeDashboardsInlineSource
Inline source for importing dashboards.
JSON representation |
---|
{
"dashboards": [
{
object ( |
Fields | |
---|---|
dashboards[] |
Required. Dashboards with charts and queries. |
ImportExportStatus
ImportExportStatus is a wrapper for dashboard name and status.
JSON representation |
---|
{
"dashboard": string,
"status": {
object ( |
Fields | |
---|---|
dashboard |
The resource name of the dashboard if it was supplied in the request. |
status |
Output only. Status of the import/export operation. |