Skip to content

Commit e19740e

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 49af2c4 of spec repo (#77)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent afd2d82 commit e19740e

10 files changed

+58
-17
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-09-17 14:32:56.640351",
8-
"spec_repo_commit": "372420b"
7+
"regenerated": "2020-09-18 09:55:28.465472",
8+
"spec_repo_commit": "49af2c4"
99
},
1010
"v2": {
1111
"apigentools_version": "1.2.0",
12-
"regenerated": "2020-09-17 14:33:07.288180",
13-
"spec_repo_commit": "372420b"
12+
"regenerated": "2020-09-18 09:55:38.653638",
13+
"spec_repo_commit": "49af2c4"
1414
}
1515
}
1616
}

docs/v1/UsageMeteringApi.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1597,6 +1597,7 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
15971597
api_instance = usage_metering_api.UsageMeteringApi(api_client)
15981598
start_hr = dateutil_parser('1970-01-01T00:00:00.00Z') # datetime | Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
15991599
end_hr = dateutil_parser('1970-01-01T00:00:00.00Z') # datetime | Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. (optional)
1600+
type = "type_example" # str | RUM type: `[browser, mobile]`. Defaults to `browser`. (optional)
16001601

16011602
# example passing only required values which don't have defaults set
16021603
try:
@@ -1610,7 +1611,7 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
16101611
# and optional values
16111612
try:
16121613
# Get hourly usage for RUM Sessions
1613-
api_response = api_instance.get_usage_rum_sessions(start_hr, end_hr=end_hr)
1614+
api_response = api_instance.get_usage_rum_sessions(start_hr, end_hr=end_hr, type=type)
16141615
pprint(api_response)
16151616
except datadog_api_client.v1.ApiException as e:
16161617
print("Exception when calling UsageMeteringApi->get_usage_rum_sessions: %s\n" % e)
@@ -1622,6 +1623,7 @@ Name | Type | Description | Notes
16221623
------------- | ------------- | ------------- | -------------
16231624
**start_hr** | **datetime**| Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour. |
16241625
**end_hr** | **datetime**| Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. | [optional]
1626+
**type** | **str**| RUM type: &#x60;[browser, mobile]&#x60;. Defaults to &#x60;browser&#x60;. | [optional]
16251627

16261628
### Return type
16271629

docs/v1/UsageSummaryDate.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ Name | Type | Description | Notes
2121
**indexed_events_count_sum** | **int** | Shows the sum of all log events indexed over all hours in the current date for all organizations. | [optional]
2222
**infra_host_top99p** | **int** | Shows the 99th percentile of all distinct infrastructure hosts over all hours in the current date for all organizations. | [optional]
2323
**ingested_events_bytes_sum** | **int** | Shows the sum of all log bytes ingested over all hours in the current date for all organizations. | [optional]
24+
**mobile_rum_session_count_sum** | **int** | Shows the sum of all mobile RUM Sessions over all hours in the current date for all organizations | [optional]
2425
**netflow_indexed_events_count_sum** | **int** | Shows the sum of all Network flows indexed over all hours in the current date for all organizations. | [optional]
2526
**npm_host_top99p** | **int** | Shows the 99th percentile of all distinct Networks hosts over all hours in the current date for all organizations. | [optional]
2627
**orgs** | [**[UsageSummaryDateOrg]**](UsageSummaryDateOrg.md) | Organizations associated with a user. | [optional]
2728
**profiling_host_top99p** | **int** | Shows the 99th percentile of all profiled hosts over all hours in the current date for all organizations. | [optional]
28-
**rum_session_count_sum** | **int** | Shows the sum of all RUM Sessions over all hours in the current date for all organizations | [optional]
29+
**rum_session_count_sum** | **int** | Shows the sum of all browser RUM Sessions over all hours in the current date for all organizations | [optional]
2930
**synthetics_browser_check_calls_count_sum** | **int** | Shows the sum of all Synthetic browser tests over all hours in the current date for all organizations. | [optional]
3031
**synthetics_check_calls_count_sum** | **int** | Shows the sum of all Synthetic API tests over all hours in the current date for all organizations. | [optional]
3132
**trace_search_indexed_events_count_sum** | **int** | Shows the sum of all analyzed spans indexed over all hours in the current date for all organizations. | [optional]

