UsageCarbonEmissionsQuerySummary¶
-
class
oci.usage_api.models.
UsageCarbonEmissionsQuerySummary
(**kwargs)¶ Bases:
object
Usage carbon emissions query summary in the list request.
Methods
__init__
(**kwargs)Initializes a new UsageCarbonEmissionsQuerySummary object with values from keyword arguments. Attributes
id
[Required] Gets the id of this UsageCarbonEmissionsQuerySummary. query_definition
[Required] Gets the query_definition of this UsageCarbonEmissionsQuerySummary. -
__init__
(**kwargs)¶ Initializes a new UsageCarbonEmissionsQuerySummary 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 UsageCarbonEmissionsQuerySummary.
- query_definition (oci.usage_api.models.UsageCarbonEmissionsQueryDefinition) – The value to assign to the query_definition property of this UsageCarbonEmissionsQuerySummary.
-
id
¶ [Required] Gets the id of this UsageCarbonEmissionsQuerySummary. The query OCID.
Returns: The id of this UsageCarbonEmissionsQuerySummary. Return type: str
-
query_definition
¶ [Required] Gets the query_definition of this UsageCarbonEmissionsQuerySummary.
Returns: The query_definition of this UsageCarbonEmissionsQuerySummary. Return type: oci.usage_api.models.UsageCarbonEmissionsQueryDefinition
-