Skip to content

Commit

Permalink
Regenerate client from commit 50b6182f of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Feb 22, 2024
1 parent df189da commit 5cb5131
Show file tree
Hide file tree
Showing 9 changed files with 306 additions and 11 deletions.
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.6.6",
"regenerated": "2024-02-22 15:33:35.975887",
"spec_repo_commit": "a79d8d5b"
"regenerated": "2024-02-22 21:46:26.021968",
"spec_repo_commit": "50b6182f"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-02-22 15:33:35.991031",
"spec_repo_commit": "a79d8d5b"
"regenerated": "2024-02-22 21:46:26.062547",
"spec_repo_commit": "50b6182f"
}
}
}
113 changes: 113 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16872,6 +16872,8 @@ components:
- estimated_rum_usage_attribution_percentage
- asm_serverless_traced_invocations_usage
- asm_serverless_traced_invocations_percentage
- error_tracking_usage
- error_tracking_percentage
type: string
x-enum-varnames:
- API_PERCENTAGE
Expand Down Expand Up @@ -16912,6 +16914,8 @@ components:
- ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE
- ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE
- ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE
- ERROR_TRACKING_USAGE
- ERROR_TRACKING_PERCENTAGE
UsageAttributionSupportedMetrics:
description: Supported fields for usage attribution requests (valid requests
contain one or more metrics, or `*` for all).
Expand Down Expand Up @@ -16964,6 +16968,8 @@ components:
- estimated_rum_usage_attribution_percentage
- asm_serverless_traced_invocations_usage
- asm_serverless_traced_invocations_percentage
- error_tracking_usage
- error_tracking_percentage
- '*'
type: string
x-enum-varnames:
Expand Down Expand Up @@ -17015,6 +17021,8 @@ components:
- ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE
- ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE
- ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE
- ERROR_TRACKING_USAGE
- ERROR_TRACKING_PERCENTAGE
- ALL
UsageAttributionTagNames:
additionalProperties:
Expand Down Expand Up @@ -18820,6 +18828,11 @@ components:
given date and given organization.
format: int64
type: integer
cloud_cost_management_gcp_host_count_avg:
description: Host count average of Cloud Cost Management for GCP for the
given date and given organization.
format: int64
type: integer
cloud_cost_management_host_count_avg:
description: Host count average of Cloud Cost Management for all cloud providers
for the given date and given organization.
Expand Down Expand Up @@ -18967,6 +18980,11 @@ components:
over all hours in the current date for all organizations.
format: int64
type: integer
error_tracking_events_sum:
description: Shows the sum of all Error Tracking events over all hours in
the current date for the given org.
format: int64
type: integer
fargate_tasks_count_avg:
description: Shows the high-watermark of all Fargate tasks over all hours
in the current date for all organizations.
Expand All @@ -18977,6 +18995,31 @@ components:
current date for all organizations.
format: int64
type: integer
flex_logs_compute_large_avg:
description: Shows the average number of Flex Logs Compute Large Instances
over all hours in the current date for the given org.
format: int64
type: integer
flex_logs_compute_medium_avg:
description: Shows the average number of Flex Logs Compute Medium Instances
over all hours in the current date for the given org.
format: int64
type: integer
flex_logs_compute_small_avg:
description: Shows the average number of Flex Logs Compute Small Instances
over all hours in the current date for the given org.
format: int64
type: integer
flex_logs_compute_xsmall_avg:
description: Shows the average number of Flex Logs Compute Extra Small Instances
over all hours in the current date for the given org.
format: int64
type: integer
flex_stored_logs_avg:
description: Shows the average of all Flex Stored Logs over all hours in
the current date for the given org.
format: int64
type: integer
forwarding_events_bytes_sum:
description: Shows the sum of all log bytes forwarded over all hours in
the current date for all organizations.
Expand Down Expand Up @@ -19356,6 +19399,11 @@ components:
given date and given org.
format: int64
type: integer
cloud_cost_management_gcp_host_count_avg:
description: Host count average of Cloud Cost Management for GCP for the
given date and given org.
format: int64
type: integer
cloud_cost_management_host_count_avg:
description: Host count average of Cloud Cost Management for all cloud providers
for the given date and given org.
Expand Down Expand Up @@ -19509,6 +19557,11 @@ components:
queries over all hours in the current month for the given org.
format: int64
type: integer
error_tracking_events_sum:
description: Shows the sum of all Error Tracking events over all hours in
the current date for the given org.
format: int64
type: integer
fargate_tasks_count_avg:
description: The average task count for Fargate.
format: int64
Expand All @@ -19518,6 +19571,31 @@ components:
in the current date for the given org.
format: int64
type: integer
flex_logs_compute_large_avg:
description: Shows the average number of Flex Logs Compute Large Instances
over all hours in the current date for the given org.
format: int64
type: integer
flex_logs_compute_medium_avg:
description: Shows the average number of Flex Logs Compute Medium Instances
over all hours in the current date for the given org.
format: int64
type: integer
flex_logs_compute_small_avg:
description: Shows the average number of Flex Logs Compute Small Instances
over all hours in the current date for the given org.
format: int64
type: integer
flex_logs_compute_xsmall_avg:
description: Shows the average number of Flex Logs Compute Extra Small Instances
over all hours in the current date for the given org.
format: int64
type: integer
flex_stored_logs_avg:
description: Shows the average of all Flex Stored Logs over all hours in
the current date for the given org.
format: int64
type: integer
forwarding_events_bytes_sum:
description: Shows the sum of all log bytes forwarded over all hours in
the current date for the given org.
Expand Down Expand Up @@ -19909,6 +19987,11 @@ components:
Azure.
format: int64
type: integer
cloud_cost_management_gcp_host_count_avg_sum:
description: Sum of the host count average for Cloud Cost Management for
GCP.
format: int64
type: integer
cloud_cost_management_host_count_avg_sum:
description: Sum of the host count average for Cloud Cost Management for
all cloud providers.
Expand Down Expand Up @@ -20065,6 +20148,11 @@ components:
organizations.
format: date-time
type: string
error_tracking_events_agg_sum:
description: Shows the sum of all Error Tracking events over all hours in
the current months for all organizations.
format: int64
type: integer
fargate_tasks_count_avg_sum:
description: Shows the average of all Fargate tasks over all hours in the
current months for all organizations.
Expand All @@ -20075,6 +20163,31 @@ components:
over all hours in the current months for all organizations.
format: int64
type: integer
flex_logs_compute_large_avg_sum:
description: Shows the average number of Flex Logs Compute Large Instances
over all hours in the current months for all organizations.
format: int64
type: integer
flex_logs_compute_medium_avg_sum:
description: Shows the average number of Flex Logs Compute Medium Instances
over all hours in the current months for all organizations.
format: int64
type: integer
flex_logs_compute_small_avg_sum:
description: Shows the average number of Flex Logs Compute Small Instances
over all hours in the current months for all organizations.
format: int64
type: integer
flex_logs_compute_xsmall_avg_sum:
description: Shows the average number of Flex Logs Compute Extra Small Instances
over all hours in the current months for all organizations.
format: int64
type: integer
flex_stored_logs_avg_sum:
description: Shows the average of all Flex Stored Logs over all hours in
the current months for all organizations.
format: int64
type: integer
forwarding_events_bytes_agg_sum:
description: Shows the sum of all logs forwarding bytes over all hours in
the current months for all organizations (data available as of April 1,
Expand Down
6 changes: 3 additions & 3 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33779,10 +33779,10 @@ paths:
`application_security`, `audit_trail`, `serverless`, `ci_app`, `cloud_cost_management`,

`csm_container_enterprise`, `csm_host_enterprise`, `cspm`, `custom_events`,
`cws`, `dbm`, `fargate`,
`cws`, `dbm`, `error_tracking`,

`infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`, `ingested_spans`,
`iot`,
`fargate`, `infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`,
`ingested_spans`, `iot`,

`lambda_traced_invocations`, `logs`, `network_flows`, `network_hosts`, `netflow_monitoring`,
`observability_pipelines`,
Expand Down
8 changes: 7 additions & 1 deletion src/datadog_api_client/v1/model/usage_attribution_sort.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class UsageAttributionSort(ModelSimple):
"""
The field to sort by.
:param value: If omitted defaults to "custom_timeseries_usage". Must be one of ["api_percentage", "snmp_usage", "apm_host_usage", "api_usage", "appsec_usage", "appsec_percentage", "container_usage", "custom_timeseries_percentage", "container_percentage", "apm_host_percentage", "npm_host_percentage", "browser_percentage", "browser_usage", "infra_host_percentage", "snmp_percentage", "npm_host_usage", "infra_host_usage", "custom_timeseries_usage", "lambda_functions_usage", "lambda_functions_percentage", "lambda_invocations_usage", "lambda_invocations_percentage", "estimated_indexed_logs_usage", "estimated_indexed_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_logs_percentage", "estimated_indexed_spans_usage", "estimated_indexed_spans_percentage", "estimated_ingested_spans_usage", "estimated_ingested_spans_percentage", "apm_fargate_usage", "apm_fargate_percentage", "appsec_fargate_usage", "appsec_fargate_percentage", "estimated_rum_usage_attribution_usage", "estimated_rum_usage_attribution_percentage", "asm_serverless_traced_invocations_usage", "asm_serverless_traced_invocations_percentage"].
:param value: If omitted defaults to "custom_timeseries_usage". Must be one of ["api_percentage", "snmp_usage", "apm_host_usage", "api_usage", "appsec_usage", "appsec_percentage", "container_usage", "custom_timeseries_percentage", "container_percentage", "apm_host_percentage", "npm_host_percentage", "browser_percentage", "browser_usage", "infra_host_percentage", "snmp_percentage", "npm_host_usage", "infra_host_usage", "custom_timeseries_usage", "lambda_functions_usage", "lambda_functions_percentage", "lambda_invocations_usage", "lambda_invocations_percentage", "estimated_indexed_logs_usage", "estimated_indexed_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_logs_percentage", "estimated_indexed_spans_usage", "estimated_indexed_spans_percentage", "estimated_ingested_spans_usage", "estimated_ingested_spans_percentage", "apm_fargate_usage", "apm_fargate_percentage", "appsec_fargate_usage", "appsec_fargate_percentage", "estimated_rum_usage_attribution_usage", "estimated_rum_usage_attribution_percentage", "asm_serverless_traced_invocations_usage", "asm_serverless_traced_invocations_percentage", "error_tracking_usage", "error_tracking_percentage"].
:type value: str
"""

Expand Down Expand Up @@ -59,6 +59,8 @@ class UsageAttributionSort(ModelSimple):
"estimated_rum_usage_attribution_percentage",
"asm_serverless_traced_invocations_usage",
"asm_serverless_traced_invocations_percentage",
"error_tracking_usage",
"error_tracking_percentage",
}
API_PERCENTAGE: ClassVar["UsageAttributionSort"]
SNMP_USAGE: ClassVar["UsageAttributionSort"]
Expand Down Expand Up @@ -98,6 +100,8 @@ class UsageAttributionSort(ModelSimple):
ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE: ClassVar["UsageAttributionSort"]
ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE: ClassVar["UsageAttributionSort"]
ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE: ClassVar["UsageAttributionSort"]
ERROR_TRACKING_USAGE: ClassVar["UsageAttributionSort"]
ERROR_TRACKING_PERCENTAGE: ClassVar["UsageAttributionSort"]

