Class: DatadogAPIClient::V1::HourlyUsageAttributionBody
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::HourlyUsageAttributionBody
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb
Overview
The usage for one set of tags for one hour.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#hour ⇒ Object
The hour for the usage.
-
#org_name ⇒ Object
The name of the organization.
-
#public_id ⇒ Object
The organization public ID.
-
#region ⇒ Object
The region of the Datadog instance that the organization belongs to.
-
#tag_config_source ⇒ Object
The source of the usage attribution tag configuration and the selected tags in the format of
<source_org_name>:::<selected tag 1>///<selected tag 2>///<selected tag 3>
. -
#tags ⇒ Object
Tag keys and values.
-
#total_usage_sum ⇒ Object
Total product usage for the given tags within the hour.
-
#updated_at ⇒ Object
Shows the most recent hour in the current month for all organizations where usages are calculated.
-
#usage_type ⇒ Object
Supported products for hourly usage attribution requests.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
55 56 57 |
# File 'lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb', line 55 def additional_properties @additional_properties end |
#hour ⇒ Object
The hour for the usage.
25 26 27 |
# File 'lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb', line 25 def hour @hour end |
#org_name ⇒ Object
The name of the organization.
28 29 30 |
# File 'lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb', line 28 def org_name @org_name end |
#public_id ⇒ Object
The organization public ID.
31 32 33 |
# File 'lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb', line 31 def public_id @public_id end |
#region ⇒ Object
The region of the Datadog instance that the organization belongs to.
34 35 36 |
# File 'lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb', line 34 def region @region end |
#tag_config_source ⇒ Object
The source of the usage attribution tag configuration and the selected tags in the format of <source_org_name>:::<selected tag 1>///<selected tag 2>///<selected tag 3>
.
37 38 39 |
# File 'lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb', line 37 def tag_config_source @tag_config_source end |
#tags ⇒ Object
Tag keys and values.
A null
value here means that the requested tag breakdown cannot be applied because it does not match the tags
configured for usage attribution.
In this scenario the API returns the total usage, not broken down by tags.
44 45 46 |
# File 'lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb', line 44 def @tags end |
#total_usage_sum ⇒ Object
Total product usage for the given tags within the hour.
47 48 49 |
# File 'lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb', line 47 def total_usage_sum @total_usage_sum end |
#updated_at ⇒ Object
Shows the most recent hour in the current month for all organizations where usages are calculated.
50 51 52 |
# File 'lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb', line 50 def updated_at @updated_at end |
#usage_type ⇒ Object
Supported products for hourly usage attribution requests.
53 54 55 |
# File 'lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb', line 53 def usage_type @usage_type end |