Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.4.1.dev2",
"regenerated": "2021-02-10 15:25:35.197132",
"spec_repo_commit": "5b68d44"
"regenerated": "2021-02-11 20:23:08.669796",
"spec_repo_commit": "e7a07c6"
},
"v2": {
"apigentools_version": "1.4.1.dev2",
"regenerated": "2021-02-10 15:25:47.973807",
"spec_repo_commit": "5b68d44"
"regenerated": "2021-02-11 20:23:22.050726",
"spec_repo_commit": "e7a07c6"
}
}
}
44 changes: 38 additions & 6 deletions data/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8055,13 +8055,11 @@ components:
enum:
- api_percentage
- snmp_usage
- lambda_percentage
- apm_host_usage
- api_usage
- container_usage
- custom_timeseries_percentage
- container_percentage
- lambda_usage
- apm_host_percentage
- npm_host_percentage
- browser_percentage
Expand All @@ -8071,17 +8069,21 @@ components:
- npm_host_usage
- infra_host_usage
- custom_timeseries_usage
- lambda_functions_usage
- lambda_functions_percentage
- lambda_invocations_usage
- lambda_invocations_percentage
- lambda_usage
- lambda_percentage
type: string
x-enum-varnames:
- API_PERCENTAGE
- SNMP_USAGE
- LAMBDA_PERCENTAGE
- APM_HOST_USAGE
- API_USAGE
- CONTAINER_USAGE
- CUSTOM_TIMESERIES_PERCENTAGE
- CONTAINER_PERCENTAGE
- LAMBDA_USAGE
- APM_HOST_PERCENTAGE
- NPM_HOST_PERCENTAGE
- BROWSER_PERCENTAGE
Expand All @@ -8091,6 +8093,12 @@ components:
- NPM_HOST_USAGE
- INFRA_HOST_USAGE
- CUSTOM_TIMESERIES_USAGE
- LAMBDA_FUNCTIONS_USAGE
- LAMBDA_FUNCTIONS_PERCENTAGE
- LAMBDA_INVOCATIONS_USAGE
- LAMBDA_INVOCATIONS_PERCENTAGE
- LAMBDA_USAGE
- LAMBDA_PERCENTAGE
UsageAttributionTagNames:
additionalProperties:
description: A list of tag values.
Expand Down Expand Up @@ -8152,12 +8160,34 @@ components:
description: The infrastructure host usage by tag(s).
format: double
type: number
lambda_functions_percentage:
description: The percentage of Lambda function usage by tag(s).
format: double
type: number
lambda_functions_usage:
description: The Lambda function usage by tag(s).
format: double
type: number
lambda_invocations_percentage:
description: The percentage of Lambda invocation usage by tag(s).
format: double
type: number
lambda_invocations_usage:
description: The Lambda invocation usage by tag(s).
format: double
type: number
lambda_percentage:
description: The percentage of lambda function usage by tag(s).
description: 'The percentage of Lambda function usage by tag(s).


**Note** this field is deprecated. Use lambda_functions_percentage instead.'
format: double
type: number
lambda_usage:
description: The lambda function usage by tag(s).
description: 'The Lambda function usage by tag(s).