@cached_property
def openapi_types(_):
Expand Down Expand Up @@ -152,3 +156,5 @@ def openapi_types(_):
UsageAttributionSort.ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE = UsageAttributionSort(
"asm_serverless_traced_invocations_percentage"
)
UsageAttributionSort.ERROR_TRACKING_USAGE = UsageAttributionSort("error_tracking_usage")
UsageAttributionSort.ERROR_TRACKING_PERCENTAGE = UsageAttributionSort("error_tracking_percentage")
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class UsageAttributionSupportedMetrics(ModelSimple):
"""
Supported fields for usage attribution requests (valid requests contain one or more metrics, or `*` for all).
:param value: Must be one of ["custom_timeseries_usage", "container_usage", "snmp_percentage", "apm_host_usage", "browser_usage", "npm_host_percentage", "infra_host_usage", "custom_timeseries_percentage", "container_percentage", "api_usage", "apm_host_percentage", "infra_host_percentage", "snmp_usage", "browser_percentage", "api_percentage", "npm_host_usage", "lambda_functions_usage", "lambda_functions_percentage", "lambda_invocations_usage", "lambda_invocations_percentage", "fargate_usage", "fargate_percentage", "profiled_host_usage", "profiled_host_percentage", "profiled_container_usage", "profiled_container_percentage", "dbm_hosts_usage", "dbm_hosts_percentage", "dbm_queries_usage", "dbm_queries_percentage", "estimated_indexed_logs_usage", "estimated_indexed_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_logs_percentage", "appsec_usage", "appsec_percentage", "estimated_indexed_spans_usage", "estimated_indexed_spans_percentage", "estimated_ingested_spans_usage", "estimated_ingested_spans_percentage", "apm_fargate_usage", "apm_fargate_percentage", "appsec_fargate_usage", "appsec_fargate_percentage", "estimated_rum_usage_attribution_usage", "estimated_rum_usage_attribution_percentage", "asm_serverless_traced_invocations_usage", "asm_serverless_traced_invocations_percentage", "*"].
:param value: Must be one of ["custom_timeseries_usage", "container_usage", "snmp_percentage", "apm_host_usage", "browser_usage", "npm_host_percentage", "infra_host_usage", "custom_timeseries_percentage", "container_percentage", "api_usage", "apm_host_percentage", "infra_host_percentage", "snmp_usage", "browser_percentage", "api_percentage", "npm_host_usage", "lambda_functions_usage", "lambda_functions_percentage", "lambda_invocations_usage", "lambda_invocations_percentage", "fargate_usage", "fargate_percentage", "profiled_host_usage", "profiled_host_percentage", "profiled_container_usage", "profiled_container_percentage", "dbm_hosts_usage", "dbm_hosts_percentage", "dbm_queries_usage", "dbm_queries_percentage", "estimated_indexed_logs_usage", "estimated_indexed_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_logs_percentage", "appsec_usage", "appsec_percentage", "estimated_indexed_spans_usage", "estimated_indexed_spans_percentage", "estimated_ingested_spans_usage", "estimated_ingested_spans_percentage", "apm_fargate_usage", "apm_fargate_percentage", "appsec_fargate_usage", "appsec_fargate_percentage", "estimated_rum_usage_attribution_usage", "estimated_rum_usage_attribution_percentage", "asm_serverless_traced_invocations_usage", "asm_serverless_traced_invocations_percentage", "error_tracking_usage", "error_tracking_percentage", "*"].
:type value: str
"""

