From 5b6ebeb80763b18e784c30120c4191641fe80261 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Thu, 11 Feb 2021 20:23:24 +0000 Subject: [PATCH] Regenerate client from commit e7a07c6 of spec repo --- .apigentools-info | 8 ++-- data/v1/openapi.yaml | 44 +++++++++++++++--- docs/v1/UsageAttributionValues.md | 12 ++++- docs/v1/UsageBillableSummaryKeys.md | 2 + .../v1/models/usage_attribution_sort.rb | 8 +++- .../v1/models/usage_attribution_values.rb | 46 +++++++++++++++++-- .../v1/models/usage_billable_summary_keys.rb | 11 ++++- 7 files changed, 113 insertions(+), 18 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index ea2e8aa35164..379b72c48e36 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -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" } } } \ No newline at end of file diff --git a/data/v1/openapi.yaml b/data/v1/openapi.yaml index 07f5d2386d2d..fafaf1681796 100644 --- a/data/v1/openapi.yaml +++ b/data/v1/openapi.yaml @@ -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 @@ -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 @@ -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. @@ -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: @@ -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: diff --git a/docs/v1/UsageAttributionValues.md b/docs/v1/UsageAttributionValues.md index 90fe0de2dbab..a9c7c13fa8d8 100644 --- a/docs/v1/UsageAttributionValues.md +++ b/docs/v1/UsageAttributionValues.md @@ -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] | @@ -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, diff --git a/docs/v1/UsageBillableSummaryKeys.md b/docs/v1/UsageBillableSummaryKeys.md index 47f717381171..ae73e8ac9728 100644 --- a/docs/v1/UsageBillableSummaryKeys.md +++ b/docs/v1/UsageBillableSummaryKeys.md @@ -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] | @@ -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, diff --git a/lib/datadog_api_client/v1/models/usage_attribution_sort.rb b/lib/datadog_api_client/v1/models/usage_attribution_sort.rb index 392796ed9908..d05e9c8abb4a 100644 --- a/lib/datadog_api_client/v1/models/usage_attribution_sort.rb +++ b/lib/datadog_api_client/v1/models/usage_attribution_sort.rb @@ -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 @@ -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 diff --git a/lib/datadog_api_client/v1/models/usage_attribution_values.rb b/lib/datadog_api_client/v1/models/usage_attribution_values.rb index d5547270669f..e8d1ccd9af70 100644 --- a/lib/datadog_api_client/v1/models/usage_attribution_values.rb +++ b/lib/datadog_api_client/v1/models/usage_attribution_values.rb @@ -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). @@ -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', @@ -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', @@ -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 @@ -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 && @@ -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 diff --git a/lib/datadog_api_client/v1/models/usage_billable_summary_keys.rb b/lib/datadog_api_client/v1/models/usage_billable_summary_keys.rb index 36b54a18e618..ce73a2fc6108 100644 --- a/lib/datadog_api_client/v1/models/usage_billable_summary_keys.rb +++ b/lib/datadog_api_client/v1/models/usage_billable_summary_keys.rb @@ -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 @@ -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', @@ -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', @@ -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 @@ -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 && @@ -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