RequestUsage

class oci.nosql.models.RequestUsage(**kwargs)

Bases: object

The usage metrics for a request.

Methods

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

Attributes

read_units_consumed Gets the read_units_consumed of this RequestUsage.
write_units_consumed Gets the write_units_consumed of this RequestUsage.
__init__(**kwargs)

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

Parameters:
  • read_units_consumed (int) – The value to assign to the read_units_consumed property of this RequestUsage.
  • write_units_consumed (int) – The value to assign to the write_units_consumed property of this RequestUsage.
read_units_consumed

Gets the read_units_consumed of this RequestUsage. Read Units consumed by this operation.

Returns:The read_units_consumed of this RequestUsage.
Return type:int
write_units_consumed

Gets the write_units_consumed of this RequestUsage. Write Units consumed by this operation.

Returns:The write_units_consumed of this RequestUsage.
Return type:int