Skip to content

Commit 82018bc

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit f1dd07f of spec repo (#126)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent c1475a9 commit 82018bc

File tree

7 files changed

+30
-4
lines changed

7 files changed

+30
-4
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.2.0",
7-
"regenerated": "2020-10-21 14:48:06.068755",
8-
"spec_repo_commit": "68b59be"
7+
"regenerated": "2020-10-22 07:42:33.365202",
8+
"spec_repo_commit": "f1dd07f"
99
},
1010
"v2": {
1111
"apigentools_version": "1.2.0",
12-
"regenerated": "2020-10-21 14:48:16.293726",
13-
"spec_repo_commit": "68b59be"
12+
"regenerated": "2020-10-22 07:42:42.310000",
13+
"spec_repo_commit": "f1dd07f"
1414
}
1515
}
1616
}

docs/v2/LogsArchiveAttributes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
77
**destination** | [**LogsArchiveDestination**](LogsArchiveDestination.md) | |
88
**name** | **str** | The archive name. |
99
**query** | **str** | The archive query/filter. Logs matching this query are included in the archive. |
10+
**include_tags** | **bool** | To store the tags in the archive, set the value \&quot;true\&quot;. If it is set to \&quot;false\&quot;, the tags will be deleted when the logs are sent to the archive. | [optional] if omitted the server will use the default value of False
1011
**rehydration_tags** | **[str]** | An array of tags to add to rehydrated logs from an archive. | [optional]
1112
**state** | [**LogsArchiveState**](LogsArchiveState.md) | | [optional]
1213

docs/v2/LogsArchiveCreateRequestAttributes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
77
**destination** | [**LogsArchiveCreateRequestDestination**](LogsArchiveCreateRequestDestination.md) | |
88
**name** | **str** | The archive name. |
99
**query** | **str** | The archive query/filter. Logs matching this query are included in the archive. |
10+
**include_tags** | **bool** | To store the tags in the archive, set the value \&quot;true\&quot;. If it is set to \&quot;false\&quot;, the tags will be deleted when the logs are sent to the archive. | [optional] if omitted the server will use the default value of False
1011
**rehydration_tags** | **[str]** | An array of tags to add to rehydrated logs from an archive. | [optional]
1112

1213
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)

docs/v2/LogsArchivesApi.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ with datadog_api_client.v2.ApiClient(configuration) as api_client:
164164
data=LogsArchiveCreateRequestDefinition(
165165
attributes=LogsArchiveCreateRequestAttributes(
166166
destination=LogsArchiveCreateRequestDestination(),
167+
include_tags=False,
167168
name="Nginx Archive",
168169
query="source:nginx",
169170
rehydration_tags=[
@@ -772,6 +773,7 @@ with datadog_api_client.v2.ApiClient(configuration) as api_client:
772773
data=LogsArchiveCreateRequestDefinition(
773774
attributes=LogsArchiveCreateRequestAttributes(
774775
destination=LogsArchiveCreateRequestDestination(),
776+
include_tags=False,
775777
name="Nginx Archive",
776778
query="source:nginx",
777779
rehydration_tags=[

src/datadog_api_client/v2/model/logs_archive_attributes.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ def openapi_types():
8181
'destination': (LogsArchiveDestination,), # noqa: E501
8282
'name': (str,), # noqa: E501
8383
'query': (str,), # noqa: E501
84+
'include_tags': (bool,), # noqa: E501
8485
'rehydration_tags': ([str],), # noqa: E501
8586
'state': (LogsArchiveState,), # noqa: E501
8687
}
@@ -94,6 +95,7 @@ def discriminator():
9495
'destination': 'destination', # noqa: E501
9596
'name': 'name', # noqa: E501
9697
'query': 'query', # noqa: E501
98+
'include_tags': 'include_tags', # noqa: E501
9799
'rehydration_tags': 'rehydration_tags', # noqa: E501
98100
'state': 'state', # noqa: E501
99101
}
@@ -149,6 +151,7 @@ def __init__(self, destination, name, query, *args, **kwargs): # noqa: E501
149151
Animal class but this time we won't travel
150152
through its discriminator because we passed in
151153
_visited_composed_classes = (Animal,)
154+
include_tags (bool): To store the tags in the archive, set the value \&quot;true\&quot;. If it is set to \&quot;false\&quot;, the tags will be deleted when the logs are sent to the archive.. [optional] if omitted the server will use the default value of False # noqa: E501
152155
rehydration_tags ([str]): An array of tags to add to rehydrated logs from an archive.. [optional] # noqa: E501
153156
state (LogsArchiveState): [optional] # noqa: E501
154157
"""

src/datadog_api_client/v2/model/logs_archive_create_request_attributes.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def openapi_types():
7979
'destination': (LogsArchiveCreateRequestDestination,), # noqa: E501
8080
'name': (str,), # noqa: E501
8181
'query': (str,), # noqa: E501
82+
'include_tags': (bool,), # noqa: E501
8283
'rehydration_tags': ([str],), # noqa: E501
8384
}
8485

@@ -91,6 +92,7 @@ def discriminator():
9192
'destination': 'destination', # noqa: E501
9293
'name': 'name', # noqa: E501
9394
'query': 'query', # noqa: E501
95+
'include_tags': 'include_tags', # noqa: E501
9496
'rehydration_tags': 'rehydration_tags', # noqa: E501
9597
}
9698

@@ -145,6 +147,7 @@ def __init__(self, destination, name, query, *args, **kwargs): # noqa: E501
145147
Animal class but this time we won't travel
146148
through its discriminator because we passed in
147149
_visited_composed_classes = (Animal,)
150+
include_tags (bool): To store the tags in the archive, set the value \&quot;true\&quot;. If it is set to \&quot;false\&quot;, the tags will be deleted when the logs are sent to the archive.. [optional] if omitted the server will use the default value of False # noqa: E501
148151
rehydration_tags ([str]): An array of tags to add to rehydrated logs from an archive.. [optional] # noqa: E501
149152
"""
150153

src/datadog_api_client/v2/openapi.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,14 @@ components:
569569
properties:
570570
destination:
571571
$ref: '#/components/schemas/LogsArchiveDestination'
572+
include_tags:
573+
default: false
574+
description: 'To store the tags in the archive, set the value "true".
575+
576+
If it is set to "false", the tags will be deleted when the logs are sent
577+
to the archive.'
578+
example: false
579+
type: boolean
572580
name:
573581
description: The archive name.
574582
example: Nginx Archive
@@ -605,6 +613,14 @@ components:
605613
properties:
606614
destination:
607615
$ref: '#/components/schemas/LogsArchiveCreateRequestDestination'
616+
include_tags:
617+
default: false
618+
description: 'To store the tags in the archive, set the value "true".
619+
620+
If it is set to "false", the tags will be deleted when the logs are sent
621+
to the archive.'
622+
example: false
623+
type: boolean
608624
name:
609625
description: The archive name.
610626
example: Nginx Archive

0 commit comments

Comments
 (0)