Skip to content

Commit

Permalink
Regenerate client from commit 1e3acf42 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Dec 23, 2022
1 parent abf0285 commit 1c71020
Show file tree
Hide file tree
Showing 8 changed files with 109 additions and 8 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.4",
"regenerated": "2022-12-23 14:08:41.709526",
"spec_repo_commit": "c3b2f174"
"regenerated": "2022-12-23 16:48:50.519098",
"spec_repo_commit": "1e3acf42"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2022-12-23 14:08:41.721393",
"spec_repo_commit": "c3b2f174"
"regenerated": "2022-12-23 16:48:50.534381",
"spec_repo_commit": "1e3acf42"
}
}
}
34 changes: 34 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3669,6 +3669,7 @@ components:
- profiled_container_usage
- profiled_host_usage
- snmp_usage
- estimated_rum_sessions_usage
type: string
x-enum-varnames:
- API_USAGE
Expand Down Expand Up @@ -3698,6 +3699,7 @@ components:
- PROFILED_CONTAINER_USAGE
- PROFILED_HOST_USAGE
- SNMP_USAGE
- ESTIMATED_RUM_SESSIONS_USAGE
IFrameWidgetDefinition:
description: The iframe widget allows you to embed a portion of any other web
page on your dashboard. Only available on FREE layout dashboards.
Expand Down Expand Up @@ -7024,6 +7026,8 @@ components:
- profiled_host_percentage
- snmp_usage
- snmp_percentage
- estimated_rum_sessions_usage
- estimated_rum_sessions_percentage
- '*'
type: string
x-enum-varnames:
Expand Down Expand Up @@ -7081,6 +7085,8 @@ components:
- PROFILED_HOST_PERCENTAGE
- SNMP_USAGE
- SNMP_PERCENTAGE
- ESTIMATED_RUM_SESSIONS_USAGE
- ESTIMATED_RUM_SESSIONS_PERCENTAGE
- ALL
MonthlyUsageAttributionValues:
description: Fields in Usage Summary by tag(s).
Expand Down Expand Up @@ -7241,6 +7247,16 @@ components:
in private beta.
format: double
type: number
estimated_rum_sessions_percentage:
description: The percentage of estimated rum sessions usage by tag(s). This
field is in private beta.
format: double
type: number
estimated_rum_sessions_usage:
description: The estimated rum sessions usage by tag(s). This field is in
private beta.
format: double
type: number
fargate_percentage:
description: The percentage of Fargate usage by tags.
format: double
Expand Down Expand Up @@ -14508,6 +14524,8 @@ components:
- apm_fargate_percentage
- appsec_fargate_usage
- appsec_fargate_percentage
- estimated_rum_usage_attribution_usage
- estimated_rum_usage_attribution_percentage
type: string
x-enum-varnames:
- API_PERCENTAGE
Expand Down Expand Up @@ -14544,6 +14562,8 @@ components:
- APM_FARGATE_PERCENTAGE
- APPSEC_FARGATE_USAGE
- APPSEC_FARGATE_PERCENTAGE
- ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE
- ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE
UsageAttributionSupportedMetrics:
description: Supported fields for usage attribution requests (valid requests
contain one or more metrics, or `*` for all).
Expand Down Expand Up @@ -14592,6 +14612,8 @@ components:
- apm_fargate_percentage
- appsec_fargate_usage
- appsec_fargate_percentage
- estimated_rum_usage_attribution_usage
- estimated_rum_usage_attribution_percentage
- '*'
type: string
x-enum-varnames:
Expand Down Expand Up @@ -14639,6 +14661,8 @@ components:
- APM_FARGATE_PERCENTAGE
- APPSEC_FARGATE_USAGE
- APPSEC_FARGATE_PERCENTAGE
- ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE
- ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE
- ALL
UsageAttributionTagNames:
additionalProperties:
Expand Down Expand Up @@ -14830,6 +14854,16 @@ components:
is in private beta.
format: double
type: number
estimated_rum_sessions_percentage:
description: The percentage of estimated rum sessions usage by tag(s). This
field is in private beta.
format: double
type: number
estimated_rum_sessions_usage:
description: The estimated rum sessions usage by tag(s). This field is in
private beta.
format: double
type: number
infra_host_percentage:
description: The percentage of infrastructure host usage by tag(s).
format: double
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class HourlyUsageAttributionUsageType(ModelSimple):
"""
Supported products for hourly usage attribution requests.
:param value: Must be one of ["api_usage", "apm_fargate_usage", "apm_host_usage", "appsec_fargate_usage", "appsec_usage", "browser_usage", "container_usage", "cspm_containers_usage", "cspm_hosts_usage", "custom_timeseries_usage", "cws_containers_usage", "cws_hosts_usage", "dbm_hosts_usage", "dbm_queries_usage", "estimated_indexed_logs_usage", "estimated_ingested_logs_usage", "estimated_indexed_spans_usage", "estimated_ingested_spans_usage", "fargate_usage", "functions_usage", "indexed_logs_usage", "infra_host_usage", "invocations_usage", "npm_host_usage", "profiled_container_usage", "profiled_host_usage", "snmp_usage"].
:param value: Must be one of ["api_usage", "apm_fargate_usage", "apm_host_usage", "appsec_fargate_usage", "appsec_usage", "browser_usage", "container_usage", "cspm_containers_usage", "cspm_hosts_usage", "custom_timeseries_usage", "cws_containers_usage", "cws_hosts_usage", "dbm_hosts_usage", "dbm_queries_usage", "estimated_indexed_logs_usage", "estimated_ingested_logs_usage", "estimated_indexed_spans_usage", "estimated_ingested_spans_usage", "fargate_usage", "functions_usage", "indexed_logs_usage", "infra_host_usage", "invocations_usage", "npm_host_usage", "profiled_container_usage", "profiled_host_usage", "snmp_usage", "estimated_rum_sessions_usage"].
:type value: str
"""

