Skip to content

Commit cdcebb3

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 26761a3 of spec repo
1 parent 2163cba commit cdcebb3

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
@@ -213450,12 +213450,14 @@ paths:
213450213450
start with `app.` and end with `.count`. The exception is a value whose only `*` is at the end (for
213451213451
example, `http.request*`): it matches names that start with that text and is case-sensitive.
213452213452
Spaces are treated as `*`. Only one value is accepted; repeating the parameter returns
213453-
`400 Bad Request`. Allowed characters are letters, digits, `_`, `.`, `*`, and spaces. An empty value
213454-
is ignored.
213453+
`400 Bad Request`. Allowed characters are letters, digits, `_`, `.`, `*`, and spaces. Surrounding spaces
213454+
are ignored, and an empty or spaces-only value is ignored. The value can be at most 200 characters (the
213455+
longest metric name); a longer value returns `400 Bad Request`.
213455213456
in: query
213456213457
name: filter[metrics.id]
213457213458
required: false
213458213459
schema:
213460+
maxLength: 200
213459213461
pattern: "^[a-zA-Z0-9_.* ]*$"
213460213462
type: string
213461213463
- 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)