DataSourceEventSummary

class oci.cloud_guard.models.DataSourceEventSummary(**kwargs)

Bases: object

Summary information about a data source event.

Attributes

STATUS_FAILURE A constant which can be used with the status property of a DataSourceEventSummary.
STATUS_SUCCESS A constant which can be used with the status property of a DataSourceEventSummary.
comments Gets the comments of this DataSourceEventSummary.
data_source_id [Required] Gets the data_source_id of this DataSourceEventSummary.
event_date [Required] Gets the event_date of this DataSourceEventSummary.
event_info [Required] Gets the event_info of this DataSourceEventSummary.
region [Required] Gets the region of this DataSourceEventSummary.
status Gets the status of this DataSourceEventSummary.
time_created [Required] Gets the time_created of this DataSourceEventSummary.

Methods

__init__(**kwargs) Initializes a new DataSourceEventSummary object with values from keyword arguments.
STATUS_FAILURE = 'FAILURE'

A constant which can be used with the status property of a DataSourceEventSummary. This constant has a value of “FAILURE”

STATUS_SUCCESS = 'SUCCESS'

A constant which can be used with the status property of a DataSourceEventSummary. This constant has a value of “SUCCESS”

__init__(**kwargs)

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

Parameters:
  • region (str) – The value to assign to the region property of this DataSourceEventSummary.
  • event_date (datetime) – The value to assign to the event_date property of this DataSourceEventSummary.
  • data_source_id (str) – The value to assign to the data_source_id property of this DataSourceEventSummary.
  • time_created (datetime) – The value to assign to the time_created property of this DataSourceEventSummary.
  • status (str) – The value to assign to the status property of this DataSourceEventSummary. Allowed values for this property are: “SUCCESS”, “FAILURE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • comments (str) – The value to assign to the comments property of this DataSourceEventSummary.
  • event_info (oci.cloud_guard.models.DataSourceEventInfo) – The value to assign to the event_info property of this DataSourceEventSummary.
comments

Gets the comments of this DataSourceEventSummary. Data source event comments

Returns:The comments of this DataSourceEventSummary.
Return type:str
data_source_id

[Required] Gets the data_source_id of this DataSourceEventSummary. Unique identifier of data source.

Returns:The data_source_id of this DataSourceEventSummary.
Return type:str
event_date

[Required] Gets the event_date of this DataSourceEventSummary. Data source event date and time

Returns:The event_date of this DataSourceEventSummary.
Return type:datetime
event_info

[Required] Gets the event_info of this DataSourceEventSummary.

Returns:The event_info of this DataSourceEventSummary.
Return type:oci.cloud_guard.models.DataSourceEventInfo
region

[Required] Gets the region of this DataSourceEventSummary. Data source event region

Returns:The region of this DataSourceEventSummary.
Return type:str
status

Gets the status of this DataSourceEventSummary. Current data source event info status

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

Returns:The status of this DataSourceEventSummary.
Return type:str
time_created

[Required] Gets the time_created of this DataSourceEventSummary. Data source event creation date and time

Returns:The time_created of this DataSourceEventSummary.
Return type:datetime