class documentation

Detailed cost breakdown showing individual SKU costs and totals.

Method __dir__ Undocumented
Method __init__ Undocumented
Method cost.setter Undocumented
Method cost_rounded.setter Undocumented
Constant __PB2_DESCRIPTOR__ Undocumented
Constant __PY_TO_PB2__ Undocumented
Class Variable __mask_functions__ Undocumented
Property cost Total cost as a decimal string. Represents the sum of all SKU costs with full precision. Example: "42.123456789" for precise billing calculations.
Property cost_rounded Total cost rounded up to 2 decimal places. Example: "42.13"

Inherited from Message:

Class Method get_descriptor Undocumented
Class Method is_credentials Undocumented
Class Method is_sensitive Undocumented
Method __repr__ Undocumented
Method check_presence Undocumented
Method get_full_update_reset_mask Undocumented
Method get_mask Undocumented
Method is_default Undocumented
Method set_mask Undocumented
Method which_field_in_oneof Undocumented
Class Variable __PB2_CLASS__ Undocumented
Instance Variable __pb2_message__ Undocumented
Method _clear_field Undocumented
Method _get_field Undocumented
Method _set_field Undocumented
Class Variable __credentials_fields Undocumented
Class Variable __default Undocumented
Class Variable __sensitive_fields Undocumented
Instance Variable __recorded_reset_mask Undocumented
def __dir__(self) -> abc.Iterable[builtins.str]: (source)

Undocumented

def __init__(self, initial_message: message_1.Message | None = None, *, cost: builtins.str | None | unset.UnsetType = unset.Unset, cost_rounded: builtins.str | None | unset.UnsetType = unset.Unset): (source)
def cost(self, value: builtins.str | None): (source)

Undocumented

def cost_rounded(self, value: builtins.str | None): (source)

Undocumented

__PB2_DESCRIPTOR__ = (source)

Undocumented

Value
descriptor.DescriptorWrap[descriptor_1.Descriptor]('.nebius.billing.v1alpha1.Cos
tBreakdown',
                                                   calculator_pb2.DESCRIPTOR,
                                                   descriptor_1.Descriptor)
__PY_TO_PB2__: builtins.dict[builtins.str, builtins.str] = (source)

Undocumented

Value
{'cost': 'cost', 'cost_rounded': 'cost_rounded'}
@builtins.property
cost: builtins.str = (source)

Total cost as a decimal string. Represents the sum of all SKU costs with full precision. Example: "42.123456789" for precise billing calculations.

@builtins.property
cost_rounded: builtins.str = (source)

Total cost rounded up to 2 decimal places. Example: "42.13"