SqlSearchCollection

class oci.opsi.models.SqlSearchCollection(**kwargs)

Bases: object

Search SQL response.

Methods

__init__(**kwargs) Initializes a new SqlSearchCollection object with values from keyword arguments.

Attributes

items [Required] Gets the items of this SqlSearchCollection.
sql_identifier Gets the sql_identifier of this SqlSearchCollection.
sql_text Gets the sql_text of this SqlSearchCollection.
time_interval_end [Required] Gets the time_interval_end of this SqlSearchCollection.
time_interval_start [Required] Gets the time_interval_start of this SqlSearchCollection.
__init__(**kwargs)

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

Parameters:
  • sql_identifier (str) – The value to assign to the sql_identifier property of this SqlSearchCollection.
  • sql_text (str) – The value to assign to the sql_text property of this SqlSearchCollection.
  • time_interval_start (datetime) – The value to assign to the time_interval_start property of this SqlSearchCollection.
  • time_interval_end (datetime) – The value to assign to the time_interval_end property of this SqlSearchCollection.
  • items (list[oci.opsi.models.SqlSearchSummary]) – The value to assign to the items property of this SqlSearchCollection.
items

[Required] Gets the items of this SqlSearchCollection. List of Databases executing the sql.

Returns:The items of this SqlSearchCollection.
Return type:list[oci.opsi.models.SqlSearchSummary]
sql_identifier

Gets the sql_identifier of this SqlSearchCollection. Unique SQL_ID for a SQL Statement.

Returns:The sql_identifier of this SqlSearchCollection.
Return type:str
sql_text

Gets the sql_text of this SqlSearchCollection. SQL Statement Text

Returns:The sql_text of this SqlSearchCollection.
Return type:str
time_interval_end

[Required] Gets the time_interval_end of this SqlSearchCollection. The end timestamp that was passed into the request.

Returns:The time_interval_end of this SqlSearchCollection.
Return type:datetime
time_interval_start

[Required] Gets the time_interval_start of this SqlSearchCollection. The start timestamp that was passed into the request.

Returns:The time_interval_start of this SqlSearchCollection.
Return type:datetime