UpdateV1DashboardDetails

class oci.dashboard_service.models.UpdateV1DashboardDetails(**kwargs)

Bases: oci.dashboard_service.models.update_dashboard_details.UpdateDashboardDetails

Details for updating a version 1 dashboard. The interpretation of the config and widgets fields depends on the runtime behavior of the Oracle Cloud Infrastructure Console. The sum of the config and widget fields JSON text representation cannot exceed 200 KB.

Methods

__init__(**kwargs) Initializes a new UpdateV1DashboardDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

Attributes

config Gets the config of this UpdateV1DashboardDetails.
defined_tags Gets the defined_tags of this UpdateDashboardDetails.
description Gets the description of this UpdateDashboardDetails.
display_name Gets the display_name of this UpdateDashboardDetails.
freeform_tags Gets the freeform_tags of this UpdateDashboardDetails.
schema_version [Required] Gets the schema_version of this UpdateDashboardDetails.
widgets Gets the widgets of this UpdateV1DashboardDetails.
__init__(**kwargs)

Initializes a new UpdateV1DashboardDetails object with values from keyword arguments. The default value of the schema_version attribute of this class is V1 and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this UpdateV1DashboardDetails.
  • description (str) – The value to assign to the description property of this UpdateV1DashboardDetails.
  • schema_version (str) – The value to assign to the schema_version property of this UpdateV1DashboardDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateV1DashboardDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateV1DashboardDetails.
  • config (object) – The value to assign to the config property of this UpdateV1DashboardDetails.
  • widgets (list[object]) – The value to assign to the widgets property of this UpdateV1DashboardDetails.
config

Gets the config of this UpdateV1DashboardDetails. The layout and widget placement for the dashboard.

Returns:The config of this UpdateV1DashboardDetails.
Return type:object
defined_tags

Gets the defined_tags of this UpdateDashboardDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this UpdateDashboardDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this UpdateDashboardDetails. A short description of the dashboard. It can be changed. Avoid entering confidential information. The following special characters are not allowed: <>()=/’”&

Returns:The description of this UpdateDashboardDetails.
Return type:str
display_name

Gets the display_name of this UpdateDashboardDetails. A user-friendly name for the dashboard. Does not have to be unique, and it can be changed. Avoid entering confidential information. Leading and trailing spaces and the following special characters are not allowed: <>()=/’”&

Returns:The display_name of this UpdateDashboardDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this UpdateDashboardDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this UpdateDashboardDetails.
Return type:dict(str, str)
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

schema_version

[Required] Gets the schema_version of this UpdateDashboardDetails. The schema describing how to interpret the dashboard configuration and widgets.

Returns:The schema_version of this UpdateDashboardDetails.
Return type:str
widgets

Gets the widgets of this UpdateV1DashboardDetails. The basic visualization building blocks of a dashboard.

Returns:The widgets of this UpdateV1DashboardDetails.
Return type:list[object]