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
26 changes: 14 additions & 12 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31063,9 +31063,17 @@ components:
type: string
values:
description: |-
Column values in row order. The element type matches the column's `type`;
for example a `VARCHAR` column carries strings, a `TIMESTAMP` column carries
Unix-millisecond integers. `null` is allowed for missing values.
Column values in row order, one entry per result row. The element type
follows the column's `type`. The following serialization rules should be
taken into account:

- `BIGINT` values are encoded as JSON numbers in the signed 64-bit integer range.
- `DECIMAL` values are encoded as JSON numbers with 64-bit double precision.
- `TIMESTAMP` and `DATE` values are encoded as Unix-millisecond integers; a
`DATE` resolves to midnight UTC.
- `JSON` values are returned as a JSON-encoded string.

`null` is allowed for any column type where a value is missing.
example:
- web-store
- checkout
Expand Down Expand Up @@ -135602,9 +135610,6 @@ paths:
summary: Execute a tabular DDSQL query
tags:
- DDSQL
x-unstable: |-
**Note**: This endpoint is in preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
/api/v2/ddsql/query/tabular/fetch:
post:
description: |-
Expand Down Expand Up @@ -135713,9 +135718,6 @@ paths:
summary: Fetch the result of a DDSQL query
tags:
- DDSQL
x-unstable: |-
**Note**: This endpoint is in preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
/api/v2/deletion/data/{product}:
post:
description: Creates a data deletion request by providing a query and a timeframe targeting the proper data.
Expand Down Expand Up @@ -197924,7 +197926,7 @@ paths:
operator: OR
permissions:
- synthetics_global_variable_write
/api/v2/tag-policies:
/api/v2/tag_policies:
get:
description: |-
Retrieve all tag policies for the organization. Optionally include disabled or deleted
Expand Down Expand Up @@ -198135,7 +198137,7 @@ paths:
x-unstable: |-
**Note**: This endpoint is in preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
/api/v2/tag-policies/{policy_id}:
/api/v2/tag_policies/{policy_id}:
delete:
description: |-
Delete a tag policy. By default the policy is soft-deleted so it can be recovered later
Expand Down Expand Up @@ -198395,7 +198397,7 @@ paths:
x-unstable: |-
**Note**: This endpoint is in preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
/api/v2/tag-policies/{policy_id}/score:
/api/v2/tag_policies/{policy_id}/score:
get:
description: |-
Retrieve the compliance score for a single tag policy. The score is computed over the
Expand Down
2 changes: 0 additions & 2 deletions src/datadog_api_client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,6 @@ def __init__(
"v2.get_all_datasets": False,
"v2.get_dataset": False,
"v2.update_dataset": False,
"v2.execute_ddsql_tabular_query": False,
"v2.fetch_ddsql_tabular_query": False,
"v2.cancel_data_deletion_request": False,
"v2.create_data_deletion_request": False,
"v2.get_data_deletion_requests": False,
Expand Down
12 changes: 6 additions & 6 deletions src/datadog_api_client/v2/api/tag_policies_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __init__(self, api_client=None):
settings={
"response_type": (TagPolicyResponse,),
"auth": ["apiKeyAuth", "appKeyAuth"],
"endpoint_path": "/api/v2/tag-policies",
"endpoint_path": "/api/v2/tag_policies",
"operation_id": "create_tag_policy",
"http_method": "POST",
"version": "v2",
Expand All @@ -58,7 +58,7 @@ def __init__(self, api_client=None):
settings={
"response_type": None,
"auth": ["apiKeyAuth", "appKeyAuth"],
"endpoint_path": "/api/v2/tag-policies/{policy_id}",
"endpoint_path": "/api/v2/tag_policies/{policy_id}",
"operation_id": "delete_tag_policy",
"http_method": "DELETE",
"version": "v2",
Expand Down Expand Up @@ -86,7 +86,7 @@ def __init__(self, api_client=None):
settings={
"response_type": (TagPolicyResponse,),
"auth": ["apiKeyAuth", "appKeyAuth"],
"endpoint_path": "/api/v2/tag-policies/{policy_id}",
"endpoint_path": "/api/v2/tag_policies/{policy_id}",
"operation_id": "get_tag_policy",
"http_method": "GET",
"version": "v2",
Expand Down Expand Up @@ -124,7 +124,7 @@ def __init__(self, api_client=None):
settings={
"response_type": (TagPolicyScoreResponse,),
"auth": ["apiKeyAuth", "appKeyAuth"],
"endpoint_path": "/api/v2/tag-policies/{policy_id}/score",
"endpoint_path": "/api/v2/tag_policies/{policy_id}/score",
"operation_id": "get_tag_policy_score",
"http_method": "GET",
"version": "v2",
Expand Down Expand Up @@ -157,7 +157,7 @@ def __init__(self, api_client=None):
settings={
"response_type": (TagPoliciesListResponse,),
"auth": ["apiKeyAuth", "appKeyAuth"],
"endpoint_path": "/api/v2/tag-policies",
"endpoint_path": "/api/v2/tag_policies",
"operation_id": "list_tag_policies",
"http_method": "GET",
"version": "v2",
Expand Down Expand Up @@ -204,7 +204,7 @@ def __init__(self, api_client=None):
settings={
"response_type": (TagPolicyResponse,),
"auth": ["apiKeyAuth", "appKeyAuth"],
"endpoint_path": "/api/v2/tag-policies/{policy_id}",
"endpoint_path": "/api/v2/tag_policies/{policy_id}",
"operation_id": "update_tag_policy",
"http_method": "PATCH",
"version": "v2",
Expand Down
14 changes: 11 additions & 3 deletions src/datadog_api_client/v2/model/ddsql_tabular_query_column.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,17 @@ def __init__(self_, name: str, type: str, values: List[Any], **kwargs):
for the full, up-to-date list.
:type type: str

:param values: Column values in row order. The element type matches the column's ``type`` ;
for example a ``VARCHAR`` column carries strings, a ``TIMESTAMP`` column carries
Unix-millisecond integers. ``null`` is allowed for missing values.
:param values: Column values in row order, one entry per result row. The element type
follows the column's ``type``. The following serialization rules should be
taken into account:

* ``BIGINT`` values are encoded as JSON numbers in the signed 64-bit integer range.
* ``DECIMAL`` values are encoded as JSON numbers with 64-bit double precision.
* ``TIMESTAMP`` and ``DATE`` values are encoded as Unix-millisecond integers; a
``DATE`` resolves to midnight UTC.
* ``JSON`` values are returned as a JSON-encoded string.

``null`` is allowed for any column type where a value is missing.
:type values: [bool, date, datetime, dict, float, int, list, str, UUID, none_type]
"""
super().__init__(kwargs)
Expand Down
Loading