docs/v1/UsageSummaryDateOrg.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@ Name | Type | Description | Notes
2020
**indexed_events_count_sum** | **int** | Shows the sum of all log events indexed over all hours in the current date for the given org. | [optional]
2121
**infra_host_top99p** | **int** | Shows the 99th percentile of all distinct infrastructure hosts over all hours in the current date for the given org. | [optional]
2222
**ingested_events_bytes_sum** | **int** | Shows the sum of all log bytes ingested over all hours in the current date for the given org. | [optional]
23+
**mobile_rum_session_count_sum** | **int** | Shows the sum of all mobile RUM Sessions over all hours in the current date for the given org. | [optional]
2324
**name** | **str** | The organization name. | [optional]
2425
**netflow_indexed_events_count_sum** | **int** | Shows the sum of all Network flows indexed over all hours in the current date for the given org. | [optional]
2526
**npm_host_top99p** | **int** | Shows the 99th percentile of all distinct Networks hosts over all hours in the current date for the given org. | [optional]
2627
**profiling_host_top99p** | **int** | Shows the 99th percentile of all profiled hosts over all hours in the current date for the given org. | [optional]
2728
**public_id** | **str** | The organization public id. | [optional]
28-
**rum_session_count_sum** | **int** | Shows the sum of all RUM Sessions over all hours in the current date for the given org. | [optional]
29+
**rum_session_count_sum** | **int** | Shows the sum of all browser RUM Sessions over all hours in the current date for the given org. | [optional]
2930
**synthetics_browser_check_calls_count_sum** | **int** | Shows the sum of all Synthetic browser tests over all hours in the current date for the given org. | [optional]
3031
**synthetics_check_calls_count_sum** | **int** | Shows the sum of all Synthetic API tests over all hours in the current date for the given org. | [optional]
3132
**trace_search_indexed_events_count_sum** | **int** | Shows the sum of all analyzed spans indexed over all hours in the current date for the given org. | [optional]

docs/v1/UsageSummaryResponse.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,12 @@ Name | Type | Description | Notes
2323
**infra_host_top99p_sum** | **int** | Shows the 99th percentile of all distinct infrastructure hosts over all hours in the current month(s) for all organizations. | [optional]
2424
**ingested_events_bytes_agg_sum** | **int** | Shows the sum of all log bytes ingested over all hours in the current month(s) for all organizations. | [optional]
2525
**last_updated** | **datetime** | Shows the the most recent hour in the current month(s) for all organizations for which all usages were calculated. | [optional]
26+
**mobile_rum_session_count_agg_sum** | **int** | Shows the sum of all mobile RUM Sessions over all hours in the current month(s) for all organizations. | [optional]
2627
**netflow_indexed_events_count_agg_sum** | **int** | Shows the sum of all Network flows indexed over all hours in the current month(s) for all organizations. | [optional]
2728
**npm_host_top99p_sum** | **int** | Shows the 99th percentile of all distinct Networks hosts over all hours in the current month(s) for all organizations. | [optional]
2829
**profiling_container_agent_count_avg** | **int** | Shows the average number of profiled containers over all hours in the current month(s) for all organizations. | [optional]
2930
**profiling_host_count_top99p_sum** | **int** | Shows the 99th percentile of all profiled hosts over all hours in the current month(s) for all organizations. | [optional]
30-
**rum_session_count_agg_sum** | **int** | Shows the sum of all RUM Sessions over all hours in the current month(s) for all organizations. | [optional]
31+
**rum_session_count_agg_sum** | **int** | Shows the sum of all browser RUM Sessions over all hours in the current month(s) for all organizations. | [optional]
3132
**start_date** | **datetime** | Shows the first date of usage in the current month(s) for all organizations. | [optional]
3233
**synthetics_browser_check_calls_count_agg_sum** | **int** | Shows the sum of all Synthetic browser tests over all hours in the current month(s) for all organizations. | [optional]
3334
**synthetics_check_calls_count_agg_sum** | **int** | Shows the sum of all Synthetic API tests over all hours in the current month(s) for all organizations. | [optional]

