Resource: Dashboard
Dashboard resource.
| JSON representation |
|---|
{ "name": string, "displayName": string, "uri": string, "defaultDashboard": boolean, "type": enum ( |
| Fields | |
|---|---|
name |
Output only. The resource name of the dashboard. Format: projects/{project}/locations/{region}/instances/{instance}/dashboards/{dashboard} |
displayName |
User-visible dashboard name. |
uri |
Output only. The URI that displays the dashboard in the Chronicle UI. It may be empty. |
defaultDashboard |
Whether the dashboard is displayed by default. Only one dashboard can be displayed by default. |
type |
Dashboard type. |
lookml |
The lookML model that defines the dashboard. When set in a create request, the dashboard defined by the lookML model is created. The lookML model must contain valid lookML YAML code. Suggest using the lookML format returned by the Chronicle's dashboards.get API or Looker GET lookml_models request as the input. |
migrationInfo |
Output only. Migration details for this dashboard. Only set on dashboards that are eligible for migration to a native dashboard. |
readOnly |
Output only. Whether this dashboard is read only. A read only dashboard cannot be updated or deleted. |
DashboardType
Types of dashboards.
| Enums | |
|---|---|
DASHBOARD_TYPE_UNSPECIFIED |
Default value. This value is unused. |
DASHBOARD_TYPE_PREDEFINED |
Read-only dashboard provided by Chronicle. |
DASHBOARD_TYPE_USER |
Dashboard that only the user can see. |
DASHBOARD_TYPE_CUSTOMER |
Dashboard that all the customer's users can see. |
DashboardMigrationInfo
Migration details for a legacy dashboard. Only set on dashboards that are eligible for migration to a native dashboard.
| JSON representation |
|---|
{
"migrationJobId": string,
"state": enum ( |
| Fields | |
|---|---|
migrationJobId |
Output only. The ID of the migration job that created this dashboard entry. |
state |
Output only. The state of this dashboard's migration. |
nativeDashboard |
Output only. The resource name of the native dashboard this dashboard was migrated into. Only set when |
DashboardMigrationState
State of the dashboard migration.
| Enums | |
|---|---|
DASHBOARD_MIGRATION_STATE_UNSPECIFIED |
Default value. This value is unused. |
DASHBOARD_MIGRATION_STATE_PENDING |
The migration is pending. |
DASHBOARD_MIGRATION_STATE_IN_PROGRESS |
The migration is in progress. |
DASHBOARD_MIGRATION_STATE_SUCCESS |
The migration was successful. |
DASHBOARD_MIGRATION_STATE_NEEDS_REVIEW |
The migration needs review. |
DASHBOARD_MIGRATION_STATE_FAILED |
The migration failed. |
Methods |
|
|---|---|
|
Batch migrate legacy dashboards to native dashboards. |
|
Copy a dashboard of one type to a dashbooard of another type. |
|
Create a dashboard. |
|
Delete a dashboard. |
|
List of all legacy dashboards that can be migrated to native dashboards. |
|
Fetch migration jobs for a given customer. |
|
Fetch metrics related to the dashboard migrations e.g. |
|
Get a dashboard. |
|
List all dashboards. |