diff --git a/.apigentools-info b/.apigentools-info index 120553e629..8cf49dcab6 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.2.0", - "regenerated": "2020-09-16 13:35:01.251753", - "spec_repo_commit": "2833f0d" + "regenerated": "2020-09-16 14:34:33.340509", + "spec_repo_commit": "01da443" }, "v2": { "apigentools_version": "1.2.0", - "regenerated": "2020-09-16 13:35:10.530384", - "spec_repo_commit": "2833f0d" + "regenerated": "2020-09-16 14:34:44.116861", + "spec_repo_commit": "01da443" } } } \ No newline at end of file diff --git a/docs/v2/LogAttributes.md b/docs/v2/LogAttributes.md index 55be80cabc..34ac52b393 100644 --- a/docs/v2/LogAttributes.md +++ b/docs/v2/LogAttributes.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **message** | **str** | The message [reserved attribute](https://docs.datadoghq.com/logs/log_collection/#reserved-attributes) of your log. By default, Datadog ingests the value of the message attribute as the body of the log entry. That value is then highlighted and displayed in the Logstream, where it is indexed for full text search. | [optional] **service** | **str** | The name of the application or service generating the log events. It is used to switch from Logs to APM, so make sure you define the same value when you use both products. | [optional] **status** | **str** | Status of the message associated with your log. | [optional] -**tags** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Array of tags associated with your log. | [optional] +**tags** | **[str]** | Array of tags associated with your log. | [optional] **timestamp** | **datetime** | Timestamp of your log. | [optional] [[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) diff --git a/src/datadog_api_client/v2/model/log_attributes.py b/src/datadog_api_client/v2/model/log_attributes.py index 1775ae7d8d..8c68077ab3 100644 --- a/src/datadog_api_client/v2/model/log_attributes.py +++ b/src/datadog_api_client/v2/model/log_attributes.py @@ -76,7 +76,7 @@ def openapi_types(): 'message': (str,), # noqa: E501 'service': (str,), # noqa: E501 'status': (str,), # noqa: E501 - 'tags': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 + 'tags': ([str],), # noqa: E501 'timestamp': (datetime,), # noqa: E501 } @@ -146,7 +146,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 message (str): The message [reserved attribute](https://docs.datadoghq.com/logs/log_collection/#reserved-attributes) of your log. By default, Datadog ingests the value of the message attribute as the body of the log entry. That value is then highlighted and displayed in the Logstream, where it is indexed for full text search.. [optional] # noqa: E501 service (str): The name of the application or service generating the log events. It is used to switch from Logs to APM, so make sure you define the same value when you use both products.. [optional] # noqa: E501 status (str): Status of the message associated with your log.. [optional] # noqa: E501 - tags ([bool, date, datetime, dict, float, int, list, str, none_type]): Array of tags associated with your log.. [optional] # noqa: E501 + tags ([str]): Array of tags associated with your log.. [optional] # noqa: E501 timestamp (datetime): Timestamp of your log.. [optional] # noqa: E501 """ diff --git a/src/datadog_api_client/v2/openapi.yaml b/src/datadog_api_client/v2/openapi.yaml index 1757316bc3..9a664b6c86 100644 --- a/src/datadog_api_client/v2/openapi.yaml +++ b/src/datadog_api_client/v2/openapi.yaml @@ -318,10 +318,10 @@ components: description: Array of tags associated with your log. example: - team:A - format: array items: description: Tag associated with your log. - format: string + type: string + type: array timestamp: description: Timestamp of your log. example: '2019-01-02T09:42:36.320Z'