Expand Down Expand Up @@ -48,6 +48,7 @@ class HourlyUsageAttributionUsageType(ModelSimple):
"profiled_container_usage",
"profiled_host_usage",
"snmp_usage",
"estimated_rum_sessions_usage",
}
API_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
APM_FARGATE_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
Expand Down Expand Up @@ -76,6 +77,7 @@ class HourlyUsageAttributionUsageType(ModelSimple):
PROFILED_CONTAINER_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
PROFILED_HOST_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
SNMP_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
ESTIMATED_RUM_SESSIONS_USAGE: ClassVar["HourlyUsageAttributionUsageType"]

@cached_property
def openapi_types(_):
Expand Down Expand Up @@ -119,3 +121,6 @@ def openapi_types(_):
HourlyUsageAttributionUsageType.PROFILED_CONTAINER_USAGE = HourlyUsageAttributionUsageType("profiled_container_usage")
HourlyUsageAttributionUsageType.PROFILED_HOST_USAGE = HourlyUsageAttributionUsageType("profiled_host_usage")
HourlyUsageAttributionUsageType.SNMP_USAGE = HourlyUsageAttributionUsageType("snmp_usage")
HourlyUsageAttributionUsageType.ESTIMATED_RUM_SESSIONS_USAGE = HourlyUsageAttributionUsageType(
"estimated_rum_sessions_usage"
)
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple):
"""
Supported metrics for monthly usage attribution requests.
:param value: Must be one of ["api_usage", "api_percentage", "apm_fargate_usage", "apm_fargate_percentage", "appsec_fargate_usage", "appsec_fargate_percentage", "apm_host_usage", "apm_host_percentage", "appsec_usage", "appsec_percentage", "browser_usage", "browser_percentage", "container_usage", "container_percentage", "cspm_containers_percentage", "cspm_containers_usage", "cspm_hosts_percentage", "cspm_hosts_usage", "custom_timeseries_usage", "custom_timeseries_percentage", "cws_containers_percentage", "cws_containers_usage", "cws_hosts_percentage", "cws_hosts_usage", "dbm_hosts_percentage", "dbm_hosts_usage", "dbm_queries_percentage", "dbm_queries_usage", "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", "fargate_usage", "fargate_percentage", "functions_usage", "functions_percentage", "indexed_logs_usage", "indexed_logs_percentage", "infra_host_usage", "infra_host_percentage", "invocations_usage", "invocations_percentage", "npm_host_usage", "npm_host_percentage", "profiled_container_usage", "profiled_container_percentage", "profiled_host_usage", "profiled_host_percentage", "snmp_usage", "snmp_percentage", "*"].
:param value: Must be one of ["api_usage", "api_percentage", "apm_fargate_usage", "apm_fargate_percentage", "appsec_fargate_usage", "appsec_fargate_percentage", "apm_host_usage", "apm_host_percentage", "appsec_usage", "appsec_percentage", "browser_usage", "browser_percentage", "container_usage", "container_percentage", "cspm_containers_percentage", "cspm_containers_usage", "cspm_hosts_percentage", "cspm_hosts_usage", "custom_timeseries_usage", "custom_timeseries_percentage", "cws_containers_percentage", "cws_containers_usage", "cws_hosts_percentage", "cws_hosts_usage", "dbm_hosts_percentage", "dbm_hosts_usage", "dbm_queries_percentage", "dbm_queries_usage", "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", "fargate_usage", "fargate_percentage", "functions_usage", "functions_percentage", "indexed_logs_usage", "indexed_logs_percentage", "infra_host_usage", "infra_host_percentage", "invocations_usage", "invocations_percentage", "npm_host_usage", "npm_host_percentage", "profiled_container_usage", "profiled_container_percentage", "profiled_host_usage", "profiled_host_percentage", "snmp_usage", "snmp_percentage", "estimated_rum_sessions_usage", "estimated_rum_sessions_percentage", "*"].
:type value: str
"""

