Skip to content

Commit 5954ae8

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit c285cb4 of spec repo
1 parent 068d9b5 commit 5954ae8

2 files changed

Lines changed: 13 additions & 7 deletions

File tree

‎.generator/schemas/v2/openapi.yaml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212638,12 +212638,14 @@ paths:
212638212638
start with `app.` and end with `.count`. The exception is a value whose only `*` is at the end (for
212639212639
example, `http.request*`): it matches names that start with that text and is case-sensitive.
212640212640
Spaces are treated as `*`. Only one value is accepted; repeating the parameter returns
212641-
`400 Bad Request`. Allowed characters are letters, digits, `_`, `.`, `*`, and spaces. An empty value
212642-
is ignored.
212641+
`400 Bad Request`. Allowed characters are letters, digits, `_`, `.`, `*`, and spaces. Surrounding spaces
212642+
are ignored, and an empty or spaces-only value is ignored. The value can be at most 200 characters (the
212643+
longest metric name); a longer value returns `400 Bad Request`.
212643212644
in: query
212644212645
name: filter[metrics.id]
212645212646
required: false
212646212647
schema:
212648+
maxLength: 200
212647212649
pattern: "^[a-zA-Z0-9_.* ]*$"
212648212650
type: string
212649212651
- description: |-

‎src/datadog_api_client/v2/api/metrics_api.py‎

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,9 @@ def __init__(self, api_client=None):
622622
"location": "query",
623623
},
624624
"filter_metrics_id": {
625-
"validation": {},
625+
"validation": {
626+
"max_length": 200,
627+
},
626628
"openapi_types": (str,),
627629
"attribute": "filter[metrics.id]",
628630
"location": "query",
@@ -1582,8 +1584,9 @@ def list_tag_configurations(
15821584
start with ``app.`` and end with ``.count``. The exception is a value whose only ``*`` is at the end (for
15831585
example, ``http.request*`` ): it matches names that start with that text and is case-sensitive.
15841586
Spaces are treated as ``*``. Only one value is accepted; repeating the parameter returns
1585-
``400 Bad Request``. Allowed characters are letters, digits, ``_`` , ``.`` , ``*`` , and spaces. An empty value
1586-
is ignored.
1587+
``400 Bad Request``. Allowed characters are letters, digits, ``_`` , ``.`` , ``*`` , and spaces. Surrounding spaces
1588+
are ignored, and an empty or spaces-only value is ignored. The value can be at most 200 characters (the
1589+
longest metric name); a longer value returns ``400 Bad Request``.
15871590
:type filter_metrics_id: str, optional
15881591
:param filter_historical_metrics: Only return metrics that have historical metrics ingestion enabled ( ``true`` ) or not enabled ( ``false`` ).
15891592
:type filter_historical_metrics: bool, optional
@@ -1708,8 +1711,9 @@ def list_tag_configurations_with_pagination(
17081711
start with ``app.`` and end with ``.count``. The exception is a value whose only ``*`` is at the end (for
17091712
example, ``http.request*`` ): it matches names that start with that text and is case-sensitive.
17101713
Spaces are treated as ``*``. Only one value is accepted; repeating the parameter returns
1711-
``400 Bad Request``. Allowed characters are letters, digits, ``_`` , ``.`` , ``*`` , and spaces. An empty value
1712-
is ignored.
1714+
``400 Bad Request``. Allowed characters are letters, digits, ``_`` , ``.`` , ``*`` , and spaces. Surrounding spaces
1715+
are ignored, and an empty or spaces-only value is ignored. The value can be at most 200 characters (the
1716+
longest metric name); a longer value returns ``400 Bad Request``.
17131717
:type filter_metrics_id: str, optional
17141718
:param filter_historical_metrics: Only return metrics that have historical metrics ingestion enabled ( ``true`` ) or not enabled ( ``false`` ).
17151719
:type filter_historical_metrics: bool, optional

0 commit comments

Comments
 (0)