UsageCarbonEmissionAggregation¶
-
class
oci.usage_api.models.
UsageCarbonEmissionAggregation
(**kwargs)¶ Bases:
object
The account (tenant) usage carbon emissions.
Methods
__init__
(**kwargs)Initializes a new UsageCarbonEmissionAggregation object with values from keyword arguments. Attributes
group_by
Gets the group_by of this UsageCarbonEmissionAggregation. items
[Required] Gets the items of this UsageCarbonEmissionAggregation. -
__init__
(**kwargs)¶ Initializes a new UsageCarbonEmissionAggregation object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - group_by (list[str]) – The value to assign to the group_by property of this UsageCarbonEmissionAggregation.
- items (list[oci.usage_api.models.UsageCarbonEmissionSummary]) – The value to assign to the items property of this UsageCarbonEmissionAggregation.
-
group_by
¶ Gets the group_by of this UsageCarbonEmissionAggregation. Aggregate the result by.
Returns: The group_by of this UsageCarbonEmissionAggregation. Return type: list[str]
-
items
¶ [Required] Gets the items of this UsageCarbonEmissionAggregation. A list of usage carbon emission items.
Returns: The items of this UsageCarbonEmissionAggregation. Return type: list[oci.usage_api.models.UsageCarbonEmissionSummary]
-