Expand Down Expand Up @@ -69,6 +69,8 @@ class UsageAttributionSupportedMetrics(ModelSimple):
"estimated_rum_usage_attribution_percentage",
"asm_serverless_traced_invocations_usage",
"asm_serverless_traced_invocations_percentage",
"error_tracking_usage",
"error_tracking_percentage",
"*",
}
CUSTOM_TIMESERIES_USAGE: ClassVar["UsageAttributionSupportedMetrics"]
Expand Down Expand Up @@ -119,6 +121,8 @@ class UsageAttributionSupportedMetrics(ModelSimple):
ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE: ClassVar["UsageAttributionSupportedMetrics"]
ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE: ClassVar["UsageAttributionSupportedMetrics"]
ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE: ClassVar["UsageAttributionSupportedMetrics"]
ERROR_TRACKING_USAGE: ClassVar["UsageAttributionSupportedMetrics"]
ERROR_TRACKING_PERCENTAGE: ClassVar["UsageAttributionSupportedMetrics"]
ALL: ClassVar["UsageAttributionSupportedMetrics"]

@cached_property
Expand Down Expand Up @@ -210,4 +214,8 @@ def openapi_types(_):
UsageAttributionSupportedMetrics.ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE = UsageAttributionSupportedMetrics(
"asm_serverless_traced_invocations_percentage"
)
UsageAttributionSupportedMetrics.ERROR_TRACKING_USAGE = UsageAttributionSupportedMetrics("error_tracking_usage")
UsageAttributionSupportedMetrics.ERROR_TRACKING_PERCENTAGE = UsageAttributionSupportedMetrics(
"error_tracking_percentage"
)
UsageAttributionSupportedMetrics.ALL = UsageAttributionSupportedMetrics("*")
Loading

0 comments on commit 5cb5131

Please sign in to comment.