OdspInsight

class oci.psql.models.OdspInsight(**kwargs)

Bases: object

Details for a single ODSP insight.

Attributes:

INSIGHT_TYPE_QUERY_INSIGHT

A constant which can be used with the insight_type property of a OdspInsight.

insight_type

[Required] Gets the insight_type of this OdspInsight.

retention_period_in_days

Gets the retention_period_in_days of this OdspInsight.

Methods:

__init__(**kwargs)

Initializes a new OdspInsight object with values from keyword arguments.

INSIGHT_TYPE_QUERY_INSIGHT = 'QUERY_INSIGHT'

A constant which can be used with the insight_type property of a OdspInsight. This constant has a value of “QUERY_INSIGHT”

__init__(**kwargs)

Initializes a new OdspInsight object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • insight_type (str) – The value to assign to the insight_type property of this OdspInsight. Allowed values for this property are: “QUERY_INSIGHT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • retention_period_in_days (int) – The value to assign to the retention_period_in_days property of this OdspInsight.

property insight_type

[Required] Gets the insight_type of this OdspInsight. Type of Insight collected for the database system.

Allowed values for this property are: “QUERY_INSIGHT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The insight_type of this OdspInsight.

Return type

str

property retention_period_in_days

Gets the retention_period_in_days of this OdspInsight. Retention period for Insight data, in days. Current supported value is 7 days. the system default is 7 days.

Returns

The retention_period_in_days of this OdspInsight.

Return type

int