src/datadog_api_client/v1/api/usage_metering_api.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1961,6 +1961,7 @@ def __get_usage_rum_sessions(
19611961
19621962
Keyword Args:
19631963
end_hr (datetime): Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.. [optional]
1964+
type (str): RUM type: &#x60;[browser, mobile]&#x60;. Defaults to &#x60;browser&#x60;.. [optional]
19641965
_return_http_data_only (bool): response data without head status
19651966
code and headers. Default is True.
19661967
_preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -2025,6 +2026,7 @@ def __get_usage_rum_sessions(
20252026
'all': [
20262027
'start_hr',
20272028
'end_hr',
2029+
'type',
20282030
],
20292031
'required': [
20302032
'start_hr',
@@ -2046,14 +2048,18 @@ def __get_usage_rum_sessions(
20462048
(datetime,),
20472049
'end_hr':
20482050
(datetime,),
2051+
'type':
2052+
(str,),
20492053
},
20502054
'attribute_map': {
20512055
'start_hr': 'start_hr',
20522056
'end_hr': 'end_hr',
2057+
'type': 'type',
20532058
},
20542059
'location_map': {
20552060
'start_hr': 'query',
20562061
'end_hr': 'query',
2062+
'type': 'query',
20572063
},
20582064
'collection_format_map': {
20592065
}

src/datadog_api_client/v1/model/usage_summary_date.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def openapi_types():
9393
'indexed_events_count_sum': (int,), # noqa: E501
9494
'infra_host_top99p': (int,), # noqa: E501
9595
'ingested_events_bytes_sum': (int,), # noqa: E501
96+
'mobile_rum_session_count_sum': (int,), # noqa: E501
9697
'netflow_indexed_events_count_sum': (int,), # noqa: E501
9798
'npm_host_top99p': (int,), # noqa: E501
9899
'orgs': ([UsageSummaryDateOrg],), # noqa: E501
@@ -127,6 +128,7 @@ def discriminator():
127128
'indexed_events_count_sum': 'indexed_events_count_sum', # noqa: E501
128129
'infra_host_top99p': 'infra_host_top99p', # noqa: E501
129130
'ingested_events_bytes_sum': 'ingested_events_bytes_sum', # noqa: E501
131+
'mobile_rum_session_count_sum': 'mobile_rum_session_count_sum', # noqa: E501
130132
'netflow_indexed_events_count_sum': 'netflow_indexed_events_count_sum', # noqa: E501
131133
'npm_host_top99p': 'npm_host_top99p', # noqa: E501
132134
'orgs': 'orgs', # noqa: E501
@@ -201,11 +203,12 @@ def __init__(self, *args, **kwargs): # noqa: E501
201203
indexed_events_count_sum (int): Shows the sum of all log events indexed over all hours in the current date for all organizations.. [optional] # noqa: E501
202204
infra_host_top99p (int): Shows the 99th percentile of all distinct infrastructure hosts over all hours in the current date for all organizations.. [optional] # noqa: E501
203205
ingested_events_bytes_sum (int): Shows the sum of all log bytes ingested over all hours in the current date for all organizations.. [optional] # noqa: E501
206+
mobile_rum_session_count_sum (int): Shows the sum of all mobile RUM Sessions over all hours in the current date for all organizations. [optional] # noqa: E501
204207
netflow_indexed_events_count_sum (int): Shows the sum of all Network flows indexed over all hours in the current date for all organizations.. [optional] # noqa: E501
205208
npm_host_top99p (int): Shows the 99th percentile of all distinct Networks hosts over all hours in the current date for all organizations.. [optional] # noqa: E501
206209
orgs ([UsageSummaryDateOrg]): Organizations associated with a user.. [optional] # noqa: E501
207210
profiling_host_top99p (int): Shows the 99th percentile of all profiled hosts over all hours in the current date for all organizations.. [optional] # noqa: E501
208-
rum_session_count_sum (int): Shows the sum of all RUM Sessions over all hours in the current date for all organizations. [optional] # noqa: E501
211+
rum_session_count_sum (int): Shows the sum of all browser RUM Sessions over all hours in the current date for all organizations. [optional] # noqa: E501
209212
synthetics_browser_check_calls_count_sum (int): Shows the sum of all Synthetic browser tests over all hours in the current date for all organizations.. [optional] # noqa: E501
210213
synthetics_check_calls_count_sum (int): Shows the sum of all Synthetic API tests over all hours in the current date for all organizations.. [optional] # noqa: E501
211214
trace_search_indexed_events_count_sum (int): Shows the sum of all analyzed spans indexed over all hours in the current date for all organizations.. [optional] # noqa: E501

src/datadog_api_client/v1/model/usage_summary_date_org.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ def openapi_types():
8787
'indexed_events_count_sum': (int,), # noqa: E501
8888
'infra_host_top99p': (int,), # noqa: E501
8989
'ingested_events_bytes_sum': (int,), # noqa: E501
90+
'mobile_rum_session_count_sum': (int,), # noqa: E501
9091
'name': (str,), # noqa: E501
9192
'netflow_indexed_events_count_sum': (int,), # noqa: E501
9293
'npm_host_top99p': (int,), # noqa: E501
@@ -121,6 +122,7 @@ def discriminator():
121122
'indexed_events_count_sum': 'indexed_events_count_sum', # noqa: E501
122123
'infra_host_top99p': 'infra_host_top99p', # noqa: E501
123124
'ingested_events_bytes_sum': 'ingested_events_bytes_sum', # noqa: E501
125+
'mobile_rum_session_count_sum': 'mobile_rum_session_count_sum', # noqa: E501
124126
'name': 'name', # noqa: E501
125127
'netflow_indexed_events_count_sum': 'netflow_indexed_events_count_sum', # noqa: E501
126128
'npm_host_top99p': 'npm_host_top99p', # noqa: E501
@@ -195,12 +197,13 @@ def __init__(self, *args, **kwargs): # noqa: E501
195197
indexed_events_count_sum (int): Shows the sum of all log events indexed over all hours in the current date for the given org.. [optional] # noqa: E501
196198
infra_host_top99p (int): Shows the 99th percentile of all distinct infrastructure hosts over all hours in the current date for the given org.. [optional] # noqa: E501
197199
ingested_events_bytes_sum (int): Shows the sum of all log bytes ingested over all hours in the current date for the given org.. [optional] # noqa: E501
200+
mobile_rum_session_count_sum (int): Shows the sum of all mobile RUM Sessions over all hours in the current date for the given org.. [optional] # noqa: E501
198201
name (str): The organization name.. [optional] # noqa: E501
199202
netflow_indexed_events_count_sum (int): Shows the sum of all Network flows indexed over all hours in the current date for the given org.. [optional] # noqa: E501
200203
npm_host_top99p (int): Shows the 99th percentile of all distinct Networks hosts over all hours in the current date for the given org.. [optional] # noqa: E501
201204
profiling_host_top99p (int): Shows the 99th percentile of all profiled hosts over all hours in the current date for the given org.. [optional] # noqa: E501
202205
public_id (str): The organization public id.. [optional] # noqa: E501
203-
rum_session_count_sum (int): Shows the sum of all RUM Sessions over all hours in the current date for the given org.. [optional] # noqa: E501
206+
rum_session_count_sum (int): Shows the sum of all browser RUM Sessions over all hours in the current date for the given org.. [optional] # noqa: E501
204207
synthetics_browser_check_calls_count_sum (int): Shows the sum of all Synthetic browser tests over all hours in the current date for the given org.. [optional] # noqa: E501
205208
synthetics_check_calls_count_sum (int): Shows the sum of all Synthetic API tests over all hours in the current date for the given org.. [optional] # noqa: E501
206209
trace_search_indexed_events_count_sum (int): Shows the sum of all analyzed spans indexed over all hours in the current date for the given org.. [optional] # noqa: E501

src/datadog_api_client/v1/model/usage_summary_response.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ def openapi_types():
9595
'infra_host_top99p_sum': (int,), # noqa: E501
9696
'ingested_events_bytes_agg_sum': (int,), # noqa: E501
9797
'last_updated': (datetime,), # noqa: E501
98+
'mobile_rum_session_count_agg_sum': (int,), # noqa: E501
9899
'netflow_indexed_events_count_agg_sum': (int,), # noqa: E501
99100
'npm_host_top99p_sum': (int,), # noqa: E501
100101
'profiling_container_agent_count_avg': (int,), # noqa: E501
@@ -133,6 +134,7 @@ def discriminator():
133134
'infra_host_top99p_sum': 'infra_host_top99p_sum', # noqa: E501
134135
'ingested_events_bytes_agg_sum': 'ingested_events_bytes_agg_sum', # noqa: E501
135136
'last_updated': 'last_updated', # noqa: E501
137+
'mobile_rum_session_count_agg_sum': 'mobile_rum_session_count_agg_sum', # noqa: E501
136138
'netflow_indexed_events_count_agg_sum': 'netflow_indexed_events_count_agg_sum', # noqa: E501
137139
'npm_host_top99p_sum': 'npm_host_top99p_sum', # noqa: E501
138140
'profiling_container_agent_count_avg': 'profiling_container_agent_count_avg', # noqa: E501
@@ -211,11 +213,12 @@ def __init__(self, *args, **kwargs): # noqa: E501
211213
infra_host_top99p_sum (int): Shows the 99th percentile of all distinct infrastructure hosts over all hours in the current month(s) for all organizations.. [optional] # noqa: E501
212214
ingested_events_bytes_agg_sum (int): Shows the sum of all log bytes ingested over all hours in the current month(s) for all organizations.. [optional] # noqa: E501
213215
last_updated (datetime): Shows the the most recent hour in the current month(s) for all organizations for which all usages were calculated.. [optional] # noqa: E501
216+
mobile_rum_session_count_agg_sum (int): Shows the sum of all mobile RUM Sessions over all hours in the current month(s) for all organizations.. [optional] # noqa: E501
214217
netflow_indexed_events_count_agg_sum (int): Shows the sum of all Network flows indexed over all hours in the current month(s) for all organizations.. [optional] # noqa: E501
215218
npm_host_top99p_sum (int): Shows the 99th percentile of all distinct Networks hosts over all hours in the current month(s) for all organizations.. [optional] # noqa: E501
216219
profiling_container_agent_count_avg (int): Shows the average number of profiled containers over all hours in the current month(s) for all organizations.. [optional] # noqa: E501
217220
profiling_host_count_top99p_sum (int): Shows the 99th percentile of all profiled hosts over all hours in the current month(s) for all organizations.. [optional] # noqa: E501
218-
rum_session_count_agg_sum (int): Shows the sum of all RUM Sessions over all hours in the current month(s) for all organizations.. [optional] # noqa: E501
221+
rum_session_count_agg_sum (int): Shows the sum of all browser RUM Sessions over all hours in the current month(s) for all organizations.. [optional] # noqa: E501
219222
start_date (datetime): Shows the first date of usage in the current month(s) for all organizations.. [optional] # noqa: E501
220223
synthetics_browser_check_calls_count_agg_sum (int): Shows the sum of all Synthetic browser tests over all hours in the current month(s) for all organizations.. [optional] # noqa: E501
221224
synthetics_check_calls_count_agg_sum (int): Shows the sum of all Synthetic API tests over all hours in the current month(s) for all organizations.. [optional] # noqa: E501

0 commit comments

Comments
 (0)