Skip to content

Commit f03c774

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit fa4b122 of spec repo (#110)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent c1a2f50 commit f03c774

File tree

7 files changed

+36
-4
lines changed

7 files changed

+36
-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-08 08:34:31.831082",
8-
"spec_repo_commit": "4039731"
7+
"regenerated": "2020-10-09 13:01:35.154768",
8+
"spec_repo_commit": "fa4b122"
99
},
1010
"v2": {
1111
"apigentools_version": "1.2.0",
12-
"regenerated": "2020-10-08 08:34:42.063576",
13-
"spec_repo_commit": "4039731"
12+
"regenerated": "2020-10-09 13:01:46.827532",
13+
"spec_repo_commit": "fa4b122"
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+
**rehydration_tags** | **[str]** | An array of tags to add to rehydrated logs from an archive. | [optional]
1011
**state** | [**LogsArchiveState**](LogsArchiveState.md) | | [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/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+
**rehydration_tags** | **[str]** | An array of tags to add to rehydrated logs from an archive. | [optional]
1011

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

docs/v2/LogsArchivesApi.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ with datadog_api_client.v2.ApiClient(configuration) as api_client:
169169
destination=LogsArchiveCreateRequestDestination(),
170170
name="Nginx Archive",
171171
query="source:nginx",
172+
rehydration_tags=[
173+
"["team:intake","team:app"]",
174+
],
172175
),
173176
type="archives",
174177
),
@@ -781,6 +784,9 @@ with datadog_api_client.v2.ApiClient(configuration) as api_client:
781784
destination=LogsArchiveCreateRequestDestination(),
782785
name="Nginx Archive",
783786
query="source:nginx",
787+
rehydration_tags=[
788+
"["team:intake","team:app"]",
789+
],
784790
),
785791
type="archives",
786792
),

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+
'rehydration_tags': ([str],), # noqa: E501
8485
'state': (LogsArchiveState,), # noqa: E501
8586
}
8687

@@ -93,6 +94,7 @@ def discriminator():
9394
'destination': 'destination', # noqa: E501
9495
'name': 'name', # noqa: E501
9596
'query': 'query', # noqa: E501
97+
'rehydration_tags': 'rehydration_tags', # noqa: E501
9698
'state': 'state', # noqa: E501
9799
}
98100

@@ -147,6 +149,7 @@ def __init__(self, destination, name, query, *args, **kwargs): # noqa: E501
147149
Animal class but this time we won't travel
148150
through its discriminator because we passed in
149151
_visited_composed_classes = (Animal,)
152+
rehydration_tags ([str]): An array of tags to add to rehydrated logs from an archive.. [optional] # noqa: E501
150153
state (LogsArchiveState): [optional] # noqa: E501
151154
"""
152155

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+
'rehydration_tags': ([str],), # noqa: E501
8283
}
8384

8485
@cached_property
@@ -90,6 +91,7 @@ def discriminator():
9091
'destination': 'destination', # noqa: E501
9192
'name': 'name', # noqa: E501
9293
'query': 'query', # noqa: E501
94+
'rehydration_tags': 'rehydration_tags', # noqa: E501
9395
}
9496

9597
_composed_schemas = {}
@@ -143,6 +145,7 @@ def __init__(self, destination, name, query, *args, **kwargs): # noqa: E501
143145
Animal class but this time we won't travel
144146
through its discriminator because we passed in
145147
_visited_composed_classes = (Animal,)
148+
rehydration_tags ([str]): An array of tags to add to rehydrated logs from an archive.. [optional] # noqa: E501
146149
"""
147150

148151
_check_type = kwargs.pop('_check_type', True)

src/datadog_api_client/v2/openapi.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,15 @@ components:
578578
in the archive.
579579
example: source:nginx
580580
type: string
581+
rehydration_tags:
582+
description: An array of tags to add to rehydrated logs from an archive.
583+
example:
584+
- team:intake
585+
- team:app
586+
items:
587+
description: A given tag in the `<KEY>:<VALUE>` format.
588+
type: string
589+
type: array
581590
state:
582591
$ref: '#/components/schemas/LogsArchiveState'
583592
required:
@@ -605,6 +614,15 @@ components:
605614
in the archive.
606615
example: source:nginx
607616
type: string
617+
rehydration_tags:
618+
description: An array of tags to add to rehydrated logs from an archive.
619+
example:
620+
- team:intake
621+
- team:app
622+
items:
623+
description: A given tag in the `<KEY>:<VALUE>` format.
624+
type: string
625+
type: array
608626
required:
609627
- name
610628
- query

0 commit comments

Comments
 (0)