Expand Down Expand Up @@ -75,6 +75,8 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple):
"profiled_host_percentage",
"snmp_usage",
"snmp_percentage",
"estimated_rum_sessions_usage",
"estimated_rum_sessions_percentage",
"*",
}
API_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
Expand Down Expand Up @@ -131,6 +133,8 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple):
PROFILED_HOST_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
SNMP_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
SNMP_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
ESTIMATED_RUM_SESSIONS_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
ESTIMATED_RUM_SESSIONS_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
ALL: ClassVar["MonthlyUsageAttributionSupportedMetrics"]

@cached_property
Expand Down Expand Up @@ -264,4 +268,10 @@ def openapi_types(_):
)
MonthlyUsageAttributionSupportedMetrics.SNMP_USAGE = MonthlyUsageAttributionSupportedMetrics("snmp_usage")
MonthlyUsageAttributionSupportedMetrics.SNMP_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics("snmp_percentage")
MonthlyUsageAttributionSupportedMetrics.ESTIMATED_RUM_SESSIONS_USAGE = MonthlyUsageAttributionSupportedMetrics(
"estimated_rum_sessions_usage"
)
MonthlyUsageAttributionSupportedMetrics.ESTIMATED_RUM_SESSIONS_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics(
"estimated_rum_sessions_percentage"
)
MonthlyUsageAttributionSupportedMetrics.ALL = MonthlyUsageAttributionSupportedMetrics("*")
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ def openapi_types(_):
"estimated_ingested_logs_usage": (float,),
"estimated_ingested_spans_percentage": (float,),
"estimated_ingested_spans_usage": (float,),
"estimated_rum_sessions_percentage": (float,),
"estimated_rum_sessions_usage": (float,),
"fargate_percentage": (float,),
"fargate_usage": (float,),
"functions_percentage": (float,),
Expand Down Expand Up @@ -110,6 +112,8 @@ def openapi_types(_):
"estimated_ingested_logs_usage": "estimated_ingested_logs_usage",
"estimated_ingested_spans_percentage": "estimated_ingested_spans_percentage",
"estimated_ingested_spans_usage": "estimated_ingested_spans_usage",
"estimated_rum_sessions_percentage": "estimated_rum_sessions_percentage",
"estimated_rum_sessions_usage": "estimated_rum_sessions_usage",
"fargate_percentage": "fargate_percentage",
"fargate_usage": "fargate_usage",
"functions_percentage": "functions_percentage",
Expand Down Expand Up @@ -168,6 +172,8 @@ def __init__(
estimated_ingested_logs_usage: Union[float, UnsetType] = unset,
estimated_ingested_spans_percentage: Union[float, UnsetType] = unset,
estimated_ingested_spans_usage: Union[float, UnsetType] = unset,
estimated_rum_sessions_percentage: Union[float, UnsetType] = unset,
estimated_rum_sessions_usage: Union[float, UnsetType] = unset,
fargate_percentage: Union[float, UnsetType] = unset,
fargate_usage: Union[float, UnsetType] = unset,
functions_percentage: Union[float, UnsetType] = unset,
Expand Down Expand Up @@ -299,6 +305,12 @@ def __init__(
:param estimated_ingested_spans_usage: The estimated ingested spans usage by tag(s). This field is in private beta.
:type estimated_ingested_spans_usage: float, optional
:param estimated_rum_sessions_percentage: The percentage of estimated rum sessions usage by tag(s). This field is in private beta.
:type estimated_rum_sessions_percentage: float, optional
:param estimated_rum_sessions_usage: The estimated rum sessions usage by tag(s). This field is in private beta.
:type estimated_rum_sessions_usage: float, optional
:param fargate_percentage: The percentage of Fargate usage by tags.
:type fargate_percentage: float, optional
Expand Down Expand Up @@ -425,6 +437,10 @@ def __init__(
kwargs["estimated_ingested_spans_percentage"] = estimated_ingested_spans_percentage
if estimated_ingested_spans_usage is not unset:
kwargs["estimated_ingested_spans_usage"] = estimated_ingested_spans_usage
if estimated_rum_sessions_percentage is not unset:
kwargs["estimated_rum_sessions_percentage"] = estimated_rum_sessions_percentage
if estimated_rum_sessions_usage is not unset:
kwargs["estimated_rum_sessions_usage"] = estimated_rum_sessions_usage
if fargate_percentage is not unset:
kwargs["fargate_percentage"] = fargate_percentage
if fargate_usage is not unset:
Expand Down
12 changes: 11 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"].
: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"].
:type value: str
"""

Expand Down Expand Up @@ -55,6 +55,8 @@ class UsageAttributionSort(ModelSimple):
"apm_fargate_percentage",
"appsec_fargate_usage",
"appsec_fargate_percentage",
"estimated_rum_usage_attribution_usage",
"estimated_rum_usage_attribution_percentage",
}
API_PERCENTAGE: ClassVar["UsageAttributionSort"]
SNMP_USAGE: ClassVar["UsageAttributionSort"]
Expand Down Expand Up @@ -90,6 +92,8 @@ class UsageAttributionSort(ModelSimple):
APM_FARGATE_PERCENTAGE: ClassVar["UsageAttributionSort"]
APPSEC_FARGATE_USAGE: ClassVar["UsageAttributionSort"]
APPSEC_FARGATE_PERCENTAGE: ClassVar["UsageAttributionSort"]
ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE: ClassVar["UsageAttributionSort"]
ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE: ClassVar["UsageAttributionSort"]

@cached_property
def openapi_types(_):
Expand Down Expand Up @@ -132,3 +136,9 @@ def openapi_types(_):
UsageAttributionSort.APM_FARGATE_PERCENTAGE = UsageAttributionSort("apm_fargate_percentage")
UsageAttributionSort.APPSEC_FARGATE_USAGE = UsageAttributionSort("appsec_fargate_usage")
UsageAttributionSort.APPSEC_FARGATE_PERCENTAGE = UsageAttributionSort("appsec_fargate_percentage")
UsageAttributionSort.ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE = UsageAttributionSort(
"estimated_rum_usage_attribution_usage"
)
UsageAttributionSort.ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE = UsageAttributionSort(
"estimated_rum_usage_attribution_percentage"
)
Loading

0 comments on commit 1c71020

Please sign in to comment.