QuerySummary

class oci.usage_api.models.QuerySummary(**kwargs)

Bases: object

Query summery in the list request.

Methods:

__init__(**kwargs)

Initializes a new QuerySummary object with values from keyword arguments.

Attributes:

id

[Required] Gets the id of this QuerySummary.

query_definition

[Required] Gets the query_definition of this QuerySummary.

__init__(**kwargs)

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

Parameters
  • id (str) – The value to assign to the id property of this QuerySummary.

  • query_definition (oci.usage_api.models.QueryDefinition) – The value to assign to the query_definition property of this QuerySummary.

property id

[Required] Gets the id of this QuerySummary. The query OCID.

Returns

The id of this QuerySummary.

Return type

str

property query_definition

[Required] Gets the query_definition of this QuerySummary.

Returns

The query_definition of this QuerySummary.

Return type

oci.usage_api.models.QueryDefinition