From fcc06c3fe079c23237e07da8fa6cbfe226533a17 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 17 Apr 2026 11:42:22 +0000 Subject: [PATCH] Regenerate client from commit 43bddb5 of spec repo --- .generator/schemas/v2/openapi.yaml | 14 ++++++++------ .../custom_destination_forward_destination.py | 7 ++++--- ...ustom_destination_forward_destination_splunk.py | 7 ++++--- ...tom_destination_response_forward_destination.py | 7 ++++--- ...tination_response_forward_destination_splunk.py | 7 ++++--- 5 files changed, 24 insertions(+), 18 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 3ac7ae5f2b..3f3cccacc2 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -18679,9 +18679,10 @@ components: description: |- The Splunk sourcetype for the events sent to this Splunk destination. - If absent, the default sourcetype `_json` is used. If set to null, the `sourcetype` - field is omitted from the Splunk HEC payload entirely. Otherwise, the provided string - value is used as the sourcetype. + If the field is absent from the request and no sourcetype has been previously set on this destination, the default sourcetype `_json` is used. + On update, if the field is absent from the request but a sourcetype was previously set, the previous value is kept. + If set to `null`, the sourcetype field is omitted from the forwarded event entirely. + Otherwise, the provided string value is used as the sourcetype. example: my-source nullable: true type: string @@ -18964,9 +18965,10 @@ components: description: |- The Splunk sourcetype for the events sent to this Splunk destination. - If absent, the default sourcetype `_json` is used. If set to null, the `sourcetype` - field is omitted from the Splunk HEC payload entirely. Otherwise, the provided string - value is used as the sourcetype. + If the field is absent from the request and no sourcetype has been previously set on this destination, the default sourcetype `_json` is used. + On update, if the field is absent from the request but a sourcetype was previously set, the previous value is kept. + If set to `null`, the sourcetype field is omitted from the forwarded event entirely. + Otherwise, the provided string value is used as the sourcetype. example: my-source nullable: true type: string diff --git a/src/datadog_api_client/v2/model/custom_destination_forward_destination.py b/src/datadog_api_client/v2/model/custom_destination_forward_destination.py index 847f9edbfa..f4b02e8fd2 100644 --- a/src/datadog_api_client/v2/model/custom_destination_forward_destination.py +++ b/src/datadog_api_client/v2/model/custom_destination_forward_destination.py @@ -30,9 +30,10 @@ def __init__(self, **kwargs): :param sourcetype: The Splunk sourcetype for the events sent to this Splunk destination. - If absent, the default sourcetype `_json` is used. If set to null, the `sourcetype` - field is omitted from the Splunk HEC payload entirely. Otherwise, the provided string - value is used as the sourcetype. + If the field is absent from the request and no sourcetype has been previously set on this destination, the default sourcetype `_json` is used. + On update, if the field is absent from the request but a sourcetype was previously set, the previous value is kept. + If set to `null`, the sourcetype field is omitted from the forwarded event entirely. + Otherwise, the provided string value is used as the sourcetype. :type sourcetype: str, none_type, optional :param index_name: Name of the Elasticsearch index (must follow [Elasticsearch's criteria](https://www.elastic.co/guide/en/elasticsearch/reference/8.11/indices-create-index.html#indices-create-api-path-params)). diff --git a/src/datadog_api_client/v2/model/custom_destination_forward_destination_splunk.py b/src/datadog_api_client/v2/model/custom_destination_forward_destination_splunk.py index 71189db006..99b466cad8 100644 --- a/src/datadog_api_client/v2/model/custom_destination_forward_destination_splunk.py +++ b/src/datadog_api_client/v2/model/custom_destination_forward_destination_splunk.py @@ -61,9 +61,10 @@ def __init__( :param sourcetype: The Splunk sourcetype for the events sent to this Splunk destination. - If absent, the default sourcetype ``_json`` is used. If set to null, the ``sourcetype`` - field is omitted from the Splunk HEC payload entirely. Otherwise, the provided string - value is used as the sourcetype. + If the field is absent from the request and no sourcetype has been previously set on this destination, the default sourcetype ``_json`` is used. + On update, if the field is absent from the request but a sourcetype was previously set, the previous value is kept. + If set to ``null`` , the sourcetype field is omitted from the forwarded event entirely. + Otherwise, the provided string value is used as the sourcetype. :type sourcetype: str, none_type, optional :param type: Type of the Splunk HTTP Event Collector (HEC) destination. diff --git a/src/datadog_api_client/v2/model/custom_destination_response_forward_destination.py b/src/datadog_api_client/v2/model/custom_destination_response_forward_destination.py index 58bdd7f298..fb95b0e285 100644 --- a/src/datadog_api_client/v2/model/custom_destination_response_forward_destination.py +++ b/src/datadog_api_client/v2/model/custom_destination_response_forward_destination.py @@ -27,9 +27,10 @@ def __init__(self, **kwargs): :param sourcetype: The Splunk sourcetype for the events sent to this Splunk destination. - If absent, the default sourcetype `_json` is used. If set to null, the `sourcetype` - field is omitted from the Splunk HEC payload entirely. Otherwise, the provided string - value is used as the sourcetype. + If the field is absent from the request and no sourcetype has been previously set on this destination, the default sourcetype `_json` is used. + On update, if the field is absent from the request but a sourcetype was previously set, the previous value is kept. + If set to `null`, the sourcetype field is omitted from the forwarded event entirely. + Otherwise, the provided string value is used as the sourcetype. :type sourcetype: str, none_type, optional :param index_name: Name of the Elasticsearch index (must follow [Elasticsearch's criteria](https://www.elastic.co/guide/en/elasticsearch/reference/8.11/indices-create-index.html#indices-create-api-path-params)). diff --git a/src/datadog_api_client/v2/model/custom_destination_response_forward_destination_splunk.py b/src/datadog_api_client/v2/model/custom_destination_response_forward_destination_splunk.py index 5d6d52c9ea..7c2982398c 100644 --- a/src/datadog_api_client/v2/model/custom_destination_response_forward_destination_splunk.py +++ b/src/datadog_api_client/v2/model/custom_destination_response_forward_destination_splunk.py @@ -55,9 +55,10 @@ def __init__( :param sourcetype: The Splunk sourcetype for the events sent to this Splunk destination. - If absent, the default sourcetype ``_json`` is used. If set to null, the ``sourcetype`` - field is omitted from the Splunk HEC payload entirely. Otherwise, the provided string - value is used as the sourcetype. + If the field is absent from the request and no sourcetype has been previously set on this destination, the default sourcetype ``_json`` is used. + On update, if the field is absent from the request but a sourcetype was previously set, the previous value is kept. + If set to ``null`` , the sourcetype field is omitted from the forwarded event entirely. + Otherwise, the provided string value is used as the sourcetype. :type sourcetype: str, none_type, optional :param type: Type of the Splunk HTTP Event Collector (HEC) destination.