Class: DatadogAPIClient::V1::MonthlyUsageAttributionBody

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v1/models/monthly_usage_attribution_body.rb

Overview

Usage Summary by tag for a given organization.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



52
53
54
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_body.rb', line 52

def additional_properties
  @additional_properties
end

#monthObject

Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM].



25
26
27
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_body.rb', line 25

def month
  @month
end

#org_nameObject

The name of the organization.



28
29
30
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_body.rb', line 28

def org_name
  @org_name
end

#public_idObject

The organization public ID.



31
32
33
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_body.rb', line 31

def public_id
  @public_id
end

#regionObject

The region of the Datadog instance that the organization belongs to.



34
35
36
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_body.rb', line 34

def region
  @region
end

#tag_config_sourceObject

The source of the usage attribution tag configuration and the selected tags in the format ‘<source_org_name>:::<selected tag 1>///<selected tag 2>///<selected tag 3>`.



37
38
39
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_body.rb', line 37

def tag_config_source
  @tag_config_source
end

#tagsObject

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](docs.datadoghq.com/account_management/billing/usage_attribution/#getting-started). In this scenario the API returns the total usage, not broken down by tags.



44
45
46
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_body.rb', line 44

def tags
  @tags
end

#updated_atObject

Datetime of the most recent update to the usage values.



47
48
49
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_body.rb', line 47

def updated_at
  @updated_at
end

#valuesObject

Fields in Usage Summary by tag(s).



50
51
52
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_body.rb', line 50

def values
  @values
end