MetricError¶
-
class
oci.dblm.models.MetricError(**kwargs)¶ Bases:
objectMetric error content.
Methods
__init__(**kwargs)Initializes a new MetricError object with values from keyword arguments. Attributes
content_type[Required] Gets the content_type of this MetricError. data[Required] Gets the data of this MetricError. error_type[Required] Gets the error_type of this MetricError. level[Required] Gets the level of this MetricError. subject[Required] Gets the subject of this MetricError. time_generated[Required] Gets the time_generated of this MetricError. -
__init__(**kwargs)¶ Initializes a new MetricError object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - time_generated (datetime) – The value to assign to the time_generated property of this MetricError.
- error_type (str) – The value to assign to the error_type property of this MetricError.
- content_type (str) – The value to assign to the content_type property of this MetricError.
- data (str) – The value to assign to the data property of this MetricError.
- subject (str) – The value to assign to the subject property of this MetricError.
- level (str) – The value to assign to the level property of this MetricError.
-
content_type¶ [Required] Gets the content_type of this MetricError. Content type
Returns: The content_type of this MetricError. Return type: str
-
data¶ [Required] Gets the data of this MetricError. Data
Returns: The data of this MetricError. Return type: str
-
error_type¶ [Required] Gets the error_type of this MetricError. Error type
Returns: The error_type of this MetricError. Return type: str
-
level¶ [Required] Gets the level of this MetricError. Level
Returns: The level of this MetricError. Return type: str
-
subject¶ [Required] Gets the subject of this MetricError. Subject
Returns: The subject of this MetricError. Return type: str
-
time_generated¶ [Required] Gets the time_generated of this MetricError. Time the error record was generated
Returns: The time_generated of this MetricError. Return type: datetime
-