**Note** this field is deprecated. Use lambda_functions_usage instead.'
format: double
type: number
npm_host_percentage:
Expand Down Expand Up @@ -8270,6 +8300,8 @@ components:
$ref: '#/components/schemas/UsageBillableSummaryBody'
rum_sum:
$ref: '#/components/schemas/UsageBillableSummaryBody'
serverless_invocation_sum:
$ref: '#/components/schemas/UsageBillableSummaryBody'
siem_sum:
$ref: '#/components/schemas/UsageBillableSummaryBody'
synthetics_api_tests_sum:
Expand Down
12 changes: 10 additions & 2 deletions docs/v1/UsageAttributionValues.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@
| **custom_timeseries_usage** | **Float** | The custom metrics usage by tag(s). | [optional] |
| **infra_host_percentage** | **Float** | The percentage of infrastructure host usage by tag(s). | [optional] |
| **infra_host_usage** | **Float** | The infrastructure host usage by tag(s). | [optional] |
| **lambda_percentage** | **Float** | The percentage of lambda function usage by tag(s). | [optional] |
| **lambda_usage** | **Float** | The lambda function usage by tag(s). | [optional] |
| **lambda_functions_percentage** | **Float** | The percentage of Lambda function usage by tag(s). | [optional] |
| **lambda_functions_usage** | **Float** | The Lambda function usage by tag(s). | [optional] |
| **lambda_invocations_percentage** | **Float** | The percentage of Lambda invocation usage by tag(s). | [optional] |
| **lambda_invocations_usage** | **Float** | The Lambda invocation usage by tag(s). | [optional] |
| **lambda_percentage** | **Float** | The percentage of Lambda function usage by tag(s). **Note** this field is deprecated. Use lambda_functions_percentage instead. | [optional] |
| **lambda_usage** | **Float** | The Lambda function usage by tag(s). **Note** this field is deprecated. Use lambda_functions_usage instead. | [optional] |
| **npm_host_percentage** | **Float** | The percentage of network host usage by tag(s). | [optional] |
| **npm_host_usage** | **Float** | The network host usage by tag(s). | [optional] |
| **snmp_percentage** | **Float** | The percentage of network device usage by tag(s). | [optional] |
Expand All @@ -41,6 +45,10 @@ instance = DatadogAPIClient::V1::UsageAttributionValues.new(
custom_timeseries_usage: null,
infra_host_percentage: null,
infra_host_usage: null,
lambda_functions_percentage: null,
lambda_functions_usage: null,
lambda_invocations_percentage: null,
lambda_invocations_usage: null,
lambda_percentage: null,
lambda_usage: null,
npm_host_percentage: null,
Expand Down
2 changes: 2 additions & 0 deletions docs/v1/UsageBillableSummaryKeys.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
| **npm_flow_sum** | [**UsageBillableSummaryBody**](UsageBillableSummaryBody.md) | | [optional] |
| **npm_host_top99p** | [**UsageBillableSummaryBody**](UsageBillableSummaryBody.md) | | [optional] |
| **rum_sum** | [**UsageBillableSummaryBody**](UsageBillableSummaryBody.md) | | [optional] |
| **serverless_invocation_sum** | [**UsageBillableSummaryBody**](UsageBillableSummaryBody.md) | | [optional] |
| **siem_sum** | [**UsageBillableSummaryBody**](UsageBillableSummaryBody.md) | | [optional] |
| **synthetics_api_tests_sum** | [**UsageBillableSummaryBody**](UsageBillableSummaryBody.md) | | [optional] |
| **synthetics_browser_checks_sum** | [**UsageBillableSummaryBody**](UsageBillableSummaryBody.md) | | [optional] |
Expand All @@ -43,6 +44,7 @@ instance = DatadogAPIClient::V1::UsageBillableSummaryKeys.new(
npm_flow_sum: null,
npm_host_top99p: null,
rum_sum: null,
serverless_invocation_sum: null,
siem_sum: null,
synthetics_api_tests_sum: null,
synthetics_browser_checks_sum: null,
Expand Down
8 changes: 6 additions & 2 deletions lib/datadog_api_client/v1/models/usage_attribution_sort.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ module DatadogAPIClient::V1
class UsageAttributionSort
API_PERCENTAGE = "api_percentage".freeze
SNMP_USAGE = "snmp_usage".freeze
LAMBDA_PERCENTAGE = "lambda_percentage".freeze
APM_HOST_USAGE = "apm_host_usage".freeze
API_USAGE = "api_usage".freeze
CONTAINER_USAGE = "container_usage".freeze
CUSTOM_TIMESERIES_PERCENTAGE = "custom_timeseries_percentage".freeze
CONTAINER_PERCENTAGE = "container_percentage".freeze
LAMBDA_USAGE = "lambda_usage".freeze
APM_HOST_PERCENTAGE = "apm_host_percentage".freeze
NPM_HOST_PERCENTAGE = "npm_host_percentage".freeze
BROWSER_PERCENTAGE = "browser_percentage".freeze
Expand All @@ -36,6 +34,12 @@ class UsageAttributionSort
NPM_HOST_USAGE = "npm_host_usage".freeze
INFRA_HOST_USAGE = "infra_host_usage".freeze
CUSTOM_TIMESERIES_USAGE = "custom_timeseries_usage".freeze
LAMBDA_FUNCTIONS_USAGE = "lambda_functions_usage".freeze
LAMBDA_FUNCTIONS_PERCENTAGE = "lambda_functions_percentage".freeze
LAMBDA_INVOCATIONS_USAGE = "lambda_invocations_usage".freeze
LAMBDA_INVOCATIONS_PERCENTAGE = "lambda_invocations_percentage".freeze
LAMBDA_USAGE = "lambda_usage".freeze
LAMBDA_PERCENTAGE = "lambda_percentage".freeze

# Builds the enum from string
# @param [String] The enum value in the form of the string
Expand Down
46 changes: 43 additions & 3 deletions lib/datadog_api_client/v1/models/usage_attribution_values.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,22 @@ class UsageAttributionValues
# The infrastructure host usage by tag(s).
attr_accessor :infra_host_usage

# The percentage of lambda function usage by tag(s).
# The percentage of Lambda function usage by tag(s).
attr_accessor :lambda_functions_percentage

# The Lambda function usage by tag(s).
attr_accessor :lambda_functions_usage

# The percentage of Lambda invocation usage by tag(s).
attr_accessor :lambda_invocations_percentage

# The Lambda invocation usage by tag(s).
attr_accessor :lambda_invocations_usage

# The percentage of Lambda function usage by tag(s). **Note** this field is deprecated. Use lambda_functions_percentage instead.
attr_accessor :lambda_percentage

# The lambda function usage by tag(s).
# The Lambda function usage by tag(s). **Note** this field is deprecated. Use lambda_functions_usage instead.
attr_accessor :lambda_usage

# The percentage of network host usage by tag(s).
Expand Down Expand Up @@ -88,6 +100,10 @@ def self.attribute_map
:'custom_timeseries_usage' => :'custom_timeseries_usage',
:'infra_host_percentage' => :'infra_host_percentage',
:'infra_host_usage' => :'infra_host_usage',
:'lambda_functions_percentage' => :'lambda_functions_percentage',
:'lambda_functions_usage' => :'lambda_functions_usage',
:'lambda_invocations_percentage' => :'lambda_invocations_percentage',
:'lambda_invocations_usage' => :'lambda_invocations_usage',
:'lambda_percentage' => :'lambda_percentage',
:'lambda_usage' => :'lambda_usage',
:'npm_host_percentage' => :'npm_host_percentage',
Expand Down Expand Up @@ -117,6 +133,10 @@ def self.openapi_types
:'custom_timeseries_usage' => :'Float',
:'infra_host_percentage' => :'Float',
:'infra_host_usage' => :'Float',
:'lambda_functions_percentage' => :'Float',
:'lambda_functions_usage' => :'Float',
:'lambda_invocations_percentage' => :'Float',
:'lambda_invocations_usage' => :'Float',
:'lambda_percentage' => :'Float',
:'lambda_usage' => :'Float',
:'npm_host_percentage' => :'Float',
Expand Down Expand Up @@ -195,6 +215,22 @@ def initialize(attributes = {})
self.infra_host_usage = attributes[:'infra_host_usage']
end

if attributes.key?(:'lambda_functions_percentage')
self.lambda_functions_percentage = attributes[:'lambda_functions_percentage']
end

if attributes.key?(:'lambda_functions_usage')
self.lambda_functions_usage = attributes[:'lambda_functions_usage']
end

if attributes.key?(:'lambda_invocations_percentage')
self.lambda_invocations_percentage = attributes[:'lambda_invocations_percentage']
end

if attributes.key?(:'lambda_invocations_usage')
self.lambda_invocations_usage = attributes[:'lambda_invocations_usage']
end

if attributes.key?(:'lambda_percentage')
self.lambda_percentage = attributes[:'lambda_percentage']
end
Expand Down Expand Up @@ -250,6 +286,10 @@ def ==(o)
custom_timeseries_usage == o.custom_timeseries_usage &&
infra_host_percentage == o.infra_host_percentage &&
infra_host_usage == o.infra_host_usage &&
lambda_functions_percentage == o.lambda_functions_percentage &&
lambda_functions_usage == o.lambda_functions_usage &&
lambda_invocations_percentage == o.lambda_invocations_percentage &&
lambda_invocations_usage == o.lambda_invocations_usage &&
lambda_percentage == o.lambda_percentage &&
lambda_usage == o.lambda_usage &&
npm_host_percentage == o.npm_host_percentage &&
Expand All @@ -267,7 +307,7 @@ def eql?(o)
# Calculates hash code according to all attributes.
# @return [Integer] Hash code
def hash
[api_percentage, api_usage, apm_host_percentage, apm_host_usage, browser_percentage, browser_usage, container_percentage, container_usage, custom_timeseries_percentage, custom_timeseries_usage, infra_host_percentage, infra_host_usage, lambda_percentage, lambda_usage, npm_host_percentage, npm_host_usage, snmp_percentage, snmp_usage].hash
[api_percentage, api_usage, apm_host_percentage, apm_host_usage, browser_percentage, browser_usage, container_percentage, container_usage, custom_timeseries_percentage, custom_timeseries_usage, infra_host_percentage, infra_host_usage, lambda_functions_percentage, lambda_functions_usage, lambda_invocations_percentage, lambda_invocations_usage, lambda_percentage, lambda_usage, npm_host_percentage, npm_host_usage, snmp_percentage, snmp_usage].hash
end

# Builds the object from hash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ class UsageBillableSummaryKeys

attr_accessor :rum_sum

attr_accessor :serverless_invocation_sum

attr_accessor :siem_sum

attr_accessor :synthetics_api_tests_sum
Expand All @@ -72,6 +74,7 @@ def self.attribute_map
:'npm_flow_sum' => :'npm_flow_sum',
:'npm_host_top99p' => :'npm_host_top99p',
:'rum_sum' => :'rum_sum',
:'serverless_invocation_sum' => :'serverless_invocation_sum',
:'siem_sum' => :'siem_sum',
:'synthetics_api_tests_sum' => :'synthetics_api_tests_sum',
:'synthetics_browser_checks_sum' => :'synthetics_browser_checks_sum',
Expand Down Expand Up @@ -101,6 +104,7 @@ def self.openapi_types
:'npm_flow_sum' => :'UsageBillableSummaryBody',
:'npm_host_top99p' => :'UsageBillableSummaryBody',
:'rum_sum' => :'UsageBillableSummaryBody',
:'serverless_invocation_sum' => :'UsageBillableSummaryBody',
:'siem_sum' => :'UsageBillableSummaryBody',
:'synthetics_api_tests_sum' => :'UsageBillableSummaryBody',
:'synthetics_browser_checks_sum' => :'UsageBillableSummaryBody',
Expand Down Expand Up @@ -185,6 +189,10 @@ def initialize(attributes = {})
self.rum_sum = attributes[:'rum_sum']
end

if attributes.key?(:'serverless_invocation_sum')
self.serverless_invocation_sum = attributes[:'serverless_invocation_sum']
end

if attributes.key?(:'siem_sum')
self.siem_sum = attributes[:'siem_sum']
end
Expand Down Expand Up @@ -234,6 +242,7 @@ def ==(o)
npm_flow_sum == o.npm_flow_sum &&
npm_host_top99p == o.npm_host_top99p &&
rum_sum == o.rum_sum &&
serverless_invocation_sum == o.serverless_invocation_sum &&
siem_sum == o.siem_sum &&
synthetics_api_tests_sum == o.synthetics_api_tests_sum &&
synthetics_browser_checks_sum == o.synthetics_browser_checks_sum &&
Expand All @@ -249,7 +258,7 @@ def eql?(o)
# Calculates hash code according to all attributes.
# @return [Integer] Hash code
def hash
[apm_host_sum, apm_host_top99p, apm_trace_search_sum, fargate_container_average, infra_container_sum, infra_host_sum, infra_host_top99p, iot_top99p, lambda_function_average, logs_indexed_sum, logs_ingested_sum, npm_flow_sum, npm_host_top99p, rum_sum, siem_sum, synthetics_api_tests_sum, synthetics_browser_checks_sum, timeseries_average].hash
[apm_host_sum, apm_host_top99p, apm_trace_search_sum, fargate_container_average, infra_container_sum, infra_host_sum, infra_host_top99p, iot_top99p, lambda_function_average, logs_indexed_sum, logs_ingested_sum, npm_flow_sum, npm_host_top99p, rum_sum, serverless_invocation_sum, siem_sum, synthetics_api_tests_sum, synthetics_browser_checks_sum, timeseries_average].hash
end

# Builds the object from hash
Expand Down