diff --git a/.apigentools-info b/.apigentools-info index 8ce922a3fe..1953e21788 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.5", - "regenerated": "2023-08-01 15:39:53.565283", - "spec_repo_commit": "87a5a9d8" + "regenerated": "2023-08-02 14:07:31.852968", + "spec_repo_commit": "75a8c502" }, "v2": { "apigentools_version": "1.6.5", - "regenerated": "2023-08-01 15:39:53.582771", - "spec_repo_commit": "87a5a9d8" + "regenerated": "2023-08-02 14:07:31.870804", + "spec_repo_commit": "75a8c502" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 5276b7f6f8..31392c41f2 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -16666,6 +16666,10 @@ components: public_id: description: The organization public ID. type: string + region: + description: The region of the Datadog instance that the organization belongs + to. + type: string timeseries: description: List of usage data reported for each requested hour. items: diff --git a/src/datadog_api_client/v2/model/usage_attributes_object.py b/src/datadog_api_client/v2/model/usage_attributes_object.py index 7a339df9d9..3e55f15145 100644 --- a/src/datadog_api_client/v2/model/usage_attributes_object.py +++ b/src/datadog_api_client/v2/model/usage_attributes_object.py @@ -28,6 +28,7 @@ def openapi_types(_): "org_name": (str,), "product_family": (str,), "public_id": (str,), + "region": (str,), "timeseries": ([UsageTimeSeriesObject],), "usage_type": (HourlyUsageType,), } @@ -36,6 +37,7 @@ def openapi_types(_): "org_name": "org_name", "product_family": "product_family", "public_id": "public_id", + "region": "region", "timeseries": "timeseries", "usage_type": "usage_type", } @@ -45,6 +47,7 @@ def __init__( org_name: Union[str, UnsetType] = unset, product_family: Union[str, UnsetType] = unset, public_id: Union[str, UnsetType] = unset, + region: Union[str, UnsetType] = unset, timeseries: Union[List[UsageTimeSeriesObject], UnsetType] = unset, usage_type: Union[HourlyUsageType, UnsetType] = unset, **kwargs, @@ -61,6 +64,9 @@ def __init__( :param public_id: The organization public ID. :type public_id: str, optional + :param region: The region of the Datadog instance that the organization belongs to. + :type region: str, optional + :param timeseries: List of usage data reported for each requested hour. :type timeseries: [UsageTimeSeriesObject], optional @@ -73,6 +79,8 @@ def __init__( kwargs["product_family"] = product_family if public_id is not unset: kwargs["public_id"] = public_id + if region is not unset: + kwargs["region"] = region if timeseries is not unset: kwargs["timeseries"] = timeseries if usage_type is not unset: