UsageCarbonEmissionAggregation¶
-
class
oci.usage_api.models.UsageCarbonEmissionAggregation(**kwargs)¶ Bases:
objectThe account (tenant) carbon emissions usage.
Methods
__init__(**kwargs)Initializes a new UsageCarbonEmissionAggregation object with values from keyword arguments. Attributes
group_byGets 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. Specifies what to 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 carbon emission usage items.
Returns: The items of this UsageCarbonEmissionAggregation. Return type: list[oci.usage_api.models.UsageCarbonEmissionSummary]
-